diff options
Diffstat (limited to 'khotkeys/kcontrol/menuentry_widget.h')
-rw-r--r-- | khotkeys/kcontrol/menuentry_widget.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/khotkeys/kcontrol/menuentry_widget.h b/khotkeys/kcontrol/menuentry_widget.h new file mode 100644 index 000000000..0c871ec79 --- /dev/null +++ b/khotkeys/kcontrol/menuentry_widget.h @@ -0,0 +1,44 @@ +/**************************************************************************** + + KHotKeys + + Copyright (C) 1999-2001 Lubos Lunak <l.lunak@kde.org> + + Distributed under the terms of the GNU General Public License version 2. + +****************************************************************************/ + +#ifndef _MENUENTRY_WIDGET_H_ +#define _MENUENTRY_WIDGET_H_ + +#include <menuentry_widget_ui.h> + +namespace KHotKeys +{ + +class Menuentry_action; +class Action_data; + +class Menuentry_widget + : public Menuentry_widget_ui + { + Q_OBJECT + public: + Menuentry_widget( QWidget* parent_P = NULL, const char* name_P = NULL ); + void set_data( const Menuentry_action* data_P ); + Menuentry_action* get_data( Action_data* data_P ) const; + public slots: + void clear_data(); + protected slots: + virtual void browse_pressed(); + }; + +typedef Menuentry_widget Menuentry_tab; + +//*************************************************************************** +// Inline +//*************************************************************************** + +} // namespace KHotKeys + +#endif |