kword
KWFindReplace.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef searchdia_h
00023 #define searchdia_h
00024
00025 #include <qstring.h>
00026 #include <qstringlist.h>
00027 #include <KoRichText.h>
00028 #include <KoTextObject.h>
00029 #include <KoTextView.h>
00030 #include <KoSearchDia.h>
00031
00032 class KWCanvas;
00033 class KWTextFrameSet;
00034 class KMacroCommand;
00035 class KWTextFrameSetEdit;
00041 class KWFindReplace : public KoFindReplace
00042 {
00043 Q_OBJECT
00044 public:
00045 KWFindReplace( KWCanvas * canvas, KoSearchDia * dialog, const QValueList<KoTextObject *> & lstObjects, KWTextFrameSetEdit* textView );
00046 KWFindReplace( KWCanvas * parent, KoReplaceDia * dialog, const QValueList<KoTextObject *> & lstObjects, KWTextFrameSetEdit* textView );
00047 ~KWFindReplace();
00048
00049 virtual void emitNewCommand(KCommand *);
00050 virtual void highlightPortion(KoTextParag * parag, int index, int length, KoTextDocument *textdocument, KDialogBase* dialog);
00051
00052 private:
00053 KWCanvas *m_canvas;
00054 };
00055
00056 #endif
|