mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
49 lines
811 B
C++
49 lines
811 B
C++
#ifndef _KCOMBOBOXTEST_H
|
|
#define _KCOMBOBOXTEST_H
|
|
|
|
#include <QtGui/QWidget>
|
|
|
|
class QTimer;
|
|
class QComboBox;
|
|
class QPushButton;
|
|
|
|
class KComboBox;
|
|
|
|
class KComboBoxTest : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
KComboBoxTest ( QWidget *parent=0);
|
|
~KComboBoxTest();
|
|
|
|
private Q_SLOTS:
|
|
void quitApp();
|
|
void slotTimeout();
|
|
void slotDisable();
|
|
void slotReturnPressed();
|
|
void slotReturnPressed(const QString&);
|
|
void slotActivated( int );
|
|
void slotActivated( const QString& );
|
|
void slotCurrentIndexChanged(int);
|
|
void slotCurrentIndexChanged(const QString&);
|
|
|
|
private:
|
|
|
|
void connectComboSignals(QComboBox* combo);
|
|
|
|
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
|