|
|
|
@ -2272,7 +2272,7 @@ void QuantaApp::slotLoadToolbarFile(const KURL& url)
|
|
|
|
|
guiFactory()->addClient(toolbarGUI);
|
|
|
|
|
|
|
|
|
|
//Plug in the actions & build the menu
|
|
|
|
|
TQPopupMenu *menu = new QPopupMenu;
|
|
|
|
|
TQPopupMenu *menu = new TQPopupMenu;
|
|
|
|
|
KAction *action;
|
|
|
|
|
nodeList = toolbarGUI->domDocument().elementsByTagName("Action");
|
|
|
|
|
for (uint i = 0; i < nodeList.count(); i++)
|
|
|
|
@ -2318,7 +2318,7 @@ void QuantaApp::showToolbarFile(const KURL &url)
|
|
|
|
|
} else
|
|
|
|
|
{
|
|
|
|
|
TQDomNodeList nodeList;
|
|
|
|
|
TQPopupMenu *menu = new QPopupMenu;
|
|
|
|
|
TQPopupMenu *menu = new TQPopupMenu;
|
|
|
|
|
KAction *action;
|
|
|
|
|
KActionCollection *ac = actionCollection();
|
|
|
|
|
nodeList = p_toolbar->guiClient->domDocument().elementsByTagName("Action");
|
|
|
|
@ -2631,7 +2631,7 @@ void QuantaApp::slotAddToolbar()
|
|
|
|
|
p_toolbar->user = true;
|
|
|
|
|
p_toolbar->visible = true;
|
|
|
|
|
p_toolbar->nameModified = false;
|
|
|
|
|
p_toolbar->menu = new QPopupMenu;
|
|
|
|
|
p_toolbar->menu = new TQPopupMenu;
|
|
|
|
|
p_toolbar->id = toolbarId;
|
|
|
|
|
m_tagsMenu->insertItem(p_toolbar->name, p_toolbar->menu);
|
|
|
|
|
m_toolbarList.insert(toolbarId, p_toolbar);
|
|
|
|
|