kpresenter
KPrFindReplace Class Reference
#include <KPrFindReplace.h>
Inherits KoFindReplace.
Detailed Description
This class implements the 'find' functionality ( the "search next, prompt" loop ) and the 'replace' functionality.Same class, to allow centralizing the code that finds the framesets and paragraphs to look into.
Definition at line 42 of file KPrFindReplace.h.
Public Member Functions | |
KPrFindReplace (QWidget *parent, KPrCanvas *canvas, KoSearchDia *dialog, const QValueList< KoTextObject * > &lstObjects, KPrTextView *textView) | |
KPrFindReplace (QWidget *parent, KPrCanvas *canvas, KoReplaceDia *dialog, const QValueList< KoTextObject * > &lstObjects, KPrTextView *textView) | |
virtual void | emitNewCommand (KCommand *) |
virtual void | highlightPortion (KoTextParag *parag, int index, int length, KoTextDocument *textdoc, KDialogBase *dialog) |
Constructor & Destructor Documentation
KPrFindReplace::KPrFindReplace | ( | QWidget * | parent, | |
KPrCanvas * | canvas, | |||
KoSearchDia * | dialog, | |||
const QValueList< KoTextObject * > & | lstObjects, | |||
KPrTextView * | textView | |||
) |
The parent widget can't be the canvas, otherwise the 'find next' dialog scrolls up/down when using the scrollbars (hehe, cool effect).
Definition at line 32 of file KPrFindReplace.cpp.
The documentation for this class was generated from the following files: