not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / khotkeys / libkhotkeysprivate / action_data / menuentry_shortcut_action_data.h
blobb87b046bbf7e53972f1c4916f13748e4e30d853d
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 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"
19 namespace KHotKeys {
21 class KDE_EXPORT MenuEntryShortcutActionData
22 : public Simple_action_data< ShortcutTrigger, MenuEntryAction >
25 typedef Simple_action_data< ShortcutTrigger, MenuEntryAction > base;
27 public:
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
42 #endif