Make a branch to make krunner Good Enough For Aaron™.
[kdebase/uwolfer.git] / workspace / khotkeys / kcontrol / action_group_tab.h
blob8a16238f404e6f4ab18630ce6b9c431ccbe071b4
1 /****************************************************************************
3 KHotKeys
5 Copyright (C) 1999-2001 Lubos Lunak <l.lunak@kde.org>
7 Distributed under the terms of the GNU General Public License version 2.
9 ****************************************************************************/
11 #ifndef _ACTION_GROUP_TAB_H_
12 #define _ACTION_GROUP_TAB_H_
14 #include <ui_action_group_tab_ui.h>
15 #include <action_data.h>
17 namespace KHotKeys
20 class Action_data_group;
22 class Action_group_tab_ui : public QWidget, public Ui::Action_group_tab_ui
24 public:
25 Action_group_tab_ui( QWidget *parent ) : QWidget( parent ) {
26 setupUi( this );
30 class Action_group_tab
31 : public Action_group_tab_ui
33 Q_OBJECT
34 public:
35 Action_group_tab( QWidget* parent_P = NULL, const char* name_P = NULL );
36 void set_data( const Action_data_group* data_P );
37 Action_data_group* get_data( Action_data_group* parent_P,
38 Condition_list* conditions_P ) const;
39 public Q_SLOTS:
40 void clear_data();
41 protected Q_SLOTS:
42 virtual void action_group_name_changed( const QString& name_P );
43 protected:
44 Action_data_group::system_group_t system_group;
47 //***************************************************************************
48 // Inline
49 //***************************************************************************
51 } // namespace KHotKeys
53 #endif