summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/ui/klshistorycombo.h
blob: 45192d6ecf15aa61e6462f1a1fb3da19a7f9d1d5 (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 KConfig;

/**
@author Paulo Moura Guedes
Based on KonqCombo
*/
class KLSHistoryCombo : public KHistoryCombo
{
    Q_OBJECT
  TQ_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