1 | #ifndef KGLOBALSHORTCUTINFO_P_H |
2 | #define KGLOBALSHORTCUTINFO_P_H |
3 | /* Copyright (C) 2008 Michael Jansen <kde@michael-jansen.biz> |
4 | |
5 | This library is free software; you can redistribute it and/or |
6 | modify it under the terms of the GNU Library General Public |
7 | License as published by the Free Software Foundation; either |
8 | version 2 of the License, or (at your option) any later version. |
9 | |
10 | This library is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Library General Public License for more details. |
14 | |
15 | You should have received a copy of the GNU Library General Public License |
16 | along with this library; see the file COPYING.LIB. If not, write to |
17 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 | Boston, MA 02110-1301, USA. |
19 | */ |
20 | |
21 | /** |
22 | * @internal |
23 | */ |
24 | |
25 | #include "kglobalshortcutinfo.h" |
26 | |
27 | class KGlobalShortcutInfoPrivate |
28 | { |
29 | public: |
30 | QString contextUniqueName; |
31 | QString contextFriendlyName; |
32 | QString componentUniqueName; |
33 | QString componentFriendlyName; |
34 | QString uniqueName; |
35 | QString friendlyName; |
36 | QList<QKeySequence> keys; |
37 | QList<QKeySequence> defaultKeys; |
38 | }; |
39 | |
40 | KDEUI_EXPORT QDBusArgument &operator<< ( |
41 | QDBusArgument &argument, |
42 | const KGlobalShortcutInfo &shortcut); |
43 | |
44 | KDEUI_EXPORT const QDBusArgument &operator>> ( |
45 | const QDBusArgument &argument, |
46 | KGlobalShortcutInfo &shortcut); |
47 | |
48 | |
49 | // these should be in kglobalaccel_interface.h. But this way it's easier to |
50 | // regenerate that file. |
51 | Q_DECLARE_METATYPE(QList<int>) |
52 | Q_DECLARE_METATYPE(QList<QStringList>) |
53 | |
54 | #endif /* #ifndef KGLOBALSHORTCUTINFO_P_H */ |
55 | |
56 | |