KDEUI
Go to the documentation of this file.
20 #include "kglobalshortcutinfo_p.h"
26 argument.beginStructure();
33 argument.beginArray(qMetaTypeId<int>());
34 Q_FOREACH(
const QKeySequence &key, shortcut.
keys())
36 argument << key.operator int();
39 argument.beginArray(qMetaTypeId<int>());
40 Q_FOREACH(
const QKeySequence &key, shortcut.
defaultKeys())
42 argument << key.operator int();
45 argument.endStructure();
52 argument.beginStructure();
53 argument >> shortcut.d->uniqueName
54 >> shortcut.d->friendlyName
55 >> shortcut.d->componentUniqueName
56 >> shortcut.d->componentFriendlyName
57 >> shortcut.d->contextUniqueName
58 >> shortcut.d->contextFriendlyName;
59 argument.beginArray();
60 while (!argument.atEnd())
64 shortcut.d->keys.append(QKeySequence(key));
67 argument.beginArray();
68 while (!argument.atEnd())
72 shortcut.d->defaultKeys.append(QKeySequence(key));
75 argument.endStructure();
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 23 2013 20:33:56 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.