|
|
@ -1794,7 +1794,7 @@ TQWidget* QuantaApp::createContainer( TQWidget *parent, int index, const TQDomEl
|
|
|
|
if ( element.tagName().lower() == "toolbar" && !tabname.isEmpty())
|
|
|
|
if ( element.tagName().lower() == "toolbar" && !tabname.isEmpty())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//avoid TQToolBar warning in the log
|
|
|
|
//avoid TQToolBar warning in the log
|
|
|
|
TQtMsgHandler oldHandler = tqInstallMsgHandler( silenceTQToolBar );
|
|
|
|
TQtMsgHandler oldHandler = qInstallMsgHandler( silenceTQToolBar );
|
|
|
|
ToolbarTabWidget *toolbarTab = ToolbarTabWidget::ref();
|
|
|
|
ToolbarTabWidget *toolbarTab = ToolbarTabWidget::ref();
|
|
|
|
TQWidget *w = new TQWidget(toolbarTab, TQString("ToolbarHoldingWidget" + element.attribute("name")).ascii());
|
|
|
|
TQWidget *w = new TQWidget(toolbarTab, TQString("ToolbarHoldingWidget" + element.attribute("name")).ascii());
|
|
|
|
QuantaToolBar *tb = new QuantaToolBar(w, element.attribute("name").ascii(), true, true);
|
|
|
|
QuantaToolBar *tb = new QuantaToolBar(w, element.attribute("name").ascii(), true, true);
|
|
|
@ -1817,7 +1817,7 @@ TQWidget* QuantaApp::createContainer( TQWidget *parent, int index, const TQDomEl
|
|
|
|
kdDebug(24000) << "toolbarTab->tabHeight() " << toolbarTab->tabHeight() << endl;
|
|
|
|
kdDebug(24000) << "toolbarTab->tabHeight() " << toolbarTab->tabHeight() << endl;
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
toolbarTab->insertTab(tb, tabname, idStr);
|
|
|
|
toolbarTab->insertTab(tb, tabname, idStr);
|
|
|
|
tqInstallMsgHandler( oldHandler );
|
|
|
|
qInstallMsgHandler( oldHandler );
|
|
|
|
|
|
|
|
|
|
|
|
connect(tb, TQT_SIGNAL(removeAction(const TQString&, const TQString&)),
|
|
|
|
connect(tb, TQT_SIGNAL(removeAction(const TQString&, const TQString&)),
|
|
|
|
TQT_SLOT(slotRemoveAction(const TQString&, const TQString&)));
|
|
|
|
TQT_SLOT(slotRemoveAction(const TQString&, const TQString&)));
|
|
|
@ -4047,7 +4047,7 @@ void QuantaApp::slotReloadStructTreeView(bool groupOnly)
|
|
|
|
n->next->tag->beginPos(l, c);
|
|
|
|
n->next->tag->beginPos(l, c);
|
|
|
|
else
|
|
|
|
else
|
|
|
|
n->tag->endPos(l, c);
|
|
|
|
n->tag->endPos(l, c);
|
|
|
|
commentTag->write()->addAnnotation(l, tqMakePair(text, receiver));
|
|
|
|
commentTag->write()->addAnnotation(l, qMakePair(text, receiver));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
node = node->nextSibling();
|
|
|
|
node = node->nextSibling();
|
|
|
|