diff options
Diffstat (limited to 'tools/designer/uilib')
-rw-r--r-- | tools/designer/uilib/tqwidgetfactory.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/designer/uilib/tqwidgetfactory.cpp b/tools/designer/uilib/tqwidgetfactory.cpp index b18b2e6aa..00234331a 100644 --- a/tools/designer/uilib/tqwidgetfactory.cpp +++ b/tools/designer/uilib/tqwidgetfactory.cpp @@ -39,7 +39,7 @@ #include <ntqfeatures.h> #include "../designer/database2.h" #include <tqdom.h> -#include <ntqdir.h> +#include <tqdir.h> #include <ntqlayout.h> #include <ntqmetaobject.h> #include <domtool.h> @@ -1197,13 +1197,13 @@ TQWidget *TQWidgetFactory::createFromUibFile( TQDataStream& in, return 0; } - TQ_UINT8 qdatastreamVersion; - in >> qdatastreamVersion; - if ( (int) qdatastreamVersion > in.version() ) { + TQ_UINT8 tqdatastreamVersion; + in >> tqdatastreamVersion; + if ( (int) tqdatastreamVersion > in.version() ) { tqWarning( "Incompatible version of TQt" ); return 0; } - in.setVersion( qdatastreamVersion ); + in.setVersion( tqdatastreamVersion ); UibStrTable strings; TQObject **objects = 0; |