diff options
author | Michele Calgaro <[email protected]> | 2016-10-08 23:57:24 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2016-10-08 23:57:24 +0900 |
commit | 6131095c14221ddbd16805059a9f3b3fc6c58225 (patch) | |
tree | ab3f49608e1141e8e61b2e65da8c6eee5953e2a8 /kate/app/katesessionpanel.h | |
parent | 67642abd943f30babeea0c44397cc40e7c2c1b9e (diff) | |
download | tdebase-6131095c14221ddbd16805059a9f3b3fc6c58225.tar.gz tdebase-6131095c14221ddbd16805059a9f3b3fc6c58225.zip |
Kate session panel: added "Sessions" menu support.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kate/app/katesessionpanel.h')
-rw-r--r-- | kate/app/katesessionpanel.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/kate/app/katesessionpanel.h b/kate/app/katesessionpanel.h index 4b4f47236..acaec56cd 100644 --- a/kate/app/katesessionpanel.h +++ b/kate/app/katesessionpanel.h @@ -111,13 +111,21 @@ class KateSessionPanel : public TQVBox { Q_OBJECT + friend class KateMainWindow; + public: KateSessionPanel(KateMainWindow *mainWindow=0, KateViewManager *viewManager=0, TQWidget *parent=0, const char *name=0); ~KateSessionPanel() {} - + signals: + /** + * Emitted when the session selection in the panel has changed + */ + void selectionChanged(); + + public slots: void slotNewSession(); void slotSaveSession(); @@ -131,7 +139,7 @@ class KateSessionPanel : public TQVBox void slotSessionMoveDown(); void slotItemExecuted(TQListViewItem *item); - void slotSelectionChanged(); + void slotSelectionChanged(); /** @emit selectionChanged */ void slotSessionActivated(int newSessionId, int oldSessionId); void slotSessionCreated(int sessionId); void slotSessionDeleted(int sessionId); @@ -153,8 +161,6 @@ class KateSessionPanel : public TQVBox */ int handleSessionSwitch(); - KateMainWindow *m_mainWin; - KateViewManager *m_viewManager; KateSessionManager *m_sessionManager; TDEActionCollection *m_actionCollection; TDEToolBar *m_toolbar; |