mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00

most of the changes were done trought Katie's namefsck script which convertes forward class declarations to include directives, however other fixes here and there were needed as well as some questionable changes to Q_DECLARE_TYPEINFO() macro calls because they most likely have to do the namespacing themselfs (QT_BEGIN/END_NAMESPACE, and probably will be in Katie) meaning that some of the changes may be temporary and reverted later. Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
65 lines
1.3 KiB
C++
65 lines
1.3 KiB
C++
#ifndef TESTWINDOW_H
|
|
#define TESTWINDOW_H
|
|
|
|
#include <QtCore/QTimer>
|
|
#include <QtGui/QProgressBar>
|
|
#include <kstatusbar.h>
|
|
#include <ktoolbar.h>
|
|
#include <kxmlguiwindow.h>
|
|
|
|
#include <QTextEdit>
|
|
|
|
class TestWindow : public KXmlGuiWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
TestWindow (QWidget *parent=0);
|
|
~TestWindow ();
|
|
|
|
public Q_SLOTS:
|
|
void beFixed();
|
|
void beYFixed();
|
|
|
|
void slotNew();
|
|
void slotPrint();
|
|
void slotReturn();
|
|
void slotSave();
|
|
void slotList(const QString &str);
|
|
void slotOpen();
|
|
void slotCompletion();
|
|
void slotCompletionsMenu(QAction* action);
|
|
void slotInsertClock();
|
|
void slotLined();
|
|
void slotImportant();
|
|
void slotExit();
|
|
void slotFrame();
|
|
void slotListCompletion();
|
|
void slotMessage(int, bool);
|
|
void slotToggle(bool);
|
|
void slotClearCombo();
|
|
void slotGoGoGoo();
|
|
void slotInsertListInCombo();
|
|
void slotMakeItem3Current();
|
|
void slotToggled(QAction* action);
|
|
|
|
protected:
|
|
QMenu *itemsMenu;
|
|
QMenu *completions;
|
|
KStatusBar *statusBar;
|
|
KToolBar *tb;
|
|
KToolBar *tb1;
|
|
class KLineEdit* testLineEdit;
|
|
class KComboBox* testComboBox;
|
|
QAction* fileNewAction;
|
|
QAction* exitAction;
|
|
bool lineL;
|
|
bool exitB;
|
|
bool greenF;
|
|
bool ena;
|
|
QTextEdit *widget;
|
|
QTimer *timer;
|
|
QProgressBar *pr;
|
|
};
|
|
#endif
|
|
|