add more spacing
[personal-kdebase.git] / workspace / khotkeys / libkhotkeysprivate / action_data / simple_action_data.cpp
blob31504066b8dd46a787e45c7ae3b55fe0578a8799
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 #include "simple_action_data.h"
12 #include "actions/actions.h"
14 #include <kconfiggroup.h>
15 #include <kdebug.h>
18 namespace KHotKeys
22 // Dbus_shortcut_action_data
24 template<> KDE_EXPORT
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
34 template<> KDE_EXPORT
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
44 template<> KDE_EXPORT
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