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

interfaces

KTextEditor::SelectionDCOPInterface

KTextEditor::SelectionDCOPInterface Class Reference

#include <selectiondcopinterface.h>

Inheritance diagram for KTextEditor::SelectionDCOPInterface:

DCOPObject

List of all members.


Detailed Description

This is the main interface to the SelectionInterface of KTextEdit.

This will provide a consistant dcop interface to all KDE applications that use it. DCOP interface to SelectionInterface.

Author:
Ian Reinhart Geiser <geiseri@kde.org>

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]

Destructor Cleans up the object.

Definition at line 13 of file selectiondcopinterface.cpp.


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 (  ) 

removes the current Selection (not Text)

Definition at line 29 of file selectiondcopinterface.cpp.

bool SelectionDCOPInterface::hasSelection (  ) 

Returns:
true if there is a selection

Definition at line 37 of file selectiondcopinterface.cpp.

QString SelectionDCOPInterface::selection (  ) 

Returns:
a QString for the selected text

Definition at line 45 of file selectiondcopinterface.cpp.

bool SelectionDCOPInterface::removeSelectedText (  ) 

removes the selected Text

Definition at line 53 of file selectiondcopinterface.cpp.

bool SelectionDCOPInterface::selectAll (  ) 

select the whole text

Definition at line 61 of file selectiondcopinterface.cpp.


The documentation for this class was generated from the following files:
  • selectiondcopinterface.h
  • selectiondcopinterface.cpp

interfaces

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

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
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