KDEUI
kreplace.h
Go to the documentation of this file.
107 KReplace(const QString &pattern, const QString &replacement, long options, QWidget *parent = 0);
114 KReplace(const QString &pattern, const QString &replacement, long options, QWidget *parent, QWidget* replaceDialog);
173 static int replace( QString &text, const QString &pattern, const QString &replacement, int index, long options, int *replacedLength );
KFind(const QString &pattern, long options, QWidget *parent)
Only use this constructor if you don't use KFindDialog, or if you use it as a modal dialog.
Definition kfind.cpp:61
KReplace(const QString &pattern, const QString &replacement, long options, QWidget *parent=0)
Only use this constructor if you don't use KFindDialog, or if you use it as a modal dialog.
Definition kreplace.cpp:91
KDialog * replaceNextDialog(bool create=false)
Return (or create) the dialog that shows the "find next?" prompt.
Definition kreplace.cpp:113
virtual void displayFinalDialog() const
Displays the final dialog telling the user how many replacements were made.
Definition kreplace.cpp:133
virtual void resetCounts()
Call this to reset the numMatches & numReplacements counts.
Definition kreplace.cpp:322
virtual bool shouldRestart(bool forceAsking=false, bool showNumMatches=true) const
Returns true if we should restart the search from scratch.
Definition kreplace.cpp:328
void replace(const QString &text, int replacementIndex, int replacedLength, int matchedLength)
Connect to this slot to implement updating of replaced text during the replace operation.
This file is part of the KDE documentation.
Documentation copyright © 1996-2026 The KDE developers.
Generated on by doxygen 1.18.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2026 The KDE developers.
Generated on by doxygen 1.18.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.