xca/widgets/FocusCombo.h
Christian Hohnstaedt a1edd32c40 Fix typo
2015-04-06 06:36:43 +02:00

25 lines
376 B
C++

/* vi: set sw=4 ts=4:
*
* Copyright (C) 2014 Christian Hohnstaedt.
*
* All rights reserved.
*/
#ifndef __FOCUSCOMBO_H
#define __FOCUSCOMBO_H
#include <QtGui/QComboBox>
class focusCombo : public QComboBox
{
public:
focusCombo(QWidget *parent) : QComboBox(parent) { }
void hidePopup()
{
QComboBox::hidePopup();
emit highlighted(currentIndex());
}
};
#endif