diff options
author | Timothy Pearson <[email protected]> | 2012-02-14 21:12:44 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-02-14 21:12:44 -0600 |
commit | e87fff3247e64b4e9509be991a8f2d6bd4ccfacc (patch) | |
tree | 71a3198fc141420d65eefa7036159af85894cf7d /pyuic3/main.cpp | |
parent | 06500cd8e9be747a323920c9475fba0e6618d2de (diff) | |
download | pytqt-e87fff3247e64b4e9509be991a8f2d6bd4ccfacc.tar.gz pytqt-e87fff3247e64b4e9509be991a8f2d6bd4ccfacc.zip |
Update various qt function definitions and static methods for tqt3
Diffstat (limited to 'pyuic3/main.cpp')
-rw-r--r-- | pyuic3/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyuic3/main.cpp b/pyuic3/main.cpp index 6049a70..c38980d 100644 --- a/pyuic3/main.cpp +++ b/pyuic3/main.cpp @@ -92,7 +92,7 @@ int main( int argc, char * argv[] ) } else if ( opt == "version" ) { fprintf( stderr, "Python User Interface Compiler %s for TQt version %s\n", - PYQT_VERSION, QT_VERSION_STR ); + PYTQT_VERSION, TQT_VERSION_STR ); return 1; } else if ( opt == "help" ) { break; @@ -193,7 +193,7 @@ int main( int argc, char * argv[] ) TQDomElement e = doc.firstChild().toElement(); if ( e.hasAttribute("version") && e.attribute("version").toDouble() > 3.3 ) { qWarning( TQString("pyuic: File generated with too recent version of TQt Designer (%s vs. %s)"), - e.attribute("version").latin1(), QT_VERSION_STR ); + e.attribute("version").latin1(), TQT_VERSION_STR ); return 1; } @@ -210,7 +210,7 @@ int main( int argc, char * argv[] ) out << "# Form implementation generated from reading ui file '" << fileName << "'" << endl; out << "#" << endl; out << "# Created: " << TQDateTime::currentDateTime().toString() << endl; - out << "# by: The PyTQt User Interface Compiler (pyuic) " << PYQT_VERSION << endl; + out << "# by: The PyTQt User Interface Compiler (pyuic) " << PYTQT_VERSION << endl; out << "#" << endl; out << "# WARNING! All changes made in this file will be lost!" << endl; out << endl; |