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 #include "simple_action_data.h"
12 #include "actions/actions.h"
14 #include <kconfiggroup.h>
22 // Dbus_shortcut_action_data
25 void Simple_action_data
< ShortcutTrigger
, DBusAction
>
26 ::cfg_write( KConfigGroup
& cfg_P
) const
28 base::cfg_write( cfg_P
);
29 cfg_P
.writeEntry( "Type", "DBUS_SHORTCUT_ACTION_DATA" );
32 // Keyboard_input_shortcut_action_data
35 void Simple_action_data
< ShortcutTrigger
, KeyboardInputAction
>
36 ::cfg_write( KConfigGroup
& cfg_P
) const
38 base::cfg_write( cfg_P
);
39 cfg_P
.writeEntry( "Type", "KEYBOARD_INPUT_SHORTCUT_ACTION_DATA" );
42 // Activate_window_shortcut_action_data
45 void Simple_action_data
< ShortcutTrigger
, ActivateWindowAction
>
46 ::cfg_write( KConfigGroup
& cfg_P
) const
48 base::cfg_write( cfg_P
);
49 cfg_P
.writeEntry( "Type", "ACTIVATE_WINDOW_SHORTCUT_ACTION_DATA" );
52 } // namespace KHotKeys