KateAppDCOPIface Class Reference

List of all members.

Detailed Description

Definition at line 28 of file kateappIface.h.


DCOP Member Functions

DCOPRef documentManager ()
DCOPRef activeMainWindow ()
uint activeMainWindowNumber ()
uint mainWindows ()
DCOPRef mainWindow (uint n=0)
bool openURL (KURL url, QString encoding)
bool openURL (KURL url, QString encoding, bool isTempFile)
bool setCursor (int line, int column)
bool openInput (QString text)
bool activateSession (QString session)
const QString & session () const

Public Member Functions

 KateAppDCOPIface (KateApp *app)

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.

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
 

Returns:
the name of the active session

Definition at line 99 of file kateappIface.cpp.

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:
KDE Home | KDE Accessibility Home | Description of Access Keys