00001 00002 #ifndef KPT_VIEW_IFACE_H 00003 #define KPT_VIEW_IFACE_H 00004 00005 #include <KoViewIface.h> 00006 00007 #include <QString> 00008 #include <qrect.h> 00009 #include <QColor> 00010 00011 namespace KPlato 00012 { 00013 00014 class View; 00015 00016 class ViewIface : public KoViewIface 00017 { 00018 K_DCOP 00019 public: 00020 ViewIface( View* ); 00021 ~ViewIface(); 00022 00023 k_dcop: 00024 void slotEditResource(); 00025 void slotEditCut(); 00026 void slotEditCopy(); 00027 void slotEditPaste(); 00028 void slotViewGantt(); 00029 void slotViewPert(); 00030 void slotViewResources(); 00031 void slotAddTask(); 00032 void slotAddSubTask(); 00033 void slotAddMilestone(); 00034 void slotProjectEdit(); 00035 void slotConfigure(); 00036 00037 private: 00038 View* m_view; 00039 }; 00040 00041 } //KPlato namespace 00042 00043 #endif