summaryrefslogtreecommitdiffstats
path: root/interfaces/ktexteditor/printdcopinterface.cpp
blob: 3b9eddfe9045958f6ac472132d724400bea50806 (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
#include "printdcopinterface.h"
#include "printinterface.h"

#include <dcopclient.h>
using namespace KTextEditor;

PrintDCOPInterface::PrintDCOPInterface( PrintInterface *Parent, const char *name)
	: DCOPObject(name)
{
	m_parent = Parent;
}

PrintDCOPInterface::~PrintDCOPInterface()
{

}

uint PrintDCOPInterface::printInterfaceNumber () 
{
	return m_parent->printInterfaceNumber();
}
bool PrintDCOPInterface::printDialog ()
{
	return m_parent->printDialog();
}
bool PrintDCOPInterface::print ()  
{
	return m_parent->print();
}