KateSessionManager Class Reference
List of all members.Detailed Description
Definition at line 163 of file katesession.h.
Public Slots | |
void | sessionNew () |
void | sessionOpen () |
void | sessionSave () |
void | sessionSaveAs () |
void | sessionManage () |
Public Member Functions | |
KateSessionManager (QObject *parent) | |
~KateSessionManager () | |
KateSessionList & | sessionList () |
void | activateSession (KateSession::Ptr session, bool closeLast=true, bool saveLast=true, bool loadNew=true) |
KateSession::Ptr | createSession (const QString &name) |
KateSession::Ptr | giveSession (const QString &name) |
bool | saveActiveSession (bool tryAsk=false, bool rememberAsLast=false) |
KateSession::Ptr | activeSession () |
const QString & | sessionsDir () const |
bool | chooseSession () |
void | updateSessionList () |
Static Public Member Functions | |
static KateSessionManager * | self () |
Member Function Documentation
|
activate a session first, it will look if a session with this name exists in list if yes, it will use this session, else it will create a new session file
Definition at line 257 of file katesession.cpp. |
|
return the current active session sessionFile == empty means we have no session around for this instance of kate
Definition at line 221 of file katesession.h. |
|
initial session chooser, on app start
Definition at line 440 of file katesession.cpp. |
|
create a new session
Definition at line 345 of file katesession.cpp. |
|
return session with given name if no existing session matches, create new one with this name
Definition at line 353 of file katesession.cpp. |
|
save current session for sessions without filename: save nothing
Definition at line 369 of file katesession.cpp. |
|
allow access to this :)
Definition at line 221 of file katesession.cpp. |
|
allow access to the session list kept up to date by watching the dir
Definition at line 181 of file katesession.h. |
|
show dialog to manage our sessions
Definition at line 588 of file katesession.cpp. |
|
try to start a new session asks user first for name
Definition at line 522 of file katesession.cpp. |
|
try to open a existing session
Definition at line 527 of file katesession.cpp. |
|
try to save current session
Definition at line 547 of file katesession.cpp. |
|
try to save as current session
Definition at line 569 of file katesession.cpp. |
|
session dir
Definition at line 227 of file katesession.h. |
|
trigger update of session list
Definition at line 231 of file katesession.cpp. |
The documentation for this class was generated from the following files: