summaryrefslogtreecommitdiffstats
path: root/interfaces/tdetexteditor/blockselectiondcopinterface.cpp
blob: 34b7294b248d0ae246c2b9276c3fecabea7d3a8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#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 ();
}