Hi,

I'm currently trying to port kglobalaccel in kde-runtime to frameworks. I'm 
facing an issue in the file globalshortcut.cpp: it tries to access the private 
header of KGlobalShortcutInfo to create a custom KGlobalShortcutInfo 
object[1]. Now this looks obviously wrong and doesn't work as the private 
header doesn't get installed any more.

KGlobalShortcutInfo on the other hand only provides a default ctor and read-
only properties. So I cannot just create a KGlobalShortcutInfo and set the 
properties. I assume that this has been done on purpose to make it non-
constructable. Even more the KGlobalShortcutInfo is friended with the 
GlobalShortcut which tries to access the private.

Any suggestions on what to do here?

Cheers
Martin

[1] see kde-runtime/kglobalaccel/globalshortcut.cpp line 65 following

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Reply via email to