not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / khotkeys / libkhotkeysprivate / action_data / generic_action_data.h
blobaaa36ca72b95877f4965ff339667634e32529992
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 GENERIC_ACTION_DATA_H
12 #define GENERIC_ACTION_DATA_H
14 #include "action_data.h"
17 namespace KHotKeys {
19 class ActionDataGroup;
21 class KDE_EXPORT Generic_action_data
22 : public ActionData
24 typedef ActionData base;
26 public:
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;
36 // CHECKME: Why this?
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
48 #endif