5 #include <QDialogButtonBox>
11 /** A window with a list and menu actions (Maemo) or buttons (non-Maemo). */
12 class ListWindow: public QMainWindow
17 explicit ListWindow(QWidget *parent = 0);
18 void addList(QListView *list);
19 void addAction(const QString &title, QObject *receiver, const char *slot,
20 QDialogButtonBox::ButtonRole role = QDialogButtonBox::ActionRole);
24 void closeEvent(QCloseEvent *event);
26 QDialogButtonBox *buttonBox;
31 #endif // LISTWINDOW_H