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 | 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 50 of file kateapp.cpp. |
|
application destructor
Definition at line 99 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 364 of file kateapp.cpp. |
|
accessor to the Kate::Application plugin interface
Definition at line 116 of file kateapp.cpp. |
|
accessor to document manager
Definition at line 279 of file kateapp.cpp. |
|
Returns the current Kate version (X.Y) or (X.Y.Z).
Definition at line 125 of file kateapp.cpp. |
|
give back the window you want
Definition at line 382 of file kateapp.cpp. |
|
give back number of existing main windows
Definition at line 377 of file kateapp.cpp. |
|
create a new main window, use given config if any for restore
Definition at line 342 of file kateapp.cpp. |
|
helper to handle stdin input open a new document/view, fill it with the text given
Definition at line 330 of file kateapp.cpp. |
|
open url with given encoding used by kate if --use given
Definition at line 289 of file kateapp.cpp. |
|
accessor to plugin manager
Definition at line 274 of file kateapp.cpp. |
|
removes the mainwindow given, DOES NOT DELETE IT
Definition at line 359 of file kateapp.cpp. |
|
static accessor to avoid casting ;)
Definition at line 111 of file kateapp.cpp. |
|
accessor to session manager
Definition at line 284 of file kateapp.cpp. |
|
position cursor in current active view
Definition at line 318 of file kateapp.cpp. |
|
application should exit
|
|
shutdown kate application
Definition at line 257 of file kateapp.cpp. |
The documentation for this class was generated from the following files: