SettingsSelector: Use Edit role when renaming

Also add a method to find the current index.

Change-Id: I54074e7050200a77d35461c4f8064c1829b5927f
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
Tobias Hunger
2011-11-22 13:04:49 +00:00
parent df058c8027
commit 3029af2769
2 changed files with 17 additions and 5 deletions

View File

@@ -67,6 +67,8 @@ public:
void setAddMenu(QMenu *);
QMenu *addMenu() const;
int currentIndex() const;
signals:
void add();
void remove(int index);