X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Finclude%2FDictDialog.h;h=f17e26f2d35a86ef27e02643f91334a870da003e;hb=87ff3664f4be5564a986ae484d2cea99a08bc2b5;hp=1cfd4037a7abe8ce08703bc7e0d1ecb802df05d7;hpb=4242fe38b152bd4d71916bfd21ddbaa20df512c9;p=mdictionary diff --git a/src/include/DictDialog.h b/src/include/DictDialog.h index 1cfd403..f17e26f 100644 --- a/src/include/DictDialog.h +++ b/src/include/DictDialog.h @@ -21,6 +21,7 @@ /*! \file DictDialog.h \brief Interface for plugin dialog provider + \author Mateusz Półrola */ @@ -31,6 +32,7 @@ #define DICTDIALOG_H #include +#include "Notify.h" class Settings; @@ -42,16 +44,19 @@ public: DictDialog(QObject *parent = 0) : QObject(parent) {} /*! - Shows "add new dictionary" dialog and returns settings of new dict - \param parent parent widget on which dialog will be displayed + Shows "add a new dictionary" dialog and returns settings of a new dict + \param parent parent widget on which the dialog will be displayed */ virtual Settings* addNewDictionary(QWidget*parent=0)=0; /*! Shows "settings" dialog and saves new settings in plugin - \param parent parent widget on which dialog will be displayed + \param parent parent widget on which the dialog will be displayed */ virtual void changeSettings(QWidget *parent = 0) = 0; + +Q_SIGNALS: + void notify(Notify::NotifyType, QString); }; #endif // DICTDIALOG_H