You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
816 B
42 lines
816 B
15 years ago
|
#ifndef _KLINEEDITTEST_H
|
||
|
#define _KLINEEDITTEST_H
|
||
|
|
||
14 years ago
|
#include <tqwidget.h>
|
||
|
#include <tqguardedptr.h>
|
||
15 years ago
|
|
||
14 years ago
|
class TQString;
|
||
|
class TQPushButton;
|
||
15 years ago
|
|
||
|
class KLineEdit;
|
||
|
|
||
14 years ago
|
class KLineEditTest : public TQWidget
|
||
15 years ago
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
14 years ago
|
KLineEditTest( TQWidget *parent=0, const char *name=0 );
|
||
15 years ago
|
~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();
|
||
14 years ago
|
void resultOutput( const TQString& );
|
||
|
void slotReturnPressed( const TQString& );
|
||
15 years ago
|
|
||
|
protected:
|
||
14 years ago
|
TQGuardedPtr<KLineEdit> m_lineedit;
|
||
|
TQPushButton* m_btnExit;
|
||
|
TQPushButton* m_btnReadOnly;
|
||
|
TQPushButton* m_btnEnable;
|
||
|
TQPushButton* m_btnHide;
|
||
15 years ago
|
};
|
||
|
|
||
|
#endif
|