kate
KateAppDCOPIface Class Reference
#include <kateappIface.h>
Public Member Functions | |
KateAppDCOPIface (KateApp *app) |
Detailed Description
Definition at line 28 of file kateappIface.h.
Constructor & Destructor Documentation
KateAppDCOPIface::KateAppDCOPIface | ( | KateApp * | app | ) |
Definition at line 26 of file kateappIface.cpp.
Member Function Documentation
bool KateAppDCOPIface::activateSession | ( | QString | session | ) |
activate a given session
- Parameters:
-
session session name
- Returns:
- success
Definition at line 92 of file kateappIface.cpp.
DCOPRef KateAppDCOPIface::activeMainWindow | ( | ) |
Definition at line 36 of file kateappIface.cpp.
uint KateAppDCOPIface::activeMainWindowNumber | ( | ) |
Definition at line 46 of file kateappIface.cpp.
DCOPRef KateAppDCOPIface::documentManager | ( | ) |
Definition at line 31 of file kateappIface.cpp.
DCOPRef KateAppDCOPIface::mainWindow | ( | uint | n = 0 |
) |
Definition at line 62 of file kateappIface.cpp.
uint KateAppDCOPIface::mainWindows | ( | ) |
Definition at line 57 of file kateappIface.cpp.
bool KateAppDCOPIface::openInput | ( | QString | text | ) |
helper to handle stdin input open a new document/view, fill it with the text given
- Parameters:
-
text text to fill in the new doc/view
- Returns:
- success
Definition at line 87 of file kateappIface.cpp.
bool KateAppDCOPIface::openURL | ( | KURL | url, | |
QString | encoding, | |||
bool | isTempFile | |||
) |
Like the above, but adds an option to let the documentManager know if the file should be deleted when closed.
isTempFile
should be set to true with the --tempfile option set ONLY, files opened with this set to true will be deleted when closed.
Definition at line 77 of file kateappIface.cpp.
bool KateAppDCOPIface::openURL | ( | KURL | url, | |
QString | encoding | |||
) |
open a file with given url and encoding will get view created
- Parameters:
-
url url of the file encoding encoding name
- Returns:
- success
Definition at line 72 of file kateappIface.cpp.
const QString & KateAppDCOPIface::session | ( | ) | const |
bool KateAppDCOPIface::setCursor | ( | int | line, | |
int | column | |||
) |
set cursor of active view in active main window
- Parameters:
-
line line for cursor column column for cursor
- Returns:
- success
Definition at line 82 of file kateappIface.cpp.
The documentation for this class was generated from the following files: