kdelibs/kdeui/tests/kcomboboxtest.h
Ivailo Monev 061fe69615 kdeui: get rid of Konqueror history requirement for KComboBox test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-19 04:14:03 +00:00

49 lines
820 B
C++

#ifndef KCOMBOBOXTEST_H
#define KCOMBOBOXTEST_H
#include <QtGui/QWidget>
#include <QTimer>
#include <QComboBox>
#include <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_comp;
QPushButton* m_btnExit;
QPushButton* m_btnEnable;
QTimer* m_timer;
};
#endif