diff options
| author | Arno <am@disconnect.de> | 2013-06-02 11:24:06 +0200 | 
|---|---|---|
| committer | Arno <am@disconnect.de> | 2013-06-02 11:24:06 +0200 | 
| commit | 721fd40222440c6e8a81f4379f894d8908772a8a (patch) | |
| tree | a7b54efd2ec9168efb4c7ae8e49851430b84a1b6 /smtreeview.h | |
| parent | 459f58c57bfa1021783134b11853e8e4140055f3 (diff) | |
| download | SheMov-721fd40222440c6e8a81f4379f894d8908772a8a.tar.gz SheMov-721fd40222440c6e8a81f4379f894d8908772a8a.tar.bz2 SheMov-721fd40222440c6e8a81f4379f894d8908772a8a.zip  | |
Implement Rename
Rename items: spits out an error message if the new item already exists.
Diffstat (limited to 'smtreeview.h')
| -rw-r--r-- | smtreeview.h | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/smtreeview.h b/smtreeview.h index 67ba844..6d30917 100644 --- a/smtreeview.h +++ b/smtreeview.h @@ -24,6 +24,9 @@ class SmTreeView : public QTreeView {          void writeHeaderConfig();          void toggleHeader(QObject *action); +    protected: +        virtual void contextMenuEvent(QContextMenuEvent *e); +      private:          const QString mHeaderSetting;          QActionGroup *mHeaderGroup;  | 
