/*! Shows plugin's settings dialog*/
void settingsButtonClicked();
+ //! Each change of state (that needs to be saved) should call this to indicate state change
+ void changed();
+
+ //! saves changes
+ void saveChanges();
+
private:
QPushButton* addNewDictButton;
QPushButton* removeDictButton;
//holds association between items on list and CommonDictInterface objects
QHash<QListWidgetItem*, CommonDictInterface*> dictsHash;
GUIInterface* guiInterface;
+ bool _changed;
void refreshDictsList();
+ #ifndef Q_WS_MAEMO_5
+ QPushButton* closeButton;
+ bool _save;
+
+ public Q_SLOTS:
+ void save();
+ #endif
};
#endif // DICTMANAGERWIDGET_H