/*! \file DictDialog.h
\brief Interface for plugin dialog provider
+
\author Mateusz Półrola <mateusz.polrola@comarch.com>
*/
#define DICTDIALOG_H
#include <QObject>
+#include "Notify.h"
class Settings;
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