blob: ab990a1ec729e9bfd2456d4b67b0441b47f723c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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
|