• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • interfaces
 

interfaces

  • interfaces
  • tdetexteditor
selectiondcopinterface.cpp
1#include "selectiondcopinterface.h"
2#include "selectioninterface.h"
3
4#include <dcopclient.h>
5using namespace KTextEditor;
6
7SelectionDCOPInterface::SelectionDCOPInterface( SelectionInterface *Parent, const char *name)
8 : DCOPObject(name)
9{
10 m_parent = Parent;
11}
12
13SelectionDCOPInterface::~SelectionDCOPInterface()
14{
15
16}
17
21 bool SelectionDCOPInterface::setSelection ( uint startLine, uint startCol, uint endLine, uint endCol )
22 {
23 return m_parent->setSelection ( startLine, startCol, endLine, endCol );
24 }
25
29 bool SelectionDCOPInterface::clearSelection ()
30 {
31 return m_parent->clearSelection();
32 }
33
37 bool SelectionDCOPInterface::hasSelection ()
38 {
39 return m_parent->hasSelection();
40 }
41
45 TQString SelectionDCOPInterface::selection ()
46 {
47 return m_parent->selection();
48 }
49
53 bool SelectionDCOPInterface::removeSelectedText ()
54 {
55 return m_parent->removeSelectedText();
56 }
57
61 bool SelectionDCOPInterface::selectAll ()
62 {
63 return m_parent->selectAll();
64 }
DCOPObject
KTextEditor::SelectionDCOPInterface::~SelectionDCOPInterface
virtual ~SelectionDCOPInterface()
Destructor Cleans up the object.
Definition: selectiondcopinterface.cpp:13
KTextEditor::SelectionDCOPInterface::clearSelection
bool clearSelection()
removes the current Selection (not Text)
Definition: selectiondcopinterface.cpp:29
KTextEditor::SelectionDCOPInterface::hasSelection
bool hasSelection()
Definition: selectiondcopinterface.cpp:37
KTextEditor::SelectionDCOPInterface::selection
TQString selection()
Definition: selectiondcopinterface.cpp:45
KTextEditor::SelectionDCOPInterface::selectAll
bool selectAll()
select the whole text
Definition: selectiondcopinterface.cpp:61
KTextEditor::SelectionDCOPInterface::removeSelectedText
bool removeSelectedText()
removes the selected Text
Definition: selectiondcopinterface.cpp:53
KTextEditor::SelectionDCOPInterface::setSelection
bool setSelection(uint startLine, uint startCol, uint endLine, uint endCol)
Definition: selectiondcopinterface.cpp:21
KTextEditor::SelectionInterface
This is an interface to text selection for the Document class.
Definition: selectioninterface.h:34
KTextEditor::SelectionInterface::clearSelection
virtual bool clearSelection()=0
removes the current Selection (not Text)
KTextEditor::SelectionInterface::removeSelectedText
virtual bool removeSelectedText()=0
removes the selected Text
KTextEditor::SelectionInterface::selection
virtual TQString selection() const =0
KTextEditor::SelectionInterface::setSelection
virtual bool setSelection(unsigned int startLine, unsigned int startCol, unsigned int endLine, unsigned int endCol)=0
KTextEditor::SelectionInterface::selectAll
virtual bool selectAll()=0
select the whole text
KTextEditor::SelectionInterface::hasSelection
virtual bool hasSelection() const =0
KTextEditor
KTextEditor is KDE's standard text editing KPart interface.
Definition: blockselectiondcopinterface.h:10

interfaces

Skip menu "interfaces"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

interfaces

Skip menu "interfaces"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for interfaces by doxygen 1.9.4
This website is maintained by Timothy Pearson.