How to get a pointer for mainwindow?

Andras Mantia amantia at kde.org
Tue Mar 27 09:42:06 UTC 2007


Hi,

 I have a similar problem, I want to add an action to the mainwindow's 
action collection. In the "old" code it was:

Koncrete::Core::mainWindow()->actionCollection()

But now KDevelop::ICore doesn't seem to have a pointer to the 
mainwindow. Is there another solution I missed, or we should have a 
pointer to the mainWindow?

Andras

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20070327/4f8f2255/attachment.sig>


More information about the KDevelop-devel mailing list