9#ifndef KREPLACEDIALOG_H
10#define KREPLACEDIALOG_H
12#include "ktextwidgets_export.h"
14#include "kfinddialog.h"
16class KReplaceDialogPrivate;
54 PromptOnReplace = 256,
71 const QStringList &findStrings = QStringList(),
72 const QStringList &replaceStrings = QStringList(),
73 bool hasSelection =
true);
126 void showEvent(QShowEvent *)
override;
130#if KTEXTWIDGETS_BUILD_DEPRECATED_SINCE(5, 79)
132 QT_WARNING_DISABLE_CLANG(
"-Wunused-private-field")
134 const
void *__ktextwidgets_d_do_not_use;
A generic "find" dialog.
Definition kfinddialog.h:66
A generic "replace" dialog.
Definition kreplacedialog.h:46
QWidget * replaceExtension() const
Returns an empty widget which the user may fill with additional UI elements as required.
~KReplaceDialog() override
Destructor.
QStringList replacementHistory() const
Returns the list of history items.
long options() const
Returns the state of the options.
void setReplacementHistory(const QStringList &history)
Provide the list of strings to be displayed as the history of replacement strings.
void setOptions(long options)
Set the options which are enabled.
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.
QString replacement() const
Returns the replacement string.
Options
Options.
Definition kreplacedialog.h:52