add more spacing
[personal-kdebase.git] / workspace / khotkeys / libkhotkeysprivate / action_data / keyboard_input_gesture_action_data.h
blob20890a106b49c5bf0ca41d9511ec428ef22e85f8
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 KEYBOARD_INPUT_ACTION_DATA_H
12 #define KEYBOARD_INPUT_ACTION_DATA_H
14 #include "action_data.h"
17 namespace KHotKeys {
19 class KeyboardInputAction;
21 class KDE_EXPORT Keyboard_input_gesture_action_data
22 : public ActionData
24 typedef ActionData base;
25 public:
26 Keyboard_input_gesture_action_data( ActionDataGroup* parent_P, const QString& name_P,
27 const QString& comment_P, bool enabled_P = true );
28 Keyboard_input_gesture_action_data( KConfigGroup& cfg_P, ActionDataGroup* parent_P );
29 const KeyboardInputAction* action() const;
30 // CHECKME kontrola, ze se dava jen jedna akce ?
31 void set_action( KeyboardInputAction* action_P );
32 enum { NUM_TRIGGERS = 3 }; // needs changing code elsewhere
33 using ActionData::set_triggers; // make public // CHECKME kontrola poctu?
34 virtual void cfg_write( KConfigGroup& cfg_P ) const;
37 } // namespace KHotKeys
39 #endif