summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/ui/klshistorycombo.h
blob: 2b153b8271703c4399d6a342a90220fb72b82101 (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
43
//
// 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 TDEConfig;

/**
@author Paulo Moura Guedes
Based on KonqCombo
*/
class KLSHistoryCombo : public KHistoryCombo
{
    Q_OBJECT
  

public:
    KLSHistoryCombo(TQWidget* parent, const char* name);
    ~KLSHistoryCombo();

    void init();
    void loadItems();
    void saveItems();

protected:
    virtual bool eventFilter(TQObject* o, TQEvent* ev);
    void selectWord(TQKeyEvent* e);
    
private:
    static bool items_saved_;
};

#endif