KTextEditor::BlockSelectionDCOPInterface Class Reference

This is the main interface to the BlockSelectionInterface of KTextEditor. More...

#include <blockselectiondcopinterface.h>

Inheritance diagram for KTextEditor::BlockSelectionDCOPInterface:
DCOPObject

List of all members.

Public Member Functions

 BlockSelectionDCOPInterface (BlockSelectionInterface *Parent, const char *name)
virtual ~BlockSelectionDCOPInterface ()

Detailed Description

This is the main interface to the BlockSelectionInterface of KTextEditor.

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

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

Definition at line 18 of file blockselectiondcopinterface.h.


Constructor & Destructor Documentation

BlockSelectionDCOPInterface::BlockSelectionDCOPInterface ( BlockSelectionInterface Parent,
const char *  name 
)

Construct a new interface object for the text editor.

Parameters:
Parent the parent BlockSelectionInterface object that will provide us with the functions for the interface.
name the QObject's name

Definition at line 7 of file blockselectiondcopinterface.cpp.

BlockSelectionDCOPInterface::~BlockSelectionDCOPInterface (  )  [virtual]

Destructor Cleans up the object.

Definition at line 13 of file blockselectiondcopinterface.cpp.


Member Function Documentation

bool BlockSelectionDCOPInterface::blockSelectionMode (  ) 

Returns the status of the selection mode - true indicates block selection mode is on.

If this is true, selections applied via the SelectionInterface are handled as blockselections and the paste functions of the ClipboardInterface works on rectangular blocks of text rather than normal. (copy too, but thats clear I hope ;)

Definition at line 22 of file blockselectiondcopinterface.cpp.

bool BlockSelectionDCOPInterface::setBlockSelectionMode ( bool  on  ) 

set blockselection mode to state "on"

Definition at line 26 of file blockselectiondcopinterface.cpp.

bool BlockSelectionDCOPInterface::toggleBlockSelectionMode (  ) 

toggle blockseletion mode

Definition at line 30 of file blockselectiondcopinterface.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys