summaryrefslogtreecommitdiffstats
path: root/khotkeys/kcontrol/action_group_tab.h
blob: 970f163799e7de60d7fe1b6a2186fc1c16c06bbe (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
44
45
46
/****************************************************************************

 KHotKeys
 
 Copyright (C) 1999-2001 Lubos Lunak <l.lunak@kde.org>

 Distributed under the terms of the GNU General Public License version 2.
 
****************************************************************************/

#ifndef _ACTION_GROUP_TAB_H_
#define _ACTION_GROUP_TAB_H_

#include <action_group_tab_ui.h>
#include <action_data.h>

namespace KHotKeys
{

class Action_data_group;
class Windowdef_list;

class Action_group_tab
    : public Action_group_tab_ui
    {
    Q_OBJECT
    public:
        Action_group_tab( TQWidget* parent_P = NULL, const char* name_P = NULL );
        void set_data( const Action_data_group* data_P );
        Action_data_group* get_data( Action_data_group* parent_P,
            Condition_list* conditions_P ) const;
    public slots:
        void clear_data();
    protected slots:
        virtual void action_group_name_changed( const TQString& name_P );
    protected:
        Action_data_group::system_group_t system_group;
    };
    
//***************************************************************************
// Inline
//***************************************************************************

} // namespace KHotKeys

#endif