• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeutils
 

tdeutils

  • tdeutils
kreplacedialog.h
1 /*
2  Copyright (C) 2001, S.R.Haque <srhaque@iee.org>.
3  Copyright (C) 2002, David Faure <david@mandrakesoft.com>
4  This file is part of the KDE project
5 
6  This library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Library General Public
8  License version 2, as published by the Free Software Foundation.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 
21 #ifndef KREPLACEDIALOG_H
22 #define KREPLACEDIALOG_H
23 
24 #include "kfinddialog.h"
25 
26 class KHistoryCombo;
27 class TQCheckBox;
28 class TQGroupBox;
29 class TQLabel;
30 class TQPopupMenu;
31 class TQPushButton;
32 class TQRect;
33 
59 class TDEUTILS_EXPORT KReplaceDialog:
60  public KFindDialog
61 {
62  TQ_OBJECT
63 
64 public:
65 
69  enum Options
70  {
71  PromptOnReplace = 256,
72  BackReference = 512
73  };
74 
87  KReplaceDialog( TQWidget *parent = 0, const char *name = 0, long options = 0,
88  const TQStringList &findStrings = TQStringList(),
89  const TQStringList &replaceStrings = TQStringList(),
90  bool hasSelection = true );
91 
95  virtual ~KReplaceDialog();
96 
105  void setReplacementHistory( const TQStringList &history );
106 
113  TQStringList replacementHistory() const;
114 
121  void setOptions( long options );
122 
130  long options() const;
131 
136  TQString replacement() const;
137 
145  TQWidget *replaceExtension();
146 
147 protected slots:
148 
149  void slotOk();
150  virtual void showEvent ( TQShowEvent * );
151 
152 private:
153 
154  // Binary compatible extensibility.
155  class KReplaceDialogPrivate;
156  KReplaceDialogPrivate *d;
157 };
158 
159 
160 #endif // KREPLACEDIALOG_H
KFindDialog
A generic "find" dialog.
Definition: kfinddialog.h:76
KFindDialog::options
long options() const
Returns the state of the options.
Definition: kfinddialog.cpp:318
KFindDialog::setOptions
void setOptions(long options)
Set the options which are checked.
Definition: kfinddialog.cpp:426
KFindDialog::Options
Options
Options for the search.
Definition: kfinddialog.h:88
KHistoryCombo
KReplaceDialog
A generic "replace" dialog.
Definition: kreplacedialog.h:61

tdeutils

Skip menu "tdeutils"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

tdeutils

Skip menu "tdeutils"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeutils by doxygen 1.9.1
This website is maintained by Timothy Pearson.