[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: using same KAction in MainWindow and View
From: Kevin Krammer <kevin.krammer () gmx ! at>
Date: 2005-01-01 17:28:38
Message-ID: 200501011828.38087.kevin.krammer () gmx ! at
[Download RAW message or body]
On Friday 31 December 2004 02:46, Andreas Pakulat wrote:
> In the mainwindow-class. As far as I understand it, getting this
> action onto the widget of my view should be acomplished by getting the
> actionCollection from the mainwindow (how do I get that?)
For example by casting the view's parentWidget() to KMainWindow (if it is the
view's parent) or using the widget returned by KApplication::mainWidget()
Cheers,
Kevin
--
Kevin Krammer <kevin.krammer@gmx.at>
Qt/KDE Developer, Debian User
www.mrunix.de - German Unix/Linux programming forum
www.qtforum.org - Qt programming forum
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic