summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kcomboboxtest.h
blob: 8c2a463b6f86442772506fba28c2e635c27f3c3c (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
42
43
44
#ifndef _KCOMBOBOXTEST_H
#define _KCOMBOBOXTEST_H

#include <qwidget.h>

class QTimer;
class QComboBox;
class QPushButton;

class KComboBox;

class KComboBoxTest : public QWidget
{
  Q_OBJECT
    
public:
  KComboBoxTest ( QWidget *parent=0, const char *name=0 );
  ~KComboBoxTest();

private slots:
  void quitApp();
  void slotTimeout();
  void slotDisable();
  void slotReturnPressed();
  void slotReturnPressed(const QString&);
  void slotActivated( int );
  void slotActivated( const QString& );
   
protected:
  QComboBox* m_qc;
  
  KComboBox* m_ro;
  KComboBox* m_rw;
  KComboBox* m_hc;
  KComboBox* m_konqc;


  QPushButton* m_btnExit;
  QPushButton* m_btnEnable;

  QTimer* m_timer;
};

#endif