Problems with KSelectAction

David Faure david at mandrakesoft.com
Tue Aug 27 00:59:10 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
http://people.mandrakesoft.com/~david/
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

iD8DBQE9asDf72KcVAmwbhARAtyPAJ92boL6dMehe+GEkRsN0BwtEiCfHgCbB3Xv
2fE8ybal61hVCSu1ulAKoQo=
=kKl9
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list