Merge branch 'qml' of ssh://drop.maemo.org/git/mdictionary into qml
[mdictionary] / src / mdictionary / gui / AboutWidget.h
index 02eb383..6bf4d3e 100644 (file)
@@ -32,6 +32,9 @@
 #include <QDialog>
 #include <QWidget>
 #include <QtGui>
+#include <QDeclarativeView>
+#include <QDesktopServices>
+
 #include "../../include/GUIInterface.h"
 
 class AboutWidget : public QDialog
@@ -39,8 +42,14 @@ class AboutWidget : public QDialog
     Q_OBJECT
 public:
     AboutWidget(GUIInterface *parent = 0);
+
+private slots:
+    void openUrl(QString url);
+
 private:
+    QDeclarativeView *view;
     QVBoxLayout* mainLayout;
+
     QVBoxLayout *scrollLayout;
     QLabel* mainLabel, * licenseLabel, *imageLabel;
     QScrollArea* scroll;