KateSession Class Reference
List of all members.Detailed Description
Definition at line 40 of file katesession.h.
Public Types | |
typedef KSharedPtr< KateSession > | Ptr |
Public Member Functions | |
KateSession (KateSessionManager *manager, const QString &fileName, const QString &name) | |
void | init () |
~KateSession () | |
QString | sessionFile () const |
const QString & | sessionFileRelative () const |
const QString & | sessionName () const |
bool | isNew () const |
bool | create (const QString &name, bool force=false) |
bool | rename (const QString &name) |
KConfig * | configRead () |
KConfig * | configWrite () |
unsigned int | documents () const |
Member Typedef Documentation
|
Define a Shared-Pointer type.
Definition at line 46 of file katesession.h. |
Constructor & Destructor Documentation
|
create a session from given file
Definition at line 51 of file katesession.cpp. |
|
destruct me
Definition at line 111 of file katesession.cpp. |
Member Function Documentation
|
config to read on first access, will create the config object, delete will be done automagic return 0 if we have no file to read config from atm
Definition at line 175 of file katesession.cpp. |
|
config to write on first access, will create the config object, delete will be done automagic return 0 if we have no file to write config to atm
Definition at line 186 of file katesession.cpp. |
|
create the session file, if not existing
Definition at line 122 of file katesession.cpp. |
|
count of documents in this session
Definition at line 126 of file katesession.h. |
|
init the session object, after construction or create
Definition at line 62 of file katesession.cpp. |
|
is this a valid session? if not, don't use any session if this is the active one
Definition at line 89 of file katesession.h. |
|
rename this session
Definition at line 160 of file katesession.cpp. |
|
session filename, absolute, calculated out of relative filename + session dir
Definition at line 117 of file katesession.cpp. |
|
relative session filename
Definition at line 77 of file katesession.h. |
|
session name
Definition at line 83 of file katesession.h. |
The documentation for this class was generated from the following files: