KTextEditor::SelectionDCOPInterface Class Reference
#include <selectiondcopinterface.h>
Inheritance diagram for KTextEditor::SelectionDCOPInterface:

Detailed Description
This is the main interface to the SelectionInterface of KTextEdit.DCOP interface to SelectionInterface.This will provide a consistant dcop interface to all KDE applications that use it.
Definition at line 18 of file selectiondcopinterface.h.
DCOP Member Functions | |
bool | setSelection (uint startLine, uint startCol, uint endLine, uint endCol) |
bool | clearSelection () |
bool | hasSelection () |
QString | selection () |
bool | removeSelectedText () |
bool | selectAll () |
Public Member Functions | |
SelectionDCOPInterface (SelectionInterface *Parent, const char *name) | |
virtual | ~SelectionDCOPInterface () |
Constructor & Destructor Documentation
SelectionDCOPInterface::SelectionDCOPInterface | ( | SelectionInterface * | Parent, | |
const char * | name | |||
) |
Construct a new interface object for the text editor.
- Parameters:
-
Parent the parent SelectionInterface object that will provide us with the functions for the interface. name the QObject's name
Definition at line 7 of file selectiondcopinterface.cpp.
SelectionDCOPInterface::~SelectionDCOPInterface | ( | ) | [virtual] |
Member Function Documentation
bool SelectionDCOPInterface::setSelection | ( | uint | startLine, | |
uint | startCol, | |||
uint | endLine, | |||
uint | endCol | |||
) |
- Returns:
- set the selection from line_start,col_start to line_end,col_end
Definition at line 21 of file selectiondcopinterface.cpp.
bool SelectionDCOPInterface::clearSelection | ( | ) |
bool SelectionDCOPInterface::hasSelection | ( | ) |
QString SelectionDCOPInterface::selection | ( | ) |
bool SelectionDCOPInterface::removeSelectedText | ( | ) |
bool SelectionDCOPInterface::selectAll | ( | ) |
The documentation for this class was generated from the following files: