summaryrefslogtreecommitdiffstats
path: root/kate/app/katesessionpanel.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2016-03-25 23:42:53 +0900
committerMichele Calgaro <[email protected]>2016-03-25 23:42:53 +0900
commit749b05ce92c640ae42548a8929c2eb163d56d6f7 (patch)
tree1dcbb033b581be673c4e53e45b0ec80e32cc1ea3 /kate/app/katesessionpanel.h
parent758b7bda94c4af81bbfc4e884c22db974a7c12c0 (diff)
downloadtdebase-749b05ce92c640ae42548a8929c2eb163d56d6f7.tar.gz
tdebase-749b05ce92c640ae42548a8929c2eb163d56d6f7.zip
Kate session panel: added save_as and reload functionality.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kate/app/katesessionpanel.h')
-rw-r--r--kate/app/katesessionpanel.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/kate/app/katesessionpanel.h b/kate/app/katesessionpanel.h
index 265d1d8e1..2dd7347a7 100644
--- a/kate/app/katesessionpanel.h
+++ b/kate/app/katesessionpanel.h
@@ -47,7 +47,7 @@ class KateSessionNameChooser : public KDialogBase
public:
- KateSessionNameChooser(TQWidget *parent);
+ KateSessionNameChooser(TQWidget *parent, bool showSwitchTo);
~KateSessionNameChooser() {}
TQString getSessionName(); // return the session name typed by the user
@@ -62,6 +62,7 @@ class KateSessionNameChooser : public KDialogBase
protected:
TQLineEdit *m_sessionNameLE;
TQCheckBox *m_activateCB;
+ bool m_showSwitchTo; // if true, display the m_activateCB checkbox
};
//BEGIN KateSessionNameChooser
@@ -121,6 +122,7 @@ class KateSessionPanel : public TQVBox
void slotSaveSessionAs();
void slotRenameSession();
void slotDeleteSession();
+ void slotReloadSession();
void slotActivateSession();
void slotSessionToggleReadOnly();
void slotSessionMoveUp();
@@ -132,7 +134,8 @@ class KateSessionPanel : public TQVBox
void slotSessionCreated(int sessionId);
void slotSessionDeleted(int sessionId);
void slotSessionsSwapped(int sessionIdMin, int sessionIdMax);
- void slotSessionRenamed(TQListViewItem *item);
+ void slotSessionRenamed(int sessionId);
+ void slotLVSessionRenamed(TQListViewItem *item);
private:
void setup_toolbar();