1 /****************************************************************************
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 GENERIC_ACTION_DATA_H
12 #define GENERIC_ACTION_DATA_H
14 #include "action_data.h"
19 class ActionDataGroup
;
21 class KDE_EXPORT Generic_action_data
24 typedef ActionData base
;
28 Generic_action_data( ActionDataGroup
* parent_P
, const QString
& name_P
,
29 const QString
& comment_P
, Trigger_list
* triggers_P
, Condition_list
* conditions_P
,
30 ActionList
* actions_P
, bool enabled_P
= true );
32 Generic_action_data( KConfigGroup
& cfg_P
, ActionDataGroup
* parent_P
);
34 virtual void cfg_write( KConfigGroup
& cfg_P
) const;
37 using ActionDataBase::set_conditions
; // make public
38 using ActionData::add_trigger
; // make public
39 using ActionData::add_triggers
; // make public
40 using ActionData::set_triggers
; // make public
41 using ActionData::add_action
; // make public
42 using ActionData::add_actions
; // make public
43 using ActionData::set_actions
; // make public
46 } // namespace KHotKeys