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

kutils

  • kutils
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 KUTILS_EXPORT KReplaceDialog:
60  public KFindDialog
61 {
62  Q_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

kutils

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

kutils

Skip menu "kutils"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kutils by doxygen 1.8.1.2
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |