logo       

Dynamically add/remove KAction with toolbar?: msg#00397

kde-devel

Subject: Dynamically add/remove KAction with toolbar?

I want to be able to add a KAction with an embedded line-edit dynamically to a
toolbar when I click on another icon. That is, I have done all the set-up for
the KAction except for the "actioncollection()->addAction(...)" which I do in
another actions slot. Trouble is, it doesn't work. I am using the XML GUI
framework; does this mean the toolbar is set in concrete?

TIA
-Robin
--
----------------------------------------------------------------------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------










>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise