summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/uilib/qwidgetfactory.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 19:08:25 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 19:08:25 +0000
commite9be34de5fe62ce92c1d4cad63d03be76e9beb8d (patch)
treeb41889ff9d6b950124134560ccbcecc78493a452 /kdevdesigner/uilib/qwidgetfactory.cpp
parent48d4a26399959121f33d2bc3bfe51c7827b654fc (diff)
downloadtdevelop-e9be34de5fe62ce92c1d4cad63d03be76e9beb8d.tar.gz
tdevelop-e9be34de5fe62ce92c1d4cad63d03be76e9beb8d.zip
Fix kdevelop Qt3 compilation
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1237312 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdevdesigner/uilib/qwidgetfactory.cpp')
-rw-r--r--kdevdesigner/uilib/qwidgetfactory.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kdevdesigner/uilib/qwidgetfactory.cpp b/kdevdesigner/uilib/qwidgetfactory.cpp
index b19d7d14..7b5cf28b 100644
--- a/kdevdesigner/uilib/qwidgetfactory.cpp
+++ b/kdevdesigner/uilib/qwidgetfactory.cpp
@@ -41,7 +41,7 @@
#include <tqtooltip.h>
#include <tqwhatsthis.h>
#include <tqobjectlist.h>
-#include <private/tqpluginmanager_p.h>
+#include <tqpluginmanager_p.h>
#include <tqmime.h>
#include <tqdragobject.h>
@@ -354,11 +354,11 @@ TQWidget *TQWidgetFactory::create( TQIODevice *dev, TQObject *connector, TQWidge
if ( widgetFactory->noDatabaseWidgets.tqfind( cit.key()->name() ) !=
widgetFactory->noDatabaseWidgets.end() )
continue;
- if ( cit.key()->inherits( "TQDesignerDataBrowser2" ) )
- ( (TQDesignerDataBrowser2*)cit.key() )->initPreview( (*cit).conn, (*cit).table,
+ if ( cit.key()->inherits( "QDesignerDataBrowser2" ) )
+ ( (QDesignerDataBrowser2*)cit.key() )->initPreview( (*cit).conn, (*cit).table,
TQT_TQOBJECT(cit.key()), *(*cit).dbControls );
- else if ( cit.key()->inherits( "TQDesignerDataView2" ) )
- ( (TQDesignerDataView2*)cit.key() )->initPreview( (*cit).conn, (*cit).table,
+ else if ( cit.key()->inherits( "QDesignerDataView2" ) )
+ ( (QDesignerDataView2*)cit.key() )->initPreview( (*cit).conn, (*cit).table,
TQT_TQOBJECT(cit.key()), *(*cit).dbControls );
}
@@ -1516,9 +1516,9 @@ TQWidget *TQWidgetFactory::createWidget( const TQString &className, TQWidget *tq
else if ( className == TQDATATABLE_OBJECT_NAME_STRING ) {
return new TQDataTable( tqparent, name );
} else if ( className == TQDATABROWSER_OBJECT_NAME_STRING ) {
- return new TQDesignerDataBrowser2( tqparent, name );
+ return new QDesignerDataBrowser2( tqparent, name );
} else if ( className == TQDATAVIEW_OBJECT_NAME_STRING ) {
- return new TQDesignerDataView2( tqparent, name );
+ return new QDesignerDataView2( tqparent, name );
}
#endif