OSDN Git Service

kuassel: implement standard KDE actions in help menu
authorIvailo Monev <xakepa10@gmail.com>
Tue, 27 Jan 2015 02:37:14 +0000 (02:37 +0000)
committerIvailo Monev <xakepa10@gmail.com>
Tue, 27 Jan 2015 02:48:45 +0000 (02:48 +0000)
commitadafca690a209a60b13048450a64a5cbffdece2a
tree8f8fa3688d410002e33ae0241755292e0a72ea0f
parent526b8142389cc5c75baf20470881379a23ca2e54
kuassel: implement standard KDE actions in help menu

this had to be done the hardway, at least for now. altough
KHelpMenu can return KMenu pointer it does not play well with the
rest of the code and will require quite some changes (AFAICT) so
for now I opted to re-create standard KHelpMenu with the actions
available for most applications (see TODO bellow). sadly, whatsThis
slot is not yet part of the public KDE UI API (or am I doing
something wrong?) and switchApplicationLanguage has just been made
(see kdelibs) and as such the action does nothing but does not
cause trouble either so - it has been added.

TODO: Tips of the day
kuassel/src/qtui/mainwin.cpp