diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | ce4a32fe52ef09d8f5ff1dd22c001110902b60a2 (patch) | |
tree | 5ac38a06f3dde268dc7927dc155896926aaf7012 /kdeui/tests/klineedittest.h | |
download | tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.tar.gz tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/tests/klineedittest.h')
-rw-r--r-- | kdeui/tests/klineedittest.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/kdeui/tests/klineedittest.h b/kdeui/tests/klineedittest.h new file mode 100644 index 000000000..e3b87c30e --- /dev/null +++ b/kdeui/tests/klineedittest.h @@ -0,0 +1,41 @@ +#ifndef _KLINEEDITTEST_H +#define _KLINEEDITTEST_H + +#include <qwidget.h> +#include <qguardedptr.h> + +class QString; +class QPushButton; + +class KLineEdit; + +class KLineEditTest : public QWidget +{ + Q_OBJECT + +public: + KLineEditTest( QWidget *parent=0, const char *name=0 ); + ~KLineEditTest(); + KLineEdit* lineEdit() const { return m_lineedit; } + +public slots: + virtual void show (); + +private slots: + void quitApp(); + void slotHide(); + void slotEnable( bool ); + void slotReadOnly( bool ); + void slotReturnPressed(); + void resultOutput( const QString& ); + void slotReturnPressed( const QString& ); + +protected: + QGuardedPtr<KLineEdit> m_lineedit; + QPushButton* m_btnExit; + QPushButton* m_btnReadOnly; + QPushButton* m_btnEnable; + QPushButton* m_btnHide; +}; + +#endif |