summaryrefslogtreecommitdiffstats
path: root/kanagram/src/vocabsettings.h
blob: d321ee2f2aa541dda721a8f2c8179abc5403b46b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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