#ifndef ABOUTDIALOG_H
#define ABOUTDIALOG_H
-#include <QMainWindow>
+#ifdef Q_WS_MAEMO_6
+#include <MApplicationPage>
+#else
+#include <QDialog>
+#endif
-class AboutDialog : public QMainWindow
+#ifdef Q_WS_MAEMO_6
+class AboutDialog : public MApplicationPage
+#else
+class AboutDialog : public QDialog
+#endif
{
Q_OBJECT
public:
- AboutDialog(QMainWindow *parent = 0);
+#ifdef Q_WS_MAEMO_6
+ AboutDialog(QGraphicsItem *parent = 0);
+#else
+ AboutDialog(QDialog *parent = 0);
+#endif
};
#endif // ABOUTDIALOG_H