You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
719 B
44 lines
719 B
//
|
|
// 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
|