summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/ui/klshistorycombo.h
blob: 069736162388256cc9e65958a2e539e075b2ce85 (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@tdewebdev.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