From 41bb408dde90e755b07cd2ab8a9bdec7548c84b0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 28 Feb 2012 22:31:39 -0600 Subject: Automated conversion from qt3 --- doc/html/canvas-example.html | 2 +- doc/html/designer-manual-8.html | 6 ++--- doc/html/functions.html | 2 +- doc/html/ntqapplication.html | 6 ++--- doc/html/porting.html | 4 ++-- doc/html/qcstring-h.html | 20 ++++++++--------- doc/html/qgl-h.html | 2 +- doc/html/qglobal-h.html | 50 ++++++++++++++++++++--------------------- doc/html/qheader-h.html | 2 +- doc/html/qmake-manual-4.html | 2 +- doc/html/qmap-h.html | 2 +- doc/html/qmessagebox-h.html | 6 ++--- doc/html/qstring-h.html | 2 +- doc/html/qstrlist-h.html | 4 ++-- doc/html/qvaluelist-h.html | 2 +- doc/html/qwindowdefs-h.html | 16 ++++++------- doc/html/tutorial1-08.html | 2 +- 17 files changed, 65 insertions(+), 65 deletions(-) (limited to 'doc/html') diff --git a/doc/html/canvas-example.html b/doc/html/canvas-example.html index c9a0b0c0d..ab874cfcd 100644 --- a/doc/html/canvas-example.html +++ b/doc/html/canvas-example.html @@ -867,7 +867,7 @@ void Main::addMesh() #ifndef QT_NO_PROGRESSDIALOG progress.setProgress( rows ); #endif - // qDebug( "%d nodes, %d edges", nodecount, EdgeItem::count() ); + // tqDebug( "%d nodes, %d edges", nodecount, EdgeItem::count() ); } void Main::addRectangle() diff --git a/doc/html/designer-manual-8.html b/doc/html/designer-manual-8.html index 74cde6610..a0f4643b1 100644 --- a/doc/html/designer-manual-8.html +++ b/doc/html/designer-manual-8.html @@ -77,7 +77,7 @@ bool createConnections() // create the default database connection TQSqlDatabase *defaultDB = TQSqlDatabase::addDatabase( "TQPSQL7" ); if ( ! defaultDB ) { - qWarning( "Failed to connect to driver" ); + tqWarning( "Failed to connect to driver" ); return FALSE; } defaultDB->setDatabaseName( "book" ); @@ -85,9 +85,9 @@ bool createConnections() defaultDB->setPassword( "bookpw" ); defaultDB->setHostName( "bookhost" ); if ( ! defaultDB->open() ) { - qWarning( "Failed to open books database: " + + tqWarning( "Failed to open books database: " + defaultDB->lastError().driverText() ); - qWarning( defaultDB->lastError().databaseText() ); + tqWarning( defaultDB->lastError().databaseText() ); return FALSE; } diff --git a/doc/html/functions.html b/doc/html/functions.html index 915f5a0db..45b63c180 100644 --- a/doc/html/functions.html +++ b/doc/html/functions.html @@ -2077,7 +2077,7 @@ packImage: TQFtp TQUrlOperator
  • putPoints: TQPointArray
  • putch: TQFile TQIODevice TQSocket
  • -qAddPostRoutine: +tqAddPostRoutine: TQApplication
  • qAlpha: TQColor
  • qBlue: TQColor
  • qChecksum: diff --git a/doc/html/ntqapplication.html b/doc/html/ntqapplication.html index 07f5573f4..f0df8f7d2 100644 --- a/doc/html/ntqapplication.html +++ b/doc/html/ntqapplication.html @@ -1900,7 +1900,7 @@ similar to the C printf() function. is sent to the debugger.

    Warning: The internal buffer is limited to 8196 bytes (including the '\0'-terminator). -

    Warning: Passing (const char *)0 as argument to qDebug might lead +

    Warning: Passing (const char *)0 as argument to tqDebug might lead to crashes on certain platforms due to the platforms printf implementation.

    See also qWarning(), qFatal(), qInstallMsgHandler(), and Debugging. @@ -1926,7 +1926,7 @@ similar to the C printf() function. is sent to the debugger.

    Warning: The internal buffer is limited to 8196 bytes (including the '\0'-terminator). -

    Warning: Passing (const char *)0 as argument to qFatal might lead +

    Warning: Passing (const char *)0 as argument to tqFatal might lead to crashes on certain platforms due to the platforms printf implementation.

    See also qDebug(), qWarning(), qInstallMsgHandler(), and Debugging. @@ -2029,7 +2029,7 @@ similar to the C printf() function. is sent to the debugger.

    Warning: The internal buffer is limited to 8196 bytes (including the '\0'-terminator). -

    Warning: Passing (const char *)0 as argument to qWarning might lead +

    Warning: Passing (const char *)0 as argument to tqWarning might lead to crashes on certain platforms due to the platforms printf implementation.

    See also qDebug(), qFatal(), qInstallMsgHandler(), and Debugging. diff --git a/doc/html/porting.html b/doc/html/porting.html index 39062649c..8c0a3e10a 100644 --- a/doc/html/porting.html +++ b/doc/html/porting.html @@ -390,8 +390,8 @@ new code.

  • #define strcpy qstrcpy
  • #define strcmp qstrcmp
  • #define strncmp tqstrncmp -
  • #define stricmp qstricmp -
  • #define strnicmp qstrnicmp +
  • #define stricmp tqstricmp +
  • #define strnicmp tqstrnicmp

    See the changes-3.0.0 document for an explanation of why this had to be done. You might have been relying on the non-portable and unpredictable behavior diff --git a/doc/html/qcstring-h.html b/doc/html/qcstring-h.html index 3aeef7985..8d777fb60 100644 --- a/doc/html/qcstring-h.html +++ b/doc/html/qcstring-h.html @@ -89,9 +89,9 @@ body { background: #ffffff; color: black; } Safe and portable C string functions; extensions to standard string.h *****************************************************************************/ -Q_EXPORT void *qmemmove( void *dst, const void *src, uint len ); +Q_EXPORT void *tqmemmove( void *dst, const void *src, uint len ); -Q_EXPORT char *qstrdup( const char * ); +Q_EXPORT char *tqstrdup( const char * ); Q_EXPORT inline uint tqstrlen( const char *str ) { return str ? (uint)strlen(str) : 0u; } @@ -99,7 +99,7 @@ Q_EXPORT inline uint tqstrlen( const char *str ) Q_EXPORT inline char *qstrcpy( char *dst, const char *src ) { return src ? strcpy(dst, src) : 0; } -Q_EXPORT char *qstrncpy( char *dst, const char *src, uint len ); +Q_EXPORT char *tqstrncpy( char *dst, const char *src, uint len ); Q_EXPORT inline int qstrcmp( const char *str1, const char *str2 ) { @@ -113,9 +113,9 @@ Q_EXPORT inline int tqstrncmp( const char *str1, const char *str2, uint len ) : ( str1 ? 1 : ( str2 ? -1 : 0 ) ); } -Q_EXPORT int qstricmp( const char *, const char * ); +Q_EXPORT int tqstricmp( const char *, const char * ); -Q_EXPORT int qstrnicmp( const char *, const char *, uint len ); +Q_EXPORT int tqstrnicmp( const char *, const char *, uint len ); #ifndef QT_CLEAN_NAMESPACE Q_EXPORT inline uint cstrlen( const char *str ) @@ -132,9 +132,9 @@ Q_EXPORT inline int cstrncmp( const char *str1, const char *str2, uint len ) #endif -// qChecksum: Internet checksum +// tqChecksum: Internet checksum -Q_EXPORT Q_UINT16 qChecksum( const char *s, uint len ); +Q_EXPORT Q_UINT16 tqChecksum( const char *s, uint len ); /***************************************************************************** TQByteArray class @@ -156,10 +156,10 @@ typedef TQMemArray<char> TQByteArray; #endif #ifndef QT_NO_COMPRESS -Q_EXPORT TQByteArray qCompress( const uchar* data, int nbytes ); +Q_EXPORT TQByteArray tqCompress( const uchar* data, int nbytes ); Q_EXPORT TQByteArray tqUncompress( const uchar* data, int nbytes ); -Q_EXPORT inline TQByteArray qCompress( const TQByteArray& data) -{ return qCompress( (const uchar*)data.data(), data.size() ); } +Q_EXPORT inline TQByteArray tqCompress( const TQByteArray& data) +{ return tqCompress( (const uchar*)data.data(), data.size() ); } Q_EXPORT inline TQByteArray tqUncompress( const TQByteArray& data ) { return tqUncompress( (const uchar*)data.data(), data.size() ); } #endif diff --git a/doc/html/qgl-h.html b/doc/html/qgl-h.html index 6a5031369..048af28b8 100644 --- a/doc/html/qgl-h.html +++ b/doc/html/qgl-h.html @@ -92,7 +92,7 @@ body { background: #ffffff; color: black; } #define TQGL_VERSION 450 #define TQGL_VERSION_STR "4.5" TQM_EXPORT_OPENGL inline const char *qGLVersion() { - qObsolete( 0, "qGLVersion", "qVersion" ); + tqObsolete( 0, "qGLVersion", "qVersion" ); return TQGL_VERSION_STR; } #endif diff --git a/doc/html/qglobal-h.html b/doc/html/qglobal-h.html index 397f2e4ee..14ea0fe50 100644 --- a/doc/html/qglobal-h.html +++ b/doc/html/qglobal-h.html @@ -942,9 +942,9 @@ extern Q_EXPORT bool qt_winunicode; // System information // -Q_EXPORT const char *qVersion(); -Q_EXPORT bool qSysInfo( int *wordSize, bool *bigEndian ); -Q_EXPORT bool qSharedBuild(); +Q_EXPORT const char *tqVersion(); +Q_EXPORT bool tqSysInfo( int *wordSize, bool *bigEndian ); +Q_EXPORT bool tqSharedBuild(); #if defined(Q_OS_MAC) int qMacVersion(); #elif defined(Q_WS_WIN) @@ -1003,25 +1003,25 @@ Q_EXPORT int qWinVersion(); #endif -Q_EXPORT void qDebug( const char *, ... ) // print debug message +Q_EXPORT void tqDebug( const char *, ... ) // print debug message #if defined(Q_CC_GNU) && !defined(__INSURE__) __attribute__ ((format (printf, 1, 2))) #endif ; -Q_EXPORT void qWarning( const char *, ... ) // print warning message +Q_EXPORT void tqWarning( const char *, ... ) // print warning message #if defined(Q_CC_GNU) && !defined(__INSURE__) __attribute__ ((format (printf, 1, 2))) #endif ; -Q_EXPORT void qFatal( const char *, ... ) // print fatal message and exit +Q_EXPORT void tqFatal( const char *, ... ) // print fatal message and exit #if defined(Q_CC_GNU) __attribute__ ((format (printf, 1, 2))) #endif ; -Q_EXPORT void qSystemWarning( const char *, int code = -1 ); +Q_EXPORT void tqSystemWarning( const char *, int code = -1 ); #if !defined(QT_CLEAN_NAMESPACE) // compatibility with TQt 1 @@ -1049,9 +1049,9 @@ Q_EXPORT void fatal( const char *, ... ) // print fatal message and exit #if !defined(Q_ASSERT) # if defined(QT_CHECK_STATE) # if defined(QT_FATAL_ASSERT) -# define Q_ASSERT(x) ((x) ? (void)0 : qFatal("ASSERT: \"%s\" in %s (%d)",#x,__FILE__,__LINE__)) +# define Q_ASSERT(x) ((x) ? (void)0 : tqFatal("ASSERT: \"%s\" in %s (%d)",#x,__FILE__,__LINE__)) # else -# define Q_ASSERT(x) ((x) ? (void)0 : qWarning("ASSERT: \"%s\" in %s (%d)",#x,__FILE__,__LINE__)) +# define Q_ASSERT(x) ((x) ? (void)0 : tqWarning("ASSERT: \"%s\" in %s (%d)",#x,__FILE__,__LINE__)) # endif # else # define Q_ASSERT(x) @@ -1067,10 +1067,10 @@ Q_EXPORT void fatal( const char *, ... ) // print fatal message and exit #endif // QT_NO_COMPAT -Q_EXPORT bool qt_check_pointer( bool c, const char *, int ); +Q_EXPORT bool tqt_check_pointer( bool c, const char *, int ); #if defined(QT_CHECK_NULL) -# define TQ_CHECK_PTR(p) (qt_check_pointer((p)==0,__FILE__,__LINE__)) +# define TQ_CHECK_PTR(p) (tqt_check_pointer((p)==0,__FILE__,__LINE__)) #else # define TQ_CHECK_PTR(p) #endif @@ -1090,27 +1090,27 @@ Q_EXPORT TQtMsgHandler qInstallMsgHandler( TQtMsgHandler ); typedef TQtMsgHandler msg_handler; #endif // QT_NO_COMPAT -Q_EXPORT void qSuppressObsoleteWarnings( bool = TRUE ); +Q_EXPORT void tqSuppressObsoleteWarnings( bool = TRUE ); -Q_EXPORT void qObsolete( const char *obj, const char *oldfunc, +Q_EXPORT void tqObsolete( const char *obj, const char *oldfunc, const char *newfunc ); -Q_EXPORT void qObsolete( const char *obj, const char *oldfunc ); -Q_EXPORT void qObsolete( const char *message ); +Q_EXPORT void tqObsolete( const char *obj, const char *oldfunc ); +Q_EXPORT void tqObsolete( const char *message ); // // Install paths from configure // -Q_EXPORT const char *qInstallPath(); -Q_EXPORT const char *qInstallPathDocs(); -Q_EXPORT const char *qInstallPathHeaders(); -Q_EXPORT const char *qInstallPathLibs(); -Q_EXPORT const char *qInstallPathBins(); -Q_EXPORT const char *qInstallPathPlugins(); -Q_EXPORT const char *qInstallPathData(); -Q_EXPORT const char *qInstallPathTranslations(); -Q_EXPORT const char *qInstallPathSysconf(); +Q_EXPORT const char *tqInstallPath(); +Q_EXPORT const char *tqInstallPathDocs(); +Q_EXPORT const char *tqInstallPathHeaders(); +Q_EXPORT const char *tqInstallPathLibs(); +Q_EXPORT const char *tqInstallPathBins(); +Q_EXPORT const char *tqInstallPathPlugins(); +Q_EXPORT const char *tqInstallPathData(); +Q_EXPORT const char *tqInstallPathTranslations(); +Q_EXPORT const char *tqInstallPathSysconf(); #endif /* __cplusplus */ @@ -1125,7 +1125,7 @@ Q_EXPORT const char *qInstallPathSysconf(); #ifdef Q_FULL_TEMPLATE_INSTANTIATION # define Q_DUMMY_COMPARISON_OPERATOR(C) \ bool operator==( const C& ) const { \ - qWarning( #C"::operator==( const "#C"& ) got called." ); \ + tqWarning( #C"::operator==( const "#C"& ) got called." ); \ return FALSE; \ } #else diff --git a/doc/html/qheader-h.html b/doc/html/qheader-h.html index ee92c4a65..501dde05f 100644 --- a/doc/html/qheader-h.html +++ b/doc/html/qheader-h.html @@ -248,7 +248,7 @@ inline TQHeader::Orientation TQHeader::orientation() const inline void TQHeader::setTracking( bool enable ) { trackingIsOn = enable; } inline bool TQHeader::tracking() const { return trackingIsOn; } -extern Q_EXPORT bool qt_qheader_label_return_null_strings; // needed for professional edition +extern Q_EXPORT bool tqt_qheader_label_return_null_strings; // needed for professional edition #endif // QT_NO_HEADER diff --git a/doc/html/qmake-manual-4.html b/doc/html/qmake-manual-4.html index 990d60508..8fe09fd1a 100644 --- a/doc/html/qmake-manual-4.html +++ b/doc/html/qmake-manual-4.html @@ -135,7 +135,7 @@ body { background: #ffffff; color: black; }

    Use qmake as before to generate a makefile. If you rename main.cpp temporarily, you will see the message and qmake will stop processing.

    Checking for more than one condition

    -

    Suppose you use Windows and you want to be able to see the qDebug() statements when you run your application on the command line. Unless you build your application with the console setting, you won't see the output. We can easily put console on the CONFIG line so that on Windows the makefile will have this setting. But let's say that we only want to add the CONFIG line if we are running on Windows and when debug is already on the CONFIG line. This requires using two nested scopes; just create one scope, then create the other inside that one. Put the settings to be processed inside the last scope, like this:

    +

    Suppose you use Windows and you want to be able to see the tqDebug() statements when you run your application on the command line. Unless you build your application with the console setting, you won't see the output. We can easily put console on the CONFIG line so that on Windows the makefile will have this setting. But let's say that we only want to add the CONFIG line if we are running on Windows and when debug is already on the CONFIG line. This requires using two nested scopes; just create one scope, then create the other inside that one. Put the settings to be processed inside the last scope, like this:

         win32 {
             debug {
    diff --git a/doc/html/qmap-h.html b/doc/html/qmap-h.html
    index 2ff20da0d..d6e5319a3 100644
    --- a/doc/html/qmap-h.html
    +++ b/doc/html/qmap-h.html
    @@ -612,7 +612,7 @@ Q_INLINE_TEMPLATES Q_TYPENAME TQMapPrivate<Key,T>::Iterator TQMapPrivate&l
     
     #ifdef QT_CHECK_RANGE
     # if !defined( QT_NO_DEBUG ) && defined( QT_CHECK_MAP_RANGE )
    -#  define QT_CHECK_INVALID_MAP_ELEMENT if ( empty() ) qWarning( "TQMap: Warning invalid element" )
    +#  define QT_CHECK_INVALID_MAP_ELEMENT if ( empty() ) tqWarning( "TQMap: Warning invalid element" )
     #  define QT_CHECK_INVALID_MAP_ELEMENT_FATAL Q_ASSERT( !empty() );
     # else
     #  define QT_CHECK_INVALID_MAP_ELEMENT
    diff --git a/doc/html/qmessagebox-h.html b/doc/html/qmessagebox-h.html
    index c52826bd8..c014327e0 100644
    --- a/doc/html/qmessagebox-h.html
    +++ b/doc/html/qmessagebox-h.html
    @@ -245,13 +245,13 @@ private:	// Disabled copy constructor and operator=
     *   }
     */
     #define QT_REQUIRE_VERSION( argc, argv, str ) { TQString s=TQString::fromLatin1(str);\
    -TQString sq=TQString::fromLatin1(qVersion()); if ( (sq.section('.',0,0).toInt()<<16)+\
    +TQString sq=TQString::fromLatin1(tqVersion()); if ( (sq.section('.',0,0).toInt()<<16)+\
     (sq.section('.',1,1).toInt()<<8)+sq.section('.',2,2).toInt()<(s.section('.',0,0).toInt()<<16)+\
     (s.section('.',1,1).toInt()<<8)+s.section('.',2,2).toInt() ){if ( !tqApp){ int c=0; new \
     TQApplication(argc,argv);} TQString s = TQApplication::tr("Executable '%1' requires TQt "\
      "%2, found TQt %3.").arg(TQString::fromLatin1(tqAppName())).arg(TQString::fromLatin1(\
    -str)).arg(TQString::fromLatin1(qVersion()) ); TQMessageBox::critical( 0, TQApplication::tr(\
    -"Incompatible TQt Library Error" ), s, TQMessageBox::Abort,0 ); qFatal(s.ascii()); }}
    +str)).arg(TQString::fromLatin1(tqVersion()) ); TQMessageBox::critical( 0, TQApplication::tr(\
    +"Incompatible TQt Library Error" ), s, TQMessageBox::Abort,0 ); tqFatal(s.ascii()); }}
     
     
     #endif // QT_NO_MESSAGEBOX
    diff --git a/doc/html/qstring-h.html b/doc/html/qstring-h.html
    index ae37a8427..dfa12ef0a 100644
    --- a/doc/html/qstring-h.html
    +++ b/doc/html/qstring-h.html
    @@ -261,7 +261,7 @@ public:
         static bool networkOrdered() {
     	int wordSize;
     	bool bigEndian = FALSE;
    -	qSysInfo( &wordSize, &bigEndian );
    +	tqSysInfo( &wordSize, &bigEndian );
     	return bigEndian;
         }
     
    diff --git a/doc/html/qstrlist-h.html b/doc/html/qstrlist-h.html
    index 49a3e7e09..88f998a87 100644
    --- a/doc/html/qstrlist-h.html
    +++ b/doc/html/qstrlist-h.html
    @@ -100,7 +100,7 @@ public:
         TQStrList& operator=( const TQStrList & );
     
     private:
    -    TQPtrCollection::Item newItem( TQPtrCollection::Item d ) { return dc ? qstrdup( (const char*)d ) : d; }
    +    TQPtrCollection::Item newItem( TQPtrCollection::Item d ) { return dc ? tqstrdup( (const char*)d ) : d; }
         void deleteItem( TQPtrCollection::Item d ) { if ( del_item ) delete[] (char*)d; }
         int compareItems( TQPtrCollection::Item s1, TQPtrCollection::Item s2 ) { return qstrcmp((const char*)s1,
     							 (const char*)s2); }
    @@ -121,7 +121,7 @@ public:
         ~TQStrIList()			{ clear(); }
     private:
         int	  compareItems( TQPtrCollection::Item s1, TQPtrCollection::Item s2 )
    -				{ return qstricmp((const char*)s1,
    +				{ return tqstricmp((const char*)s1,
     						    (const char*)s2); }
     };
     
    diff --git a/doc/html/qvaluelist-h.html b/doc/html/qvaluelist-h.html
    index 16d084b87..c88d0ca6b 100644
    --- a/doc/html/qvaluelist-h.html
    +++ b/doc/html/qvaluelist-h.html
    @@ -431,7 +431,7 @@ Q_INLINE_TEMPLATES void TQValueListPrivate<T>::clear()
     
     #ifdef QT_CHECK_RANGE
     # if !defined( QT_NO_DEBUG ) && defined( QT_CHECK_VALUELIST_RANGE )
    -#  define QT_CHECK_INVALID_LIST_ELEMENT if ( empty() ) qWarning( "TQValueList: Warning invalid element" )
    +#  define QT_CHECK_INVALID_LIST_ELEMENT if ( empty() ) tqWarning( "TQValueList: Warning invalid element" )
     #  define QT_CHECK_INVALID_LIST_ELEMENT_FATAL Q_ASSERT( !empty() );
     # else
     #  define QT_CHECK_INVALID_LIST_ELEMENT
    diff --git a/doc/html/qwindowdefs-h.html b/doc/html/qwindowdefs-h.html
    index 75e2dea00..0a7f48282 100644
    --- a/doc/html/qwindowdefs-h.html
    +++ b/doc/html/qwindowdefs-h.html
    @@ -183,12 +183,12 @@ typedef struct _XGC *GC;
     typedef struct _XRegion *Region;
     typedef unsigned long  WId;
     
    -Q_EXPORT Display *qt_xdisplay();
    -Q_EXPORT int	 qt_xscreen();
    -Q_EXPORT WId	 qt_xrootwin(); // ### REMOVE 4.0
    -Q_EXPORT WId	 qt_xrootwin( int scrn ); // ### 4.0 add default arg of -1
    -Q_EXPORT GC	 qt_xget_readonly_gc( int scrn, bool monochrome );
    -Q_EXPORT GC	 qt_xget_temp_gc( int scrn, bool monochrome );
    +Q_EXPORT Display *tqt_xdisplay();
    +Q_EXPORT int	 tqt_xscreen();
    +Q_EXPORT WId	 tqt_xrootwin(); // ### REMOVE 4.0
    +Q_EXPORT WId	 tqt_xrootwin( int scrn ); // ### 4.0 add default arg of -1
    +Q_EXPORT GC	 tqt_xget_readonly_gc( int scrn, bool monochrome );
    +Q_EXPORT GC	 tqt_xget_temp_gc( int scrn, bool monochrome );
     
     Q_EXPORT const char *tqAppClass();		// get application class
     
    @@ -221,8 +221,8 @@ Q_EXPORT const char *tqAppName();		// get application name
     // Misc functions
     
     typedef void (*TQtCleanUpFunction)();
    -Q_EXPORT void qAddPostRoutine( TQtCleanUpFunction );
    -Q_EXPORT void qRemovePostRoutine( TQtCleanUpFunction );
    +Q_EXPORT void tqAddPostRoutine( TQtCleanUpFunction );
    +Q_EXPORT void tqRemovePostRoutine( TQtCleanUpFunction );
     
     #if !defined(QT_CLEAN_NAMESPACE)
     // source compatibility with TQt 2.x
    diff --git a/doc/html/tutorial1-08.html b/doc/html/tutorial1-08.html
    index a98e8e301..4586ceab9 100644
    --- a/doc/html/tutorial1-08.html
    +++ b/doc/html/tutorial1-08.html
    @@ -78,7 +78,7 @@ limit the possible range of minVal and maxVal to 0..99 to avoi
     overflow of the TQLCDNumber. (We could have allowed values down to -9
     but chose not to.)  If the arguments are illegal, we use TQt's
     qWarning() function to issue a warning to the user and return
    -immediately. qWarning() is a printf-like function that by default
    +immediately. tqWarning() is a printf-like function that by default
     sends its output to stderr. If you want, you can install your own handler
     function using ::qInstallMsgHandler().
     

    t8/cannon.h -- cgit v1.2.3