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 KEYBOARD_INPUT_ACTION_DATA_H
12 #define KEYBOARD_INPUT_ACTION_DATA_H
14 #include "action_data.h"
19 class KeyboardInputAction
;
21 class KDE_EXPORT Keyboard_input_gesture_action_data
24 typedef ActionData base
;
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