summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog12
-rw-r--r--NEWS10
-rwxr-xr-xexamples3/canvas/canvas.py2
-rwxr-xr-xexamples3/progress.py2
-rw-r--r--pylupdate3/fetchtr.cpp6
-rw-r--r--pylupdate3/main.cpp14
-rw-r--r--pylupdate3/merge.cpp2
-rw-r--r--pylupdate3/metatranslator.cpp4
-rw-r--r--pylupdate3/numberh.cpp2
-rw-r--r--pylupdate3/sametexth.cpp2
-rw-r--r--pyuic2/uic.cpp6
-rw-r--r--pyuic3/embed.cpp2
-rw-r--r--pyuic3/main.cpp8
-rw-r--r--sip/qt/qbytearray.sip4
-rw-r--r--sip/qt/qglobal.sip20
-rw-r--r--sip/qtnetwork/qnetwork.sip4
16 files changed, 50 insertions, 50 deletions
diff --git a/ChangeLog b/ChangeLog
index 837992b..466d53a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1200,7 +1200,7 @@ Slight change to handwritten code forced by the change to sipParseResult().
2003/11/23 17:04:10 phil
-Removed qInstallPathSysconf() on Windows.
+Removed tqInstallPathSysconf() on Windows.
2003/11/22 20:54:01 phil
@@ -1325,9 +1325,9 @@ Fixed the internal build system (again).
Fixed TQIODevice handwritten code which looked very broken.
Checked all virtual abstract functions that need handwritten code.
Added /TransferBack/ for function return values where needed.
-Added the missing qInstallPath(), qInstallPathDocs(), qInstallPathHeaders(),
-qInstallPathLibs(), qInstallPathBins(), qInstallPathPlugins(),
-qInstallPathData(), qInstallPathTranslations(), qInstallPathSysconf().
+Added the missing tqInstallPath(), tqInstallPathDocs(), tqInstallPathHeaders(),
+tqInstallPathLibs(), tqInstallPathBins(), tqInstallPathPlugins(),
+tqInstallPathData(), tqInstallPathTranslations(), tqInstallPathSysconf().
Made sure all handwritten code uses functions that are part of the SIP v4 API.
@@ -1940,7 +1940,7 @@ TQIMComposeEvent, TQMutexLocker and TQSyntaxHighlighter TQt 3.1.0 classes.
TQListView.sort() is now virtual for TQt3.
Fixed a bug in the widgets.py example for both TQt2 and TQt3.
Updated pyuic from TQt 3.1.0.
-Added the qCompress and tqUncompress TQt 3.1.0 functions.
+Added the tqCompress and tqUncompress TQt 3.1.0 functions.
2002/11/06 23:56:57 phil
@@ -2733,7 +2733,7 @@ Minor fixes for pyuic3.
2001/11/17 14:48:19 phil
-Added the missing qInitNetworkProtocols() function to the qtnetwork module.
+Added the missing tqInitNetworkProtocols() function to the qtnetwork module.
Added the missing TQRect.contains() variant.
Changed TQByteArray, TQCString and TQString %ConvertToTypeCode to convert None
objects to empty instances.
diff --git a/NEWS b/NEWS
index 3d98625..882ba5e 100644
--- a/NEWS
+++ b/NEWS
@@ -119,9 +119,9 @@ v3.9 7th December 2003
- Added the TQImageIO and TQListViewItemIterator classes.
- Added the TQDockArea << and >> operators.
- Added readBoolEntry() to TQSettings.
- - Added qInstallPath(), qInstallPathDocs(), qInstallPathHeaders(),
- qInstallPathLibs(), qInstallPathBins(), qInstallPathPlugins(),
- qInstallPathData(), qInstallPathTranslations(), qInstallPathSysconf().
+ - Added tqInstallPath(), tqInstallPathDocs(), tqInstallPathHeaders(),
+ tqInstallPathLibs(), tqInstallPathBins(), tqInstallPathPlugins(),
+ tqInstallPathData(), tqInstallPathTranslations(), tqInstallPathSysconf().
- A new (configure.py) build system has been added which is independent of
tmake and qmake and installs a pyqtconfig module. The old (build.py) build
system remains.
@@ -185,7 +185,7 @@ v3.5 11th December 2002
- Support for TQt v3.0.6, v3.1.0 and v3.1.1 added.
- Added the TQt v3.1.x TQAssistantClient, TQEventLoop, TQIconFactory,
- TQIMComposeEvent, TQMutexLocker and TQSyntaxHighlighter classes, and
- qCompress() and tqUncompress functions.
+ tqCompress() and tqUncompress functions.
- Removed eric from the distribution as it is now packaged separately.
- The SQL examples now support PostgreSQL as well as MySQL.
- Added the TQtopia v1.5.0 AppLnk, AppLnkSet, Config, DateFormat, DocLnk,
@@ -319,7 +319,7 @@ v3.0 17th November 2001
TQSqlField, TQSqlFieldInfo, TQSqlForm, TQSqlIndex, TQSqlPropertyMap, TQSqlQuery,
TQSqlRecord, TQSqlRecordInfo, TQSqlResult, TQStyleFactory, TQStyleOption,
TQTabletEvent, TQTextEdit, TQTimeEdit and TQWindowsMime TQt3 classes.
- - Added the missing qInitNetworkProtocols() function to the qtnetwork module.
+ - Added the missing tqInitNetworkProtocols() function to the qtnetwork module.
- Removed the TQTableHeader class and TQTabWidget.selected() as they are not
part of the documented API.
- Removed the /Transfer/ flag on the TQWidget parameters of
diff --git a/examples3/canvas/canvas.py b/examples3/canvas/canvas.py
index 8c0998e..dd39337 100755
--- a/examples3/canvas/canvas.py
+++ b/examples3/canvas/canvas.py
@@ -563,7 +563,7 @@ class Main (TQMainWindow):
#ifndef QT_NO_PROGRESSDIALOG
#progress.setProgress( rows )
#endif
- #// qDebug( "%d nodes, %d edges", nodecount, EdgeItem::count() );
+ #// tqDebug( "%d nodes, %d edges", nodecount, EdgeItem::count() );
def addRectangle(self):
i = TQCanvasRectangle( self.canvas.width()*random.random()%self.canvas.width(),
diff --git a/examples3/progress.py b/examples3/progress.py
index 3c84f83..b475020 100755
--- a/examples3/progress.py
+++ b/examples3/progress.py
@@ -210,7 +210,7 @@ class CPUWaster(TQWidget):
def draw(self, n):
if self.timer_driven:
if self.pb:
- qWarning("This cannot happen!")
+ tqWarning("This cannot happen!")
return
self.rects = n
diff --git a/pylupdate3/fetchtr.cpp b/pylupdate3/fetchtr.cpp
index c21fcff..96978cd 100644
--- a/pylupdate3/fetchtr.cpp
+++ b/pylupdate3/fetchtr.cpp
@@ -262,7 +262,7 @@ static int getToken()
if ( yyCh != quoteChar ) {
printf("%c\n", yyCh);
- qWarning( "%s:%d: Unterminated string",
+ tqWarning( "%s:%d: Unterminated string",
(const char *) yyFileName, yyLineNo );
}
@@ -434,7 +434,7 @@ static void parse( MetaTranslator *tor, const char *initialContext,
}
if ( yyParenDepth != 0 )
- qWarning( "%s: Unbalanced parentheses in Python code",
+ tqWarning( "%s: Unbalanced parentheses in Python code",
(const char *) yyFileName );
}
@@ -444,7 +444,7 @@ void fetchtr_py( const char *fileName, MetaTranslator *tor,
yyInFile = fopen( fileName, "r" );
if ( yyInFile == 0 ) {
if ( mustExist )
- qWarning( "pylupdate error: cannot open Python source file '%s': %s",
+ tqWarning( "pylupdate error: cannot open Python source file '%s': %s",
fileName, strerror(errno) );
return;
}
diff --git a/pylupdate3/main.cpp b/pylupdate3/main.cpp
index 042fdc4..8b0c24c 100644
--- a/pylupdate3/main.cpp
+++ b/pylupdate3/main.cpp
@@ -51,7 +51,7 @@ typedef TQValueList<MetaTranslatorMessage> TML;
static void printUsage()
{
- qWarning( "Usage: pylupdate [options] file.pro...\n"
+ tqWarning( "Usage: pylupdate [options] file.pro...\n"
"Options:\n"
" -help Display this information and exits\n"
" -noobsolete\n"
@@ -80,14 +80,14 @@ int main( int argc, char **argv )
verbose = TRUE;
continue;
} else if ( qstrcmp(argv[i], "-version") == 0 ) {
- qWarning( "pylupdate version %s", TQT_VERSION_STR );
+ tqWarning( "pylupdate version %s", TQT_VERSION_STR );
return 0;
}
numProFiles++;
TQFile f( argv[i] );
if ( !f.open(IO_ReadOnly) ) {
- qWarning( "pylupdate error: Cannot open project file '%s': %s",
+ tqWarning( "pylupdate error: Cannot open project file '%s': %s",
argv[i], strerror(errno) );
return 1;
}
@@ -129,20 +129,20 @@ int main( int argc, char **argv )
if ( !codec.isEmpty() )
tor.setCodec( codec );
if ( verbose )
- qWarning( "Updating '%s'...", (*tf).latin1() );
+ tqWarning( "Updating '%s'...", (*tf).latin1() );
merge( &tor, &fetchedTor, verbose );
if ( noObsolete )
tor.stripObsoleteMessages();
tor.stripEmptyContexts();
if ( !tor.save(*tf) )
- qWarning( "pylupdate error: Cannot save '%s': %s", (*tf).latin1(),
+ tqWarning( "pylupdate error: Cannot save '%s': %s", (*tf).latin1(),
strerror(errno) );
}
if ( !metSomething ) {
- qWarning( "pylupdate warning: File '%s' does not look like a project"
+ tqWarning( "pylupdate warning: File '%s' does not look like a project"
" file", argv[i] );
} else if ( translatorFiles.isEmpty() ) {
- qWarning( "pylupdate warning: Met no 'TRANSLATIONS' entry in project"
+ tqWarning( "pylupdate warning: Met no 'TRANSLATIONS' entry in project"
" file '%s'", argv[i] );
}
}
diff --git a/pylupdate3/merge.cpp b/pylupdate3/merge.cpp
index d40c92c..8559830 100644
--- a/pylupdate3/merge.cpp
+++ b/pylupdate3/merge.cpp
@@ -105,6 +105,6 @@ void merge( MetaTranslator *tor, const MetaTranslator *virginTor, bool verbose )
applyNumberHeuristic( tor, verbose );
if ( verbose )
- qWarning( " %d known, %d new and %d obsoleted messages",
+ tqWarning( " %d known, %d new and %d obsoleted messages",
known, neww, obsoleted );
}
diff --git a/pylupdate3/metatranslator.cpp b/pylupdate3/metatranslator.cpp
index ab97b33..67b9ca6 100644
--- a/pylupdate3/metatranslator.cpp
+++ b/pylupdate3/metatranslator.cpp
@@ -175,7 +175,7 @@ bool TsHandler::fatalError( const TQXmlParseException& exception )
exception.lineNumber(), exception.columnNumber(),
exception.message().latin1() );
if ( tqApp == 0 )
- qWarning( "XML error: %s", msg.latin1() );
+ tqWarning( "XML error: %s", msg.latin1() );
else
TQMessageBox::information( tqApp->mainWidget(),
TQObject::tr("TQt Linguist"), msg );
@@ -453,7 +453,7 @@ bool MetaTranslator::release( const TQString& filename, bool verbose ) const
bool saved = tor.save( filename, TQTranslator::Stripped );
if ( saved && verbose )
- qWarning( " %d finished, %d unfinished and %d untranslated messages",
+ tqWarning( " %d finished, %d unfinished and %d untranslated messages",
finished, unfinished, untranslated );
return saved;
diff --git a/pylupdate3/numberh.cpp b/pylupdate3/numberh.cpp
index 4ba53d0..e5ff5de 100644
--- a/pylupdate3/numberh.cpp
+++ b/pylupdate3/numberh.cpp
@@ -225,6 +225,6 @@ void applyNumberHeuristic( MetaTranslator *tor, bool verbose )
}
}
if ( verbose && inserted != 0 )
- qWarning( " number heuristic provided %d translation%s",
+ tqWarning( " number heuristic provided %d translation%s",
inserted, inserted == 1 ? "" : "s" );
}
diff --git a/pylupdate3/sametexth.cpp b/pylupdate3/sametexth.cpp
index 0f8f56a..fd67a55 100644
--- a/pylupdate3/sametexth.cpp
+++ b/pylupdate3/sametexth.cpp
@@ -73,6 +73,6 @@ void applySameTextHeuristic( MetaTranslator *tor, bool verbose )
}
}
if ( verbose && inserted != 0 )
- qWarning( " same-text heuristic provided %d translation%s",
+ tqWarning( " same-text heuristic provided %d translation%s",
inserted, inserted == 1 ? "" : "s" );
}
diff --git a/pyuic2/uic.cpp b/pyuic2/uic.cpp
index caef972..7014d17 100644
--- a/pyuic2/uic.cpp
+++ b/pyuic2/uic.cpp
@@ -1552,13 +1552,13 @@ int main( int argc, char * argv[] )
TQFile file( fileName );
if ( !file.open( IO_ReadOnly ) )
- qFatal( "pyuic: Could not open file '%s' ", (const char *)fileName );
+ tqFatal( "pyuic: Could not open file '%s' ", (const char *)fileName );
TQFile fileOut;
if (!outputFile.isEmpty()) {
fileOut.setName( outputFile );
if (!fileOut.open( IO_WriteOnly ) )
- qFatal( "pyuic: Could not open output file '%s'", (const char *)outputFile );
+ tqFatal( "pyuic: Could not open output file '%s'", (const char *)outputFile );
} else {
fileOut.open( IO_WriteOnly, stdout );
}
@@ -1567,7 +1567,7 @@ int main( int argc, char * argv[] )
TQDomDocument doc;
if ( !doc.setContent( &file ) )
- qFatal( "pyuic: Failed to parse %s\n", (const char *)fileName );
+ tqFatal( "pyuic: Failed to parse %s\n", (const char *)fileName );
out << "# Form implementation generated from reading ui file '" << fileName << "'" << endl;
out << "#" << endl;
diff --git a/pyuic3/embed.cpp b/pyuic3/embed.cpp
index 17efd0d..410a0d8 100644
--- a/pyuic3/embed.cpp
+++ b/pyuic3/embed.cpp
@@ -67,7 +67,7 @@ static TQString convertToCIdentifier( const char *s )
static ulong embedData( TQTextStream& out, const uchar* input, int nbytes )
{
#ifndef QT_NO_IMAGE_COLLECTION_COMPRESSION
- TQByteArray bazip( qCompress( input, nbytes ) );
+ TQByteArray bazip( tqCompress( input, nbytes ) );
uint len = bazip.size();
#else
uint len = (uint)nbytes;
diff --git a/pyuic3/main.cpp b/pyuic3/main.cpp
index c38980d..b1c1fdb 100644
--- a/pyuic3/main.cpp
+++ b/pyuic3/main.cpp
@@ -165,7 +165,7 @@ int main( int argc, char * argv[] )
if ( !outputFile.isEmpty() ) {
fileOut.setName( outputFile );
if (!fileOut.open( IO_WriteOnly ) )
- qFatal( "pyuic: Could not open output file '%s'", outputFile.data() );
+ tqFatal( "pyuic: Could not open output file '%s'", outputFile.data() );
} else {
fileOut.open( IO_WriteOnly, stdout );
}
@@ -182,17 +182,17 @@ int main( int argc, char * argv[] )
out.setEncoding( TQTextStream::UnicodeUTF8 );
TQFile file( fileName );
if ( !file.open( IO_ReadOnly ) )
- qFatal( "pyuic: Could not open file '%s' ", fileName );
+ tqFatal( "pyuic: Could not open file '%s' ", fileName );
TQDomDocument doc;
TQString errMsg;
int errLine;
if ( !doc.setContent( &file, &errMsg, &errLine ) )
- qFatal( TQString("pyuic: Failed to parse %s: ") + errMsg + TQString (" in line %d\n"), fileName, errLine );
+ tqFatal( TQString("pyuic: Failed to parse %s: ") + errMsg + TQString (" in line %d\n"), fileName, errLine );
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)"),
+ tqWarning( TQString("pyuic: File generated with too recent version of TQt Designer (%s vs. %s)"),
e.attribute("version").latin1(), TQT_VERSION_STR );
return 1;
}
diff --git a/sip/qt/qbytearray.sip b/sip/qt/qbytearray.sip
index aedcd45..db5d266 100644
--- a/sip/qt/qbytearray.sip
+++ b/sip/qt/qbytearray.sip
@@ -196,8 +196,8 @@ public:
%If (TQt_3_1_0 -)
-TQByteArray qCompress(const uchar * /Array/,int /ArraySize/);
-TQByteArray qCompress(const TQByteArray &);
+TQByteArray tqCompress(const uchar * /Array/,int /ArraySize/);
+TQByteArray tqCompress(const TQByteArray &);
TQByteArray tqUncompress(const uchar * /Array/,int /ArraySize/);
TQByteArray tqUncompress(const TQByteArray &);
%End
diff --git a/sip/qt/qglobal.sip b/sip/qt/qglobal.sip
index 711e93c..c3205df 100644
--- a/sip/qt/qglobal.sip
+++ b/sip/qt/qglobal.sip
@@ -52,23 +52,23 @@ typedef long long Q_LONG;
typedef unsigned long long Q_ULONG;
%End
-const char *qVersion();
+const char *tqVersion();
%If (TQt_3_0_0 -)
%End
%If (TQt_3_1_0 -)
-const char *qInstallPath();
-const char *qInstallPathDocs();
-const char *qInstallPathHeaders();
-const char *qInstallPathLibs();
-const char *qInstallPathBins();
-const char *qInstallPathPlugins();
-const char *qInstallPathData();
+const char *tqInstallPath();
+const char *tqInstallPathDocs();
+const char *tqInstallPathHeaders();
+const char *tqInstallPathLibs();
+const char *tqInstallPathBins();
+const char *tqInstallPathPlugins();
+const char *tqInstallPathData();
%End
%If (TQt_3_2_0 -)
-const char *qInstallPathTranslations();
+const char *tqInstallPathTranslations();
%If (!WS_WIN)
-const char *qInstallPathSysconf();
+const char *tqInstallPathSysconf();
%End
%End
diff --git a/sip/qtnetwork/qnetwork.sip b/sip/qtnetwork/qnetwork.sip
index 2413b2a..62d067e 100644
--- a/sip/qtnetwork/qnetwork.sip
+++ b/sip/qtnetwork/qnetwork.sip
@@ -1,4 +1,4 @@
-// This is the SIP interface definition for qInitNetworkProtocols.
+// This is the SIP interface definition for tqInitNetworkProtocols.
//
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
@@ -28,7 +28,7 @@
#include <tqnetwork.h>
%End
-void qInitNetworkProtocols();
+void tqInitNetworkProtocols();
%End
%End