kreplacedialog.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
#ifndef KREPLACEDIALOG_H
00022
#define KREPLACEDIALOG_H
00023
00024
#include "kfinddialog.h"
00025
00026
class KHistoryCombo;
00027
class QCheckBox;
00028
class QGroupBox;
00029
class QLabel;
00030
class QPopupMenu;
00031
class QPushButton;
00032
class QRect;
00033
00057 class KUTILS_EXPORT KReplaceDialog:
00058
public KFindDialog
00059 {
00060 Q_OBJECT
00061
00062
public:
00063
00064
00065
00066
enum Options
00067 {
00068
00069 PromptOnReplace = 256,
00070 BackReference = 512
00071 };
00072
00085 KReplaceDialog(
QWidget *parent = 0,
const char *name = 0,
long options = 0,
00086
const QStringList &findStrings =
QStringList(),
00087
const QStringList &replaceStrings =
QStringList(),
00088
bool hasSelection =
true );
00089
00093
virtual ~KReplaceDialog();
00094
00103
void setReplacementHistory(
const QStringList &history );
00104
00110
QStringList replacementHistory()
const;
00111
00117
void setOptions(
long options );
00118
00125
long options()
const;
00126
00130
QString replacement()
const;
00131
00138
QWidget *replaceExtension();
00139
00140
protected slots:
00141
00142
void slotOk();
00143
virtual void showEvent (
QShowEvent * );
00144
00145
private:
00146
00147
00148
class KReplaceDialogPrivate;
00149 KReplaceDialogPrivate *d;
00150 };
00151
00152
00153
#endif // KREPLACEDIALOG_H
This file is part of the documentation for kutils Library Version 3.4.0.