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