7#include "kglobalshortcutinfo.h"
8#include "kglobalshortcutinfo_p.h"
10KGlobalShortcutInfo::KGlobalShortcutInfo()
11 : d(new KGlobalShortcutInfoPrivate)
17 , d(new KGlobalShortcutInfoPrivate)
19 d->contextUniqueName = rhs.d->contextUniqueName;
20 d->contextFriendlyName = rhs.d->contextFriendlyName;
21 d->componentFriendlyName = rhs.d->componentFriendlyName;
22 d->componentUniqueName = rhs.d->componentUniqueName;
23 d->friendlyName = rhs.d->friendlyName;
24 d->uniqueName = rhs.d->uniqueName;
25 d->keys = rhs.d->keys;
26 d->defaultKeys = rhs.d->defaultKeys;
29KGlobalShortcutInfo::~KGlobalShortcutInfo()
37 KGlobalShortcutInfoPrivate *swap;
44QString KGlobalShortcutInfo::contextFriendlyName()
const
46 return d->contextFriendlyName.isEmpty() ? d->contextUniqueName : d->contextFriendlyName;
49QString KGlobalShortcutInfo::contextUniqueName()
const
51 return d->contextUniqueName;
54QString KGlobalShortcutInfo::componentFriendlyName()
const
56 return d->componentFriendlyName.isEmpty() ? d->componentUniqueName : d->componentFriendlyName;
59QString KGlobalShortcutInfo::componentUniqueName()
const
61 return d->componentUniqueName;
66 return d->defaultKeys;
69QString KGlobalShortcutInfo::friendlyName()
const
71 return d->friendlyName;
79QString KGlobalShortcutInfo::uniqueName()
const
84#include "moc_kglobalshortcutinfo.cpp"