1 #ifndef ADOPTERWINDOW_H
2 #define ADOPTERWINDOW_H
12 * A main window that can adopt other windows' children, and grabs the
13 * zoom (volume) keys on Maemo.
15 class AdopterWindow: public QMainWindow
19 explicit AdopterWindow(QWidget *parent = 0);
20 void grabZoomKeys(bool grab);
21 void takeChildren(QWidget *main, const QList<QWidget *> &others);
25 * Add action that is visible on the tool bar (except on Symbian, where
26 * it is visible on the Options menu.
28 QAction *addToolBarAction(QObject *receiver, const char *slot,
29 const QString &iconName, const QString &text);
32 void addToolBarSpace();
42 void showEvent(QShowEvent *e);
43 void doGrabZoomKeys(bool grab);
44 bool grabbingZoomKeys;
51 #endif // ADOPTERWINDOW_H