Problems with KSelectAction
david at mandrakesoft.com
Tue Aug 27 00:59:10 BST 2002
-----BEGIN PGP SIGNED MESSAGE-----
On Tuesday 27 August 2002 01:34, Tobias Koenig wrote:
> On Mon, Aug 26, 2002 at 04:45:26PM +0200, David Faure wrote:
> > On Monday 26 August 2002 15:20, Tobias Koenig wrote:
> Hi David,
> > > I've two problems with KSelectAction. First it seems that the activated()
> > > signal isn't emitted when you use KSelectAction::setCurrentItem().
> > > Could the author of this code please take a closer look at it?
> > That's by design. activated() means the _user_ activated it.
> > In other cases, if the app knows about it, it can as well call the slot
> > directly.
> Hmm, but the slotActivated(int) is a protected slot that can't be used from
> outside the class, or do I miss something?
No, I mean the app can call the slot that it connected to the activated() signal itself.
Like myReceiver->slotMyActionWasActivated() or whatever.
What are you trying to do more precisely?
David FAURE, david at mandrakesoft.com, faure at kde.org
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice-1.2-rc1 is out. ftp://ftp.kde.org/pub/kde/unstable/koffice-1.2-rc1/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----
More information about the kde-core-devel