klineeditdlg.h
/* This file is part of the KDE libraries
Copyright (C) 1999 Preston Brown <pbrown@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef __klineeditdlg_h__
#define __klineeditdlg_h__
class KLineEdit;
class QValidator;
#include <kdialogbase.h>
class KDEUI_EXPORT_DEPRECATED KLineEditDlg : public KDialogBase
{
Q_OBJECT
public:
KLineEditDlg( const QString& _text, const QString& _value, QWidget *parent ) KDE_DEPRECATED;
virtual ~KLineEditDlg();
QString text() const;
KLineEdit *lineEdit() const { return edit; }
static QString getText(const QString &text, const QString& value,
bool *ok, QWidget *parent, QValidator *validator=0 ) KDE_DEPRECATED;
static QString getText(const QString &caption, const QString &text,
const QString& value=QString::null,
bool *ok=0, QWidget *parent=0,
QValidator *validator=0) KDE_DEPRECATED;
public slots:
void slotClear();
protected slots:
void slotTextChanged( const QString& );
protected:
KLineEdit *edit;
protected:
virtual void virtual_hook( int id, void* data );
private:
class KLineEditDlgPrivate;
KLineEditDlgPrivate* d;
};
#endif
KDialogBase
A dialog base class with standard buttons and predefined layouts.
Definition: kdialogbase.h:191
KLineEditDlg::lineEdit
KLineEdit * lineEdit() const
Definition: klineeditdlg.h:69
KLineEdit
An enhanced QLineEdit widget for inputting text.
Definition: klineedit.h:145
KLineEditDlg
Definition: klineeditdlg.h:38

KDE Home | KDE Accessibility Home | Description of Access Keys