summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/klineedittest.h
blob: 63cb1d4597744b3d500d2bfd7fa0f6b8440cf275 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef _KLINEEDITTEST_H
#define _KLINEEDITTEST_H

#include <tqwidget.h>
#include <tqguardedptr.h>

class TQString;
class TQPushButton;

class KLineEdit;

class KLineEditTest : public TQWidget
{
    TQ_OBJECT

public:
   KLineEditTest( TQWidget *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 TQString& );   
   void slotReturnPressed( const TQString& );
   
protected:
   TQGuardedPtr<KLineEdit> m_lineedit;
   TQPushButton* m_btnExit;
   TQPushButton* m_btnReadOnly;
   TQPushButton* m_btnEnable;
   TQPushButton* m_btnHide;
};

#endif