diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | e9ae80694875f869892f13f4fcaf1170a00dea41 (patch) | |
tree | aa2f8d8a217e2d376224c8d46b7397b68d35de2d /klinkstatus/src/ui/klshistorycombo.h | |
download | tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.tar.gz tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klinkstatus/src/ui/klshistorycombo.h')
-rw-r--r-- | klinkstatus/src/ui/klshistorycombo.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/klinkstatus/src/ui/klshistorycombo.h b/klinkstatus/src/ui/klshistorycombo.h new file mode 100644 index 00000000..ab990a1e --- /dev/null +++ b/klinkstatus/src/ui/klshistorycombo.h @@ -0,0 +1,42 @@ +// +// C++ Interface: klshistorycombo +// +// Description: +// +// +// Author: Paulo Moura Guedes <[email protected]>, (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 |