diff options
Diffstat (limited to 'klinkstatus/src/ui/klshistorycombo.h')
-rw-r--r-- | klinkstatus/src/ui/klshistorycombo.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/klinkstatus/src/ui/klshistorycombo.h b/klinkstatus/src/ui/klshistorycombo.h new file mode 100644 index 00000000..ab990a1e --- /dev/null +++ b/klinkstatus/src/ui/klshistorycombo.h @@ -0,0 +1,42 @@ +// +// C++ Interface: klshistorycombo +// +// Description: +// +// +// Author: Paulo Moura Guedes <moura@kdewebdev.org>, (C) 2004 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#ifndef KLSHISTORYCOMBO_H +#define KLSHISTORYCOMBO_H + +#include <kcombobox.h> +class KConfig; + +/** +@author Paulo Moura Guedes +Based on KonqCombo +*/ +class KLSHistoryCombo : public KHistoryCombo +{ + Q_OBJECT + +public: + KLSHistoryCombo(QWidget* parent, const char* name); + ~KLSHistoryCombo(); + + void init(); + void loadItems(); + void saveItems(); + +protected: + virtual bool eventFilter(QObject* o, QEvent* ev); + void selectWord(QKeyEvent* e); + +private: + static bool items_saved_; +}; + +#endif |