summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kwindowtest.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui/tests/kwindowtest.h')
-rw-r--r--kdeui/tests/kwindowtest.h71
1 files changed, 71 insertions, 0 deletions
diff --git a/kdeui/tests/kwindowtest.h b/kdeui/tests/kwindowtest.h
new file mode 100644
index 000000000..c041d7723
--- /dev/null
+++ b/kdeui/tests/kwindowtest.h
@@ -0,0 +1,71 @@
+#ifndef testwindow_h
+#define testwindow_h
+
+#include <qpopupmenu.h>
+#include <qtimer.h>
+#include <qprogressbar.h>
+#include <kmenubar.h>
+#include <kstatusbar.h>
+#include <ktoolbar.h>
+#include <kmainwindow.h>
+
+class QMultiLineEdit;
+class KToolBarRadioGroup;
+class KHelpMenu;
+
+class testWindow : public KMainWindow
+{
+ Q_OBJECT
+
+public:
+ testWindow (QWidget *parent=0, const char *name=0);
+ ~testWindow ();
+
+public slots:
+ void beFixed();
+ void beYFixed();
+
+ void slotNew();
+ void slotPrint();
+ void slotReturn();
+ void slotSave();
+ void slotList(const QString &str);
+ void slotOpen();
+ void slotCompletion();
+ void slotCompletionsMenu(int id);
+ void slotHide2 ();
+ void slotInsertClock();
+ void slotHide1 ();
+ 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(int);
+protected:
+ KMenuBar *menuBar;
+ QPopupMenu *fileMenu;
+ QPopupMenu *itemsMenu;
+ QPopupMenu *completions;
+ QPopupMenu *toolBarMenu;
+ KStatusBar *statusBar;
+ KHelpMenu *helpMenu;
+ KToolBar *tb;
+ KToolBar *tb1;
+ bool lineL;
+ bool exitB;
+ bool greenF;
+ bool ena;
+ QMultiLineEdit *widget;
+ QTimer *timer;
+ QProgressBar *pr;
+ KToolBarRadioGroup *rg;
+};
+#endif
+