blockselectiondcopinterface.cpp
#include "blockselectiondcopinterface.h"
#include "blockselectioninterface.h"
#include <dcopclient.h>
using namespace KTextEditor;
BlockSelectionDCOPInterface::BlockSelectionDCOPInterface( BlockSelectionInterface *Parent, const char *name)
: DCOPObject(name)
{
m_parent = Parent;
}
BlockSelectionDCOPInterface::~BlockSelectionDCOPInterface()
{
}
uint BlockSelectionDCOPInterface::blockSelectionInterfaceNumber ()
{
return m_parent->blockSelectionInterfaceNumber();
}
bool BlockSelectionDCOPInterface::blockSelectionMode ()
{
return m_parent->blockSelectionMode ();
}
bool BlockSelectionDCOPInterface::setBlockSelectionMode (bool on)
{
return m_parent->setBlockSelectionMode (on);
}
bool BlockSelectionDCOPInterface::toggleBlockSelectionMode ()
{
return m_parent->toggleBlockSelectionMode ();
}
KTextEditor::BlockSelectionInterface::setBlockSelectionMode
virtual bool setBlockSelectionMode(bool on)=0
Set block selection mode to state "on".
KTextEditor::BlockSelectionDCOPInterface::toggleBlockSelectionMode
bool toggleBlockSelectionMode()
toggle blockseletion mode
Definition: blockselectiondcopinterface.cpp:30
KTextEditor::BlockSelectionDCOPInterface::setBlockSelectionMode
bool setBlockSelectionMode(bool on)
set blockselection mode to state "on"
Definition: blockselectiondcopinterface.cpp:26
KTextEditor::BlockSelectionInterface::blockSelectionMode
virtual bool blockSelectionMode()=0
slots !!!
KTextEditor::BlockSelectionDCOPInterface::~BlockSelectionDCOPInterface
virtual ~BlockSelectionDCOPInterface()
Destructor Cleans up the object.
Definition: blockselectiondcopinterface.cpp:13
KTextEditor::BlockSelectionInterface::toggleBlockSelectionMode
virtual bool toggleBlockSelectionMode()=0
toggle block seletion mode
KTextEditor::BlockSelectionDCOPInterface::BlockSelectionDCOPInterface
BlockSelectionDCOPInterface(BlockSelectionInterface *Parent, const char *name)
Construct a new interface object for the text editor.
Definition: blockselectiondcopinterface.cpp:7
DCOPObject
KTextEditor::BlockSelectionDCOPInterface::blockSelectionMode
bool blockSelectionMode()
Returns the status of the selection mode - true indicates block selection mode is on...
Definition: blockselectiondcopinterface.cpp:22
KTextEditor::BlockSelectionInterface
An interface for the Document class which allows the selection method to be changed between selecting...
Definition: blockselectioninterface.h:34

KDE Home | KDE Accessibility Home | Description of Access Keys