KateApp Class Reference
#include <kateapp.h>
Detailed Description
Kate Application This class represents the core kate application object.
Definition at line 42 of file kateapp.h.
Public Member Functions | |
KateApp (KCmdLineArgs *args) | |
~KateApp () | |
Kate::Application * | application () |
void | shutdownKate (KateMainWindow *win) |
bool | shouldExit () |
KatePluginManager * | pluginManager () |
KateDocManager * | documentManager () |
KateSessionManager * | sessionManager () |
KateMainWindow * | newMainWindow (KConfig *sconfig=0, const QString &sgroup="") |
void | removeMainWindow (KateMainWindow *mainWindow) |
KateMainWindow * | activeMainWindow () |
uint | mainWindows () const |
KateMainWindow * | mainWindow (uint n) |
bool | openURL (const KURL &url, const QString &encoding, bool isTempFile) |
bool | setCursor (int line, int column) |
bool | openInput (const QString &text) |
Static Public Member Functions | |
static KateApp * | self () |
static QString | kateVersion (bool fullVersion=true) |
Constructor & Destructor Documentation
|
application constructor
Definition at line 54 of file kateapp.cpp. |
|
application destructor
Definition at line 106 of file kateapp.cpp. |
Member Function Documentation
|
give back current active main window can only be 0 at app start or exit
Definition at line 373 of file kateapp.cpp. |
|
accessor to the Kate::Application plugin interface
Definition at line 123 of file kateapp.cpp. |
|
accessor to document manager
Definition at line 288 of file kateapp.cpp. |
|
Returns the current Kate version (X.Y) or (X.Y.Z).
Definition at line 132 of file kateapp.cpp. |
|
give back the window you want
Definition at line 391 of file kateapp.cpp. |
|
give back number of existing main windows
Definition at line 386 of file kateapp.cpp. |
|
create a new main window, use given config if any for restore
Definition at line 351 of file kateapp.cpp. |
|
helper to handle stdin input open a new document/view, fill it with the text given
Definition at line 339 of file kateapp.cpp. |
|
open url with given encoding used by kate if --use given
Definition at line 298 of file kateapp.cpp. |
|
accessor to plugin manager
Definition at line 283 of file kateapp.cpp. |
|
removes the mainwindow given, DOES NOT DELETE IT
Definition at line 368 of file kateapp.cpp. |
|
static accessor to avoid casting ;)
Definition at line 118 of file kateapp.cpp. |
|
accessor to session manager
Definition at line 293 of file kateapp.cpp. |
|
position cursor in current active view
Definition at line 327 of file kateapp.cpp. |
|
application should exit
|
|
shutdown kate application
Definition at line 266 of file kateapp.cpp. |
The documentation for this class was generated from the following files: