printdcopinterface.cpp

00001 #include "printdcopinterface.h"
00002 #include "printinterface.h"
00003 
00004 #include <dcopclient.h>
00005 using namespace KTextEditor;
00006 
00007 PrintDCOPInterface::PrintDCOPInterface( PrintInterface *Parent, const char *name)
00008     : DCOPObject(name)
00009 {
00010     m_parent = Parent;
00011 }
00012 
00013 PrintDCOPInterface::~PrintDCOPInterface()
00014 {
00015 
00016 }
00017 
00018 uint PrintDCOPInterface::printInterfaceNumber () 
00019 {
00020     return m_parent->printInterfaceNumber();
00021 }
00022 bool PrintDCOPInterface::printDialog ()
00023 {
00024     return m_parent->printDialog();
00025 }
00026 bool PrintDCOPInterface::print ()  
00027 {
00028     return m_parent->print();
00029 }
00030 
KDE Home | KDE Accessibility Home | Description of Access Keys