• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kdeui

klineeditdlg.h

Go to the documentation of this file.
00001 /* This file is part of the KDE libraries
00002 
00003    Copyright (C) 1999 Preston Brown <pbrown@kde.org>
00004 
00005    This library is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Library General Public
00007    License as published by the Free Software Foundation; either
00008    version 2 of the License, or (at your option) any later version.
00009 
00010    This library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Library General Public License for more details.
00014 
00015    You should have received a copy of the GNU Library General Public License
00016    along with this library; see the file COPYING.LIB.  If not, write to
00017    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018    Boston, MA 02110-1301, USA.
00019 */
00020 #ifndef __klineeditdlg_h__
00021 #define __klineeditdlg_h__
00022 
00023 class KLineEdit;
00024 class QValidator;
00025 
00026 #include <kdialogbase.h>
00027 
00038 class KDEUI_EXPORT_DEPRECATED KLineEditDlg : public KDialogBase
00039 {
00040   Q_OBJECT
00041 public:
00058   KLineEditDlg( const QString& _text, const QString& _value, QWidget *parent ) KDE_DEPRECATED;
00059   virtual ~KLineEditDlg();
00060 
00064   QString text() const;
00065 
00069   KLineEdit *lineEdit() const { return edit; }
00070 
00080   static QString getText(const QString &text, const QString& value,
00081          bool *ok, QWidget *parent, QValidator *validator=0 ) KDE_DEPRECATED;
00082 
00095   static QString getText(const QString &caption, const QString &text,
00096                          const QString& value=QString::null,
00097                          bool *ok=0, QWidget *parent=0,
00098              QValidator *validator=0) KDE_DEPRECATED;
00099 
00100 public slots:
00104   void slotClear();
00105 
00106 protected slots:
00111   void slotTextChanged( const QString& );
00112 
00113 protected:
00117   KLineEdit *edit;
00118 protected:
00119   virtual void virtual_hook( int id, void* data );
00120 private:
00121   class KLineEditDlgPrivate;
00122   KLineEditDlgPrivate* d;
00123 };
00124 
00125 #endif

kdeui

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal