[Kde-games-devel] Oxygen game icons
Ian Wadham
ianw2 at optusnet.com.au
Wed Oct 24 11:01:45 CEST 2007
On Wed, 24 Oct 2007 10:06 am, Mauricio Piacentini wrote:
> Preview at http://piacentini.livejournal.com/
>
Great work, Mauricio!
Just a related query, in case I have done the wrong thing. In KGoldrunner
there is an "Edit Hint" action, but I thought I would re-use the Hint icon, so
I wrote, in kgoldrunner.cpp:
QAction* ktipAct = actionCollection()->addAction ("edit_hint");
ktipAct->setIcon (KIcon("games-hint"));
ktipAct->setText (i18n("Edit Name/Hint"));
ktipAct->setToolTip (i18n("Edit level name or hint"));
ktipAct->setWhatsThis (i18n("Edit text for the name or hint of a level"));
Is that going to work? Is it OK or a horrible hack? I am a newbie when
it comes to KIcon and KIconLoader.
Cheers, Ian W.
More information about the kde-games-devel
mailing list