From ea318d1431c89e647598c510c4245c6571aa5f46 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 26 Jan 2012 23:32:43 -0600 Subject: Update to latest tqt3 automated conversion --- tools/designer/uic/embed.cpp | 18 +++++++------- tools/designer/uic/form.cpp | 50 +++++++++++++++++++------------------- tools/designer/uic/main.cpp | 10 ++++---- tools/designer/uic/object.cpp | 6 ++--- tools/designer/uic/subclassing.cpp | 8 +++--- tools/designer/uic/uic.cpp | 8 +++--- tools/designer/uic/uic.h | 14 +++++------ 7 files changed, 57 insertions(+), 57 deletions(-) (limited to 'tools/designer/uic') diff --git a/tools/designer/uic/embed.cpp b/tools/designer/uic/embed.cpp index 555b20a81..aa00988ea 100644 --- a/tools/designer/uic/embed.cpp +++ b/tools/designer/uic/embed.cpp @@ -32,11 +32,11 @@ **********************************************************************/ #include "uic.h" -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include #include @@ -143,10 +143,10 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima out << "****************************************************************************/\n"; out << "\n"; - out << "#include \n"; - out << "#include \n"; - out << "#include \n"; - out << "#include \n"; + out << "#include \n"; + out << "#include \n"; + out << "#include \n"; + out << "#include \n"; out << "\n"; TQPtrList list_image; diff --git a/tools/designer/uic/form.cpp b/tools/designer/uic/form.cpp index be21ee9e0..e185af6c3 100644 --- a/tools/designer/uic/form.cpp +++ b/tools/designer/uic/form.cpp @@ -35,12 +35,12 @@ #include "parser.h" #include "widgetdatabase.h" #include "domtool.h" -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #define NO_STATIC_COLORS #include @@ -196,10 +196,10 @@ void Uic::createFormDecl( const TQDomElement &e ) out << "#ifndef " << protector << endl; out << "#define " << protector << endl; out << endl; - out << "#include " << endl; // for broken HP-UX compilers + out << "#include " << endl; // for broken HP-UX compilers if ( !imageMembers.isEmpty() ) - out << "#include " << endl; + out << "#include " << endl; TQStringList globalIncludes, localIncludes; int wid = WidgetDatabase::idFromClassName( objClass ); @@ -753,9 +753,9 @@ void Uic::createFormImpl( const TQDomElement &e ) registerDatabases( e ); dbConnections = unique( dbConnections ); if ( dbConnections.count() ) - globalIncludes += "qsqldatabase.h"; + globalIncludes += "ntqsqldatabase.h"; if ( dbCursors.count() ) - globalIncludes += "qsqlcursor.h"; + globalIncludes += "ntqsqlcursor.h"; bool dbForm = FALSE; if ( dbForms[ "(default)" ].count() ) dbForm = TRUE; @@ -769,8 +769,8 @@ void Uic::createFormImpl( const TQDomElement &e ) } } if ( dbForm || subDbForms ) { - globalIncludes += "qsqlform.h"; - globalIncludes += "qsqlrecord.h"; + globalIncludes += "ntqsqlform.h"; + globalIncludes += "ntqsqlrecord.h"; } // do the local includes afterwards, since global includes have priority on clashes @@ -803,12 +803,12 @@ void Uic::createFormImpl( const TQDomElement &e ) for ( i = 1; i < (int) nl.length(); i++ ) { // start at 1, 0 is the toplevel widget TQString name = getClassName( nl.item(i).toElement() ); if ( name == "Spacer" ) { - globalIncludes += "qlayout.h"; - globalIncludes += "qapplication.h"; + globalIncludes += "ntqlayout.h"; + globalIncludes += "ntqapplication.h"; continue; } if (( name.mid( 1 ) == "ListView" ) || ( name.mid( 2 ) == "ListView" )) - globalIncludes += "qheader.h"; + globalIncludes += "ntqheader.h"; if ( name != objClass ) { int wid = WidgetDatabase::idFromClassName( name ); TQMap::Iterator it = customWidgetIncludes.find( name ); @@ -818,7 +818,7 @@ void Uic::createFormImpl( const TQDomElement &e ) } } - out << "#include " << endl; // first for gcc 2.7.2 + out << "#include " << endl; // first for gcc 2.7.2 globalIncludes = unique( globalIncludes ); for ( it = globalIncludes.begin(); it != globalIncludes.end(); ++it ) { @@ -826,14 +826,14 @@ void Uic::createFormImpl( const TQDomElement &e ) out << "#include <" << *it << ">" << endl; } - out << "#include " << endl; - out << "#include " << endl; - out << "#include " << endl; + out << "#include " << endl; + out << "#include " << endl; + out << "#include " << endl; if ( objClass == "TQMainWindow" ) { - out << "#include " << endl; - out << "#include " << endl; - out << "#include " << endl; - out << "#include " << endl; + out << "#include " << endl; + out << "#include " << endl; + out << "#include " << endl; + out << "#include " << endl; } // find out what images are required @@ -851,8 +851,8 @@ void Uic::createFormImpl( const TQDomElement &e ) } if ( !requiredImages.isEmpty() || externPixmaps ) { - out << "#include " << endl; - out << "#include " << endl << endl; + out << "#include " << endl; + out << "#include " << endl << endl; } /* diff --git a/tools/designer/uic/main.cpp b/tools/designer/uic/main.cpp index 19a4854d8..452aad978 100644 --- a/tools/designer/uic/main.cpp +++ b/tools/designer/uic/main.cpp @@ -36,11 +36,11 @@ #if defined(UIB) #include "ui2uib.h" #endif -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #define NO_STATIC_COLORS #include #include diff --git a/tools/designer/uic/object.cpp b/tools/designer/uic/object.cpp index 87dbd3b31..82aabee32 100644 --- a/tools/designer/uic/object.cpp +++ b/tools/designer/uic/object.cpp @@ -34,9 +34,9 @@ #include "uic.h" #include "parser.h" #include "domtool.h" -#include -#include -#include +#include +#include +#include #define NO_STATIC_COLORS #include #include "../interfaces/widgetinterface.h" diff --git a/tools/designer/uic/subclassing.cpp b/tools/designer/uic/subclassing.cpp index d5da48f91..f89b2ffb4 100644 --- a/tools/designer/uic/subclassing.cpp +++ b/tools/designer/uic/subclassing.cpp @@ -35,12 +35,12 @@ #include "parser.h" #include "widgetdatabase.h" #include "domtool.h" -#include -#include -#include +#include +#include +#include #define NO_STATIC_COLORS #include -#include +#include #include #include diff --git a/tools/designer/uic/uic.cpp b/tools/designer/uic/uic.cpp index 8faea579d..59a9a1d1d 100644 --- a/tools/designer/uic/uic.cpp +++ b/tools/designer/uic/uic.cpp @@ -35,12 +35,12 @@ #include "parser.h" #include "widgetdatabase.h" #include "domtool.h" -#include -#include -#include +#include +#include +#include #define NO_STATIC_COLORS #include -#include +#include #include #include diff --git a/tools/designer/uic/uic.h b/tools/designer/uic/uic.h index 35d9ed0ab..fd616ecd1 100644 --- a/tools/designer/uic/uic.h +++ b/tools/designer/uic/uic.h @@ -33,13 +33,13 @@ #ifndef UIC_H #define UIC_H -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include class Uic : public TQt { -- cgit v1.2.1