summaryrefslogtreecommitdiffstats
path: root/kanagram/src/vocabsettings.h
diff options
context:
space:
mode:
Diffstat (limited to 'kanagram/src/vocabsettings.h')
-rw-r--r--kanagram/src/vocabsettings.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/kanagram/src/vocabsettings.h b/kanagram/src/vocabsettings.h
new file mode 100644
index 00000000..d321ee2f
--- /dev/null
+++ b/kanagram/src/vocabsettings.h
@@ -0,0 +1,26 @@
+#ifndef VOCABSETTINGS_H
+#define VOCABSETTINGS_H
+
+#include "vocabsettingswidget.h"
+
+class VocabSettings : public VocabSettingsWidget
+{
+Q_OBJECT
+ public:
+ VocabSettings(QWidget *parent);
+ ~VocabSettings();
+ void refreshView();
+
+ private:
+ QStringList m_fileList;
+ QMap<const QListViewItem*, int> m_itemMap;
+
+ private slots:
+ void slotCreateNew();
+ void slotEdit();
+ void slotDelete();
+ void slotSelectionChanged(QListViewItem *item);
+};
+
+#endif
+