kpresenter
KPrTextViewIface.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KPRESENTER_TEXTVIEW_IFACE_H
00022 #define KPRESENTER_TEXTVIEW_IFACE_H
00023
00024 #include <KoDocumentIface.h>
00025 #include <dcopref.h>
00026 #include <KoTextViewIface.h>
00027
00028 class KPrTextView;
00029 class QString;
00030
00031 class KPrTextViewIface : public KoTextViewIface
00032 {
00033 K_DCOP
00034 public:
00035 KPrTextViewIface( KPrTextView *_textview );
00036
00037 k_dcop:
00038 void insertVariable( int type, int subtype = 0 );
00039 void insertCustomVariable( const QString &name);
00040 void insertLink(const QString &_linkName, const QString & hrefName);
00041 void insertVariable( const QString & var);
00042 void insertNote(const QString &_note);
00043
00044 void clearSelection();
00045 void selectAll();
00046
00047 void cut();
00048 void copy();
00049 void paste();
00050
00051 private:
00052 KPrTextView *m_textview;
00053
00054 };
00055
00056 #endif
|