Disable/enable menu actions depending on what currently can be done.

This commit is contained in:
Florian Geyer 2012-04-16 21:28:49 +02:00 committed by Felix Geyer
parent eb4f82a7ed
commit fec19b475e
7 changed files with 85 additions and 13 deletions

View file

@ -41,6 +41,7 @@ public:
Q_SIGNALS:
void closeRequest();
void currentIndexChanged(int index);
public Q_SLOTS:
void createEntry();
@ -48,6 +49,7 @@ public Q_SLOTS:
void switchToEntryEdit();
void switchToGroupEdit();
void switchToMasterKeyChange();
void setCurrentIndex(int index);
private Q_SLOTS:
void switchToView(bool accepted);