diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2016-10-08 23:57:24 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2016-10-08 23:57:24 +0900 |
commit | 6131095c14221ddbd16805059a9f3b3fc6c58225 (patch) | |
tree | ab3f49608e1141e8e61b2e65da8c6eee5953e2a8 /kate/app/katesession.h | |
parent | 67642abd943f30babeea0c44397cc40e7c2c1b9e (diff) | |
download | tdebase-6131095c14221ddbd16805059a9f3b3fc6c58225.tar.gz tdebase-6131095c14221ddbd16805059a9f3b3fc6c58225.zip |
Kate session panel: added "Sessions" menu support.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kate/app/katesession.h')
-rw-r--r-- | kate/app/katesession.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kate/app/katesession.h b/kate/app/katesession.h index 50db624b6..665ac867b 100644 --- a/kate/app/katesession.h +++ b/kate/app/katesession.h @@ -245,6 +245,11 @@ class KateSessionManager : public TQObject const TQString& getBaseDir() const { return m_baseDir; } /** + * @return the number of existing sessions + */ + int getSessionCount() const { return m_sessions.count(); } + + /** * @return the active session id */ int getActiveSessionId() const { return m_activeSessionId; } |