summaryrefslogtreecommitdiffstats
path: root/kommander/editor/formwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/editor/formwindow.cpp')
-rw-r--r--kommander/editor/formwindow.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kommander/editor/formwindow.cpp b/kommander/editor/formwindow.cpp
index 2218a977..f3228b6f 100644
--- a/kommander/editor/formwindow.cpp
+++ b/kommander/editor/formwindow.cpp
@@ -1107,7 +1107,7 @@ void FormWindow::selectWidget(TQObject * o, bool select)
return;
}
- if (o->inherits("TQDesignerToolBar") || o->inherits("TQDesignerMenuBar"))
+ if (o->inherits("QDesignerToolBar") || o->inherits("QDesignerMenuBar"))
return;
if (select)
@@ -1414,7 +1414,7 @@ void FormWindow::deleteWidgets()
if (!(tb = mainWindow()->isAToolBarChild(TQT_TQOBJECT(it.current()->widget()))))
widgets.append(it.current()->widget());
else
- ((TQDesignerToolBar *) tb)->removeWidget(it.current()->widget());
+ ((QDesignerToolBar *) tb)->removeWidget(it.current()->widget());
}
if (widgets.isEmpty())
@@ -2328,7 +2328,7 @@ bool FormWindow::unify(TQObject *w, TQString &s, bool changeIt)
}
if (!found)
{
- TQObjectList *l = mainContainer()->queryList("TQDesignerPopupMenu", 0, true);
+ TQObjectList *l = mainContainer()->queryList("QDesignerPopupMenu", 0, true);
for (TQObject *o = l->first(); o; o = l->next())
if (o != w && !qstrcmp(o->name(), s.latin1()))
{
@@ -2376,8 +2376,8 @@ bool FormWindow::isDatabaseWidgetUsed() const
bool FormWindow::isDatabaseAware() const
{
#ifndef TQT_NO_SQL
- if (TQString(mContainer->className()) == "TQDesignerDataBrowser" ||
- TQString(mContainer->className()) == "TQDesignerDataView")
+ if (TQString(mContainer->className()) == "QDesignerDataBrowser" ||
+ TQString(mContainer->className()) == "QDesignerDataView")
return true;
return isDatabaseWidgetUsed();
#else