• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kate

KateAppDCOPIface Class Reference

#include <kateappIface.h>

Inheritance diagram for KateAppDCOPIface:

Inheritance graph
[legend]

List of all members.


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

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:
  • kateappIface.h
  • kateappIface.cpp

kate

Skip menu "kate"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • kate
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal