printdcopinterface.cpp
#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();
}
KTextEditor::PrintDCOPInterface::~PrintDCOPInterface
virtual ~PrintDCOPInterface()
Destructor Cleans up the object.
Definition: printdcopinterface.cpp:13
KTextEditor::PrintInterface
This is an interface to printing functions of a Document.
Definition: printinterface.h:33
KTextEditor::PrintDCOPInterface::PrintDCOPInterface
PrintDCOPInterface(PrintInterface *Parent, const char *name)
Construct a new interface object for the text editor.
Definition: printdcopinterface.cpp:7

KDE Home | KDE Accessibility Home | Description of Access Keys