add googleSettingsDialog
[mdictionary] / trunk / src / plugins / google / src / GoogleDictDialog.h
1 #ifndef GOOGLEDICTDIALOG_H
2 #define GOOGLEDICTDIALOG_H
3
4 #include "../../../includes/DictDialog.h"
5 #include "../../../includes/settings.h"
6 #include "GooglePlugin.h"
7 #include "GoogleSettingsDialog.h"
8
9 class GooglePlugin;
10
11 class GoogleDictDialog : public DictDialog
12 {
13      Q_OBJECT
14 public:
15     explicit GoogleDictDialog(GooglePlugin* plugin, QObject *parent = 0);
16     /*!
17       Shows add new xdxf dictionary dialog and returns settings of new dict
18       \param parent parent widget on which will be displayed dialog
19       */
20     Settings* addNewDictionary(QWidget *parent);
21
22     /*!
23       Shows settings dialog and save new settings in plugin
24       \param parent parent widget on which will be displayed dialog
25       */
26     void changeSettings(QWidget *parent);
27
28 private:
29     GooglePlugin* plugin;
30 };
31
32 #endif // GOOGLEDICTDIALOG_H