Added First version of MeeGo Harmattan port from pure QT to MTF.
[medard] / src / aboutdialog.h
index 109f369..d81f45e 100644 (file)
 #ifndef ABOUTDIALOG_H
 #define ABOUTDIALOG_H
 
+#ifdef Q_WS_MAEMO_6
+#include <MApplicationPage>
+#else
 #include <QDialog>
+#endif
 
+#ifdef Q_WS_MAEMO_6
+class AboutDialog : public MApplicationPage
+#else
 class AboutDialog : public QDialog
+#endif
 {
     Q_OBJECT
 
 public:
+#ifdef Q_WS_MAEMO_6
+    AboutDialog(QGraphicsItem *parent = 0);
+#else
     AboutDialog(QDialog *parent = 0);
+#endif
 };
 
 #endif // ABOUTDIALOG_H