summaryrefslogtreecommitdiffstats
path: root/tools/designer
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer')
-rw-r--r--tools/designer/shared/widgetdatabase.cpp2
-rw-r--r--tools/designer/uic/uic.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/designer/shared/widgetdatabase.cpp b/tools/designer/shared/widgetdatabase.cpp
index 45e898ad5..bdda59323 100644
--- a/tools/designer/shared/widgetdatabase.cpp
+++ b/tools/designer/shared/widgetdatabase.cpp
@@ -723,7 +723,7 @@ TQString WidgetDatabase::includeFile( int id )
TQString rq = r->name;
if ( rq[ 0 ] == 'T' && rq[ 1 ] == 'Q')
rq = rq.mid(1);
- return rq.lower() + ".h";
+ return "nt" + rq.lower() + ".h";
}
return r->includeFile;
}
diff --git a/tools/designer/uic/uic.cpp b/tools/designer/uic/uic.cpp
index 59a9a1d1d..305f7133e 100644
--- a/tools/designer/uic/uic.cpp
+++ b/tools/designer/uic/uic.cpp
@@ -1114,7 +1114,7 @@ TQStringList Uic::unique( const TQStringList& list )
TQString Uic::createObjectInstance( const TQString& objClass, const TQString& parent, const TQString& objName )
{
- if ( objClass.mid( 1 ) == "ComboBox" ) {
+ if (( objClass.mid( 1 ) == "ComboBox" ) || ( objClass.mid( 2 ) == "ComboBox" )) {
return objClass + "( FALSE, " + parent + ", \"" + objName + "\" )";
}
return objClass + "( " + parent + ", \"" + objName + "\" )";