From kde-devel Fri Nov 28 19:51:27 2003 From: Pupeno Date: Fri, 28 Nov 2003 19:51:27 +0000 To: kde-devel Subject: KEditToolbar bug ? X-MARC-Message: https://marc.info/?l=kde-devel&m=107004922520868 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have a problem with KEditToolbar. I've been trying to find out it didn't work for about a week and I couldn't find it. Basically, my KActions doesn't appear on the KEditToolbar, only the KStdActions appear there, do you have any idea why ? I create my actions this way: QSignalMapper *noteMapper = new QSignalMapper(this); connect( noteMapper, SIGNAL(mapped(int)), scoreReadingTrainerView, SLOT(checkNote(int))); KAction *AAction = new KAction(i18n("A"), Qt::Key_K, noteMapper, SLOT(map()), actionCollection(), "a"); noteMapper->setMapping( AAction, ScoreReadingTrainerView::A); KAction *ASharpAction = new KAction(i18n("A Sharp / B Flat"), Qt::Key_O, noteMapper, SLOT(map()), actionCollection(), "asharp"); noteMapper->setMapping( ASharpAction, ScoreReadingTrainerView::ASharp); KAction *BAction = new KAction(i18n("B"), Qt::Key_L, noteMapper, SLOT(map()), actionCollection(), "b"); noteMapper->setMapping( BAction, ScoreReadingTrainerView::B); I even add them to the rc file this way: &Notes [...] and Main Toolbar and they appear in the menu bar and the toolbar and when I luch the toolbar editing dialog, they appear, in the right box, so, I can move them up and down and even remove them, but I can not add them back. Any idea ? Thanks. - -- Pupeno: pupeno@kde.org http://www.kde.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/x6dCtCepaMf3unIRAuZHAJ9pEhN37yH9+39UYAyguEor9qccogCeOF56 84N3p7reeBnefJosV+lBnGg= =sAX0 -----END PGP SIGNATURE----- >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<