summaryrefslogtreecommitdiffstats
path: root/interfaces/tdetexteditor/bloctdeselectiondcopinterface.cpp
blob: 1648c3eb33f41a15855b00db57d89ba3f231102a (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 "bloctdeselectiondcopinterface.h"
#include "bloctdeselectioninterface.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 ();
}