kreplace.h
112 KReplace(const TQString &pattern, const TQString &replacement, long options, TQWidget *parent = 0);
124 KReplace(const TQString &pattern, const TQString &replacement, long options, TQWidget *parent, TQWidget* replaceDialog);
189 static int replace( TQString &text, const TQString &pattern, const TQString &replacement, int index, long options, int *replacedLength );
207 static int replace( TQString &text, const TQRegExp &pattern, const TQString &replacement, int index, long options, int *replacedLength );
249 void replace(const TQString &text, int replacementIndex, int replacedLength, int matchedLength);
void replace(const TQString &text, int replacementIndex, int replacedLength, int matchedLength)
Connect to this slot to implement updating of replaced text during the replace operation.
virtual void resetCounts()
Call this to reset the numMatches count (and the numReplacements count for a KReplace).
Definition: kfind.h:232
virtual void displayFinalDialog() const
Displays the final dialog saying "no match was found", if that was the case.
Definition: kfind.cpp:619
virtual bool shouldRestart(bool forceAsking=false, bool showNumMatches=true) const
Returns true if we should restart the search from scratch.
Definition: kfind.cpp:629