#include "pkg/version.txt"
;
+#ifdef Q_WS_MAEMO_5
+# include <QtMaemo5/QMaemo5InformationBox>
+#else
+# include <QMessageBox>
+#endif
+
QString Platform::dbPath()
{
QString base(QDir::home().absoluteFilePath(DORIAN_BASE));
return QString("Times New Roman");
#endif
}
+
+void Platform::information(const QString &label, QWidget *parent)
+{
+#ifdef Q_WS_MAEMO_5
+ QMaemo5InformationBox::information(parent, label,
+ QMaemo5InformationBox::DefaultTimeout);
+#else
+ (void)QMessageBox::information(parent, QObject::tr("Dorian"), label,
+ QMessageBox::Ok);
+#endif
+}