kpresenter
KPrFindReplace.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef searchdia_h
00022 #define searchdia_h
00023
00024 #include "KPrTextObject.h"
00025 #include <KoSearchDia.h>
00026
00027 class KPrCanvas;
00028 class KMacroCommand;
00029 class KPrTextView;
00030 class KoTextObject;
00031 class KoFindReplace;
00032 class KoReplaceDia;
00033 class KoSearchDia;
00034 class KPrTextView;
00035 class KPrFindReplace;
00036 class KCommand;
00042 class KPrFindReplace : public KoFindReplace
00043 {
00044 Q_OBJECT
00045 public:
00050 KPrFindReplace( QWidget* parent, KPrCanvas * canvas, KoSearchDia * dialog,
00051 const QValueList<KoTextObject *> & lstObjects, KPrTextView *textView );
00052 KPrFindReplace( QWidget* parent, KPrCanvas * canvas, KoReplaceDia * dialog,
00053 const QValueList<KoTextObject *> & lstObjects, KPrTextView *textView );
00054 ~KPrFindReplace();
00055
00056 virtual void emitNewCommand(KCommand *);
00057 virtual void highlightPortion(KoTextParag * parag, int index, int length, KoTextDocument *textdoc, KDialogBase* dialog);
00058
00059 private:
00060 KPrCanvas *m_canvas;
00061 };
00062
00063 #endif
|