summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kwindowtest.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitce4a32fe52ef09d8f5ff1dd22c001110902b60a2 (patch)
tree5ac38a06f3dde268dc7927dc155896926aaf7012 /kdeui/tests/kwindowtest.h
downloadtdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.tar.gz
tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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
+