diff options
83 files changed, 266 insertions, 266 deletions
diff --git a/ChangeLog.immodule b/ChangeLog.immodule index 44acfd9c0..8d9acb485 100644 --- a/ChangeLog.immodule +++ b/ChangeLog.immodule @@ -94,7 +94,7 @@ * src/kernel/ntqinputcontext.h - (identifierName, language): Change return type from QCString to QString - - (addMenusTo): Make Qt3 specific + - (addMenusTo): Make TQt3 specific * src/kernel/qinputcontext.cpp - (identifierName): * Change return type from QCString to QString @@ -126,7 +126,7 @@ defined(Q_WS_X11) * src/input/qinputcontextinterface_p.h - - Modify a coding style to follow Trolltech's one for Qt3 + - Modify a coding style to follow Trolltech's one for TQt3 * src/input/ntqinputcontextplugin.h - Fix typos in comment @@ -357,7 +357,7 @@ - Add '-im' option to enable immodule feature (default yes). - Add '-im-ext' option to enable more immodule extensions (default no). Specify this option 'no' to keep binary compatibility with - standard Qt3 + standard TQt3 * src/kernel/qt_x11.pri - Add conditional QT_NO_IM and QT_NO_IM_EXTENSIONS definition in @@ -489,7 +489,7 @@ 2004-08-10 YamaKen <yamaken@bp.iij4u.or.jp> * plugins/src/inputmethods/simple/qsimpleinputcontext.h - - Follow Trolltech's coding style for Qt3 + - Follow Trolltech's coding style for TQt3 - Remove unnecessary headers - (UNITIZE): Moved from qsimpleinputcontext.cpp. QT_ prefix is not required since a macro does not pollute symbol space @@ -507,7 +507,7 @@ - Separate composing table definition to composetable.cpp - Remove unnecessary headers - Replace 'true' and 'false' with 'TRUE' and 'FALSE' to follow - Trolltech's coding style for Qt3 + Trolltech's coding style for TQt3 - Replace _ComposeTableElement with QComposeTableElement to follow the renaming - Replace ComposeTable with QComposeTable to follow the renaming @@ -685,7 +685,7 @@ * src/kernel/ntqinputcontext.h - (QInputContextMenu::Action): New enum - - (menus): Restrict to use with Qt3 only + - (menus): Restrict to use with TQt3 only - (qt4menus): Remove to replace with actions() - (actions): New function for Qt4 @@ -1315,7 +1315,7 @@ 4. Rename QInputContext::name() to identifierName() to avoid conflicting with QObject::name() - This patch does not break binary compatibility from vanilla Qt3. + This patch does not break binary compatibility from vanilla TQt3. But it costs immodule developer small modification. * src/kernel/ntqinputcontext.h diff --git a/changes-3.4 b/changes-3.4 index 09cc65d45..3ac695743 100644 --- a/changes-3.4 +++ b/changes-3.4 @@ -1,5 +1,5 @@ Qt 3.4 is a new feature release. It is not backwards compatible with any -prior Qt3 version due to changes in the QWidget definition. +prior TQt3 version due to changes in the QWidget definition. **************************************************************************** * General * diff --git a/changes-3.5 b/changes-3.5 index f40ce0bba..e05b72522 100644 --- a/changes-3.5 +++ b/changes-3.5 @@ -10,7 +10,7 @@ General Improvements - Technical - * Modify TQStyle API to work without requiring direct access to TQt-specific objects + * Modify TQStyle API to work without retquiring direct access to Qt-specific objects See "TQStyle API Change" section below TQStyle API Change diff --git a/changes.immodule b/changes.immodule index 15dba6ed7..4a2806525 100644 --- a/changes.immodule +++ b/changes.immodule @@ -105,7 +105,7 @@ General pluggable popup menu requires #ifdef'ed different code. In addition, be careful about use of classes that is deprecated in Qt4. -- Our two development tree for Qt3 'Binary Compatible' and 'ALL' have +- Our two development tree for TQt3 'Binary Compatible' and 'ALL' have been merged into this unified source tree. The source tree is called 'Unified' patch. @@ -2153,7 +2153,7 @@ Qt/X11 only: $IXN -no-inputmethod-ext Do not compile more immodule extensions support. $IXY -inputmethod-ext ... Compile more immodule extensions support. - (breaks ABI with standard Qt3). + (breaks ABI with standard TQt3). EOF fi diff --git a/doc/html/clientserver-example.html b/doc/html/clientserver-example.html index 85c381089..fd1e24793 100644 --- a/doc/html/clientserver-example.html +++ b/doc/html/clientserver-example.html @@ -127,7 +127,7 @@ public: <a href="ntqserversocket.html">TQServerSocket</a>( 4242, 1, parent ) { if ( !ok() ) { - <a href="ntqapplication.html#qWarning">qWarning</a>("Failed to bind to port 4242"); + <a href="ntqapplication.html#qWarning">tqWarning</a>("Failed to bind to port 4242"); exit(1); } } diff --git a/doc/html/debug.html b/doc/html/debug.html index 23c84dd94..0747921ea 100644 --- a/doc/html/debug.html +++ b/doc/html/debug.html @@ -59,10 +59,10 @@ option is only valid for the X11 version of TQt. <a name="2"></a><p> TQt includes three global functions for writing out warning and debug text. <ul> -<li> <a href="ntqapplication.html#qDebug">qDebug()</a> for writing debug output for testing etc. -<li> <a href="ntqapplication.html#qWarning">qWarning()</a> for writing warning output when program +<li> <a href="ntqapplication.html#qDebug">tqDebug()</a> for writing debug output for testing etc. +<li> <a href="ntqapplication.html#qWarning">tqWarning()</a> for writing warning output when program errors occur. -<li> <a href="ntqapplication.html#qFatal">qFatal()</a> for writing fatal error messages +<li> <a href="ntqapplication.html#qFatal">tqFatal()</a> for writing fatal error messages and exiting. </ul> <p> The TQt implementation of these functions prints the text to the <tt>stderr</tt> @@ -141,12 +141,12 @@ define QT_NO_CHECK. { #if defined(QT_CHECK_NULL) if ( p == 0 ) - <a href="ntqapplication.html#qWarning">qWarning</a>( "f: Null pointer not allowed" ); + <a href="ntqapplication.html#qWarning">tqWarning</a>( "f: Null pointer not allowed" ); #endif #if defined(QT_CHECK_RANGE) if ( i < 0 ) - <a href="ntqapplication.html#qWarning">qWarning</a>( "f: The index cannot be negative" ); + <a href="ntqapplication.html#qWarning">tqWarning</a>( "f: The index cannot be negative" ); #endif } </pre> diff --git a/doc/html/distributor-example.html b/doc/html/distributor-example.html index 53abca50c..87f37c1df 100644 --- a/doc/html/distributor-example.html +++ b/doc/html/distributor-example.html @@ -176,7 +176,7 @@ static char *find_pattern( char *h, const char *n, ulong hlen ) if ( nlen > hlen ) return 0; - } while ( <a href="ntqcstring.html#qstrncmp">qstrncmp</a>( h, n, nlen ) != 0 ); + } while ( <a href="ntqcstring.html#qstrncmp">tqstrncmp</a>( h, n, nlen ) != 0 ); return h + nlen; } diff --git a/doc/html/dnd.html b/doc/html/dnd.html index 82f90aa51..f55293c3f 100644 --- a/doc/html/dnd.html +++ b/doc/html/dnd.html @@ -319,7 +319,7 @@ void MyWidget::dragMoveEvent(TQDragMoveEvent* event) feedback as the drag progresses, to start timers, to scroll the window, or whatever is appropriate (don't forget to stop the scrolling and timers in a dragLeaveEvent() though). -<p> The <a href="ntqapplication.html">TQApplication</a> object (available as the <tt>qApp</tt> global) also +<p> The <a href="ntqapplication.html">TQApplication</a> object (available as the <tt>tqApp</tt> global) also provides some drag and drop related functions: <a href="ntqapplication.html#setStartDragTime">TQApplication::setStartDragTime</a>(), <a href="ntqapplication.html#setStartDragDistance">TQApplication::setStartDragDistance</a>(), and their corresponding diff --git a/doc/html/fileiconview-example.html b/doc/html/fileiconview-example.html index b2b2b0da5..8815046be 100644 --- a/doc/html/fileiconview-example.html +++ b/doc/html/fileiconview-example.html @@ -689,7 +689,7 @@ TQtFileIconViewItem::~TQtFileIconViewItem() : <a href="ntqiconview.html">TQIconView</a>( parent, name ), viewDir( dir ), newFolderNum( 0 ) { if ( !iconFolderLockedLarge ) { - <a href="ntqapplication.html#qAddPostRoutine">qAddPostRoutine</a>( cleanup ); + <a href="ntqapplication.html#qAddPostRoutine">tqAddPostRoutine</a>( cleanup ); <a href="ntqwmatrix.html">TQWMatrix</a> m; <a name="x876"></a> m.<a href="ntqwmatrix.html#scale">scale</a>( 0.6, 0.6 ); <a href="ntqpixmap.html">TQPixmap</a> iconpix( folder_locked_icon ); diff --git a/doc/html/functions.html b/doc/html/functions.html index f5d7dee03..9a1d73f3c 100644 --- a/doc/html/functions.html +++ b/doc/html/functions.html @@ -2078,43 +2078,43 @@ packImage: <a href="ntqpointarray.html#putPoints">TQPointArray</a><li>putch: <a href="ntqfile.html#putch">TQFile</a> <a href="ntqiodevice.html#putch">TQIODevice</a> <a href="ntqsocket.html#putch">TQSocket</a><li><a name="q"></a> tqAddPostRoutine: - <a href="ntqapplication.html#qAddPostRoutine">TQApplication</a><li>qAlpha: - <a href="ntqcolor.html#qAlpha">TQColor</a><li>qBlue: - <a href="ntqcolor.html#qBlue">TQColor</a><li>qChecksum: - <a href="ntqmemarray.html#qChecksum">TQMemArray</a><li>qCompress: - <a href="qbytearray.html#qCompress">TQByteArray</a><li>qDebug: + <a href="ntqapplication.html#qAddPostRoutine">TQApplication</a><li>tqAlpha: + <a href="ntqcolor.html#qAlpha">TQColor</a><li>tqBlue: + <a href="ntqcolor.html#qBlue">TQColor</a><li>tqChecksum: + <a href="ntqmemarray.html#qChecksum">TQMemArray</a><li>tqCompress: + <a href="qbytearray.html#qCompress">TQByteArray</a><li>tqDebug: <a href="ntqapplication.html#qDebug">TQApplication</a><li>qDrawPlainRect: <a href="ntqpainter.html#qDrawPlainRect">TQPainter</a><li>qDrawShadeLine: <a href="ntqpainter.html#qDrawShadeLine">TQPainter</a><li>qDrawShadePanel: <a href="ntqpainter.html#qDrawShadePanel">TQPainter</a><li>qDrawShadeRect: <a href="ntqpainter.html#qDrawShadeRect">TQPainter</a><li>qDrawWinButton: <a href="ntqpainter.html#qDrawWinButton">TQPainter</a><li>qDrawWinPanel: - <a href="ntqpainter.html#qDrawWinPanel">TQPainter</a><li>qFatal: - <a href="ntqapplication.html#qFatal">TQApplication</a><li>qGray: - <a href="ntqcolor.html#qGray">TQColor</a><li>qGreen: - <a href="ntqcolor.html#qGreen">TQColor</a><li>qInitNetworkProtocols: + <a href="ntqpainter.html#qDrawWinPanel">TQPainter</a><li>tqFatal: + <a href="ntqapplication.html#qFatal">TQApplication</a><li>tqGray: + <a href="ntqcolor.html#qGray">TQColor</a><li>tqGreen: + <a href="ntqcolor.html#qGreen">TQColor</a><li>tqInitNetworkProtocols: <a href="ntqurloperator.html#qInitNetworkProtocols">TQUrlOperator</a><li>qInstallMsgHandler: <a href="ntqapplication.html#qInstallMsgHandler">TQApplication</a><li>qMakePair: <a href="ntqpair.html#qMakePair">TQPair</a><li>qName: - <a href="qxmlattributes.html#qName">TQXmlAttributes</a><li>qRed: - <a href="ntqcolor.html#qRed">TQColor</a><li>qRgb: - <a href="ntqcolor.html#qRgb">TQColor</a><li>qRgba: - <a href="ntqcolor.html#qRgba">TQColor</a><li>qSysInfo: - <a href="ntqapplication.html#qSysInfo">TQApplication</a><li>qSystemWarning: - <a href="ntqapplication.html#qSystemWarning">TQApplication</a><li>qUncompress: - <a href="qbytearray.html#qUncompress">TQByteArray</a><li>qVersion: - <a href="ntqapplication.html#qVersion">TQApplication</a><li>qWarning: + <a href="qxmlattributes.html#qName">TQXmlAttributes</a><li>tqRed: + <a href="ntqcolor.html#qRed">TQColor</a><li>tqRgb: + <a href="ntqcolor.html#qRgb">TQColor</a><li>tqRgba: + <a href="ntqcolor.html#qRgba">TQColor</a><li>tqSysInfo: + <a href="ntqapplication.html#qSysInfo">TQApplication</a><li>tqSystemWarning: + <a href="ntqapplication.html#qSystemWarning">TQApplication</a><li>tqUncompress: + <a href="qbytearray.html#qUncompress">TQByteArray</a><li>tqVersion: + <a href="ntqapplication.html#qVersion">TQApplication</a><li>tqWarning: <a href="ntqapplication.html#qWarning">TQApplication</a><li>qglClearColor: <a href="qglwidget.html#qglClearColor">TQGLWidget</a><li>qglColor: - <a href="qglwidget.html#qglColor">TQGLWidget</a><li>qmemmove: + <a href="qglwidget.html#qglColor">TQGLWidget</a><li>tqmemmove: <a href="ntqcstring.html#qmemmove">TQCString</a><li>qstrcmp: <a href="ntqcstring.html#qstrcmp">TQCString</a><li>qstrcpy: - <a href="ntqcstring.html#qstrcpy">TQCString</a><li>qstrdup: - <a href="ntqcstring.html#qstrdup">TQCString</a><li>qstricmp: - <a href="ntqcstring.html#qstricmp">TQCString</a><li>qstrlen: - <a href="ntqcstring.html#qstrlen">TQCString</a><li>qstrncmp: - <a href="ntqcstring.html#qstrncmp">TQCString</a><li>qstrncpy: - <a href="ntqcstring.html#qstrncpy">TQCString</a><li>qstrnicmp: + <a href="ntqcstring.html#qstrcpy">TQCString</a><li>tqstrdup: + <a href="ntqcstring.html#qstrdup">TQCString</a><li>tqstricmp: + <a href="ntqcstring.html#qstricmp">TQCString</a><li>tqstrlen: + <a href="ntqcstring.html#qstrlen">TQCString</a><li>tqstrncmp: + <a href="ntqcstring.html#qstrncmp">TQCString</a><li>tqstrncpy: + <a href="ntqcstring.html#qstrncpy">TQCString</a><li>tqstrnicmp: <a href="ntqcstring.html#qstrnicmp">TQCString</a><li>qtHandler: <a href="ntqerrormessage.html#qtHandler">TQErrorMessage</a><li>tqt_find_obj_child: <a href="ntqobject.html#qt_find_obj_child">TQObject</a><li>qualifiedNames: diff --git a/doc/html/grapher-nsplugin-example.html b/doc/html/grapher-nsplugin-example.html index e373bad8b..bcb6acdd6 100644 --- a/doc/html/grapher-nsplugin-example.html +++ b/doc/html/grapher-nsplugin-example.html @@ -232,7 +232,7 @@ Graph::~Graph() void Graph::<a href="ntqwidget.html#setStyle">setStyle</a>(const char* stext) { for ( Style s = Pie; styleName[s]; s = Style(s+1) ) { - if ( <a href="ntqcstring.html#qstricmp">qstricmp</a>(stext,styleName[s])==0 ) { + if ( <a href="ntqcstring.html#qstricmp">tqstricmp</a>(stext,styleName[s])==0 ) { <a href="ntqwidget.html#setStyle">setStyle</a>(s); return; } diff --git a/doc/html/httpd-example.html b/doc/html/httpd-example.html index 08673f7b1..f2626a437 100644 --- a/doc/html/httpd-example.html +++ b/doc/html/httpd-example.html @@ -69,7 +69,7 @@ public: <a href="ntqserversocket.html">TQServerSocket</a>(8080,1,parent) { if ( !ok() ) { - <a href="ntqapplication.html#qWarning">qWarning</a>("Failed to bind to port 8080"); + <a href="ntqapplication.html#qWarning">tqWarning</a>("Failed to bind to port 8080"); exit( 1 ); } } diff --git a/doc/html/i18n.html b/doc/html/i18n.html index 14b5a0be6..ff2fa0c75 100644 --- a/doc/html/i18n.html +++ b/doc/html/i18n.html @@ -289,8 +289,8 @@ example: <a href="ntqstring.html">TQString</a> s1 = "%1 of %2 files copied. Copying: %3"; <a href="ntqstring.html">TQString</a> s2 = "Kopierer nu %3. Av totalt %2 filer er %1 kopiert."; - <a href="ntqapplication.html#qDebug">qDebug</a>( s1.<a href="ntqstring.html#arg">arg</a>(5).arg(10).arg("somefile.txt").ascii() ); - <a href="ntqapplication.html#qDebug">qDebug</a>( s2.<a href="ntqstring.html#arg">arg</a>(5).arg(10).arg("somefile.txt").ascii() ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( s1.<a href="ntqstring.html#arg">arg</a>(5).arg(10).arg("somefile.txt").ascii() ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( s2.<a href="ntqstring.html#arg">arg</a>(5).arg(10).arg("somefile.txt").ascii() ); </pre> <p> produces the correct output in English and Norwegian: diff --git a/doc/html/iconview-example.html b/doc/html/iconview-example.html index a7e742091..4454a9678 100644 --- a/doc/html/iconview-example.html +++ b/doc/html/iconview-example.html @@ -67,18 +67,18 @@ public: public slots: void dropped( <a href="qdropevent.html">TQDropEvent</a> *mime ) { - <a href="ntqapplication.html#qDebug">qDebug</a>( "Dropped Mimesource %p into the view %p", mime, view ); - <a href="ntqapplication.html#qDebug">qDebug</a>( " Formats:" ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( "Dropped Mimesource %p into the view %p", mime, view ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( " Formats:" ); int i = 0; <a name="x1454"></a> const char *str = mime-><a href="qdropevent.html#format">format</a>( i ); - <a href="ntqapplication.html#qDebug">qDebug</a>( " %s", str ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( " %s", str ); while ( str ) { - <a href="ntqapplication.html#qDebug">qDebug</a>( " %s", str ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( " %s", str ); str = mime-><a href="qdropevent.html#format">format</a>( ++i ); } }; void moved() { - <a href="ntqapplication.html#qDebug">qDebug</a>( "All selected items were moved to another widget" ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( "All selected items were moved to another widget" ); } protected: diff --git a/doc/html/life-example.html b/doc/html/life-example.html index da5b3ef41..1f2464e17 100644 --- a/doc/html/life-example.html +++ b/doc/html/life-example.html @@ -255,7 +255,7 @@ void <a name="f521"></a>LifeWidget::nextGeneration() void usage() { - <a href="ntqapplication.html#qWarning">qWarning</a>( "Usage: life [-scale scale]" ); + <a href="ntqapplication.html#qWarning">tqWarning</a>( "Usage: life [-scale scale]" ); } int main( int argc, char **argv ) diff --git a/doc/html/mac-differences.html b/doc/html/mac-differences.html index c5653af30..f905eeb99 100644 --- a/doc/html/mac-differences.html +++ b/doc/html/mac-differences.html @@ -204,7 +204,7 @@ do this: kCFURLPOSIXPathStyle); const char *pathPtr = CFStringGetCStringPtr(macPath, CFStringGetSystemEncoding()); - <a href="ntqapplication.html#qDebug">qDebug</a>("Path = %s", pathPtr); + <a href="ntqapplication.html#qDebug">tqDebug</a>("Path = %s", pathPtr); CFRelease(pluginRef); CFRelease(macPath); </pre> diff --git a/doc/html/motif-walkthrough-10.html b/doc/html/motif-walkthrough-10.html index 2644630e8..b5e64017b 100644 --- a/doc/html/motif-walkthrough-10.html +++ b/doc/html/motif-walkthrough-10.html @@ -51,12 +51,12 @@ us support for most of the written languages around the world. Our <tt>Page</tt <p> <pre></pre> <p> All functions that use the <tt>Page</tt> and <tt>Options</tt> structs need to be updated to use TQString properly. Since TQString is also an <a href="shclass.html#implicitly-shared">implicitly shared</a> class, we no longer have to do any memory management with our -strings. We can remove all occurences of the <a href="ntqcstring.html#qstrdup">qstrdup</a>() function, +strings. We can remove all occurences of the <a href="ntqcstring.html#qstrdup">tqstrdup</a>() function, and we never need to use <em>new</em> or <em>delete</em> when done with a string. TQString will allocate and delete data when needed. <p> Here are the <tt>MainWindow::fileOpen()</tt> and <tt>MainWindow::pageChange()</tt> functions from <tt>mainwindow.ui.h</tt>. Notice that the code no longer -uses <em>delete</em> or <a href="ntqcstring.html#qstrdup">qstrdup</a>() when storing text. +uses <em>delete</em> or <a href="ntqcstring.html#qstrdup">tqstrdup</a>() when storing text. <p> <p> <pre></pre> diff --git a/doc/html/motif-walkthrough-4.html b/doc/html/motif-walkthrough-4.html index bb02213c1..35f8a9414 100644 --- a/doc/html/motif-walkthrough-4.html +++ b/doc/html/motif-walkthrough-4.html @@ -82,7 +82,7 @@ contents of <tt>DoEditPage()</tt> to this point and remove the <tt>DoEditPage()< arrays. Since the PageEditDialog and the data it contains will be destroyed when we return from this function, we need to convert the unicode <a href="ntqstring.html">TQString</a> data into a <a href="ntqcstring.html">TQCString</a> in the local encoding and -duplicate it with <a href="ntqcstring.html#qstrdup">qstrdup</a>(). +duplicate it with <a href="ntqcstring.html#qstrdup">tqstrdup</a>(). <p> <pre></pre> <p> The same process must be done for the minorTab text: <p> <pre></pre> diff --git a/doc/html/motif-walkthrough-7.html b/doc/html/motif-walkthrough-7.html index c6e5a2a19..8e63c9c01 100644 --- a/doc/html/motif-walkthrough-7.html +++ b/doc/html/motif-walkthrough-7.html @@ -95,13 +95,13 @@ use <em>new</em> and <em>delete</em> when modifying members of the <tt>Page</tt> <p> <pre></pre> -<p> When storing the context of the <tt>XmText</tt> widget, we use <a href="ntqcstring.html#qstrdup">qstrdup</a>() +<p> When storing the context of the <tt>XmText</tt> widget, we use <a href="ntqcstring.html#qstrdup">tqstrdup</a>() to make a copy of the string returned by the <tt>XmTextGetString()</tt> function. <p> <pre></pre> <p> The <tt>ReadDB()</tt> function in <tt>io.cpp</tt> needs similar changes. We replace all use of <tt>XtMalloc()</tt> and <tt>XtNewString()</tt> with <em>new</em> and -<a href="ntqcstring.html#qstrdup">qstrdup</a>(), respectively. +<a href="ntqcstring.html#qstrdup">tqstrdup</a>(), respectively. <p> This needs to be done just after opening the file. <p> diff --git a/doc/html/motif-walkthrough-8.html b/doc/html/motif-walkthrough-8.html index d0a2c5720..1202ffdd2 100644 --- a/doc/html/motif-walkthrough-8.html +++ b/doc/html/motif-walkthrough-8.html @@ -127,7 +127,7 @@ number (with an indication that the page is invalid). the new widgets in our <em>Main Window</em> widget. <p> Note: <a href="ntqtextedit.html#text">TQTextEdit::text</a>() returns a <a href="ntqstring.html">TQString</a>, which needs to be converted into a normal <tt>char*</tt> array. To do this we create a copy of the -string in the local encoding. We need to make the copy using <a href="ntqcstring.html#qstrdup">qstrdup</a>() because the data contained in the <a href="ntqcstring.html">TQCString</a> returned by +string in the local encoding. We need to make the copy using <a href="ntqcstring.html#qstrdup">tqstrdup</a>() because the data contained in the <a href="ntqcstring.html">TQCString</a> returned by <a href="ntqstring.html#local8Bit">TQString::local8Bit</a>() is deallocated when the TQCString is destroyed. <p> <pre></pre> <p> The <tt>TextChanged()</tt> function does nothing more than set the <tt>modified</tt> variable to 1. Our new <tt>MainWindow::textChanged()</tt> function @@ -163,7 +163,7 @@ values. currently displayed, so we use <a href="ntqtextedit.html#text">TQTextEdit::text</a>() instead of <tt>XmTextGetString()</tt>. Note: TQTextEdit::text() returns a <a href="ntqstring.html">TQString</a>, which needs to be converted into a normal <tt>char*</tt> array. To do this we create a copy of the string in the local encoding. We need to make -the copy using <a href="ntqcstring.html#qstrdup">qstrdup</a>() because the data contained in the <a href="ntqcstring.html">TQCString</a> +the copy using <a href="ntqcstring.html#qstrdup">tqstrdup</a>() because the data contained in the <a href="ntqcstring.html">TQCString</a> returned by <a href="ntqstring.html#local8Bit">TQString::local8Bit</a>() is deallocated when the TQCString is destroyed. <p> <pre></pre> diff --git a/doc/html/network.html b/doc/html/network.html index c7bd4013b..baf1057e8 100644 --- a/doc/html/network.html +++ b/doc/html/network.html @@ -129,9 +129,9 @@ void MyClass::slotOperationFinished( <a href="qnetworkoperation.html">TQNetworkO switch ( op-><a href="qnetworkoperation.html#operation">operation</a>() ) { case TQNetworkProtocol::OpMkDir: if ( op-><a href="qnetworkoperation.html#state">state</a>() == TQNetworkProtocol::StFailed ) - <a href="ntqapplication.html#qDebug">qDebug</a>( "Couldn't create directory %s", op-><a href="qnetworkoperation.html#arg">arg</a>( 0 ).latin1() ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( "Couldn't create directory %s", op-><a href="qnetworkoperation.html#arg">arg</a>( 0 ).latin1() ); else - <a href="ntqapplication.html#qDebug">qDebug</a>( "Successfully created directory %s", op-><a href="qnetworkoperation.html#arg">arg</a>( 0 ).latin1() ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( "Successfully created directory %s", op-><a href="qnetworkoperation.html#arg">arg</a>( 0 ).latin1() ); break; // ... and so on } @@ -159,24 +159,24 @@ void MyClass::slotInsertEntries( const <a href="ntqvaluelist.html">TQValueList</ TQValueList<TQUrlInfo>::ConstIterator it = info.<a href="ntqvaluelist.html#begin">begin</a>(); for ( ; it != info.<a href="ntqvaluelist.html#end">end</a>(); ++it ) { const <a href="ntqurlinfo.html">TQUrlInfo</a> &inf = *it; - <a href="ntqapplication.html#qDebug">qDebug</a>( "Name: %s, Size: %d, Last Modified: %s", + <a href="ntqapplication.html#qDebug">tqDebug</a>( "Name: %s, Size: %d, Last Modified: %s", inf.<a href="ntqurlinfo.html#name">name</a>().latin1(), inf.<a href="ntqurlinfo.html#size">size</a>(), inf.<a href="ntqurlinfo.html#lastModified">lastModified</a>().toString().latin1() ); } } void MyClass::slotStart( <a href="qnetworkoperation.html">TQNetworkOperation</a> * ) { - <a href="ntqapplication.html#qDebug">qDebug</a>( "Start reading '%s'", op.toString().latin1() ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( "Start reading '%s'", op.toString().latin1() ); } void MyClass::slotFinished( <a href="qnetworkoperation.html">TQNetworkOperation</a> *operation ) { if ( operation-><a href="qnetworkoperation.html#operation">operation</a>() == TQNetworkProtocol::OpListChildren ) { if ( operation-><a href="qnetworkoperation.html#state">state</a>() == TQNetworkProtocol::StFailed ) - <a href="ntqapplication.html#qDebug">qDebug</a>( "Couldn't read '%s'! Following error occurred: %s", + <a href="ntqapplication.html#qDebug">tqDebug</a>( "Couldn't read '%s'! Following error occurred: %s", op.toString().latin1(), operation-><a href="qnetworkoperation.html#protocolDetail">protocolDetail</a>().latin1() ); else - <a href="ntqapplication.html#qDebug">qDebug</a>( "Finished reading '%s'!", op.toString().latin1() ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( "Finished reading '%s'!", op.toString().latin1() ); } } diff --git a/doc/html/ntqapplication.html b/doc/html/ntqapplication.html index f0df8f7d2..4577524a8 100644 --- a/doc/html/ntqapplication.html +++ b/doc/html/ntqapplication.html @@ -170,13 +170,13 @@ flow and main settings. </ul> <h2>Related Functions</h2> <ul> -<li class=fn>void <a href="#qAddPostRoutine"><b>qAddPostRoutine</b></a> ( TQtCleanUpFunction p )</li> -<li class=fn>const char * <a href="#qVersion"><b>qVersion</b></a> ()</li> -<li class=fn>bool <a href="#qSysInfo"><b>qSysInfo</b></a> ( int * wordSize, bool * bigEndian )</li> -<li class=fn>void <a href="#qDebug"><b>qDebug</b></a> ( const char * msg, ... )</li> -<li class=fn>void <a href="#qWarning"><b>qWarning</b></a> ( const char * msg, ... )</li> -<li class=fn>void <a href="#qFatal"><b>qFatal</b></a> ( const char * msg, ... )</li> -<li class=fn>void <a href="#qSystemWarning"><b>qSystemWarning</b></a> ( const char * msg, int code )</li> +<li class=fn>void <a href="#qAddPostRoutine"><b>tqAddPostRoutine</b></a> ( TQtCleanUpFunction p )</li> +<li class=fn>const char * <a href="#qVersion"><b>tqVersion</b></a> ()</li> +<li class=fn>bool <a href="#qSysInfo"><b>tqSysInfo</b></a> ( int * wordSize, bool * bigEndian )</li> +<li class=fn>void <a href="#qDebug"><b>tqDebug</b></a> ( const char * msg, ... )</li> +<li class=fn>void <a href="#qWarning"><b>tqWarning</b></a> ( const char * msg, ... )</li> +<li class=fn>void <a href="#qFatal"><b>tqFatal</b></a> ( const char * msg, ... )</li> +<li class=fn>void <a href="#qSystemWarning"><b>tqSystemWarning</b></a> ( const char * msg, int code )</li> <li class=fn>void <a href="#Q_ASSERT"><b>Q_ASSERT</b></a> ( bool test )</li> <li class=fn>void <a href="#TQ_CHECK_PTR"><b>TQ_CHECK_PTR</b></a> ( void * p )</li> <li class=fn>TQtMsgHandler <a href="#qInstallMsgHandler"><b>qInstallMsgHandler</b></a> ( TQtMsgHandler h )</li> @@ -196,7 +196,7 @@ application-wide settings. <p> For any GUI application that uses TQt, there is precisely one TQApplication object, no matter whether the application has 0, 1, 2 or more windows at any time. -<p> The TQApplication object is accessible through the global pointer <tt>qApp</tt>. Its main areas of responsibility are: +<p> The TQApplication object is accessible through the global pointer <tt>tqApp</tt>. Its main areas of responsibility are: <ul> <p> <li> It initializes the application with the user's desktop settings such as <a href="#palette">palette</a>(), <a href="#font">font</a>() and <a href="#doubleClickInterval">doubleClickInterval</a>(). It keeps track @@ -390,13 +390,13 @@ arguments to <a href="#translate">translate</a>(): </h3> Initializes the window system and constructs an application object with <em>argc</em> command line arguments in <em>argv</em>. -<p> The global <tt>qApp</tt> pointer refers to this application object. Only +<p> The global <tt>tqApp</tt> pointer refers to this application object. Only one application object should be created. <p> This application object must be constructed before any <a href="ntqpaintdevice.html">paint devices</a> (including widgets, pixmaps, bitmaps etc.). <p> Note that <em>argc</em> and <em>argv</em> might be changed. TQt removes command line arguments that it recognizes. The modified <em>argc</em> and <em>argv</em> -can also be accessed later with <tt>qApp->argc()</tt> and <tt>qApp->argv()</tt>. +can also be accessed later with <tt>tqApp->argc()</tt> and <tt>tqApp->argv()</tt>. The documentation for <a href="#argv">argv</a>() contains a detailed description of how to process command line arguments. <p> TQt debugging options (not available if TQt was compiled with the @@ -517,7 +517,7 @@ bits-per-pixel. <h3 class=fn><a name="~TQApplication"></a>TQApplication::~TQApplication ()<tt> [virtual]</tt> </h3> Cleans up any window system resources that were allocated by this -application. Sets the global variable <tt>qApp</tt> to 0. +application. Sets the global variable <tt>tqApp</tt> to 0. <h3 class=fn>void <a name="aboutTQt"></a>TQApplication::aboutTQt ()<tt> [slot]</tt> </h3> @@ -672,7 +672,7 @@ and a few more options. <p> If you run <tt>showargs -display unix:0 -font 9x15bold hello world</tt> under X11, the list box contains the three strings "showargs", "hello" and "world". -<p> TQt provides a global pointer, <tt>qApp</tt>, that points to the +<p> TQt provides a global pointer, <tt>tqApp</tt>, that points to the TQApplication object, and through which you can access <a href="#argc">argc</a>() and <a href="#argv">argv</a>() in functions other than main(). <p> <p>See also <a href="#argc">argc</a>() and <a href="#TQApplication">TQApplication::TQApplication</a>(). @@ -1801,12 +1801,12 @@ line number if <em>test</em> is FALSE. </pre> <p> If <tt>b</tt> is zero, the Q_ASSERT statement will output the following -message using the <a href="#qWarning">qWarning</a>() function: +message using the <a href="#qWarning">tqWarning</a>() function: <pre> ASSERT: "b != 0" in div.cpp (9) </pre> -<p> <p>See also <a href="#qWarning">qWarning</a>() and <a href="debug.html">Debugging</a>. +<p> <p>See also <a href="#qWarning">tqWarning</a>() and <a href="debug.html">Debugging</a>. <h3 class=fn>void <a name="TQ_CHECK_PTR"></a>TQ_CHECK_PTR ( void * p ) </h3> @@ -1825,9 +1825,9 @@ name and line number, saying that the program ran out of memory. <a href="#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( a ); </pre> -<p> <p>See also <a href="#qWarning">qWarning</a>() and <a href="debug.html">Debugging</a>. +<p> <p>See also <a href="#qWarning">tqWarning</a>() and <a href="debug.html">Debugging</a>. -<h3 class=fn>void <a name="qAddPostRoutine"></a>qAddPostRoutine ( TQtCleanUpFunction p ) +<h3 class=fn>void <a name="qAddPostRoutine"></a>tqAddPostRoutine ( TQtCleanUpFunction p ) </h3> <p> Adds a global routine that will be called from the TQApplication @@ -1847,12 +1847,12 @@ nothing, like this: void init_ptr() { global_ptr = new int[100]; // allocate data - <a href="#qAddPostRoutine">qAddPostRoutine</a>( cleanup_ptr ); // delete later + <a href="#qAddPostRoutine">tqAddPostRoutine</a>( cleanup_ptr ); // delete later } </pre> <p> Note that for an application- or module-wide cleanup, -<a href="#qAddPostRoutine">qAddPostRoutine</a>() is often not suitable. People have a tendency to +<a href="#qAddPostRoutine">tqAddPostRoutine</a>() is often not suitable. People have a tendency to make such modules dynamically loaded, and then unload those modules long before the TQApplication destructor is called, for example. <p> For modules and libraries, using a reference-counted initialization @@ -1883,7 +1883,7 @@ to call a cleanup function at the right time: <p> By selecting the right parent widget/object, this can often be made to clean up the module's data at the exact right moment. -<h3 class=fn>void <a name="qDebug"></a>qDebug ( const char * msg, ... ) +<h3 class=fn>void <a name="qDebug"></a>tqDebug ( const char * msg, ... ) </h3> <p> @@ -1893,7 +1893,7 @@ has been installed). similar to the C printf() function. <p> Example: <pre> - <a href="#qDebug">qDebug</a>( "my window handle = %x", myWidget->id() ); + <a href="#qDebug">tqDebug</a>( "my window handle = %x", myWidget->id() ); </pre> <p> Under X11, the text is printed to stderr. Under Windows, the text @@ -1902,9 +1902,9 @@ is sent to the debugger. the '\0'-terminator). <p> <b>Warning:</b> Passing (const char *)0 as argument to tqDebug might lead to crashes on certain platforms due to the platforms printf implementation. -<p> <p>See also <a href="#qWarning">qWarning</a>(), <a href="#qFatal">qFatal</a>(), <a href="#qInstallMsgHandler">qInstallMsgHandler</a>(), and <a href="debug.html">Debugging</a>. +<p> <p>See also <a href="#qWarning">tqWarning</a>(), <a href="#qFatal">tqFatal</a>(), <a href="#qInstallMsgHandler">qInstallMsgHandler</a>(), and <a href="debug.html">Debugging</a>. -<h3 class=fn>void <a name="qFatal"></a>qFatal ( const char * msg, ... ) +<h3 class=fn>void <a name="qFatal"></a>tqFatal ( const char * msg, ... ) </h3> <p> @@ -1917,7 +1917,7 @@ similar to the C printf() function. int divide( int a, int b ) { if ( b == 0 ) // program error - <a href="#qFatal">qFatal</a>( "divide: cannot divide by zero" ); + <a href="#qFatal">tqFatal</a>( "divide: cannot divide by zero" ); return a/b; } </pre> @@ -1928,7 +1928,7 @@ is sent to the debugger. the '\0'-terminator). <p> <b>Warning:</b> Passing (const char *)0 as argument to tqFatal might lead to crashes on certain platforms due to the platforms printf implementation. -<p> <p>See also <a href="#qDebug">qDebug</a>(), <a href="#qWarning">qWarning</a>(), <a href="#qInstallMsgHandler">qInstallMsgHandler</a>(), and <a href="debug.html">Debugging</a>. +<p> <p>See also <a href="#qDebug">tqDebug</a>(), <a href="#qWarning">tqWarning</a>(), <a href="#qInstallMsgHandler">qInstallMsgHandler</a>(), and <a href="debug.html">Debugging</a>. <h3 class=fn>TQtMsgHandler <a name="qInstallMsgHandler"></a>qInstallMsgHandler ( TQtMsgHandler h ) </h3> @@ -1977,19 +1977,19 @@ done on an application-wide basis to control debug output. } </pre> -<p> <p>See also <a href="#qDebug">qDebug</a>(), <a href="#qWarning">qWarning</a>(), <a href="#qFatal">qFatal</a>(), and <a href="debug.html">Debugging</a>. +<p> <p>See also <a href="#qDebug">tqDebug</a>(), <a href="#qWarning">tqWarning</a>(), <a href="#qFatal">tqFatal</a>(), and <a href="debug.html">Debugging</a>. -<h3 class=fn>bool <a name="qSysInfo"></a>qSysInfo ( int * wordSize, bool * bigEndian ) +<h3 class=fn>bool <a name="qSysInfo"></a>tqSysInfo ( int * wordSize, bool * bigEndian ) </h3> <p> Obtains information about the system. <p> The system's word size in bits (typically 32) is returned in <em>*wordSize</em>. The <em>*bigEndian</em> is set to TRUE if this is a big-endian machine, or to FALSE if this is a little-endian machine. -<p> In debug mode, this function calls <a href="#qFatal">qFatal</a>() with a message if the +<p> In debug mode, this function calls <a href="#qFatal">tqFatal</a>() with a message if the computer is truly weird (i.e. different endianness for 16 bit and 32 bit integers); in release mode it returns FALSE. -<h3 class=fn>void <a name="qSystemWarning"></a>qSystemWarning ( const char * msg, int code ) +<h3 class=fn>void <a name="qSystemWarning"></a>tqSystemWarning ( const char * msg, int code ) </h3> <p> Prints the message <em>msg</em> and uses <em>code</em> to get a system specific @@ -1999,7 +1999,7 @@ failures in platform specific API calls. <p> This function does nothing when TQt is built with <tt>QT_NO_DEBUG</tt> defined. -<h3 class=fn>const char * <a name="qVersion"></a>qVersion () +<h3 class=fn>const char * <a name="qVersion"></a>tqVersion () </h3> <p> Returns the TQt version number as a string, for example, "2.3.0" or @@ -2008,7 +2008,7 @@ defined. 0xmmiibb (m = major, i = minor, b = bugfix). For example, TQt 3.0.5's <tt>TQT_VERSION</tt> is 0x030005. -<h3 class=fn>void <a name="qWarning"></a>qWarning ( const char * msg, ... ) +<h3 class=fn>void <a name="qWarning"></a>tqWarning ( const char * msg, ... ) </h3> <p> @@ -2021,7 +2021,7 @@ similar to the C printf() function. void f( int c ) { if ( c > 200 ) - <a href="#qWarning">qWarning</a>( "f: bad argument, c == %d", c ); + <a href="#qWarning">tqWarning</a>( "f: bad argument, c == %d", c ); } </pre> @@ -2031,7 +2031,7 @@ is sent to the debugger. the '\0'-terminator). <p> <b>Warning:</b> Passing (const char *)0 as argument to tqWarning might lead to crashes on certain platforms due to the platforms printf implementation. -<p> <p>See also <a href="#qDebug">qDebug</a>(), <a href="#qFatal">qFatal</a>(), <a href="#qInstallMsgHandler">qInstallMsgHandler</a>(), and <a href="debug.html">Debugging</a>. +<p> <p>See also <a href="#qDebug">tqDebug</a>(), <a href="#qFatal">tqFatal</a>(), <a href="#qInstallMsgHandler">qInstallMsgHandler</a>(), and <a href="debug.html">Debugging</a>. <!-- eof --> <hr><p> diff --git a/doc/html/ntqasciicache.html b/doc/html/ntqasciicache.html index 561b1fea3..13df1f01c 100644 --- a/doc/html/ntqasciicache.html +++ b/doc/html/ntqasciicache.html @@ -217,7 +217,7 @@ This should be a bit bigger than <a href="#count">count</a>() is likely to be. </h3> <p> A debug-only utility function. Prints out cache usage, hit/miss, -and distribution information using <a href="ntqapplication.html#qDebug">qDebug</a>(). This function does +and distribution information using <a href="ntqapplication.html#qDebug">tqDebug</a>(). This function does nothing in the release library. <h3 class=fn>type * <a name="take"></a>TQAsciiCache::take ( const char * k ) diff --git a/doc/html/ntqasciidict.html b/doc/html/ntqasciidict.html index 6f943da08..460792d7f 100644 --- a/doc/html/ntqasciidict.html +++ b/doc/html/ntqasciidict.html @@ -290,7 +290,7 @@ constructor). </h3> <p> Debugging-only function that prints out the dictionary -distribution using <a href="ntqapplication.html#qDebug">qDebug</a>(). +distribution using <a href="ntqapplication.html#qDebug">tqDebug</a>(). <h3 class=fn>type * <a name="take"></a>TQAsciiDict::take ( const char * key ) </h3> diff --git a/doc/html/ntqcache.html b/doc/html/ntqcache.html index 1d5d8ed33..ed557bf54 100644 --- a/doc/html/ntqcache.html +++ b/doc/html/ntqcache.html @@ -244,7 +244,7 @@ This should be a bit bigger than <a href="#count">count</a>() is likely to be. </h3> <p> A debug-only utility function. Prints out cache usage, hit/miss, -and distribution information using <a href="ntqapplication.html#qDebug">qDebug</a>(). This function does +and distribution information using <a href="ntqapplication.html#qDebug">tqDebug</a>(). This function does nothing in the release library. <h3 class=fn>type * <a name="take"></a>TQCache::take ( const <a href="ntqstring.html">TQString</a> & k ) diff --git a/doc/html/ntqclipboard.html b/doc/html/ntqclipboard.html index 74f235ff3..2ce95aff3 100644 --- a/doc/html/ntqclipboard.html +++ b/doc/html/ntqclipboard.html @@ -91,7 +91,7 @@ access it using <a href="ntqapplication.html#clipboard">TQApplication::clipboard // Copy text from the clipboard (paste) <a href="ntqstring.html">TQString</a> text = cb-><a href="#text">text</a>(TQClipboard::<a href="#Mode-enum">Clipboard</a>); if ( !text.<a href="ntqstring.html#isNull">isNull</a>() ) - <a href="ntqapplication.html#qDebug">qDebug</a>( "The clipboard contains: " + text ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( "The clipboard contains: " + text ); // Copy text into the clipboard cb-><a href="#setText">setText</a>( "This text can be pasted by other programs", diff --git a/doc/html/ntqcolor.html b/doc/html/ntqcolor.html index 465af1901..ba7d399fa 100644 --- a/doc/html/ntqcolor.html +++ b/doc/html/ntqcolor.html @@ -85,14 +85,14 @@ body { background: #ffffff; color: black; } <ul> <li class=fn>TQDataStream & <a href="#operator-lt-lt"><b>operator<<</b></a> ( TQDataStream & s, const TQColor & c )</li> <li class=fn>TQDataStream & <a href="#operator-gt-gt"><b>operator>></b></a> ( TQDataStream & s, TQColor & c )</li> -<li class=fn>int <a href="#qRed"><b>qRed</b></a> ( TQRgb rgb )</li> -<li class=fn>int <a href="#qGreen"><b>qGreen</b></a> ( TQRgb rgb )</li> -<li class=fn>int <a href="#qBlue"><b>qBlue</b></a> ( TQRgb rgb )</li> -<li class=fn>int <a href="#qAlpha"><b>qAlpha</b></a> ( TQRgb rgba )</li> -<li class=fn>TQRgb <a href="#qRgb"><b>qRgb</b></a> ( int r, int g, int b )</li> -<li class=fn>TQRgb <a href="#qRgba"><b>qRgba</b></a> ( int r, int g, int b, int a )</li> -<li class=fn>int <a href="#qGray"><b>qGray</b></a> ( int r, int g, int b )</li> -<li class=fn>int <a href="#qGray-2"><b>qGray</b></a> ( tqRgb rgb )</li> +<li class=fn>int <a href="#qRed"><b>tqRed</b></a> ( TQRgb rgb )</li> +<li class=fn>int <a href="#qGreen"><b>tqGreen</b></a> ( TQRgb rgb )</li> +<li class=fn>int <a href="#qBlue"><b>tqBlue</b></a> ( TQRgb rgb )</li> +<li class=fn>int <a href="#qAlpha"><b>tqAlpha</b></a> ( TQRgb rgba )</li> +<li class=fn>TQRgb <a href="#qRgb"><b>tqRgb</b></a> ( int r, int g, int b )</li> +<li class=fn>TQRgb <a href="#qRgba"><b>tqRgba</b></a> ( int r, int g, int b, int a )</li> +<li class=fn>int <a href="#qGray"><b>tqGray</b></a> ( int r, int g, int b )</li> +<li class=fn>int <a href="#qGray-2"><b>tqGray</b></a> ( tqRgb rgb )</li> </ul> <hr><a name="details"></a><h2>Detailed Description</h2> @@ -490,7 +490,7 @@ but the value is an arbitrary 32-bit value. <p> The return type <em>TQRgb</em> is equivalent to <tt>unsigned</tt> <tt>int</tt>. <p> For an invalid color, the alpha value of the returned color is unspecified. -<p> <p>See also <a href="#setRgb">setRgb</a>(), <a href="#hsv">hsv</a>(), <a href="#qRed">qRed</a>(), <a href="#qBlue">qBlue</a>(), <a href="#qGreen">qGreen</a>(), and <a href="#isValid">isValid</a>(). +<p> <p>See also <a href="#setRgb">setRgb</a>(), <a href="#hsv">hsv</a>(), <a href="#qRed">tqRed</a>(), <a href="#qBlue">tqBlue</a>(), <a href="#qGreen">tqGreen</a>(), and <a href="#isValid">isValid</a>(). <h3 class=fn>void <a name="rgb-2"></a>TQColor::rgb ( int * r, int * g, int * b ) const </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. @@ -548,20 +548,20 @@ Writes a color object, <em>c</em> to the stream, <em>s</em>. Reads a color object, <em>c</em>, from the stream, <em>s</em>. <p> <p>See also <a href="datastreamformat.html">Format of the TQDataStream operators</a>. -<h3 class=fn>int <a name="qAlpha"></a>qAlpha ( TQRgb rgba ) +<h3 class=fn>int <a name="qAlpha"></a>tqAlpha ( TQRgb rgba ) </h3> <p> Returns the alpha component of the RGBA quadruplet <em>rgba</em>. -<h3 class=fn>int <a name="qBlue"></a>qBlue ( TQRgb rgb ) +<h3 class=fn>int <a name="qBlue"></a>tqBlue ( TQRgb rgb ) </h3> <p> Returns the blue component of the RGB triplet <em>rgb</em>. -<p>See also <a href="#qRgb">qRgb</a>() and <a href="#blue">TQColor::blue</a>(). +<p>See also <a href="#qRgb">tqRgb</a>() and <a href="#blue">TQColor::blue</a>(). -<h3 class=fn>int <a name="qGray"></a>qGray ( int r, int g, int b ) +<h3 class=fn>int <a name="qGray"></a>tqGray ( int r, int g, int b ) </h3> @@ -569,41 +569,41 @@ Reads a color object, <em>c</em>, from the stream, <em>s</em>. <p> The gray value is calculated using the formula (r*11 + g*16 + b*5)/32. -<h3 class=fn>int <a name="qGray-2"></a>qGray ( tqRgb rgb ) +<h3 class=fn>int <a name="qGray-2"></a>tqGray ( tqRgb rgb ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> <p> Returns a gray value 0..255 from the given <em>rgb</em> colour. -<h3 class=fn>int <a name="qGreen"></a>qGreen ( TQRgb rgb ) +<h3 class=fn>int <a name="qGreen"></a>tqGreen ( TQRgb rgb ) </h3> <p> Returns the green component of the RGB triplet <em>rgb</em>. -<p>See also <a href="#qRgb">qRgb</a>() and <a href="#green">TQColor::green</a>(). +<p>See also <a href="#qRgb">tqRgb</a>() and <a href="#green">TQColor::green</a>(). -<h3 class=fn>int <a name="qRed"></a>qRed ( TQRgb rgb ) +<h3 class=fn>int <a name="qRed"></a>tqRed ( TQRgb rgb ) </h3> <p> Returns the red component of the RGB triplet <em>rgb</em>. -<p>See also <a href="#qRgb">qRgb</a>() and <a href="#red">TQColor::red</a>(). +<p>See also <a href="#qRgb">tqRgb</a>() and <a href="#red">TQColor::red</a>(). -<h3 class=fn>TQRgb <a name="qRgb"></a>qRgb ( int r, int g, int b ) +<h3 class=fn>TQRgb <a name="qRgb"></a>tqRgb ( int r, int g, int b ) </h3> <p> Returns the RGB triplet <em>(r,g,b)</em>. <p> The return type TQRgb is equivalent to <tt>unsigned</tt> <tt>int</tt>. -<p> <p>See also <a href="#qRgba">qRgba</a>(), <a href="#qRed">qRed</a>(), <a href="#qGreen">qGreen</a>(), and <a href="#qBlue">qBlue</a>(). +<p> <p>See also <a href="#qRgba">tqRgba</a>(), <a href="#qRed">tqRed</a>(), <a href="#qGreen">tqGreen</a>(), and <a href="#qBlue">tqBlue</a>(). -<h3 class=fn>TQRgb <a name="qRgba"></a>qRgba ( int r, int g, int b, int a ) +<h3 class=fn>TQRgb <a name="qRgba"></a>tqRgba ( int r, int g, int b, int a ) </h3> <p> Returns the RGBA quadruplet <em>(r,g,b,a)</em>. <p> The return type TQRgba is equivalent to <tt>unsigned</tt> <tt>int</tt>. -<p> <p>See also <a href="#qRgb">qRgb</a>(), <a href="#qRed">qRed</a>(), <a href="#qGreen">qGreen</a>(), and <a href="#qBlue">qBlue</a>(). +<p> <p>See also <a href="#qRgb">tqRgb</a>(), <a href="#qRed">tqRed</a>(), <a href="#qGreen">tqGreen</a>(), and <a href="#qBlue">tqBlue</a>(). <!-- eof --> <hr><p> diff --git a/doc/html/ntqcstring.html b/doc/html/ntqcstring.html index d80baeffa..ad5025861 100644 --- a/doc/html/ntqcstring.html +++ b/doc/html/ntqcstring.html @@ -107,15 +107,15 @@ zero-terminated char array (char *). </ul> <h2>Related Functions</h2> <ul> -<li class=fn>void * <a href="#qmemmove"><b>qmemmove</b></a> ( void * dst, const void * src, uint len )</li> -<li class=fn>char * <a href="#qstrdup"><b>qstrdup</b></a> ( const char * src )</li> +<li class=fn>void * <a href="#qmemmove"><b>tqmemmove</b></a> ( void * dst, const void * src, uint len )</li> +<li class=fn>char * <a href="#qstrdup"><b>tqstrdup</b></a> ( const char * src )</li> <li class=fn>char * <a href="#qstrcpy"><b>qstrcpy</b></a> ( char * dst, const char * src )</li> -<li class=fn>char * <a href="#qstrncpy"><b>qstrncpy</b></a> ( char * dst, const char * src, uint len )</li> -<li class=fn>uint <a href="#qstrlen"><b>qstrlen</b></a> ( const char * str )</li> +<li class=fn>char * <a href="#qstrncpy"><b>tqstrncpy</b></a> ( char * dst, const char * src, uint len )</li> +<li class=fn>uint <a href="#qstrlen"><b>tqstrlen</b></a> ( const char * str )</li> <li class=fn>int <a href="#qstrcmp"><b>qstrcmp</b></a> ( const char * str1, const char * str2 )</li> -<li class=fn>int <a href="#qstrncmp"><b>qstrncmp</b></a> ( const char * str1, const char * str2, uint len )</li> -<li class=fn>int <a href="#qstricmp"><b>qstricmp</b></a> ( const char * str1, const char * str2 )</li> -<li class=fn>int <a href="#qstrnicmp"><b>qstrnicmp</b></a> ( const char * str1, const char * str2, uint len )</li> +<li class=fn>int <a href="#qstrncmp"><b>tqstrncmp</b></a> ( const char * str1, const char * str2, uint len )</li> +<li class=fn>int <a href="#qstricmp"><b>tqstricmp</b></a> ( const char * str1, const char * str2 )</li> +<li class=fn>int <a href="#qstrnicmp"><b>tqstrnicmp</b></a> ( const char * str1, const char * str2, uint len )</li> <li class=fn>TQDataStream & <a href="#operator-lt-lt"><b>operator<<</b></a> ( TQDataStream & s, const TQCString & str )</li> <li class=fn>TQDataStream & <a href="#operator-gt-gt"><b>operator>></b></a> ( TQDataStream & s, TQCString & str )</li> <li class=fn>bool <a href="#operator-eq-eq"><b>operator==</b></a> ( const TQCString & s1, const TQCString & s2 )</li> @@ -1000,7 +1000,7 @@ returns FALSE. <p> Reads a string into <em>str</em> from the stream <em>s</em>. <p> <p>See also <a href="datastreamformat.html">Format of the TQDataStream operators</a>. -<h3 class=fn>void * <a name="qmemmove"></a>qmemmove ( void * dst, const void * src, uint len ) +<h3 class=fn>void * <a name="qmemmove"></a>tqmemmove ( void * dst, const void * src, uint len ) </h3> <p> This function is normally part of the C library. TQt implements @@ -1019,7 +1019,7 @@ positive value if <em>str1</em> is greater than <em>str2</em>. <p> Special case I: Returns 0 if <em>str1</em> and <em>str2</em> are both 0. <p> Special case II: Returns a random nonzero value if <em>str1</em> is 0 or <em>str2</em> is 0 (but not both). -<p> <p>See also <a href="#qstrncmp">qstrncmp</a>(), <a href="#qstricmp">qstricmp</a>(), <a href="#qstrnicmp">qstrnicmp</a>(), and <a href="#asciinotion">Note on character comparisons</a>. +<p> <p>See also <a href="#qstrncmp">tqstrncmp</a>(), <a href="#qstricmp">tqstricmp</a>(), <a href="#qstrnicmp">tqstrnicmp</a>(), and <a href="#asciinotion">Note on character comparisons</a>. <h3 class=fn>char * <a name="qstrcpy"></a>qstrcpy ( char * dst, const char * src ) </h3> @@ -1029,7 +1029,7 @@ or <em>str2</em> is 0 (but not both). <p> Copies all characters up to and including the '\0' from <em>src</em> into <em>dst</em> and returns a pointer to <em>dst</em>. -<h3 class=fn>char * <a name="qstrdup"></a>qstrdup ( const char * src ) +<h3 class=fn>char * <a name="qstrdup"></a>tqstrdup ( const char * src ) </h3> <p> Returns a duplicate string. @@ -1037,7 +1037,7 @@ into <em>dst</em> and returns a pointer to <em>dst</em>. pointer to the copy. If <em>src</em> is 0, it immediately returns 0. <p> The returned string must be deleted using <tt>delete[]</tt>. -<h3 class=fn>int <a name="qstricmp"></a>qstricmp ( const char * str1, const char * str2 ) +<h3 class=fn>int <a name="qstricmp"></a>tqstricmp ( const char * str1, const char * str2 ) </h3> <p> A safe stricmp() function. @@ -1047,9 +1047,9 @@ than <em>str2</em>. <p> Special case I: Returns 0 if <em>str1</em> and <em>str2</em> are both 0. <p> Special case II: Returns a random nonzero value if <em>str1</em> is 0 or <em>str2</em> is 0 (but not both). -<p> <p>See also <a href="#qstrcmp">qstrcmp</a>(), <a href="#qstrncmp">qstrncmp</a>(), <a href="#qstrnicmp">qstrnicmp</a>(), and <a href="#asciinotion">Note on character comparisons</a>. +<p> <p>See also <a href="#qstrcmp">qstrcmp</a>(), <a href="#qstrncmp">tqstrncmp</a>(), <a href="#qstrnicmp">tqstrnicmp</a>(), and <a href="#asciinotion">Note on character comparisons</a>. -<h3 class=fn>uint <a name="qstrlen"></a>qstrlen ( const char * str ) +<h3 class=fn>uint <a name="qstrlen"></a>tqstrlen ( const char * str ) </h3> <p> @@ -1057,7 +1057,7 @@ or <em>str2</em> is 0 (but not both). <p> Returns the number of characters that precede the terminating '\0'. or 0 if <em>str</em> is 0. -<h3 class=fn>int <a name="qstrncmp"></a>qstrncmp ( const char * str1, const char * str2, uint len ) +<h3 class=fn>int <a name="qstrncmp"></a>tqstrncmp ( const char * str1, const char * str2, uint len ) </h3> <p> @@ -1068,9 +1068,9 @@ than <em>str2</em>. <p> Special case I: Returns 0 if <em>str1</em> and <em>str2</em> are both 0. <p> Special case II: Returns a random nonzero value if <em>str1</em> is 0 or <em>str2</em> is 0 (but not both). -<p> <p>See also <a href="#qstrcmp">qstrcmp</a>(), <a href="#qstricmp">qstricmp</a>(), <a href="#qstrnicmp">qstrnicmp</a>(), and <a href="#asciinotion">Note on character comparisons</a>. +<p> <p>See also <a href="#qstrcmp">qstrcmp</a>(), <a href="#qstricmp">tqstricmp</a>(), <a href="#qstrnicmp">tqstrnicmp</a>(), and <a href="#asciinotion">Note on character comparisons</a>. -<h3 class=fn>char * <a name="qstrncpy"></a>qstrncpy ( char * dst, const char * src, uint len ) +<h3 class=fn>char * <a name="qstrncpy"></a>tqstrncpy ( char * dst, const char * src, uint len ) </h3> <p> A safe strncpy() function. @@ -1080,7 +1080,7 @@ pointer to <em>dst</em>. Guarantees that <em>dst</em> is '\0'-terminated. If <em>src</em> or <em>dst</em> is 0, returns 0 immediately. <p> <p>See also <a href="#qstrcpy">qstrcpy</a>(). -<h3 class=fn>int <a name="qstrnicmp"></a>qstrnicmp ( const char * str1, const char * str2, uint len ) +<h3 class=fn>int <a name="qstrnicmp"></a>tqstrnicmp ( const char * str1, const char * str2, uint len ) </h3> <p> A safe strnicmp() function. @@ -1090,7 +1090,7 @@ is equal to <em>str2</em> or a positive value if <em>str1</em> is greater than < <p> Special case I: Returns 0 if <em>str1</em> and <em>str2</em> are both 0. <p> Special case II: Returns a random nonzero value if <em>str1</em> is 0 or <em>str2</em> is 0 (but not both). -<p> <p>See also <a href="#qstrcmp">qstrcmp</a>(), <a href="#qstrncmp">qstrncmp</a>(), <a href="#qstricmp">qstricmp</a>(), and <a href="#asciinotion">Note on character comparisons</a>. +<p> <p>See also <a href="#qstrcmp">qstrcmp</a>(), <a href="#qstrncmp">tqstrncmp</a>(), <a href="#qstricmp">tqstricmp</a>(), and <a href="#asciinotion">Note on character comparisons</a>. <!-- eof --> <hr><p> diff --git a/doc/html/ntqdatetime.html b/doc/html/ntqdatetime.html index 614c23be5..379b5f831 100644 --- a/doc/html/ntqdatetime.html +++ b/doc/html/ntqdatetime.html @@ -245,7 +245,7 @@ is negative if <em>dt</em> is earlier than this datetime). <pre> TQDateTime dt = TQDateTime::<a href="#currentDateTime">currentDateTime</a>(); TQDateTime xmas( TQDate(dt.<a href="#date">date</a>().year(),12,24), TQTime(17,00) ); - <a href="ntqapplication.html#qDebug">qDebug</a>( "There are %d seconds to Christmas", dt.<a href="#secsTo">secsTo</a>(xmas) ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( "There are %d seconds to Christmas", dt.<a href="#secsTo">secsTo</a>(xmas) ); </pre> <p> <p>See also <a href="#addSecs">addSecs</a>(), <a href="#daysTo">daysTo</a>(), and <a href="qtime.html#secsTo">TQTime::secsTo</a>(). diff --git a/doc/html/ntqdict.html b/doc/html/ntqdict.html index 1ef14852f..f430efaa2 100644 --- a/doc/html/ntqdict.html +++ b/doc/html/ntqdict.html @@ -364,7 +364,7 @@ constructor). </h3> <p> Debugging-only function that prints out the dictionary -distribution using <a href="ntqapplication.html#qDebug">qDebug</a>(). +distribution using <a href="ntqapplication.html#qDebug">tqDebug</a>(). <h3 class=fn>type * <a name="take"></a>TQDict::take ( const <a href="ntqstring.html">TQString</a> & key ) </h3> diff --git a/doc/html/ntqdir.html b/doc/html/ntqdir.html index 22feca597..5066c4f95 100644 --- a/doc/html/ntqdir.html +++ b/doc/html/ntqdir.html @@ -166,18 +166,18 @@ for a function in the underlying operating system use <pre> TQDir d( "example" ); // "./example" if ( !d.<a href="#exists">exists</a>() ) - <a href="ntqapplication.html#qWarning">qWarning</a>( "Cannot find the example directory" ); + <a href="ntqapplication.html#qWarning">tqWarning</a>( "Cannot find the example directory" ); </pre> <p> Traversing directories and reading a file. <pre> TQDir d = TQDir::<a href="#root">root</a>(); // "/" if ( !d.<a href="#cd">cd</a>("tmp") ) { // "/tmp" - <a href="ntqapplication.html#qWarning">qWarning</a>( "Cannot find the \"/tmp\" directory" ); + <a href="ntqapplication.html#qWarning">tqWarning</a>( "Cannot find the \"/tmp\" directory" ); } else { <a href="ntqfile.html">TQFile</a> f( d.<a href="#filePath">filePath</a>("ex1.txt") ); // "/tmp/ex1.txt" if ( !f.<a href="ntqfile.html#open">open</a>(IO_ReadWrite) ) - <a href="ntqapplication.html#qWarning">qWarning</a>( "Cannot create the file %s", f.<a href="ntqfile.html#name">name</a>() ); + <a href="ntqapplication.html#qWarning">tqWarning</a>( "Cannot create the file %s", f.<a href="ntqfile.html#name">name</a>() ); } </pre> @@ -584,7 +584,7 @@ this function returns FALSE. If you want to test for this use TQDir d( "/tmp/root_link" ); d = d.<a href="#canonicalPath">canonicalPath</a>(); if ( d.<a href="#isRoot">isRoot</a>() ) - <a href="ntqapplication.html#qWarning">qWarning</a>( "It is a root link" ); + <a href="ntqapplication.html#qWarning">tqWarning</a>( "It is a root link" ); </pre> <p> <p>See also <a href="#root">root</a>() and <a href="#rootDirPath">rootDirPath</a>(). @@ -640,7 +640,7 @@ FALSE. TQDir d1( "/usr/local/bin" ); TQDir d2( "bin" ); if ( d1 != d2 ) - <a href="ntqapplication.html#qDebug">qDebug</a>( "They differ" ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( "They differ" ); </pre> @@ -665,7 +665,7 @@ returns FALSE. TQDir d2( "bin" ); d2.<a href="#convertToAbs">convertToAbs</a>(); if ( d1 == d2 ) - <a href="ntqapplication.html#qDebug">qDebug</a>( "They're the same" ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( "They're the same" ); </pre> diff --git a/doc/html/ntqerrormessage.html b/doc/html/ntqerrormessage.html index 1876f4319..5e26f2164 100644 --- a/doc/html/ntqerrormessage.html +++ b/doc/html/ntqerrormessage.html @@ -64,7 +64,7 @@ TQErrorMessage like this, you create the dialog in the usual way and call the <a href="#message">message</a>() slot, or connect signals to it. <p> <li> For developers. In this context the static <a href="#qtHandler">qtHandler</a>() installs a message handler using <a href="ntqapplication.html#qInstallMsgHandler">qInstallMsgHandler</a>() and creates a TQErrorMessage -that displays <a href="ntqapplication.html#qDebug">qDebug</a>(), <a href="ntqapplication.html#qWarning">qWarning</a>() and <a href="ntqapplication.html#qFatal">qFatal</a>() messages. +that displays <a href="ntqapplication.html#qDebug">tqDebug</a>(), <a href="ntqapplication.html#qWarning">tqWarning</a>() and <a href="ntqapplication.html#qFatal">tqFatal</a>() messages. </ol> <p> In both cases TQErrorMessage will queue pending messages, and display them (or not) in order, as soon as the user presses Enter or clicks OK diff --git a/doc/html/ntqfileinfo.html b/doc/html/ntqfileinfo.html index 38038845e..0df6cb7b7 100644 --- a/doc/html/ntqfileinfo.html +++ b/doc/html/ntqfileinfo.html @@ -411,9 +411,9 @@ always returns TRUE. <pre> TQFileInfo fi( "/tmp/archive.tar.gz" ); if ( fi.<a href="#permission">permission</a>( TQFileInfo::<a href="#PermissionSpec-enum">WriteUser</a> | TQFileInfo::<a href="#PermissionSpec-enum">ReadGroup</a> ) ) - <a href="ntqapplication.html#qWarning">qWarning</a>( "I can change the file; my group can read the file" ); + <a href="ntqapplication.html#qWarning">tqWarning</a>( "I can change the file; my group can read the file" ); if ( fi.<a href="#permission">permission</a>( TQFileInfo::<a href="#PermissionSpec-enum">WriteGroup</a> | TQFileInfo::<a href="#PermissionSpec-enum">WriteOther</a> ) ) - <a href="ntqapplication.html#qWarning">qWarning</a>( "The group or others can change the file" ); + <a href="ntqapplication.html#qWarning">tqWarning</a>( "The group or others can change the file" ); </pre> <p> <p>See also <a href="#isReadable">isReadable</a>(), <a href="#isWritable">isWritable</a>(), and <a href="#isExecutable">isExecutable</a>(). diff --git a/doc/html/ntqfontdatabase.html b/doc/html/ntqfontdatabase.html index 81f0cd4bf..66cf97c71 100644 --- a/doc/html/ntqfontdatabase.html +++ b/doc/html/ntqfontdatabase.html @@ -115,7 +115,7 @@ int main( int argc, char **argv ) <a href="ntqstringlist.html">TQStringList</a> families = fdb.<a href="#families">families</a>(); for ( TQStringList::Iterator f = families.<a href="ntqvaluelist.html#begin">begin</a>(); f != families.<a href="ntqvaluelist.html#end">end</a>(); ++f ) { <a href="ntqstring.html">TQString</a> family = *f; - <a href="ntqapplication.html#qDebug">qDebug</a>( family ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( family ); <a href="ntqstringlist.html">TQStringList</a> styles = fdb.<a href="#styles">styles</a>( family ); for ( TQStringList::Iterator s = styles.<a href="ntqvaluelist.html#begin">begin</a>(); s != styles.<a href="ntqvaluelist.html#end">end</a>(); ++s ) { <a href="ntqstring.html">TQString</a> style = *s; @@ -126,7 +126,7 @@ int main( int argc, char **argv ) dstyle += TQString::<a href="ntqstring.html#number">number</a>( *points ) + " "; } dstyle = dstyle.<a href="ntqstring.html#left">left</a>( dstyle.<a href="ntqstring.html#length">length</a>() - 1 ) + ")"; - <a href="ntqapplication.html#qDebug">qDebug</a>( dstyle ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( dstyle ); } } return 0; diff --git a/doc/html/ntqftp.html b/doc/html/ntqftp.html index 405271789..f65d6ee28 100644 --- a/doc/html/ntqftp.html +++ b/doc/html/ntqftp.html @@ -108,7 +108,7 @@ example: </pre> <p> This code will only work if the TQFtp class is registered; to -register the class, you must call <a href="ntqurloperator.html#qInitNetworkProtocols">qInitNetworkProtocols</a>() before +register the class, you must call <a href="ntqurloperator.html#qInitNetworkProtocols">tqInitNetworkProtocols</a>() before using a TQUrlOperator with TQFtp. <p> The rest of this descrption describes the direct interface to FTP. <p> The class works asynchronously, so there are no blocking diff --git a/doc/html/ntqguardedptr.html b/doc/html/ntqguardedptr.html index 9d6f85029..691b1e36d 100644 --- a/doc/html/ntqguardedptr.html +++ b/doc/html/ntqguardedptr.html @@ -75,7 +75,7 @@ test the pointer for validity. if ( label) label->show(); else - <a href="ntqapplication.html#qDebug">qDebug</a>("The label has been destroyed"); + <a href="ntqapplication.html#qDebug">tqDebug</a>("The label has been destroyed"); </pre> <p> The program will output <tt>The label has been destroyed</tt> rather diff --git a/doc/html/ntqhttp.html b/doc/html/ntqhttp.html index 0b13c8fd4..047068798 100644 --- a/doc/html/ntqhttp.html +++ b/doc/html/ntqhttp.html @@ -103,7 +103,7 @@ example: </pre> <p> This code will only work if the TQHttp class is registered; to -register the class, you must call <a href="ntqurloperator.html#qInitNetworkProtocols">qInitNetworkProtocols</a>() before +register the class, you must call <a href="ntqurloperator.html#qInitNetworkProtocols">tqInitNetworkProtocols</a>() before using a TQUrlOperator with HTTP. <p> The TQNetworkProtocol interface for HTTP only supports the operations <a href="ntqnetworkprotocol.html#operationGet">operationGet</a>() and <a href="ntqnetworkprotocol.html#operationPut">operationPut</a>(), i.e. diff --git a/doc/html/ntqimage.html b/doc/html/ntqimage.html index 2e04c4c0f..678a44dba 100644 --- a/doc/html/ntqimage.html +++ b/doc/html/ntqimage.html @@ -160,7 +160,7 @@ data. 1-bpp and 8-bpp images use a color lookup table; the pixel value is a color table index. <p> 32-bpp images encode an RGB value in 24 bits and ignore the color table. The most significant byte is used for the <a href="#setAlphaBuffer">alpha buffer</a>. -<p> An entry in the color table is an RGB triplet encoded as a <tt>uint</tt>. Use the <a href="ntqcolor.html#qRed">qRed()</a>, <a href="ntqcolor.html#qGreen">qGreen()</a> and <a href="ntqcolor.html#qBlue">qBlue()</a> functions (<a href="qcolor-h.html">ntqcolor.h</a>) to access the components, and <a href="ntqcolor.html#qRgb">qRgb</a> to make an RGB triplet (see the <a href="ntqcolor.html">TQColor</a> class +<p> An entry in the color table is an RGB triplet encoded as a <tt>uint</tt>. Use the <a href="ntqcolor.html#qRed">tqRed()</a>, <a href="ntqcolor.html#qGreen">tqGreen()</a> and <a href="ntqcolor.html#qBlue">tqBlue()</a> functions (<a href="qcolor-h.html">ntqcolor.h</a>) to access the components, and <a href="ntqcolor.html#qRgb">tqRgb</a> to make an RGB triplet (see the <a href="ntqcolor.html">TQColor</a> class documentation). <p> 1-bpp (monochrome) images have a color table with a most two colors. There are two different formats: big endian (MSB first) or @@ -194,7 +194,7 @@ significant byte is reserved for the alpha buffer. TQImage image; // sets 32 bit pixel at (x,y) to yellow. uint *p = (uint *)image.<a href="#scanLine">scanLine</a>(y) + x; - *p = <a href="ntqcolor.html#qRgb">qRgb</a>(255,255,0); + *p = <a href="ntqcolor.html#qRgb">tqRgb</a>(255,255,0); </pre> <p> On TQt/Embedded, scanlines are aligned to the pixel depth and may @@ -384,7 +384,7 @@ to <a href="#numBytes">numBytes</a>()/height(). <p> Returns the color in the color table at index <em>i</em>. The first color is at index 0. -<p> A color value is an RGB triplet. Use the <a href="ntqcolor.html#qRed">qRed()</a>, <a href="ntqcolor.html#qGreen">qGreen()</a> and <a href="ntqcolor.html#qBlue">qBlue()</a> functions (defined in <a href="qcolor-h.html">ntqcolor.h</a>) to +<p> A color value is an RGB triplet. Use the <a href="ntqcolor.html#qRed">tqRed()</a>, <a href="ntqcolor.html#qGreen">tqGreen()</a> and <a href="ntqcolor.html#qBlue">tqBlue()</a> functions (defined in <a href="qcolor-h.html">ntqcolor.h</a>) to get the color value components. <p> <p>See also <a href="#setColor">setColor</a>(), <a href="#numColors">numColors</a>(), and <a href="ntqcolor.html">TQColor</a>. @@ -768,7 +768,7 @@ output. Returns the color of the pixel at the coordinates (<em>x</em>, <em>y</em>). <p> If (<em>x</em>, <em>y</em>) is not <a href="#valid">on the image</a>, the results are undefined. -<p> <p>See also <a href="#setPixel">setPixel</a>(), <a href="ntqcolor.html#qRed">qRed</a>(), <a href="ntqcolor.html#qGreen">qGreen</a>(), <a href="ntqcolor.html#qBlue">qBlue</a>(), and <a href="#valid">valid</a>(). +<p> <p>See also <a href="#setPixel">setPixel</a>(), <a href="ntqcolor.html#qRed">tqRed</a>(), <a href="ntqcolor.html#qGreen">tqGreen</a>(), <a href="ntqcolor.html#qBlue">tqBlue</a>(), and <a href="#valid">valid</a>(). <p>Examples: <a href="canvas-example.html#x2933">canvas/canvas.cpp</a> and <a href="qmag-example.html#x1776">qmag/qmag.cpp</a>. <h3 class=fn>int <a name="pixelIndex"></a>TQImage::pixelIndex ( int x, int y ) const @@ -869,8 +869,8 @@ returned. pointer to <tt>TQRgb*</tt> (TQRgb has a 32-bit size) and use it to read/write the pixel value. You cannot use the <tt>uchar*</tt> pointer directly, because the pixel format depends on the byte order on -the underlying platform. Hint: use <a href="ntqcolor.html#qRed">qRed()</a>, -<a href="ntqcolor.html#qGreen">qGreen()</a> and <a href="ntqcolor.html#qBlue">qBlue()</a>, etc. (ntqcolor.h) to access the pixels. +the underlying platform. Hint: use <a href="ntqcolor.html#qRed">tqRed()</a>, +<a href="ntqcolor.html#qGreen">tqGreen()</a> and <a href="ntqcolor.html#qBlue">tqBlue()</a>, etc. (ntqcolor.h) to access the pixels. <p> <b>Warning:</b> If you are accessing 16-bpp image data, you must handle endianness yourself. (TQt/Embedded only) <p> <p>See also <a href="#bytesPerLine">bytesPerLine</a>(), <a href="#bits">bits</a>(), and <a href="#jumpTable">jumpTable</a>(). @@ -897,7 +897,7 @@ to a <a href="ntqpixmap.html">TQPixmap</a>. </h3> <p> Sets a color in the color table at index <em>i</em> to <em>c</em>. -<p> A color value is an RGB triplet. Use the <a href="ntqcolor.html#qRgb">qRgb()</a> function (defined in <a href="qcolor-h.html">ntqcolor.h</a>) to make RGB +<p> A color value is an RGB triplet. Use the <a href="ntqcolor.html#qRgb">tqRgb()</a> function (defined in <a href="qcolor-h.html">ntqcolor.h</a>) to make RGB triplets. <p> <p>See also <a href="#color">color</a>(), <a href="#setNumColors">setNumColors</a>(), and <a href="#numColors">numColors</a>(). @@ -928,7 +928,7 @@ Sets the pixel index or color at the coordinates (<em>x</em>, <em>y</em>) to <p> If (<em>x</em>, <em>y</em>) is not <a href="#valid">valid</a>, the result is undefined. <p> If the image is a paletted image (<a href="#depth">depth</a>() <= 8) and <em>index_or_rgb</em> >= <a href="#numColors">numColors</a>(), the result is undefined. -<p> <p>See also <a href="#pixelIndex">pixelIndex</a>(), <a href="#pixel">pixel</a>(), <a href="ntqcolor.html#qRgb">qRgb</a>(), <a href="ntqcolor.html#qRgba">qRgba</a>(), and <a href="#valid">valid</a>(). +<p> <p>See also <a href="#pixelIndex">pixelIndex</a>(), <a href="#pixel">pixel</a>(), <a href="ntqcolor.html#qRgb">tqRgb</a>(), <a href="ntqcolor.html#qRgba">tqRgba</a>(), and <a href="#valid">valid</a>(). <h3 class=fn>void <a name="setText"></a>TQImage::setText ( const char * key, const char * lang, const <a href="ntqstring.html">TQString</a> & s ) </h3> diff --git a/doc/html/ntqintcache.html b/doc/html/ntqintcache.html index 89ed6f165..8bd43af2e 100644 --- a/doc/html/ntqintcache.html +++ b/doc/html/ntqintcache.html @@ -207,7 +207,7 @@ This should be a bit larger than <a href="#count">count</a>() is likely to be. </h3> <p> A debug-only utility function. Prints out cache usage, hit/miss, -and distribution information using <a href="ntqapplication.html#qDebug">qDebug</a>(). This function does +and distribution information using <a href="ntqapplication.html#qDebug">tqDebug</a>(). This function does nothing in the release library. <h3 class=fn>type * <a name="take"></a>TQIntCache::take ( long k ) diff --git a/doc/html/ntqintdict.html b/doc/html/ntqintdict.html index da3d16f61..ea0d4d463 100644 --- a/doc/html/ntqintdict.html +++ b/doc/html/ntqintdict.html @@ -277,7 +277,7 @@ constructor). </h3> <p> Debugging-only function that prints out the dictionary -distribution using <a href="ntqapplication.html#qDebug">qDebug</a>(). +distribution using <a href="ntqapplication.html#qDebug">tqDebug</a>(). <h3 class=fn>type * <a name="take"></a>TQIntDict::take ( long key ) </h3> diff --git a/doc/html/ntqlocalfs.html b/doc/html/ntqlocalfs.html index 007d0ea1c..7829c7ac9 100644 --- a/doc/html/ntqlocalfs.html +++ b/doc/html/ntqlocalfs.html @@ -58,7 +58,7 @@ example: </pre> <p> This code will only work if the TQLocalFs class is registered; to -register the class, you must call <a href="ntqurloperator.html#qInitNetworkProtocols">qInitNetworkProtocols</a>() before +register the class, you must call <a href="ntqurloperator.html#qInitNetworkProtocols">tqInitNetworkProtocols</a>() before using a TQUrlOperator with TQLocalFs. <p> If you really need to use TQLocalFs directly, don't forget to set its TQUrlOperator with <a href="ntqnetworkprotocol.html#setUrl">setUrl</a>(). diff --git a/doc/html/ntqmemarray.html b/doc/html/ntqmemarray.html index c20eeb6c3..a38a81172 100644 --- a/doc/html/ntqmemarray.html +++ b/doc/html/ntqmemarray.html @@ -84,7 +84,7 @@ body { background: #ffffff; color: black; } </ul> <h2>Related Functions</h2> <ul> -<li class=fn>TQ_UINT16 <a href="#qChecksum"><b>qChecksum</b></a> ( const char * data, uint len )</li> +<li class=fn>TQ_UINT16 <a href="#qChecksum"><b>tqChecksum</b></a> ( const char * data, uint len )</li> <li class=fn>TQDataStream & <a href="#operator-lt-lt"><b>operator<<</b></a> ( TQDataStream & s, const TQByteArray & a )</li> <li class=fn>TQDataStream & <a href="#operator-gt-gt"><b>operator>></b></a> ( TQDataStream & s, TQByteArray & a )</li> </ul> @@ -136,10 +136,10 @@ constructor). TQValueVector provides an STL-compatible syntax and is { TQMemArray<int> a = fib( 6 ); // get first 6 fibonaccis for ( int i = 0; i < a.<a href="#size">size</a>(); i++ ) - <a href="ntqapplication.html#qDebug">qDebug</a>( "%d: %d", i, a[i] ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( "%d: %d", i, a[i] ); - <a href="ntqapplication.html#qDebug">qDebug</a>( "1 is found %d times", a.<a href="#contains">contains</a>(1) ); - <a href="ntqapplication.html#qDebug">qDebug</a>( "5 is found at index %d", a.<a href="#find">find</a>(5) ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( "1 is found %d times", a.<a href="#contains">contains</a>(1) ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( "5 is found at index %d", a.<a href="#find">find</a>(5) ); return 0; } @@ -542,7 +542,7 @@ to the stream. reference to the stream. <p> <p>See also <a href="datastreamformat.html">Format of the TQDataStream operators</a>. -<h3 class=fn>TQ_UINT16 <a name="qChecksum"></a>qChecksum ( const char * data, uint len ) +<h3 class=fn>TQ_UINT16 <a name="qChecksum"></a>tqChecksum ( const char * data, uint len ) </h3> <p> Returns the CRC-16 checksum of <em>len</em> bytes starting at <em>data</em>. diff --git a/doc/html/ntqobject.html b/doc/html/ntqobject.html index d5d23adfd..06ecf97e6 100644 --- a/doc/html/ntqobject.html +++ b/doc/html/ntqobject.html @@ -522,7 +522,7 @@ TRUE; otherwise return FALSE. if ( obj == textEdit ) { if ( e->type() == TQEvent::KeyPress ) { <a href="qkeyevent.html">TQKeyEvent</a> *k = (TQKeyEvent*)ev; - <a href="ntqapplication.html#qDebug">qDebug</a>( "Ate key press %d", k-><a href="qkeyevent.html#key">key</a>() ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( "Ate key press %d", k-><a href="qkeyevent.html#key">key</a>() ); return TRUE; } else { return FALSE; @@ -616,7 +616,7 @@ monitored objects: if ( e->type() == TQEvent::KeyPress ) { // special processing for key press <a href="qkeyevent.html">TQKeyEvent</a> *k = (TQKeyEvent *)e; - <a href="ntqapplication.html#qDebug">qDebug</a>( "Ate key press %d", k-><a href="qkeyevent.html#key">key</a>() ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( "Ate key press %d", k-><a href="qkeyevent.html#key">key</a>() ); return TRUE; // eat event } else { // standard event processing @@ -859,7 +859,7 @@ used to find out which timer was activated. void MyObject::<a href="#timerEvent">timerEvent</a>( <a href="qtimerevent.html">TQTimerEvent</a> *e ) { - <a href="ntqapplication.html#qDebug">qDebug</a>( "timer event, id %d", e-><a href="qtimerevent.html#timerId">timerId</a>() ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( "timer event, id %d", e-><a href="qtimerevent.html#timerId">timerId</a>() ); } </pre> @@ -920,11 +920,11 @@ function. The object name is not very useful in the current version of TQt, but will become increasingly important in the future. <p> If the object does not have a name, the <a href="#name">name</a>() function returns -"unnamed", so printf() (used in <a href="ntqapplication.html#qDebug">qDebug</a>()) will not be asked to +"unnamed", so printf() (used in <a href="ntqapplication.html#qDebug">tqDebug</a>()) will not be asked to output a null pointer. If you want a null pointer to be returned for unnamed objects, you can call name( 0 ). <p> <pre> - <a href="ntqapplication.html#qDebug">qDebug</a>( "MyClass::setPrecision(): (%s) invalid precision %f", + <a href="ntqapplication.html#qDebug">tqDebug</a>( "MyClass::setPrecision(): (%s) invalid precision %f", <a href="#name">name</a>(), newPrecision ); </pre> diff --git a/doc/html/ntqptrdict.html b/doc/html/ntqptrdict.html index 3cfaf5b1d..33ea4eb05 100644 --- a/doc/html/ntqptrdict.html +++ b/doc/html/ntqptrdict.html @@ -281,7 +281,7 @@ constructor). </h3> <p> Debugging-only function that prints out the dictionary -distribution using <a href="ntqapplication.html#qDebug">qDebug</a>(). +distribution using <a href="ntqapplication.html#qDebug">tqDebug</a>(). <h3 class=fn>type * <a name="take"></a>TQPtrDict::take ( void * key ) </h3> diff --git a/doc/html/ntqsqlcursor.html b/doc/html/ntqsqlcursor.html index aaa3ad329..3fce85142 100644 --- a/doc/html/ntqsqlcursor.html +++ b/doc/html/ntqsqlcursor.html @@ -127,7 +127,7 @@ and the values returned by value() are undefined. <pre> TQSqlCursor cur( "staff" ); // Specify the table/view name <a name="x2178"></a> cur.<a href="#select">select</a>(); // We'll retrieve every record while ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { - <a name="x2179"></a> <a href="ntqapplication.html#qDebug">qDebug</a>( cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toString() + ": " + + <a name="x2179"></a> <a href="ntqapplication.html#qDebug">tqDebug</a>( cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toString() + ": " + cur.<a href="ntqsqlquery.html#value">value</a>( "surname" ).toString() + " " + cur.<a href="ntqsqlquery.html#value">value</a>( "salary" ).toString() ); } diff --git a/doc/html/ntqsqlquery.html b/doc/html/ntqsqlquery.html index 3f5e54fa5..9cda539c0 100644 --- a/doc/html/ntqsqlquery.html +++ b/doc/html/ntqsqlquery.html @@ -324,7 +324,7 @@ Returns a map of the bound values. TQMap<TQString, TQVariant>::ConstIterator it; <a href="ntqmap.html">TQMap</a><TQString, TQVariant> vals = query.<a href="#boundValues">boundValues</a>(); for ( it = vals.<a href="ntqmap.html#begin">begin</a>(); it != vals.<a href="ntqmap.html#end">end</a>(); ++it ) - <a href="ntqapplication.html#qWarning">qWarning</a>( "Placeholder: " + it.key() + ", Value: " + (*it).toString() ); + <a href="ntqapplication.html#qWarning">tqWarning</a>( "Placeholder: " + it.key() + ", Value: " + (*it).toString() ); ... // Examine the bound values - bound using positional binding @@ -332,7 +332,7 @@ Returns a map of the bound values. <a href="ntqvaluelist.html">TQValueList</a><TQVariant> list = query.<a href="#boundValues">boundValues</a>().values(); int i = 0; for ( it = list.<a href="ntqvaluelist.html#begin">begin</a>(); it != list.<a href="ntqvaluelist.html#end">end</a>(); ++it ) - <a href="ntqapplication.html#qWarning">qWarning</a>( "Placeholder pos: %d, Value: " + (*it).toString(), i++ ); + <a href="ntqapplication.html#qWarning">tqWarning</a>( "Placeholder pos: %d, Value: " + (*it).toString(), i++ ); ... </pre> diff --git a/doc/html/ntqstring.html b/doc/html/ntqstring.html index e15ba9ba0..6db0e307e 100644 --- a/doc/html/ntqstring.html +++ b/doc/html/ntqstring.html @@ -467,7 +467,7 @@ natural language sentences does not usually translate well into other languages because sentence structure and word order often differ between languages. <p> If there is no place marker (<tt>%1</tt>, <tt>%2</tt>, etc.), a warning -message (<a href="ntqapplication.html#qWarning">qWarning</a>()) is output and the result is undefined. +message (<a href="ntqapplication.html#qWarning">tqWarning</a>()) is output and the result is undefined. <p> <b>Warning:</b> If any placeholder occurs more than once, the result is undefined. <p> <h3 class=fn><a href="ntqstring.html">TQString</a> <a name="arg-2"></a>TQString::arg ( long a, int fieldWidth = 0, int base = 10 ) const diff --git a/doc/html/ntqthread.html b/doc/html/ntqthread.html index a28028fbe..8fc0e5660 100644 --- a/doc/html/ntqthread.html +++ b/doc/html/ntqthread.html @@ -90,7 +90,7 @@ run() to include your code. For example: { for( int count = 0; count < 20; count++ ) { <a href="#sleep">sleep</a>( 1 ); - <a href="ntqapplication.html#qDebug">qDebug</a>( "Ping!" ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( "Ping!" ); } } diff --git a/doc/html/ntqurloperator.html b/doc/html/ntqurloperator.html index 6a6d4c061..f8c8e0e6e 100644 --- a/doc/html/ntqurloperator.html +++ b/doc/html/ntqurloperator.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } </ul> <h2>Related Functions</h2> <ul> -<li class=fn>void <a href="#qInitNetworkProtocols"><b>qInitNetworkProtocols</b></a> ()</li> +<li class=fn>void <a href="#qInitNetworkProtocols"><b>tqInitNetworkProtocols</b></a> ()</li> </ul> <hr><a name="details"></a><h2>Detailed Description</h2> @@ -130,7 +130,7 @@ necessary network protocol is registered), the URL operator emits errors. Not every protocol supports every operation, but error handling deals with this problem. <p> To register the available network protocols, use the -<a href="#qInitNetworkProtocols">qInitNetworkProtocols</a>() function. The protocols currently +<a href="#qInitNetworkProtocols">tqInitNetworkProtocols</a>() function. The protocols currently supported are: <ul> <li> <a href="ntqftp.html">FTP</a>, @@ -492,7 +492,7 @@ Stops the current network operation and removes all this TQUrlOperator's waiting network operations. <hr><h2>Related Functions</h2> -<h3 class=fn>void <a name="qInitNetworkProtocols"></a>qInitNetworkProtocols () +<h3 class=fn>void <a name="qInitNetworkProtocols"></a>tqInitNetworkProtocols () </h3> <p> This function registers the network protocols for FTP and HTTP. diff --git a/doc/html/ntqvaluelist.html b/doc/html/ntqvaluelist.html index b40c10377..4d161c08d 100644 --- a/doc/html/ntqvaluelist.html +++ b/doc/html/ntqvaluelist.html @@ -213,7 +213,7 @@ list it belongs to, however it is <em>not</em> dereferenceable; <a href="ntqsize.html#operator*-4">operator*</a>() will not return a well-defined value. If the list is <a href="#empty">empty</a>(), the iterator returned by begin() will equal the iterator returned by end(). -<p> Another way to find an item in the list is by using the <a href="ntqtl.html#qFind">qFind()</a> algorithm. For example: +<p> Another way to find an item in the list is by using the <a href="ntqtl.html#qFind">tqFind()</a> algorithm. For example: <p> <pre> TQValueList<int> list; ... diff --git a/doc/html/ntqvaluevector.html b/doc/html/ntqvaluevector.html index ec0e812ae..4a57ffbd7 100644 --- a/doc/html/ntqvaluevector.html +++ b/doc/html/ntqvaluevector.html @@ -234,7 +234,7 @@ example: therefore you can use them with many generic algorithms, for example, algorithms provided by the STL or the <a href="ntqtl.html">TQTL</a>. <p> Another way to find an element in the vector is by using the -std::find() or <a href="ntqtl.html#qFind">qFind()</a> algorithms. +std::find() or <a href="ntqtl.html#qFind">tqFind()</a> algorithms. For example: <p> <pre> TQValueVector<int> vec; diff --git a/doc/html/ntqvariant.html b/doc/html/ntqvariant.html index b07fde3ec..450099a82 100644 --- a/doc/html/ntqvariant.html +++ b/doc/html/ntqvariant.html @@ -215,7 +215,7 @@ return a reference to the new contents of the variant. <a href="ntqdatastream.html">TQDataStream</a> in(...); // (opening the previously written stream) in >> v; // Reads an Int variant int z = v.<a href="#toInt">toInt</a>(); // z = 123 - <a href="ntqapplication.html#qDebug">qDebug</a>("Type is %s", // prints "Type is int" + <a href="ntqapplication.html#qDebug">tqDebug</a>("Type is %s", // prints "Type is int" v.<a href="#typeName">typeName</a>()); v.<a href="#asInt">asInt</a>() += 100; // The variant now hold the value 223. v = <a href="#TQVariant">TQVariant</a>( TQStringList() ); diff --git a/doc/html/ntqwidget.html b/doc/html/ntqwidget.html index f10de98ba..dae28b81b 100644 --- a/doc/html/ntqwidget.html +++ b/doc/html/ntqwidget.html @@ -2723,7 +2723,7 @@ explicitly disabled. <p>Set this property's value with <a href="#setEnabled">setEnabled</a>() and get this property's value with <a href="#isEnabled">isEnabled</a>(). <h3 class=fn>bool <a name="focus-prop"></a>focus</h3> <p>This property holds whether this widget (or its focus proxy) has the keyboard input focus. -<p>Effectively equivalent to <tt>qApp->focusWidget() == this</tt>. +<p>Effectively equivalent to <tt>tqApp->focusWidget() == this</tt>. <p> <p>See also <a href="#setFocus">setFocus</a>(), <a href="#clearFocus">clearFocus</a>(), <a href="#focusPolicy-prop">focusPolicy</a>, and <a href="ntqapplication.html#focusWidget">TQApplication::focusWidget</a>(). <p>Get this property's value with <a href="#hasFocus">hasFocus</a>(). diff --git a/doc/html/plugins-howto.html b/doc/html/plugins-howto.html index de38704c0..3181027d4 100644 --- a/doc/html/plugins-howto.html +++ b/doc/html/plugins-howto.html @@ -65,7 +65,7 @@ by default in the standard plugin directory. run, TQt will first treat the application's executable directory as the <tt>pluginsbase</tt>. For example if the application is in <tt>C:\Program Files\MyApp</tt> and has a style plugin, TQt will look in <tt>C:\Program Files\MyApp\styles</tt>. (See <a href="ntqapplication.html#applicationDirPath">TQApplication::applicationDirPath</a>() for how to find out where the application's executable is.) TQt will also -look in the directory given by <tt>qInstallPathPlugins()</tt>. If you want +look in the directory given by <tt>tqInstallPathPlugins()</tt>. If you want TQt to look in additional places you can add as many paths as you need with calls to <a href="ntqapplication.html#addLibraryPath">TQApplication::addLibraryPath</a>(). And if you want to set your own path or paths you can use diff --git a/doc/html/porting2.html b/doc/html/porting2.html index 0276d068b..c9983a872 100644 --- a/doc/html/porting2.html +++ b/doc/html/porting2.html @@ -515,10 +515,10 @@ be in the more efficient order (for typical contemporary hardware). If your code made assumptions about the order, you will get blue where you expect red and vice versa (you'll not notice the problem if you use shades of gray, green, or magenta). You should port your code to use the -creator function <a href="ntqcolor.html#qRgb">qRgb</a>(int r,int g,int b) and the -access functions <a href="ntqcolor.html#qRed">qRed</a>(TQRgb), <a href="ntqcolor.html#qBlue">qBlue</a>(TQRgb), and <a href="ntqcolor.html#qGreen">qGreen</a>(TQRgb). +creator function <a href="ntqcolor.html#qRgb">tqRgb</a>(int r,int g,int b) and the +access functions <a href="ntqcolor.html#qRed">tqRed</a>(TQRgb), <a href="ntqcolor.html#qBlue">tqBlue</a>(TQRgb), and <a href="ntqcolor.html#qGreen">tqGreen</a>(TQRgb). If you are using the alpha channel, it hasn't moved, but you should use -the functions <a href="ntqcolor.html#qRgba">qRgba</a>(int,int,int,int) and <a href="ntqcolor.html#qAlpha">qAlpha</a>(TQRgb). Note also that +the functions <a href="ntqcolor.html#qRgba">tqRgba</a>(int,int,int,int) and <a href="ntqcolor.html#qAlpha">tqAlpha</a>(TQRgb). Note also that <a href="ntqcolor.html#pixel">TQColor::pixel</a>() does <i>not</i> return a TQRgb (it never did on all platforms, but your code may have assumed so on your platform) - this may also produce strange color results - use <a href="ntqcolor.html#rgb">TQColor::rgb</a>() if you want a TQRgb. diff --git a/doc/html/progress-example.html b/doc/html/progress-example.html index 465316bd9..63f2e907f 100644 --- a/doc/html/progress-example.html +++ b/doc/html/progress-example.html @@ -313,7 +313,7 @@ private: { if ( timer_driven ) { if ( pb ) { - <a href="ntqapplication.html#qWarning">qWarning</a>("This cannot happen!"); + <a href="ntqapplication.html#qWarning">tqWarning</a>("This cannot happen!"); return; } rects = n; diff --git a/doc/html/qaxserver-example-opengl.html b/doc/html/qaxserver-example-opengl.html index 6647d8bc8..1f062284b 100644 --- a/doc/html/qaxserver-example-opengl.html +++ b/doc/html/qaxserver-example-opengl.html @@ -69,7 +69,7 @@ appropriate to create and show the application interface. <a href="ntqapplication.html">TQApplication</a> a(argc,argv); if ( !TQGLFormat::hasOpenGL() ) { - <a href="ntqapplication.html#qWarning">qWarning</a>( "This system has no OpenGL support. Exiting." ); + <a href="ntqapplication.html#qWarning">tqWarning</a>( "This system has no OpenGL support. Exiting." ); return -1; } diff --git a/doc/html/qbytearray.html b/doc/html/qbytearray.html index b9aa987c1..2cad08230 100644 --- a/doc/html/qbytearray.html +++ b/doc/html/qbytearray.html @@ -45,10 +45,10 @@ body { background: #ffffff; color: black; } </ul> <h2>Related Functions</h2> <ul> -<li class=fn>TQByteArray <a href="#qCompress"><b>qCompress</b></a> ( const TQByteArray & data )</li> -<li class=fn>TQByteArray <a href="#qCompress-2"><b>qCompress</b></a> ( const uchar * data, int nbytes )</li> -<li class=fn>TQByteArray <a href="#qUncompress"><b>qUncompress</b></a> ( const TQByteArray & data )</li> -<li class=fn>TQByteArray <a href="#qUncompress-2"><b>qUncompress</b></a> ( const uchar * data, int nbytes )</li> +<li class=fn>TQByteArray <a href="#qCompress"><b>tqCompress</b></a> ( const TQByteArray & data )</li> +<li class=fn>TQByteArray <a href="#qCompress-2"><b>tqCompress</b></a> ( const uchar * data, int nbytes )</li> +<li class=fn>TQByteArray <a href="#qUncompress"><b>tqUncompress</b></a> ( const TQByteArray & data )</li> +<li class=fn>TQByteArray <a href="#qUncompress-2"><b>tqUncompress</b></a> ( const uchar * data, int nbytes )</li> </ul> <hr><a name="details"></a><h2>Detailed Description</h2> @@ -74,22 +74,22 @@ TQByteArray is implemented as a <a href="ntqmemarray.html">TQMemArray</a><cha <p> Constructs a TQByteArray of size <em>size</em>. <hr><h2>Related Functions</h2> -<h3 class=fn><a href="qbytearray.html">TQByteArray</a> <a name="qCompress"></a>qCompress ( const <a href="qbytearray.html">TQByteArray</a> & data ) +<h3 class=fn><a href="qbytearray.html">TQByteArray</a> <a name="qCompress"></a>tqCompress ( const <a href="qbytearray.html">TQByteArray</a> & data ) </h3> <p> <p> Compresses the array <em>data</em> and returns the compressed byte array using zlib. -<p> <p>See also <a href="#qUncompress">qUncompress</a>(). +<p> <p>See also <a href="#qUncompress">tqUncompress</a>(). -<h3 class=fn><a href="qbytearray.html">TQByteArray</a> <a name="qCompress-2"></a>qCompress ( const uchar * data, int nbytes ) +<h3 class=fn><a href="qbytearray.html">TQByteArray</a> <a name="qCompress-2"></a>tqCompress ( const uchar * data, int nbytes ) </h3> <p> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Compresses the array <em>data</em> which is <em>nbytes</em> long and returns the compressed byte array. -<h3 class=fn><a href="qbytearray.html">TQByteArray</a> <a name="qUncompress"></a>qUncompress ( const <a href="qbytearray.html">TQByteArray</a> & data ) +<h3 class=fn><a href="qbytearray.html">TQByteArray</a> <a name="qUncompress"></a>tqUncompress ( const <a href="qbytearray.html">TQByteArray</a> & data ) </h3> <p> @@ -97,9 +97,9 @@ compressed byte array. array. <p> Returns an empty TQByteArray if the input data was corrupt. -<p> <p>See also <a href="#qCompress">qCompress</a>(). +<p> <p>See also <a href="#qCompress">tqCompress</a>(). -<h3 class=fn><a href="qbytearray.html">TQByteArray</a> <a name="qUncompress-2"></a>qUncompress ( const uchar * data, int nbytes ) +<h3 class=fn><a href="qbytearray.html">TQByteArray</a> <a name="qUncompress-2"></a>tqUncompress ( const uchar * data, int nbytes ) </h3> <p> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. diff --git a/doc/html/qcanvasview.html b/doc/html/qcanvasview.html index 41662cbd7..6ea947b67 100644 --- a/doc/html/qcanvasview.html +++ b/doc/html/qcanvasview.html @@ -71,7 +71,7 @@ subclass TQCanvasView. You might then reimplement <a href="qcanvasitemlist.html">TQCanvasItemList</a> l = <a href="#canvas">canvas</a>()->collisions(e-><a href="qmouseevent.html#pos">pos</a>()); for (TQCanvasItemList::Iterator it=l.<a href="ntqvaluelist.html#begin">begin</a>(); it!=l.<a href="ntqvaluelist.html#end">end</a>(); ++it) { if ( (*it)->rtti() == TQCanvasRectangle::RTTI ) - <a href="ntqapplication.html#qDebug">qDebug</a>("A TQCanvasRectangle lies somewhere at this point"); + <a href="ntqapplication.html#qDebug">tqDebug</a>("A TQCanvasRectangle lies somewhere at this point"); } } </pre> diff --git a/doc/html/qd-preface.png b/doc/html/qd-preface.png Binary files differindex 2832f528b..d2f115e30 100644 --- a/doc/html/qd-preface.png +++ b/doc/html/qd-preface.png diff --git a/doc/html/qdatasource.html b/doc/html/qdatasource.html index 42a1c03b3..da27d4c88 100644 --- a/doc/html/qdatasource.html +++ b/doc/html/qdatasource.html @@ -65,7 +65,7 @@ If this function is called with <em>on</em> set to TRUE, and <a href="#rewindabl is TRUE, then the data source must take measures to allow the <a href="#rewind">rewind</a>() function to subsequently operate as described. If rewindable() is FALSE, the function should call <a href="#enableRewind">TQDataSource::enableRewind</a>(), which aborts with -a <a href="ntqapplication.html#qFatal">qFatal</a>() error. +a <a href="ntqapplication.html#qFatal">tqFatal</a>() error. <p> For example, a network connection may choose to use a disk cache of input only if rewinding is enabled before the first buffer-full of data is discarded, returning FALSE in rewindable() if that first buffer diff --git a/doc/html/qdir-example.html b/doc/html/qdir-example.html index 45d7982e3..618a7dd0f 100644 --- a/doc/html/qdir-example.html +++ b/doc/html/qdir-example.html @@ -345,7 +345,7 @@ int main( int argc, char ** argv ) else if ( arg == "-custom" ) custom = TRUE; else if ( arg[0] == '-' ) { - <a href="ntqapplication.html#qDebug">qDebug</a>("Usage: qdir [-any | -dir | -custom] [-preview] [-default f] {-filter f} [caption ...]\n" + <a href="ntqapplication.html#qDebug">tqDebug</a>("Usage: qdir [-any | -dir | -custom] [-preview] [-default f] {-filter f} [caption ...]\n" " -any Get any filename, need not exist.\n" " -dir Return a directory rather than a file.\n" " -custom Opens a customized TQFileDialog with \n" diff --git a/doc/html/qglformat.html b/doc/html/qglformat.html index 0b970f458..587172f2a 100644 --- a/doc/html/qglformat.html +++ b/doc/html/qglformat.html @@ -131,7 +131,7 @@ requested features the system was able to provide: if ( !w->format().stereo() ) { // ok, goggles off if ( !w->format().hasOverlay() ) { - <a href="ntqapplication.html#qFatal">qFatal</a>( "Cool hardware required" ); + <a href="ntqapplication.html#qFatal">tqFatal</a>( "Cool hardware required" ); } } </pre> @@ -172,9 +172,9 @@ in classes derived from <a href="qglwidget.html">TQGLWidget</a>, for example: : <a href="qglwidget.html">TQGLWidget</a>( <a href="#TQGLFormat">TQGLFormat</a>( StencilBuffer | AlphaChannel ), parent, name ) { if ( !format().stencil() ) - <a href="ntqapplication.html#qWarning">qWarning</a>( "Could not get stencil buffer; results will be suboptimal" ); + <a href="ntqapplication.html#qWarning">tqWarning</a>( "Could not get stencil buffer; results will be suboptimal" ); if ( !format().alphaChannel() ) - <a href="ntqapplication.html#qWarning">qWarning</a>( "Could not get alpha channel; results will be suboptimal" ); + <a href="ntqapplication.html#qWarning">tqWarning</a>( "Could not get alpha channel; results will be suboptimal" ); ... } </pre> diff --git a/doc/html/qmag-example.html b/doc/html/qmag-example.html index 3f22d9735..096557030 100644 --- a/doc/html/qmag-example.html +++ b/doc/html/qmag-example.html @@ -379,8 +379,8 @@ void <a name="f490"></a>MagWidget::grabAround(TQPoint pos) { <a name="x1776"></a> TQRgb px = image.<a href="ntqimage.html#pixel">pixel</a>(x,y); <a name="x1795"></a> pixelinfo.<a href="ntqstring.html#sprintf">sprintf</a>(" %3d,%3d,%3d #%02x%02x%02x", - <a href="ntqcolor.html#qRed">qRed</a>(px), tqGreen(px), tqBlue(px), - <a href="ntqcolor.html#qRed">qRed</a>(px), tqGreen(px), tqBlue(px)); + <a href="ntqcolor.html#qRed">tqRed</a>(px), tqGreen(px), tqBlue(px), + <a href="ntqcolor.html#qRed">tqRed</a>(px), tqGreen(px), tqBlue(px)); } <a href="ntqstring.html">TQString</a> label; label.<a href="ntqstring.html#sprintf">sprintf</a>( "x=%d, y=%d %s", diff --git a/doc/html/qt.dcf b/doc/html/qt.dcf index b0fe8e3f6..592ce2293 100644 --- a/doc/html/qt.dcf +++ b/doc/html/qt.dcf @@ -238,14 +238,14 @@ <keyword ref="ntqapplication.html#~QApplication">~QApplication</keyword> <keyword ref="ntqapplication.html#Q_ASSERT">Q_ASSERT</keyword> <keyword ref="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</keyword> - <keyword ref="ntqapplication.html#qAddPostRoutine">qAddPostRoutine</keyword> - <keyword ref="ntqapplication.html#qDebug">qDebug</keyword> - <keyword ref="ntqapplication.html#qFatal">qFatal</keyword> + <keyword ref="ntqapplication.html#qAddPostRoutine">tqAddPostRoutine</keyword> + <keyword ref="ntqapplication.html#qDebug">tqDebug</keyword> + <keyword ref="ntqapplication.html#qFatal">tqFatal</keyword> <keyword ref="ntqapplication.html#qInstallMsgHandler">qInstallMsgHandler</keyword> - <keyword ref="ntqapplication.html#qSysInfo">qSysInfo</keyword> - <keyword ref="ntqapplication.html#qSystemWarning">qSystemWarning</keyword> - <keyword ref="ntqapplication.html#qVersion">qVersion</keyword> - <keyword ref="ntqapplication.html#qWarning">qWarning</keyword> + <keyword ref="ntqapplication.html#qSysInfo">tqSysInfo</keyword> + <keyword ref="ntqapplication.html#qSystemWarning">tqSystemWarning</keyword> + <keyword ref="ntqapplication.html#qVersion">tqVersion</keyword> + <keyword ref="ntqapplication.html#qWarning">tqWarning</keyword> <section ref="qapplication-members.html" title="List of All Member Functions"/> <section ref="qapplication-h.html" title="Header File"/> </section> @@ -673,8 +673,8 @@ </section> <section ref="qbytearray.html" title="QByteArray Class Reference"> <keyword ref="qbytearray.html">QByteArray</keyword> - <keyword ref="qbytearray.html#qCompress">qCompress</keyword> - <keyword ref="qbytearray.html#qUncompress">qUncompress</keyword> + <keyword ref="qbytearray.html#qCompress">tqCompress</keyword> + <keyword ref="qbytearray.html#qUncompress">tqUncompress</keyword> <section ref="qbytearray-members.html" title="List of All Member Functions"/> <section ref="qcstring-h.html" title="Header File"/> </section> @@ -1128,13 +1128,13 @@ <keyword ref="ntqcolor.html#setRgb">setRgb</keyword> <keyword ref="ntqcolor.html#operator-lt-lt">operator<<</keyword> <keyword ref="ntqcolor.html#operator-gt-gt">operator>></keyword> - <keyword ref="ntqcolor.html#qAlpha">qAlpha</keyword> - <keyword ref="ntqcolor.html#qBlue">qBlue</keyword> - <keyword ref="ntqcolor.html#qGray">qGray</keyword> - <keyword ref="ntqcolor.html#qGreen">qGreen</keyword> - <keyword ref="ntqcolor.html#qRed">qRed</keyword> - <keyword ref="ntqcolor.html#qRgb">qRgb</keyword> - <keyword ref="ntqcolor.html#qRgba">qRgba</keyword> + <keyword ref="ntqcolor.html#qAlpha">tqAlpha</keyword> + <keyword ref="ntqcolor.html#qBlue">tqBlue</keyword> + <keyword ref="ntqcolor.html#qGray">tqGray</keyword> + <keyword ref="ntqcolor.html#qGreen">tqGreen</keyword> + <keyword ref="ntqcolor.html#qRed">tqRed</keyword> + <keyword ref="ntqcolor.html#qRgb">tqRgb</keyword> + <keyword ref="ntqcolor.html#qRgba">tqRgba</keyword> <section ref="qcolor-members.html" title="List of All Member Functions"/> <section ref="qcolor-h.html" title="Header File"/> </section> @@ -1360,15 +1360,15 @@ <keyword ref="ntqcstring.html#operator-gt">operator></keyword> <keyword ref="ntqcstring.html#operator-gt-eq">operator>=</keyword> <keyword ref="ntqcstring.html#operator-gt-gt">operator>></keyword> - <keyword ref="ntqcstring.html#qmemmove">qmemmove</keyword> + <keyword ref="ntqcstring.html#qmemmove">tqmemmove</keyword> <keyword ref="ntqcstring.html#qstrcmp">qstrcmp</keyword> <keyword ref="ntqcstring.html#qstrcpy">qstrcpy</keyword> - <keyword ref="ntqcstring.html#qstrdup">qstrdup</keyword> - <keyword ref="ntqcstring.html#qstricmp">qstricmp</keyword> - <keyword ref="ntqcstring.html#qstrlen">qstrlen</keyword> - <keyword ref="ntqcstring.html#qstrncmp">qstrncmp</keyword> - <keyword ref="ntqcstring.html#qstrncpy">qstrncpy</keyword> - <keyword ref="ntqcstring.html#qstrnicmp">qstrnicmp</keyword> + <keyword ref="ntqcstring.html#qstrdup">tqstrdup</keyword> + <keyword ref="ntqcstring.html#qstricmp">tqstricmp</keyword> + <keyword ref="ntqcstring.html#qstrlen">tqstrlen</keyword> + <keyword ref="ntqcstring.html#qstrncmp">tqstrncmp</keyword> + <keyword ref="ntqcstring.html#qstrncpy">tqstrncpy</keyword> + <keyword ref="ntqcstring.html#qstrnicmp">tqstrnicmp</keyword> <section ref="qcstring-members.html" title="List of All Member Functions"/> <section ref="qcstring-h.html" title="Header File"/> </section> @@ -4753,7 +4753,7 @@ <keyword ref="ntqmemarray.html#~QMemArray">~QMemArray</keyword> <keyword ref="ntqmemarray.html#operator-lt-lt">operator<<</keyword> <keyword ref="ntqmemarray.html#operator-gt-gt">operator>></keyword> - <keyword ref="ntqmemarray.html#qChecksum">qChecksum</keyword> + <keyword ref="ntqmemarray.html#qChecksum">tqChecksum</keyword> <section ref="qmemarray-members.html" title="List of All Member Functions"/> <section ref="qmemarray-h.html" title="Header File"/> </section> @@ -8585,7 +8585,7 @@ <keyword ref="ntqurloperator.html#startedNextCopy">startedNextCopy</keyword> <keyword ref="ntqurloperator.html#stop">stop</keyword> <keyword ref="ntqurloperator.html#~QUrlOperator">~QUrlOperator</keyword> - <keyword ref="ntqurloperator.html#qInitNetworkProtocols">qInitNetworkProtocols</keyword> + <keyword ref="ntqurloperator.html#qInitNetworkProtocols">tqInitNetworkProtocols</keyword> <section ref="qurloperator-members.html" title="List of All Member Functions"/> <section ref="qurloperator-h.html" title="Header File"/> </section> diff --git a/doc/html/qtime.html b/doc/html/qtime.html index 15f48a9af..369a105b4 100644 --- a/doc/html/qtime.html +++ b/doc/html/qtime.html @@ -316,7 +316,7 @@ Sets this time to the current time. This is practical for timing: TQTime t; t.<a href="#start">start</a>(); some_lengthy_task(); - <a href="ntqapplication.html#qDebug">qDebug</a>( "Time elapsed: %d ms", t.<a href="#elapsed">elapsed</a>() ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( "Time elapsed: %d ms", t.<a href="#elapsed">elapsed</a>() ); </pre> <p> <p>See also <a href="#restart">restart</a>(), <a href="#elapsed">elapsed</a>(), and <a href="#currentTime">currentTime</a>(). diff --git a/doc/html/sql-overview-extract-main-cpp.html b/doc/html/sql-overview-extract-main-cpp.html index 3d6408fde..142a427c1 100644 --- a/doc/html/sql-overview-extract-main-cpp.html +++ b/doc/html/sql-overview-extract-main-cpp.html @@ -68,7 +68,7 @@ int main( int argc, char *argv[] ) int id = cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toInt(); <a href="ntqstring.html">TQString</a> name = cur.<a href="ntqsqlquery.html#value">value</a>( "forename" ).toString() + " " + cur.<a href="ntqsqlquery.html#value">value</a>( "surname" ).toString(); - <a href="ntqapplication.html#qDebug">qDebug</a>( TQString::<a href="ntqstring.html#number">number</a>( id ) + ": " + name ); + <a href="ntqapplication.html#qDebug">tqDebug</a>( TQString::<a href="ntqstring.html#number">number</a>( id ) + ": " + name ); } } diff --git a/doc/html/sql-overview-order1-main-cpp.html b/doc/html/sql-overview-order1-main-cpp.html index 4931fdb82..2c6fcb2e2 100644 --- a/doc/html/sql-overview-order1-main-cpp.html +++ b/doc/html/sql-overview-order1-main-cpp.html @@ -57,7 +57,7 @@ int main( int argc, char *argv[] ) <a href="ntqsqlindex.html">TQSqlIndex</a> order = cur.<a href="ntqsqlcursor.html#index">index</a>( fields ); cur.<a href="ntqsqlcursor.html#select">select</a>( order ); while ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { - <a href="ntqapplication.html#qDebug">qDebug</a>( cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toString() + ": " + + <a href="ntqapplication.html#qDebug">tqDebug</a>( cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toString() + ": " + cur.<a href="ntqsqlquery.html#value">value</a>( "surname" ).toString() + " " + cur.<a href="ntqsqlquery.html#value">value</a>( "forename" ).toString() ); } diff --git a/doc/html/sql-overview-order2-main-cpp.html b/doc/html/sql-overview-order2-main-cpp.html index 616ec0b31..374a3728d 100644 --- a/doc/html/sql-overview-order2-main-cpp.html +++ b/doc/html/sql-overview-order2-main-cpp.html @@ -59,7 +59,7 @@ int main( int argc, char *argv[] ) cur.<a href="ntqsqlrecord.html#setValue">setValue</a>( "surname", "Bloggs" ); cur.<a href="ntqsqlcursor.html#select">select</a>( filter, order ); while ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { - <a href="ntqapplication.html#qDebug">qDebug</a>( cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toString() + ": " + + <a href="ntqapplication.html#qDebug">tqDebug</a>( cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toString() + ": " + cur.<a href="ntqsqlquery.html#value">value</a>( "surname" ).toString() + " " + cur.<a href="ntqsqlquery.html#value">value</a>( "forename" ).toString() ); } diff --git a/doc/html/sql-overview-retrieve1-main-cpp.html b/doc/html/sql-overview-retrieve1-main-cpp.html index 5981dfe42..98d7ca283 100644 --- a/doc/html/sql-overview-retrieve1-main-cpp.html +++ b/doc/html/sql-overview-retrieve1-main-cpp.html @@ -55,7 +55,7 @@ int main( int argc, char *argv[] ) <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT id, surname FROM staff" ); if ( query.<a href="ntqsqlquery.html#isActive">isActive</a>() ) { while ( query.<a href="ntqsqlquery.html#next">next</a>() ) { - <a href="ntqapplication.html#qDebug">qDebug</a>( query.<a href="ntqsqlquery.html#value">value</a>(0).toString() + ": " + + <a href="ntqapplication.html#qDebug">tqDebug</a>( query.<a href="ntqsqlquery.html#value">value</a>(0).toString() + ": " + query.<a href="ntqsqlquery.html#value">value</a>(1).toString() ); } } diff --git a/doc/html/sql-overview-retrieve2-main-cpp.html b/doc/html/sql-overview-retrieve2-main-cpp.html index 479ad26a4..b1a86764a 100644 --- a/doc/html/sql-overview-retrieve2-main-cpp.html +++ b/doc/html/sql-overview-retrieve2-main-cpp.html @@ -55,7 +55,7 @@ int main( int argc, char *argv[] ) <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "staff" ); // Specify the table/view name cur.<a href="ntqsqlcursor.html#select">select</a>(); // We'll retrieve every record while ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { - <a href="ntqapplication.html#qDebug">qDebug</a>( cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toString() + ": " + + <a href="ntqapplication.html#qDebug">tqDebug</a>( cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toString() + ": " + cur.<a href="ntqsqlquery.html#value">value</a>( "surname" ).toString() + " " + cur.<a href="ntqsqlquery.html#value">value</a>( "salary" ).toString() ); } diff --git a/doc/html/sql.html b/doc/html/sql.html index fca61765d..1eb657590 100644 --- a/doc/html/sql.html +++ b/doc/html/sql.html @@ -314,7 +314,7 @@ function in <tt>connection.h</tt>. <a name="x2152"></a> defaultDB-><a href="ntqsqldatabase.html#setPassword">setPassword</a>( DB_SALES_PASSWD ); <a name="x2151"></a> defaultDB-><a href="ntqsqldatabase.html#setHostName">setHostName</a>( DB_SALES_HOST ); <a name="x2149"></a> if ( ! defaultDB-><a href="ntqsqldatabase.html#open">open</a>() ) { - <a name="x2148"></a> <a href="ntqapplication.html#qWarning">qWarning</a>( "Failed to open sales database: " + defaultDB-><a href="ntqsqldatabase.html#lastError">lastError</a>().text() ); + <a name="x2148"></a> <a href="ntqapplication.html#qWarning">tqWarning</a>( "Failed to open sales database: " + defaultDB-><a href="ntqsqldatabase.html#lastError">lastError</a>().text() ); return FALSE; } @@ -324,7 +324,7 @@ function in <tt>connection.h</tt>. oracle-><a href="ntqsqldatabase.html#setPassword">setPassword</a>( DB_ORDERS_PASSWD ); oracle-><a href="ntqsqldatabase.html#setHostName">setHostName</a>( DB_ORDERS_HOST ); if ( ! oracle-><a href="ntqsqldatabase.html#open">open</a>() ) { - <a href="ntqapplication.html#qWarning">qWarning</a>( "Failed to open orders database: " + oracle-><a href="ntqsqldatabase.html#lastError">lastError</a>().text() ); + <a href="ntqapplication.html#qWarning">tqWarning</a>( "Failed to open orders database: " + oracle-><a href="ntqsqldatabase.html#lastError">lastError</a>().text() ); return FALSE; } @@ -570,7 +570,7 @@ retrieve data from it. <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT id, surname FROM staff" ); <a name="x2175"></a> if ( query.<a href="ntqsqlquery.html#isActive">isActive</a>() ) { <a name="x2176"></a> while ( query.<a href="ntqsqlquery.html#next">next</a>() ) { - <a href="ntqapplication.html#qDebug">qDebug</a>( query.<a href="ntqsqlquery.html#value">value</a>(0).toString() + ": " + + <a href="ntqapplication.html#qDebug">tqDebug</a>( query.<a href="ntqsqlquery.html#value">value</a>(0).toString() + ": " + <a name="x2177"></a> query.<a href="ntqsqlquery.html#value">value</a>(1).toString() ); } } @@ -641,7 +641,7 @@ discuss <a href="#Subclassing_QSqlCursor">subclassing TQSqlCursor</a>. <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "staff" ); // Specify the table/view name <a name="x2178"></a> cur.<a href="ntqsqlcursor.html#select">select</a>(); // We'll retrieve every record while ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { - <a name="x2179"></a> <a href="ntqapplication.html#qDebug">qDebug</a>( cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toString() + ": " + + <a name="x2179"></a> <a href="ntqapplication.html#qDebug">tqDebug</a>( cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toString() + ": " + cur.<a href="ntqsqlquery.html#value">value</a>( "surname" ).toString() + " " + cur.<a href="ntqsqlquery.html#value">value</a>( "salary" ).toString() ); } @@ -780,7 +780,7 @@ setValue() to ensure that the value used is the one we want. <a name="x2191"></a> int id = cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toInt(); <a href="ntqstring.html">TQString</a> name = cur.<a href="ntqsqlquery.html#value">value</a>( "forename" ).toString() + " " + cur.<a href="ntqsqlquery.html#value">value</a>( "surname" ).toString(); - <a name="x2193"></a> <a href="ntqapplication.html#qDebug">qDebug</a>( TQString::<a href="ntqstring.html#number">number</a>( id ) + ": " + name ); + <a name="x2193"></a> <a href="ntqapplication.html#qDebug">tqDebug</a>( TQString::<a href="ntqstring.html#number">number</a>( id ) + ": " + name ); } </pre><blockquote><p align="center"><em> From <a href="sql-overview-extract-main-cpp.html">sql/overview/extract/main.cpp</a> </em></p> @@ -804,7 +804,7 @@ values ourselves with the setValue() calls. The order fields are used in the <tt>ORDER BY</tt> clause. <p> Now we iterate through each matching record (if any). We retrieve the contents of the id, forename and surname fields and pass them on to -some processing function, in this example a simple <a href="ntqapplication.html#qDebug">qDebug</a>() call. +some processing function, in this example a simple <a href="ntqapplication.html#qDebug">tqDebug</a>() call. <p> <a name="Manipulating_Records"></a> <h3> Manipulating Records </h3> diff --git a/doc/html/t10-lcdrange-cpp.html b/doc/html/t10-lcdrange-cpp.html index 860f407cc..a0ec300e3 100644 --- a/doc/html/t10-lcdrange-cpp.html +++ b/doc/html/t10-lcdrange-cpp.html @@ -71,7 +71,7 @@ void <a name="f46"></a>LCDRange::setValue( int value ) void <a name="f47"></a>LCDRange::setRange( int minVal, int maxVal ) { if ( minVal < 0 || maxVal > 99 || minVal > maxVal ) { - <a href="ntqapplication.html#qWarning">qWarning</a>( "LCDRange::setRange(%d,%d)\n" + <a href="ntqapplication.html#qWarning">tqWarning</a>( "LCDRange::setRange(%d,%d)\n" "\tRange must be 0..99\n" "\tand minVal must not be greater than maxVal", minVal, maxVal ); diff --git a/doc/html/t11-lcdrange-cpp.html b/doc/html/t11-lcdrange-cpp.html index 848d8b354..53c7bba00 100644 --- a/doc/html/t11-lcdrange-cpp.html +++ b/doc/html/t11-lcdrange-cpp.html @@ -71,7 +71,7 @@ void <a name="f55"></a>LCDRange::setValue( int value ) void <a name="f56"></a>LCDRange::setRange( int minVal, int maxVal ) { if ( minVal < 0 || maxVal > 99 || minVal > maxVal ) { - <a href="ntqapplication.html#qWarning">qWarning</a>( "LCDRange::setRange(%d,%d)\n" + <a href="ntqapplication.html#qWarning">tqWarning</a>( "LCDRange::setRange(%d,%d)\n" "\tRange must be 0..99\n" "\tand minVal must not be greater than maxVal", minVal, maxVal ); diff --git a/doc/html/t12-lcdrange-cpp.html b/doc/html/t12-lcdrange-cpp.html index 076684920..52cb516c8 100644 --- a/doc/html/t12-lcdrange-cpp.html +++ b/doc/html/t12-lcdrange-cpp.html @@ -101,7 +101,7 @@ void <a name="f71"></a>LCDRange::setValue( int value ) void <a name="f72"></a>LCDRange::setRange( int minVal, int maxVal ) { if ( minVal < 0 || maxVal > 99 || minVal > maxVal ) { - <a href="ntqapplication.html#qWarning">qWarning</a>( "LCDRange::setRange(%d,%d)\n" + <a href="ntqapplication.html#qWarning">tqWarning</a>( "LCDRange::setRange(%d,%d)\n" "\tRange must be 0..99\n" "\tand minVal must not be greater than maxVal", minVal, maxVal ); diff --git a/doc/html/t13-lcdrange-cpp.html b/doc/html/t13-lcdrange-cpp.html index c01449123..8a1e929c8 100644 --- a/doc/html/t13-lcdrange-cpp.html +++ b/doc/html/t13-lcdrange-cpp.html @@ -106,7 +106,7 @@ void <a name="f91"></a>LCDRange::setValue( int value ) void <a name="f92"></a>LCDRange::setRange( int minVal, int maxVal ) { if ( minVal < 0 || maxVal > 99 || minVal > maxVal ) { - <a href="ntqapplication.html#qWarning">qWarning</a>( "LCDRange::setRange(%d,%d)\n" + <a href="ntqapplication.html#qWarning">tqWarning</a>( "LCDRange::setRange(%d,%d)\n" "\tRange must be 0..99\n" "\tand minVal must not be greater than maxVal", minVal, maxVal ); diff --git a/doc/html/t14-lcdrange-cpp.html b/doc/html/t14-lcdrange-cpp.html index 44983fac4..a110f76e1 100644 --- a/doc/html/t14-lcdrange-cpp.html +++ b/doc/html/t14-lcdrange-cpp.html @@ -106,7 +106,7 @@ void <a name="f118"></a>LCDRange::setValue( int value ) void <a name="f119"></a>LCDRange::setRange( int minVal, int maxVal ) { if ( minVal < 0 || maxVal > 99 || minVal > maxVal ) { - <a href="ntqapplication.html#qWarning">qWarning</a>( "LCDRange::setRange(%d,%d)\n" + <a href="ntqapplication.html#qWarning">tqWarning</a>( "LCDRange::setRange(%d,%d)\n" "\tRange must be 0..99\n" "\tand minVal must not be greater than maxVal", minVal, maxVal ); diff --git a/doc/html/t8-lcdrange-cpp.html b/doc/html/t8-lcdrange-cpp.html index ba8597abd..cde9d1870 100644 --- a/doc/html/t8-lcdrange-cpp.html +++ b/doc/html/t8-lcdrange-cpp.html @@ -71,7 +71,7 @@ void <a name="f32"></a>LCDRange::setValue( int value ) void <a name="f33"></a>LCDRange::setRange( int minVal, int maxVal ) { if ( minVal < 0 || maxVal > 99 || minVal > maxVal ) { - <a href="ntqapplication.html#qWarning">qWarning</a>( "LCDRange::setRange(%d,%d)\n" + <a href="ntqapplication.html#qWarning">tqWarning</a>( "LCDRange::setRange(%d,%d)\n" "\tRange must be 0..99\n" "\tand minVal must not be greater than maxVal", minVal, maxVal ); diff --git a/doc/html/t9-lcdrange-cpp.html b/doc/html/t9-lcdrange-cpp.html index e9a67925d..daa34eb72 100644 --- a/doc/html/t9-lcdrange-cpp.html +++ b/doc/html/t9-lcdrange-cpp.html @@ -71,7 +71,7 @@ void <a name="f39"></a>LCDRange::setValue( int value ) void <a name="f40"></a>LCDRange::setRange( int minVal, int maxVal ) { if ( minVal < 0 || maxVal > 99 || minVal > maxVal ) { - <a href="ntqapplication.html#qWarning">qWarning</a>( "LCDRange::setRange(%d,%d)\n" + <a href="ntqapplication.html#qWarning">tqWarning</a>( "LCDRange::setRange(%d,%d)\n" "\tRange must be 0..99\n" "\tand minVal must not be greater than maxVal", minVal, maxVal ); diff --git a/doc/html/tictac-example.html b/doc/html/tictac-example.html index d8bc0949b..7a168937e 100644 --- a/doc/html/tictac-example.html +++ b/doc/html/tictac-example.html @@ -554,7 +554,7 @@ int main( int argc, char **argv ) if ( argc == 2 ) // get board size n n = atoi(argv[1]); if ( n < 3 || n > 10 ) { // out of range - <a href="ntqapplication.html#qWarning">qWarning</a>( "%s: Board size must be from 3x3 to 10x10", argv[0] ); + <a href="ntqapplication.html#qWarning">tqWarning</a>( "%s: Board size must be from 3x3 to 10x10", argv[0] ); return 1; } TicTacToe ttt( n ); // create game diff --git a/doc/html/tutorial1-04.html b/doc/html/tutorial1-04.html index 6d0f424ac..4830ac144 100644 --- a/doc/html/tutorial1-04.html +++ b/doc/html/tutorial1-04.html @@ -136,7 +136,7 @@ previous chapters. } </pre> <p> Because the MyWidget class doesn't know about the application object, it -has to connect to TQt's pointer to it, <tt>qApp</tt>. +has to connect to TQt's pointer to it, <tt>tqApp</tt>. <p> A widget is a software component and should know as little as possible about its environment in order to be as general and reusable as possible. diff --git a/doc/html/tutorial1-08.html b/doc/html/tutorial1-08.html index 4586ceab9..bb72603e1 100644 --- a/doc/html/tutorial1-08.html +++ b/doc/html/tutorial1-08.html @@ -63,7 +63,7 @@ Until now, it has been fixed at 0..99. <p> <pre> void LCDRange::setRange( int minVal, int maxVal ) { if ( minVal < 0 || maxVal > 99 || minVal > maxVal ) { - <a href="ntqapplication.html#qWarning">qWarning</a>( "LCDRange::setRange(%d,%d)\n" + <a href="ntqapplication.html#qWarning">tqWarning</a>( "LCDRange::setRange(%d,%d)\n" "\tRange must be 0..99\n" "\tand minVal must not be greater than maxVal", minVal, maxVal ); @@ -77,7 +77,7 @@ have set up the <a href="ntqlcdnumber.html">TQLCDNumber</a> to always display tw limit the possible range of <tt>minVal</tt> and <tt>maxVal</tt> to 0..99 to avoid 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 -<a href="ntqapplication.html#qWarning">qWarning</a>() function to issue a warning to the user and return +<a href="ntqapplication.html#qWarning">tqWarning</a>() function to issue a warning to the user and return immediately. tqWarning() is a printf-like function that by default sends its output to <tt>stderr</tt>. If you want, you can install your own handler function using <a href="ntqapplication.html#qInstallMsgHandler">::qInstallMsgHandler</a>(). |