You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdelibs/interfaces/tdetexteditor/printdcopinterface.cpp

31 lines
531 B

#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();
}