summaryrefslogtreecommitdiffstats
path: root/khotkeys/kcontrol/general_tab.h
blob: bd738f6a10d36ff2154181e5669e242fac41cdf9 (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
47
/****************************************************************************

 KHotKeys
 
 Copyright (C) 1999-2001 Lubos Lunak <[email protected]>

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

#ifndef _GENERAL_TAB_H_
#define _GENERAL_TAB_H_

#include <general_tab_ui.h>

namespace KHotKeys
{

class Action_data;
class Trigger_list;
class Action_data_group;
class Windowdef_list;
class Action_list;

class General_tab
    : public General_tab_ui
    {
    TQ_OBJECT
    public:
        General_tab( TQWidget* parent_P = NULL, const char* name_P = NULL );
        void set_data( const Action_data* data_P );
        void get_data( TQString& name_O, TQString& comment_O, bool& enabled_O );
    public slots:
        void clear_data();
    signals:
        void action_type_changed( int type_P );
    protected slots:
        void action_name_changed( const TQString& name_P );
    };
    
//***************************************************************************
// Inline
//***************************************************************************

} // namespace KHotKeys

#endif