Source Code (Use browser search to find items of interest.)
Class Index
kfind'KfComboBox (./kdeutils/kfind/kftabdlg.h:107)
class KfComboBox: public QComboBox
{
Q_OBJECT
public:
KfComboBox(QWidget * parent, const char *name = 0 );
~KfComboBox();
void keyPressEvent(QKeyEvent *e);
signals:
void returnPressed();
};
kfind'KfComboBox::KfComboBox() (./kdeutils/kfind/kftabdlg.cpp:629)
KfComboBox::KfComboBox(QWidget * parent, const char *name)
: QComboBox( TRUE, parent, name )
{}
kfind'KfComboBox::~KfComboBox() (./kdeutils/kfind/kftabdlg.cpp:633)
KfComboBox::~KfComboBox()
{}
kfind'KfComboBox::keyPressEvent() (./kdeutils/kfind/kftabdlg.cpp:636)
void KfComboBox::keyPressEvent(QKeyEvent *e)
{
if(e->key() == Key_Return || e->key() == Key_Enter)
emit returnPressed();
else
QComboBox::keyPressEvent(e);
}
//*******************************************************
// Static utility functions
//*******************************************************