|
Last change
on this file since 184 was 160, checked in by dmik, 19 years ago |
|
Imported table and iconview modules and a bunch of dependent examples from the official release 3.3.1 from Trolltech.
|
-
Property svn:keywords
set to
Id
|
|
File size:
811 bytes
|
| Line | |
|---|
| 1 | #ifndef I18N_H
|
|---|
| 2 | #define I18N_H
|
|---|
| 3 |
|
|---|
| 4 | #include <qmainwindow.h>
|
|---|
| 5 |
|
|---|
| 6 | class QWorkspace;
|
|---|
| 7 | class QAction;
|
|---|
| 8 | class QPopupMenu;
|
|---|
| 9 | class Wrapper;
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 | class I18nDemo : public QMainWindow
|
|---|
| 13 | {
|
|---|
| 14 | Q_OBJECT
|
|---|
| 15 |
|
|---|
| 16 | public:
|
|---|
| 17 | I18nDemo(QWidget *, const char * = 0);
|
|---|
| 18 | ~I18nDemo();
|
|---|
| 19 |
|
|---|
| 20 | void initActions();
|
|---|
| 21 | void initMenuBar();
|
|---|
| 22 |
|
|---|
| 23 | void showEvent(QShowEvent *);
|
|---|
| 24 | void hideEvent(QHideEvent *);
|
|---|
| 25 |
|
|---|
| 26 | QWorkspace *workspace;
|
|---|
| 27 | QAction *actionClose, *actionCloseAll, *actionTile, *actionCascade;
|
|---|
| 28 | QPopupMenu *windowMenu, *newMenu;
|
|---|
| 29 | Wrapper *lastwrapper;
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 | public slots:
|
|---|
| 33 | void newSlot(int);
|
|---|
| 34 | void windowSlot(int);
|
|---|
| 35 | void windowActivated(QWidget *);
|
|---|
| 36 | void closeSlot();
|
|---|
| 37 | void closeAllSlot();
|
|---|
| 38 | void tileSlot();
|
|---|
| 39 | void cascadeSlot();
|
|---|
| 40 | void wrapperDead();
|
|---|
| 41 | };
|
|---|
| 42 |
|
|---|
| 43 |
|
|---|
| 44 | #endif // I18N_H
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.