KTextWidgets
kreplacedialog.cpp
44KReplaceDialog::KReplaceDialog(QWidget *parent, long options, const QStringList &findStrings, const QStringList &replaceStrings, bool hasSelection)
45 : KFindDialog(*new KReplaceDialogPrivate(this), parent, options, findStrings, hasSelection, true /*create replace dialog*/)
154 + (caps ? i18np("but your pattern only defines 1 capture.", "but your pattern only defines %1 captures.", caps)
QWidget * replaceExtension() const
Returns an empty widget which the user may fill with additional UI elements as required.
Definition kreplacedialog.cpp:86
QStringList replacementHistory() const
Returns the list of history items.
Definition kreplacedialog.cpp:105
void setReplacementHistory(const QStringList &history)
Provide the list of strings to be displayed as the history of replacement strings.
Definition kreplacedialog.cpp:126
KReplaceDialog(QWidget *parent=nullptr, long options=0, const QStringList &findStrings=QStringList(), const QStringList &replaceStrings=QStringList(), bool hasSelection=true)
Construct a replace dialog.read-only or rather select-only combo box with a parent object and a name.
Definition kreplacedialog.cpp:44
@ PromptOnReplace
Should the user be prompted before the replace operation?
Definition kreplacedialog.h:54
QString i18np(const char *singular, const char *plural, const TYPE &arg...)
QString i18n(const char *text, const TYPE &arg...)
void information(QWidget *parent, const QString &text, const QString &title=QString(), const QString &dontShowAgainName=QString(), Options options=Notify)
QAction * replace(const QObject *recvr, const char *slot, QObject *parent)
bool isEmpty() const const
void prepend(parameter_type value)
void replace(qsizetype i, parameter_type value)
UseUnicodePropertiesOption
QWidget(QWidget *parent, Qt::WindowFlags f)
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:49:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:49:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.