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 MENUENTRY_SHORTCUT_ACTION_DATA_H
12 #define MENUENTRY_SHORTCUT_ACTION_DATA_H
14 #include "simple_action_data.h"
15 #include "triggers/triggers.h"
16 #include "actions/actions.h"
21 class KDE_EXPORT MenuEntryShortcutActionData
22 : public Simple_action_data
< ShortcutTrigger
, MenuEntryAction
>
25 typedef Simple_action_data
< ShortcutTrigger
, MenuEntryAction
> base
;
29 MenuEntryShortcutActionData( ActionDataGroup
* parent_P
, const QString
& name_P
,
30 const QString
& comment_P
, bool enabled_P
= true );
32 MenuEntryShortcutActionData( ActionDataGroup
* parent_P
, const QString
& name_P
,
33 const QString
& comment_P
, const KShortcut
& shortcut_P
, const QString
& command_url_P
,
34 bool enabled_P
= true );
36 MenuEntryShortcutActionData( KConfigGroup
& cfg_P
, ActionDataGroup
* parent_P
);
40 } // namespace KHotKeys