From 252a2ec8b0f0f9cf20c947737087b24a8185b588 Mon Sep 17 00:00:00 2001
From: Michele Calgaro
Date: Wed, 10 Jul 2024 18:56:16 +0900
Subject: Rename IO and network class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro
---
doc/man/man3/tqapplication.3qt | 8 +-
doc/man/man3/tqasciidict.3qt | 8 +-
doc/man/man3/tqbitarray.3qt | 12 +-
doc/man/man3/tqbrush.3qt | 12 +-
doc/man/man3/tqbuffer.3qt | 48 ++---
doc/man/man3/tqclipboard.3qt | 138 +++++++--------
doc/man/man3/tqcolor.3qt | 12 +-
doc/man/man3/tqcolorgroup.3qt | 6 +-
doc/man/man3/tqcstring.3qt | 12 +-
doc/man/man3/tqcursor.3qt | 14 +-
doc/man/man3/tqdatabrowser.3qt | 12 +-
doc/man/man3/tqdatastream.3qt | 212 +++++++++++-----------
doc/man/man3/tqdatatable.3qt | 6 +-
doc/man/man3/tqdate.3qt | 12 +-
doc/man/man3/tqdatetime.3qt | 12 +-
doc/man/man3/tqdialog.3qt | 10 +-
doc/man/man3/tqdict.3qt | 8 +-
doc/man/man3/tqdir.3qt | 320 +++++++++++++++++-----------------
doc/man/man3/tqdns.3qt | 122 ++++++-------
doc/man/man3/tqdomdocument.3qt | 2 +-
doc/man/man3/tqdomnode.3qt | 2 +-
doc/man/man3/tqdragobject.3qt | 4 +-
doc/man/man3/tqdropevent.3qt | 8 +-
doc/man/man3/tqevent.3qt | 2 +-
doc/man/man3/tqeventloop.3qt | 12 +-
doc/man/man3/tqfile.3qt | 144 +++++++--------
doc/man/man3/tqfiledialog.3qt | 264 ++++++++++++++--------------
doc/man/man3/tqfileiconprovider.3qt | 26 +--
doc/man/man3/tqfileinfo.3qt | 228 ++++++++++++------------
doc/man/man3/tqfilepreview.3qt | 28 +--
doc/man/man3/tqfont.3qt | 18 +-
doc/man/man3/tqftp.3qt | 168 +++++++++---------
doc/man/man3/tqhbox.3qt | 2 +-
doc/man/man3/tqhostaddress.3qt | 68 ++++----
doc/man/man3/tqhttp.3qt | 160 ++++++++---------
doc/man/man3/tqhttpheader.3qt | 74 ++++----
doc/man/man3/tqhttprequestheader.3qt | 52 +++---
doc/man/man3/tqhttpresponseheader.3qt | 36 ++--
doc/man/man3/tqicondrag.3qt | 8 +-
doc/man/man3/tqicondragitem.3qt | 4 +-
doc/man/man3/tqiconview.3qt | 6 +-
doc/man/man3/tqiconviewitem.3qt | 34 ++--
doc/man/man3/tqimage.3qt | 14 +-
doc/man/man3/tqimageio.3qt | 2 +-
doc/man/man3/tqintdict.3qt | 8 +-
doc/man/man3/tqiodevice.3qt | 42 ++---
doc/man/man3/tqkeyevent.3qt | 4 +-
doc/man/man3/tqkeysequence.3qt | 12 +-
doc/man/man3/tqlistview.3qt | 4 +-
doc/man/man3/tqlistviewitem.3qt | 2 +-
doc/man/man3/tqlocalfs.3qt | 26 +--
doc/man/man3/tqmainwindow.3qt | 10 +-
doc/man/man3/tqmap.3qt | 8 +-
doc/man/man3/tqmemarray.3qt | 18 +-
doc/man/man3/tqmenudata.3qt | 2 +-
doc/man/man3/tqmessagebox.3qt | 4 +-
doc/man/man3/tqmovie.3qt | 4 +-
doc/man/man3/tqnetworkoperation.3qt | 72 ++++----
doc/man/man3/tqnetworkprotocol.3qt | 258 +++++++++++++--------------
doc/man/man3/tqnpinstance.3qt | 2 +-
doc/man/man3/tqnpstream.3qt | 2 +-
doc/man/man3/tqobject.3qt | 2 +-
doc/man/man3/tqpainter.3qt | 6 +-
doc/man/man3/tqpalette.3qt | 12 +-
doc/man/man3/tqpen.3qt | 12 +-
doc/man/man3/tqpicture.3qt | 8 +-
doc/man/man3/tqpixmap.3qt | 18 +-
doc/man/man3/tqpoint.3qt | 16 +-
doc/man/man3/tqpointarray.3qt | 12 +-
doc/man/man3/tqpopupmenu.3qt | 6 +-
doc/man/man3/tqprocess.3qt | 130 +++++++-------
doc/man/man3/tqprogressbar.3qt | 2 +-
doc/man/man3/tqprogressdialog.3qt | 2 +-
doc/man/man3/tqptrdict.3qt | 8 +-
doc/man/man3/tqptrlist.3qt | 8 +-
doc/man/man3/tqptrqueue.3qt | 8 +-
doc/man/man3/tqptrstack.3qt | 8 +-
doc/man/man3/tqptrvector.3qt | 8 +-
doc/man/man3/tqpushbutton.3qt | 4 +-
doc/man/man3/tqrect.3qt | 12 +-
doc/man/man3/tqregion.3qt | 12 +-
doc/man/man3/tqscrollview.3qt | 2 +-
doc/man/man3/tqserversocket.3qt | 66 +++----
doc/man/man3/tqsessionmanager.3qt | 4 +-
doc/man/man3/tqsettings.3qt | 132 +++++++-------
doc/man/man3/tqsignal.3qt | 38 ++--
doc/man/man3/tqsignalmapper.3qt | 34 ++--
doc/man/man3/tqsize.3qt | 12 +-
doc/man/man3/tqsocket.3qt | 162 ++++++++---------
doc/man/man3/tqsocketdevice.3qt | 164 ++++++++---------
doc/man/man3/tqsocketnotifier.3qt | 54 +++---
doc/man/man3/tqstring.3qt | 22 +--
doc/man/man3/tqstringlist.3qt | 2 +-
doc/man/man3/tqtextedit.3qt | 8 +-
doc/man/man3/tqtextstream.3qt | 14 +-
doc/man/man3/tqtime.3qt | 12 +-
doc/man/man3/tqtooltip.3qt | 2 +-
doc/man/man3/tqtranslatormessage.3qt | 8 +-
doc/man/man3/tquridrag.3qt | 2 +-
doc/man/man3/tqurl.3qt | 158 ++++++++---------
doc/man/man3/tqurlinfo.3qt | 156 ++++++++---------
doc/man/man3/tqurloperator.3qt | 208 +++++++++++-----------
doc/man/man3/tquuid.3qt | 8 +-
doc/man/man3/tqvaluelist.3qt | 10 +-
doc/man/man3/tqvariant.3qt | 8 +-
doc/man/man3/tqwidget.3qt | 6 +-
doc/man/man3/tqwmatrix.3qt | 14 +-
doc/man/man3/tqxmlinputsource.3qt | 4 +-
doc/man/man3/tqxmlsimplereader.3qt | 2 +-
109 files changed, 2217 insertions(+), 2217 deletions(-)
(limited to 'doc/man/man3')
diff --git a/doc/man/man3/tqapplication.3qt b/doc/man/man3/tqapplication.3qt
index 087c53964..c972a56d7 100644
--- a/doc/man/man3/tqapplication.3qt
+++ b/doc/man/man3/tqapplication.3qt
@@ -247,7 +247,7 @@ Inherits TQObject.
.BI "TQWidget * \fBactiveModalWidget\fR ()"
.br
.ti -1c
-.BI "QClipboard * \fBclipboard\fR ()"
+.BI "TQClipboard * \fBclipboard\fR ()"
.br
.ti -1c
.BI "TQWidget * \fBwidgetAt\fR ( int x, int y, bool child = FALSE )"
@@ -762,7 +762,7 @@ Examples:
.)l chart/main.cpp and scribble/scribble.cpp.
.SH "void QApplication::beep ()\fC [static]\fR"
Sounds the bell, using the default volume and sound.
-.SH "QClipboard * QApplication::clipboard ()\fC [static]\fR"
+.SH "TQClipboard * QApplication::clipboard ()\fC [static]\fR"
Returns a pointer to the application global clipboard.
.PP
Examples:
@@ -1087,7 +1087,7 @@ You can call this function occasionally when your program is busy performing a l
See also exec(), TQTimer, and QEventLoop::processEvents().
.PP
Examples:
-.)l fileiconview/qfileiconview.cpp and network/ftpclient/main.cpp.
+.)l fileiconview/tqfileiconview.cpp and network/ftpclient/main.cpp.
.SH "void QApplication::processEvents ( int maxtime )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
@@ -1479,7 +1479,7 @@ For example, if the mouse position of the click is stored in \fCstartPos\fR and
.br
.fi
.PP
-Qt uses this value internally, e.g. in QFileDialog.
+Qt uses this value internally, e.g. in TQFileDialog.
.PP
The default value is 4 pixels.
.PP
diff --git a/doc/man/man3/tqasciidict.3qt b/doc/man/man3/tqasciidict.3qt
index 23d0a52cf..915cb8288 100644
--- a/doc/man/man3/tqasciidict.3qt
+++ b/doc/man/man3/tqasciidict.3qt
@@ -76,10 +76,10 @@ Inherits TQPtrCollection.
.SS "Protected Members"
.in +1c
.ti -1c
-.BI "virtual QDataStream & \fBread\fR ( QDataStream & s, TQPtrCollection::Item & item )"
+.BI "virtual TQDataStream & \fBread\fR ( TQDataStream & s, TQPtrCollection::Item & item )"
.br
.ti -1c
-.BI "virtual QDataStream & \fBwrite\fR ( QDataStream & s, TQPtrCollection::Item ) const"
+.BI "virtual TQDataStream & \fBwrite\fR ( TQDataStream & s, TQPtrCollection::Item ) const"
.br
.in -1c
.SH DESCRIPTION
@@ -213,7 +213,7 @@ If there are two or more items with equal keys, then the item that was most rece
Equivalent to the find() function.
.PP
See also find().
-.SH "QDataStream & TQAsciiDict::read ( QDataStream & s, TQPtrCollection::Item & item )\fC [virtual protected]\fR"
+.SH "TQDataStream & TQAsciiDict::read ( TQDataStream & s, TQPtrCollection::Item & item )\fC [virtual protected]\fR"
Reads a dictionary item from the stream \fIs\fR and returns a reference to the stream.
.PP
The default implementation sets \fIitem\fR to 0.
@@ -286,7 +286,7 @@ Returns a pointer to the item taken out, or 0 if the key does not exist in the d
All dictionary iterators that refer to the taken item will be set to point to the next item in the dictionary traversal order.
.PP
See also remove(), clear(), and setAutoDelete().
-.SH "QDataStream & TQAsciiDict::write ( QDataStream & s, TQPtrCollection::Item ) const\fC [virtual protected]\fR"
+.SH "TQDataStream & TQAsciiDict::write ( TQDataStream & s, TQPtrCollection::Item ) const\fC [virtual protected]\fR"
Writes a dictionary item to the stream \fIs\fR and returns a reference to the stream.
.PP
See also read().
diff --git a/doc/man/man3/tqbitarray.3qt b/doc/man/man3/tqbitarray.3qt
index 498f6edd0..1c3bbb462 100644
--- a/doc/man/man3/tqbitarray.3qt
+++ b/doc/man/man3/tqbitarray.3qt
@@ -93,10 +93,10 @@ Inherits TQByteArray.
.BI "TQBitArray \fBoperator^\fR ( const TQBitArray & a1, const TQBitArray & a2 )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const TQBitArray & a )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQBitArray & a )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( QDataStream & s, TQBitArray & a )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQBitArray & a )"
.br
.in -1c
.SH DESCRIPTION
@@ -325,14 +325,14 @@ Returns the AND result between the bit arrays \fIa1\fR and \fIa2\fR.
The result has the length of the longest of the two bit arrays, with any missing bits (i.e. if one array is shorter than the other), taken to be 0.
.PP
See also TQBitArray::operator&=().
-.SH "QDataStream & operator<< ( QDataStream & s, const TQBitArray & a )"
+.SH "TQDataStream & operator<< ( TQDataStream & s, const TQBitArray & a )"
Writes bit array \fIa\fR to stream \fIs\fR.
.PP
-See also Format of the QDataStream operators.
-.SH "QDataStream & operator>> ( QDataStream & s, TQBitArray & a )"
+See also Format of the TQDataStream operators.
+.SH "TQDataStream & operator>> ( TQDataStream & s, TQBitArray & a )"
Reads a bit array into \fIa\fR from stream \fIs\fR.
.PP
-See also Format of the QDataStream operators.
+See also Format of the TQDataStream operators.
.SH "TQBitArray operator^ ( const TQBitArray & a1, const TQBitArray & a2 )"
Returns the XOR result between the bit arrays \fIa1\fR and \fIa2\fR.
.PP
diff --git a/doc/man/man3/tqbrush.3qt b/doc/man/man3/tqbrush.3qt
index 8bf55904d..cf52814e2 100644
--- a/doc/man/man3/tqbrush.3qt
+++ b/doc/man/man3/tqbrush.3qt
@@ -64,10 +64,10 @@ Inherits Qt.
.SH RELATED FUNCTION DOCUMENTATION
.in +1c
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const QBrush & b )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QBrush & b )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( QDataStream & s, QBrush & b )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, QBrush & b )"
.br
.in -1c
.SH DESCRIPTION
@@ -199,14 +199,14 @@ Returns the brush style.
.PP
See also setStyle().
.SH RELATED FUNCTION DOCUMENTATION
-.SH "QDataStream & operator<< ( QDataStream & s, const QBrush & b )"
+.SH "TQDataStream & operator<< ( TQDataStream & s, const QBrush & b )"
Writes the brush \fIb\fR to the stream \fIs\fR and returns a reference to the stream.
.PP
-See also Format of the QDataStream operators.
-.SH "QDataStream & operator>> ( QDataStream & s, QBrush & b )"
+See also Format of the TQDataStream operators.
+.SH "TQDataStream & operator>> ( TQDataStream & s, QBrush & b )"
Reads the brush \fIb\fR from the stream \fIs\fR and returns a reference to the stream.
.PP
-See also Format of the QDataStream operators.
+See also Format of the TQDataStream operators.
.SH "SEE ALSO"
.BR http://doc.trolltech.com/ntqbrush.html
diff --git a/doc/man/man3/tqbuffer.3qt b/doc/man/man3/tqbuffer.3qt
index cd6451e71..4eeaee57d 100644
--- a/doc/man/man3/tqbuffer.3qt
+++ b/doc/man/man3/tqbuffer.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QBuffer 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQBuffer 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,24 +7,24 @@
.ad l
.nh
.SH NAME
-QBuffer \- I/O device that operates on a TQByteArray
+TQBuffer \- I/O device that operates on a TQByteArray
.SH SYNOPSIS
All the functions in this class are reentrant when TQt is built with thread support.
.PP
-\fC#include \fR
+\fC#include \fR
.PP
Inherits TQIODevice.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQBuffer\fR ()"
+.BI "\fBTQBuffer\fR ()"
.br
.ti -1c
-.BI "\fBQBuffer\fR ( TQByteArray buf )"
+.BI "\fBTQBuffer\fR ( TQByteArray buf )"
.br
.ti -1c
-.BI "\fB~QBuffer\fR ()"
+.BI "\fB~TQBuffer\fR ()"
.br
.ti -1c
.BI "TQByteArray \fBbuffer\fR () const"
@@ -40,28 +40,28 @@ Inherits TQIODevice.
.br
.in -1c
.SH DESCRIPTION
-The QBuffer class is an I/O device that operates on a TQByteArray.
+The TQBuffer class is an I/O device that operates on a TQByteArray.
.PP
-QBuffer is used to read and write to a memory buffer. It is normally used with a TQTextStream or a QDataStream. QBuffer has an associated TQByteArray which holds the buffer data. The size() of the buffer is automatically adjusted as data is written.
+TQBuffer is used to read and write to a memory buffer. It is normally used with a TQTextStream or a TQDataStream. TQBuffer has an associated TQByteArray which holds the buffer data. The size() of the buffer is automatically adjusted as data is written.
.PP
-The constructor \fCQBuffer(TQByteArray)\fR creates a QBuffer using an existing byte array. The byte array can also be set with setBuffer(). Writing to the QBuffer will modify the original byte array because TQByteArray is explicitly shared.
+The constructor \fCTQBuffer(TQByteArray)\fR creates a TQBuffer using an existing byte array. The byte array can also be set with setBuffer(). Writing to the TQBuffer will modify the original byte array because TQByteArray is explicitly shared.
.PP
Use open() to open the buffer before use and to set the mode (read-only, write-only, etc.). close() closes the buffer. The buffer must be closed before reopening or calling setBuffer().
.PP
-A common way to use QBuffer is through QDataStream or TQTextStream, which have constructors that take a QBuffer parameter. For convenience, there are also QDataStream and TQTextStream constructors that take a TQByteArray parameter. These constructors create and open an internal QBuffer.
+A common way to use TQBuffer is through TQDataStream or TQTextStream, which have constructors that take a TQBuffer parameter. For convenience, there are also TQDataStream and TQTextStream constructors that take a TQByteArray parameter. These constructors create and open an internal TQBuffer.
.PP
-Note that TQTextStream can also operate on a TQString (a Unicode string); a QBuffer cannot.
+Note that TQTextStream can also operate on a TQString (a Unicode string); a TQBuffer cannot.
.PP
-You can also use QBuffer directly through the standard TQIODevice functions readBlock(), writeBlock() readLine(), at(), getch(), putch() and ungetch().
+You can also use TQBuffer directly through the standard TQIODevice functions readBlock(), writeBlock() readLine(), at(), getch(), putch() and ungetch().
.PP
-See also QFile, QDataStream, TQTextStream, TQByteArray, Shared Classes, Collection Classes, and Input/Output and Networking.
+See also TQFile, TQDataStream, TQTextStream, TQByteArray, Shared Classes, Collection Classes, and Input/Output and Networking.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QBuffer::QBuffer ()"
+.SH "TQBuffer::TQBuffer ()"
Constructs an empty buffer.
-.SH "QBuffer::QBuffer ( TQByteArray buf )"
+.SH "TQBuffer::TQBuffer ( TQByteArray buf )"
Constructs a buffer that operates on \fIbuf\fR.
.PP
-If you open the buffer in write mode (IO_WriteOnly or IO_ReadWrite) and write something into the buffer, \fIbuf\fR will be modified.
+If you open the buffer in write mode (IO_WriteOnly or IO_ReadWrite) and write something into the buffer, \fIbuf\fR will be modified.
.PP
Example:
.PP
@@ -69,7 +69,7 @@ Example:
.br
TQCString str = "abc";
.br
- QBuffer b( str );
+ TQBuffer b( str );
.br
b.open( IO_WriteOnly );
.br
@@ -84,21 +84,21 @@ Example:
.fi
.PP
See also setBuffer().
-.SH "QBuffer::~QBuffer ()"
+.SH "TQBuffer::~TQBuffer ()"
Destroys the buffer.
-.SH "TQByteArray QBuffer::buffer () const"
+.SH "TQByteArray TQBuffer::buffer () const"
Returns this buffer's byte array.
.PP
See also setBuffer().
-.SH "bool QBuffer::setBuffer ( TQByteArray buf )"
+.SH "bool TQBuffer::setBuffer ( TQByteArray buf )"
Replaces the buffer's contents with \fIbuf\fR and returns TRUE.
.PP
Does nothing (and returns FALSE) if isOpen() is TRUE.
.PP
-Note that if you open the buffer in write mode (IO_WriteOnly or IO_ReadWrite) and write something into the buffer, \fIbuf\fR is also modified because TQByteArray is an explicitly shared class.
+Note that if you open the buffer in write mode (IO_WriteOnly or IO_ReadWrite) and write something into the buffer, \fIbuf\fR is also modified because TQByteArray is an explicitly shared class.
.PP
See also buffer(), open(), and close().
-.SH "TQ_LONG QBuffer::writeBlock ( const char * p, TQ_ULONG len )\fC [virtual]\fR"
+.SH "TQ_LONG TQBuffer::writeBlock ( const char * p, TQ_ULONG len )\fC [virtual]\fR"
Writes \fIlen\fR bytes from \fIp\fR into the buffer at the current index position, overwriting any characters there and extending the buffer if necessary. Returns the number of bytes actually written.
.PP
Returns -1 if an error occurred.
@@ -106,14 +106,14 @@ Returns -1 if an error occurred.
See also readBlock().
.PP
Reimplemented from TQIODevice.
-.SH "TQ_LONG QBuffer::writeBlock ( const TQByteArray & data )"
+.SH "TQ_LONG TQBuffer::writeBlock ( const TQByteArray & data )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
This convenience function is the same as calling
\fCwriteBlock( data.data(), data.size() )\fR with \fIdata\fR.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqbuffer.html
+.BR http://doc.trolltech.com/tqbuffer.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqclipboard.3qt b/doc/man/man3/tqclipboard.3qt
index fba1aacf7..fac76e43f 100644
--- a/doc/man/man3/tqclipboard.3qt
+++ b/doc/man/man3/tqclipboard.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QClipboard 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQClipboard 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,9 +7,9 @@
.ad l
.nh
.SH NAME
-QClipboard \- Access to the window system clipboard
+TQClipboard \- Access to the window system clipboard
.SH SYNOPSIS
-\fC#include \fR
+\fC#include \fR
.PP
Inherits TQObject.
.PP
@@ -104,24 +104,24 @@ Inherits TQObject.
.br
.in -1c
.SH DESCRIPTION
-The QClipboard class provides access to the window system clipboard.
+The TQClipboard class provides access to the window system clipboard.
.PP
The clipboard offers a simple mechanism to copy and paste data between applications.
.PP
-QClipboard supports the same data types that TQDragObject does, and uses similar mechanisms. For advanced clipboard usage read the drag-and-drop documentation.
+TQClipboard supports the same data types that TQDragObject does, and uses similar mechanisms. For advanced clipboard usage read the drag-and-drop documentation.
.PP
-There is a single QClipboard object in an application, and you can access it using QApplication::clipboard().
+There is a single TQClipboard object in an application, and you can access it using QApplication::clipboard().
.PP
Example:
.PP
.nf
.br
- QClipboard *cb = QApplication::clipboard();
+ TQClipboard *cb = QApplication::clipboard();
.br
.br
// Copy text from the clipboard (paste)
.br
- TQString text = cb->text(QClipboard::Clipboard);
+ TQString text = cb->text(TQClipboard::Clipboard);
.br
if ( !text.isNull() )
.br
@@ -132,11 +132,11 @@ Example:
.br
cb->setText( "This text can be pasted by other programs",
.br
- QClipboard::Clipboard );
+ TQClipboard::Clipboard );
.br
.fi
.PP
-QClipboard features some convenience functions to access common data types: setText() allows the exchange of Unicode text and setPixmap() and setImage() allows the exchange of QPixmaps and TQImages between applications. The setData() function is the ultimate in flexibility: it allows you to add any TQMimeSource into the clipboard. There are corresponding getters for each of these, e.g. text(), image() and pixmap().
+TQClipboard features some convenience functions to access common data types: setText() allows the exchange of Unicode text and setPixmap() and setImage() allows the exchange of QPixmaps and TQImages between applications. The setData() function is the ultimate in flexibility: it allows you to add any TQMimeSource into the clipboard. There are corresponding getters for each of these, e.g. text(), image() and pixmap().
.PP
You can clear the clipboard by calling clear().
.SH "Platform Specific Information"
@@ -165,93 +165,93 @@ See the multiclip example in the \fIQt Designer\fR examples directory for an exa
.PP
See also Environment Classes and Input/Output and Networking.
.SS "Member Type Documentation"
-.SH "QClipboard::Mode"
+.SH "TQClipboard::Mode"
.PP
-This enum type is used to control which part of the system clipboard is used by QClipboard::data(), QClipboard::setData() and related functions.
+This enum type is used to control which part of the system clipboard is used by TQClipboard::data(), TQClipboard::setData() and related functions.
.TP
-\fCQClipboard::Clipboard\fR - indicates that data should be stored and retrieved from the global clipboard.
+\fCTQClipboard::Clipboard\fR - indicates that data should be stored and retrieved from the global clipboard.
.TP
-\fCQClipboard::Selection\fR - indicates that data should be stored and retrieved from the global mouse selection.
+\fCTQClipboard::Selection\fR - indicates that data should be stored and retrieved from the global mouse selection.
.PP
\fINote\fR: Support for Selection is provided only on systems with a global mouse selection (e.g. X11).
.PP
-See also QClipboard::supportsSelection().
+See also TQClipboard::supportsSelection().
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "void QClipboard::clear ( Mode mode )"
+.SH "void TQClipboard::clear ( Mode mode )"
Clear the clipboard contents.
.PP
-The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is QClipboard::Clipboard, this function clears the the global clipboard contents. If \fImode\fR is QClipboard::Selection, this function clears the global mouse selection contents.
+The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is TQClipboard::Clipboard, this function clears the the global clipboard contents. If \fImode\fR is TQClipboard::Selection, this function clears the global mouse selection contents.
.PP
-See also QClipboard::Mode and supportsSelection().
-.SH "void QClipboard::clear ()"
+See also TQClipboard::Mode and supportsSelection().
+.SH "void TQClipboard::clear ()"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-This function uses the QClipboard::clear() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard.
-.SH "TQMimeSource * QClipboard::data ( Mode mode ) const"
+This function uses the TQClipboard::clear() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard.
+.SH "TQMimeSource * TQClipboard::data ( Mode mode ) const"
Returns a reference to a TQMimeSource representation of the current clipboard data.
.PP
-The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is QClipboard::Clipboard, the data is retrieved from the global clipboard. If \fImode\fR is QClipboard::Selection, the data is retrieved from the global mouse selection.
+The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is TQClipboard::Clipboard, the data is retrieved from the global clipboard. If \fImode\fR is TQClipboard::Selection, the data is retrieved from the global mouse selection.
.PP
See also setData().
-.SH "TQMimeSource * QClipboard::data () const"
+.SH "TQMimeSource * TQClipboard::data () const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-This function uses the QClipboard::data() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard.
-.SH "void QClipboard::dataChanged ()\fC [signal]\fR"
+This function uses the TQClipboard::data() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard.
+.SH "void TQClipboard::dataChanged ()\fC [signal]\fR"
This signal is emitted when the clipboard data is changed.
-.SH "TQImage QClipboard::image ( Mode mode ) const"
+.SH "TQImage TQClipboard::image ( Mode mode ) const"
Returns the clipboard image, or returns a null image if the clipboard does not contain an image or if it contains an image in an unsupported image format.
.PP
-The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is QClipboard::Clipboard, the image is retrieved from the global clipboard. If \fImode\fR is QClipboard::Selection, the image is retrieved from the global mouse selection.
+The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is TQClipboard::Clipboard, the image is retrieved from the global clipboard. If \fImode\fR is TQClipboard::Selection, the image is retrieved from the global mouse selection.
.PP
See also setImage(), pixmap(), data(), and TQImage::isNull().
-.SH "TQImage QClipboard::image () const"
+.SH "TQImage TQClipboard::image () const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-This function uses the QClipboard::image() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard.
-.SH "bool QClipboard::ownsClipboard () const"
+This function uses the TQClipboard::image() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard.
+.SH "bool TQClipboard::ownsClipboard () const"
Returns TRUE if this clipboard object owns the clipboard data; otherwise returns FALSE.
-.SH "bool QClipboard::ownsSelection () const"
+.SH "bool TQClipboard::ownsSelection () const"
Returns TRUE if this clipboard object owns the mouse selection data; otherwise returns FALSE.
-.SH "QPixmap QClipboard::pixmap ( Mode mode ) const"
+.SH "QPixmap TQClipboard::pixmap ( Mode mode ) const"
Returns the clipboard pixmap, or null if the clipboard does not contain a pixmap. Note that this can lose information. For example, if the image is 24-bit and the display is 8-bit, the result is converted to 8 bits, and if the image has an alpha channel, the result just has a mask.
.PP
-The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is QClipboard::Clipboard, the pixmap is retrieved from the global clipboard. If \fImode\fR is QClipboard::Selection, the pixmap is retrieved from the global mouse selection.
+The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is TQClipboard::Clipboard, the pixmap is retrieved from the global clipboard. If \fImode\fR is TQClipboard::Selection, the pixmap is retrieved from the global mouse selection.
.PP
See also setPixmap(), image(), data(), and QPixmap::convertFromImage().
-.SH "QPixmap QClipboard::pixmap () const"
+.SH "QPixmap TQClipboard::pixmap () const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-This function uses the QClipboard::pixmap() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard.
-.SH "void QClipboard::selectionChanged ()\fC [signal]\fR"
+This function uses the TQClipboard::pixmap() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard.
+.SH "void TQClipboard::selectionChanged ()\fC [signal]\fR"
This signal is emitted when the selection is changed. This only applies to windowing systems that support selections, e.g. X11. Windows doesn't support selections.
-.SH "bool QClipboard::selectionModeEnabled () const"
+.SH "bool TQClipboard::selectionModeEnabled () const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
-Use the QClipboard::data(), QClipboard::setData() and related functions which take a QClipboard::Mode argument.
+Use the TQClipboard::data(), TQClipboard::setData() and related functions which take a TQClipboard::Mode argument.
.PP
Returns the selection mode.
.PP
See also setSelectionMode() and supportsSelection().
-.SH "void QClipboard::setData ( TQMimeSource * src, Mode mode )"
+.SH "void TQClipboard::setData ( TQMimeSource * src, Mode mode )"
Sets the clipboard data to \fIsrc\fR. Ownership of the data is transferred to the clipboard. If you want to remove the data either call clear() or call setData() again with new data.
.PP
-The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is QClipboard::Clipboard, the data is retrieved from the global clipboard. If \fImode\fR is QClipboard::Selection, the data is retrieved from the global mouse selection.
+The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is TQClipboard::Clipboard, the data is retrieved from the global clipboard. If \fImode\fR is TQClipboard::Selection, the data is retrieved from the global mouse selection.
.PP
The TQDragObject subclasses are reasonable objects to put into the clipboard (but do not try to call TQDragObject::drag() on the same object). Any TQDragObject placed in the clipboard should have a parent of 0. Do not put TQDragMoveEvent or TQDropEvent subclasses in the clipboard, as they do not belong to the event handler which receives them.
.PP
The setText(), setImage() and setPixmap() functions are simpler wrappers for setting text, image and pixmap data respectively.
.PP
See also data().
-.SH "void QClipboard::setData ( TQMimeSource * src )"
+.SH "void TQClipboard::setData ( TQMimeSource * src )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-This function uses the QClipboard::setData() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard.
-.SH "void QClipboard::setImage ( const TQImage & image, Mode mode )"
+This function uses the TQClipboard::setData() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard.
+.SH "void TQClipboard::setImage ( const TQImage & image, Mode mode )"
Copies \fIimage\fR into the clipboard.
.PP
-The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is QClipboard::Clipboard, the image is stored in the global clipboard. If \fImode\fR is QClipboard::Selection, the data is stored in the global mouse selection.
+The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is TQClipboard::Clipboard, the image is stored in the global clipboard. If \fImode\fR is TQClipboard::Selection, the data is stored in the global mouse selection.
.PP
This is shorthand for:
.PP
@@ -262,77 +262,77 @@ This is shorthand for:
.fi
.PP
See also image(), setPixmap(), and setData().
-.SH "void QClipboard::setImage ( const TQImage & image )"
+.SH "void TQClipboard::setImage ( const TQImage & image )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-This function uses the QClipboard::setImage() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard.
-.SH "void QClipboard::setPixmap ( const QPixmap & pixmap, Mode mode )"
+This function uses the TQClipboard::setImage() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard.
+.SH "void TQClipboard::setPixmap ( const QPixmap & pixmap, Mode mode )"
Copies \fIpixmap\fR into the clipboard. Note that this is slower than setImage() because it needs to convert the QPixmap to a TQImage first.
.PP
-The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is QClipboard::Clipboard, the pixmap is stored in the global clipboard. If \fImode\fR is QClipboard::Selection, the pixmap is stored in the global mouse selection.
+The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is TQClipboard::Clipboard, the pixmap is stored in the global clipboard. If \fImode\fR is TQClipboard::Selection, the pixmap is stored in the global mouse selection.
.PP
See also pixmap(), setImage(), and setData().
-.SH "void QClipboard::setPixmap ( const QPixmap & pixmap )"
+.SH "void TQClipboard::setPixmap ( const QPixmap & pixmap )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-This function uses the QClipboard::setPixmap() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard.
-.SH "void QClipboard::setSelectionMode ( bool enable )"
+This function uses the TQClipboard::setPixmap() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard.
+.SH "void TQClipboard::setSelectionMode ( bool enable )"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
-Use the QClipboard::data(), QClipboard::setData() and related functions which take a QClipboard::Mode argument.
+Use the TQClipboard::data(), TQClipboard::setData() and related functions which take a TQClipboard::Mode argument.
.PP
-Sets the clipboard selection mode. If \fIenable\fR is TRUE, then subsequent calls to QClipboard::setData() and other functions which put data into the clipboard will put the data into the mouse selection, otherwise the data will be put into the clipboard.
+Sets the clipboard selection mode. If \fIenable\fR is TRUE, then subsequent calls to TQClipboard::setData() and other functions which put data into the clipboard will put the data into the mouse selection, otherwise the data will be put into the clipboard.
.PP
See also supportsSelection() and selectionModeEnabled().
-.SH "void QClipboard::setText ( const TQString & text, Mode mode )"
+.SH "void TQClipboard::setText ( const TQString & text, Mode mode )"
Copies \fItext\fR into the clipboard as plain text.
.PP
-The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is QClipboard::Clipboard, the text is stored in the global clipboard. If \fImode\fR is QClipboard::Selection, the text is stored in the global mouse selection.
+The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is TQClipboard::Clipboard, the text is stored in the global clipboard. If \fImode\fR is TQClipboard::Selection, the text is stored in the global mouse selection.
.PP
See also text() and setData().
.PP
Example: regexptester/regexptester.cpp.
-.SH "void QClipboard::setText ( const TQString & text )"
+.SH "void TQClipboard::setText ( const TQString & text )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-This function uses the QClipboard::setText() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard.
-.SH "bool QClipboard::supportsSelection () const"
+This function uses the TQClipboard::setText() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard.
+.SH "bool TQClipboard::supportsSelection () const"
Returns TRUE if the clipboard supports mouse selection; otherwise returns FALSE.
.PP
Example: regexptester/regexptester.cpp.
-.SH "TQString QClipboard::text ( Mode mode ) const"
+.SH "TQString TQClipboard::text ( Mode mode ) const"
Returns the clipboard text as plain text, or a null string if the clipboard does not contain any text.
.PP
-The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is QClipboard::Clipboard, the text is retrieved from the global clipboard. If \fImode\fR is QClipboard::Selection, the text is retrieved from the global mouse selection.
+The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is TQClipboard::Clipboard, the text is retrieved from the global clipboard. If \fImode\fR is TQClipboard::Selection, the text is retrieved from the global mouse selection.
.PP
See also setText(), data(), and TQString::operator!().
-.SH "TQString QClipboard::text ( TQCString & subtype, Mode mode ) const"
+.SH "TQString TQClipboard::text ( TQCString & subtype, Mode mode ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns the clipboard text in subtype \fIsubtype\fR, or a null string if the clipboard does not contain any text. If \fIsubtype\fR is null, any subtype is acceptable, and \fIsubtype\fR is set to the chosen subtype.
.PP
-The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is QClipboard::Clipboard, the text is retrieved from the global clipboard. If \fImode\fR is QClipboard::Selection, the text is retrieved from the global mouse selection.
+The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is TQClipboard::Clipboard, the text is retrieved from the global clipboard. If \fImode\fR is TQClipboard::Selection, the text is retrieved from the global mouse selection.
.PP
Common values for \fIsubtype\fR are "plain" and "html".
.PP
See also setText(), data(), and TQString::operator!().
-.SH "TQString QClipboard::text () const"
+.SH "TQString TQClipboard::text () const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-This function uses the QClipboard::text() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard.
-.SH "TQString QClipboard::text ( TQCString & subtype ) const"
+This function uses the TQClipboard::text() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard.
+.SH "TQString TQClipboard::text ( TQCString & subtype ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns the clipboard text in subtype \fIsubtype\fR, or a null string
if the clipboard does not contain any text. This function uses the
-QClipboard::text() function which takes a QClipboard::Mode
+TQClipboard::text() function which takes a TQClipboard::Mode
argument. The value of the mode argument is determined by the
return value of selectionModeEnabled(). If selectionModeEnabled()
-returns TRUE, the mode argument is QClipboard::Selection,
-otherwise the mode argument is QClipboard::Clipboard.
+returns TRUE, the mode argument is TQClipboard::Selection,
+otherwise the mode argument is TQClipboard::Clipboard.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqclipboard.html
+.BR http://doc.trolltech.com/tqclipboard.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqcolor.3qt b/doc/man/man3/tqcolor.3qt
index 34696d4c3..c6f474a61 100644
--- a/doc/man/man3/tqcolor.3qt
+++ b/doc/man/man3/tqcolor.3qt
@@ -140,10 +140,10 @@ TQColor \- Colors based on RGB or HSV values
.SH RELATED FUNCTION DOCUMENTATION
.in +1c
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const TQColor & c )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQColor & c )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( QDataStream & s, TQColor & c )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQColor & c )"
.br
.ti -1c
.BI "int \fBqRed\fR ( TQRgb rgb )"
@@ -523,14 +523,14 @@ The type \fIQRgb\fR is equivalent to \fCunsigned\fR \fCint\fR.
.PP
See also rgb() and setHsv().
.SH RELATED FUNCTION DOCUMENTATION
-.SH "QDataStream & operator<< ( QDataStream & s, const TQColor & c )"
+.SH "TQDataStream & operator<< ( TQDataStream & s, const TQColor & c )"
Writes a color object, \fIc\fR to the stream, \fIs\fR.
.PP
-See also Format of the QDataStream operators.
-.SH "QDataStream & operator>> ( QDataStream & s, TQColor & c )"
+See also Format of the TQDataStream operators.
+.SH "TQDataStream & operator>> ( TQDataStream & s, TQColor & c )"
Reads a color object, \fIc\fR, from the stream, \fIs\fR.
.PP
-See also Format of the QDataStream operators.
+See also Format of the TQDataStream operators.
.SH "int tqAlpha ( TQRgb rgba )"
Returns the alpha component of the RGBA quadruplet \fIrgba\fR.
.SH "int tqBlue ( TQRgb rgb )"
diff --git a/doc/man/man3/tqcolorgroup.3qt b/doc/man/man3/tqcolorgroup.3qt
index c22374b32..4c9b2fac4 100644
--- a/doc/man/man3/tqcolorgroup.3qt
+++ b/doc/man/man3/tqcolorgroup.3qt
@@ -104,7 +104,7 @@ QColorGroup \- Group of widget colors
.SH RELATED FUNCTION DOCUMENTATION
.in +1c
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const QColorGroup & g )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QColorGroup & g )"
.br
.in -1c
.SH DESCRIPTION
@@ -327,10 +327,10 @@ See also ColorRole.
.PP
Example: listviews/listviews.cpp.
.SH RELATED FUNCTION DOCUMENTATION
-.SH "QDataStream & operator<< ( QDataStream & s, const QColorGroup & g )"
+.SH "TQDataStream & operator<< ( TQDataStream & s, const QColorGroup & g )"
Writes color group, \fIg\fR to the stream \fIs\fR.
.PP
-See also Format of the QDataStream operators.
+See also Format of the TQDataStream operators.
.SH "SEE ALSO"
.BR http://doc.trolltech.com/qcolorgroup.html
diff --git a/doc/man/man3/tqcstring.3qt b/doc/man/man3/tqcstring.3qt
index 0ba70bce6..4013c5165 100644
--- a/doc/man/man3/tqcstring.3qt
+++ b/doc/man/man3/tqcstring.3qt
@@ -240,10 +240,10 @@ Inherits TQByteArray.
.BI "int \fBqstrnicmp\fR ( const char * str1, const char * str2, uint len )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const TQCString & str )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQCString & str )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( QDataStream & s, TQCString & str )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQCString & str )"
.br
.ti -1c
.BI "bool \fBoperator==\fR ( const TQCString & s1, const TQCString & s2 )"
@@ -975,10 +975,10 @@ Returns TRUE if \fIs1\fR is less than \fIs2\fR; otherwise returns FALSE.
Equivalent to qstrcmp(\fIs1\fR, \fIs2\fR) < 0.
.PP
See also Note on character comparisons.
-.SH "QDataStream & operator<< ( QDataStream & s, const TQCString & str )"
+.SH "TQDataStream & operator<< ( TQDataStream & s, const TQCString & str )"
Writes string \fIstr\fR to the stream \fIs\fR.
.PP
-See also Format of the QDataStream operators.
+See also Format of the TQDataStream operators.
.SH "bool operator<= ( const TQCString & s1, const char * s2 )"
Returns TRUE if \fIs1\fR is less than or equal to \fIs2\fR; otherwise returns FALSE.
.PP
@@ -1037,10 +1037,10 @@ Returns TRUE if \fIs1\fR is greater than or equal to \fIs2\fR; otherwise returns
Equivalent to qstrcmp(\fIs1\fR, \fIs2\fR) >= 0.
.PP
See also Note on character comparisons.
-.SH "QDataStream & operator>> ( QDataStream & s, TQCString & str )"
+.SH "TQDataStream & operator>> ( TQDataStream & s, TQCString & str )"
Reads a string into \fIstr\fR from the stream \fIs\fR.
.PP
-See also Format of the QDataStream operators.
+See also Format of the TQDataStream operators.
.SH "void * tqmemmove ( void * dst, const void * src, uint len )"
This function is normally part of the C library. TQt implements memmove() for platforms that do not provide it.
.PP
diff --git a/doc/man/man3/tqcursor.3qt b/doc/man/man3/tqcursor.3qt
index c8c0b23ef..3b86bbbf9 100644
--- a/doc/man/man3/tqcursor.3qt
+++ b/doc/man/man3/tqcursor.3qt
@@ -82,10 +82,10 @@ Inherits Qt.
.SH RELATED FUNCTION DOCUMENTATION
.in +1c
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const QCursor & c )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QCursor & c )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( QDataStream & s, QCursor & c )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, QCursor & c )"
.br
.in -1c
.SH DESCRIPTION
@@ -198,7 +198,7 @@ You can call TQWidget::mapFromGlobal() to translate it to widget coordinates.
See also setPos(), TQWidget::mapFromGlobal(), and TQWidget::mapToGlobal().
.PP
Examples:
-.)l chart/canvasview.cpp, fileiconview/qfileiconview.cpp, and menu/menu.cpp.
+.)l chart/canvasview.cpp, fileiconview/tqfileiconview.cpp, and menu/menu.cpp.
.SH "void QCursor::setPos ( int x, int y )\fC [static]\fR"
Moves the cursor (hot spot) to the global screen position (\fIx\fR, \fIy\fR).
.PP
@@ -218,14 +218,14 @@ Returns the cursor shape identifier. The return value is one of the CursorShape
.PP
See also setShape().
.SH RELATED FUNCTION DOCUMENTATION
-.SH "QDataStream & operator<< ( QDataStream & s, const QCursor & c )"
+.SH "TQDataStream & operator<< ( TQDataStream & s, const QCursor & c )"
Writes the cursor \fIc\fR to the stream \fIs\fR.
.PP
-See also Format of the QDataStream operators.
-.SH "QDataStream & operator>> ( QDataStream & s, QCursor & c )"
+See also Format of the TQDataStream operators.
+.SH "TQDataStream & operator>> ( TQDataStream & s, QCursor & c )"
Reads a cursor from the stream \fIs\fR and sets \fIc\fR to the read data.
.PP
-See also Format of the QDataStream operators.
+See also Format of the TQDataStream operators.
.SH "SEE ALSO"
.BR http://doc.trolltech.com/ntqcursor.html
diff --git a/doc/man/man3/tqdatabrowser.3qt b/doc/man/man3/tqdatabrowser.3qt
index 7d7e4fe05..d3a8d11d0 100644
--- a/doc/man/man3/tqdatabrowser.3qt
+++ b/doc/man/man3/tqdatabrowser.3qt
@@ -271,17 +271,17 @@ See also Database Classes.
.SH "TQDataBrowser::Boundary"
This enum describes where the data browser is positioned.
.TP
-\fCQDataBrowser::Unknown\fR - the boundary cannot be determined (usually because there is no default cursor, or the default cursor is not active).
+\fCTQDataBrowser::Unknown\fR - the boundary cannot be determined (usually because there is no default cursor, or the default cursor is not active).
.TP
-\fCQDataBrowser::None\fR - the browser is not positioned on a boundary, but it is positioned on a record somewhere in the middle.
+\fCTQDataBrowser::None\fR - the browser is not positioned on a boundary, but it is positioned on a record somewhere in the middle.
.TP
-\fCQDataBrowser::BeforeBeginning\fR - the browser is positioned before the first available record.
+\fCTQDataBrowser::BeforeBeginning\fR - the browser is positioned before the first available record.
.TP
-\fCQDataBrowser::Beginning\fR - the browser is positioned at the first record.
+\fCTQDataBrowser::Beginning\fR - the browser is positioned at the first record.
.TP
-\fCQDataBrowser::End\fR - the browser is positioned at the last record.
+\fCTQDataBrowser::End\fR - the browser is positioned at the last record.
.TP
-\fCQDataBrowser::AfterEnd\fR - the browser is positioned after the last available record.
+\fCTQDataBrowser::AfterEnd\fR - the browser is positioned after the last available record.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "TQDataBrowser::TQDataBrowser ( TQWidget * parent = 0, const char * name = 0, WFlags fl = 0 )"
Constructs a data browser which is a child of \fIparent\fR, with the name \fIname\fR and widget flags set to \fIfl\fR.
diff --git a/doc/man/man3/tqdatastream.3qt b/doc/man/man3/tqdatastream.3qt
index 046771aae..cd69ab262 100644
--- a/doc/man/man3/tqdatastream.3qt
+++ b/doc/man/man3/tqdatastream.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QDataStream 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQDataStream 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,25 +7,25 @@
.ad l
.nh
.SH NAME
-QDataStream \- Serialization of binary data to a TQIODevice
+TQDataStream \- Serialization of binary data to a TQIODevice
.SH SYNOPSIS
All the functions in this class are reentrant when TQt is built with thread support.
.PP
-\fC#include \fR
+\fC#include \fR
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQDataStream\fR ()"
+.BI "\fBTQDataStream\fR ()"
.br
.ti -1c
-.BI "\fBQDataStream\fR ( TQIODevice * d )"
+.BI "\fBTQDataStream\fR ( TQIODevice * d )"
.br
.ti -1c
-.BI "\fBQDataStream\fR ( TQByteArray a, int mode )"
+.BI "\fBTQDataStream\fR ( TQByteArray a, int mode )"
.br
.ti -1c
-.BI "virtual \fB~QDataStream\fR ()"
+.BI "virtual \fB~TQDataStream\fR ()"
.br
.ti -1c
.BI "TQIODevice * \fBdevice\fR () const"
@@ -64,116 +64,116 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "void \fBsetVersion\fR ( int v )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( TQ_INT8 & i )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQ_INT8 & i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( TQ_UINT8 & i )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQ_UINT8 & i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( TQ_INT16 & i )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQ_INT16 & i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( TQ_UINT16 & i )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQ_UINT16 & i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( TQ_INT32 & i )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQ_INT32 & i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( TQ_UINT32 & i )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQ_UINT32 & i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( TQ_INT64 & i )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQ_INT64 & i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( TQ_UINT64 & i )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQ_UINT64 & i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( TQ_LONG & i )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQ_LONG & i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( TQ_ULONG & i )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQ_ULONG & i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( float & f )"
+.BI "TQDataStream & \fBoperator>>\fR ( float & f )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( double & f )"
+.BI "TQDataStream & \fBoperator>>\fR ( double & f )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( char *& s )"
+.BI "TQDataStream & \fBoperator>>\fR ( char *& s )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( TQ_INT8 i )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQ_INT8 i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( TQ_UINT8 i )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQ_UINT8 i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( TQ_INT16 i )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQ_INT16 i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( TQ_UINT16 i )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQ_UINT16 i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( TQ_INT32 i )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQ_INT32 i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( TQ_UINT32 i )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQ_UINT32 i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( TQ_INT64 i )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQ_INT64 i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( TQ_UINT64 i )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQ_UINT64 i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( TQ_LONG i )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQ_LONG i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( TQ_ULONG i )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQ_ULONG i )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( float f )"
+.BI "TQDataStream & \fBoperator<<\fR ( float f )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( double f )"
+.BI "TQDataStream & \fBoperator<<\fR ( double f )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( const char * s )"
+.BI "TQDataStream & \fBoperator<<\fR ( const char * s )"
.br
.ti -1c
-.BI "QDataStream & \fBreadBytes\fR ( char *& s, uint & l )"
+.BI "TQDataStream & \fBreadBytes\fR ( char *& s, uint & l )"
.br
.ti -1c
-.BI "QDataStream & \fBreadRawBytes\fR ( char * s, uint len )"
+.BI "TQDataStream & \fBreadRawBytes\fR ( char * s, uint len )"
.br
.ti -1c
-.BI "QDataStream & \fBwriteBytes\fR ( const char * s, uint len )"
+.BI "TQDataStream & \fBwriteBytes\fR ( const char * s, uint len )"
.br
.ti -1c
-.BI "QDataStream & \fBwriteRawBytes\fR ( const char * s, uint len )"
+.BI "TQDataStream & \fBwriteRawBytes\fR ( const char * s, uint len )"
.br
.in -1c
.SH DESCRIPTION
-The QDataStream class provides serialization of binary data to a TQIODevice.
+The TQDataStream class provides serialization of binary data to a TQIODevice.
.PP
A data stream is a binary stream of encoded information which is 100% independent of the host computer's operating system, CPU or byte order. For example, a data stream that is written by a PC under Windows can be read by a Sun SPARC running Solaris.
.PP
You can also use a data stream to read/write raw unencoded binary data. If you want a "parsing" input stream, see TQTextStream.
.PP
-The QDataStream class implements the serialization of C++'s basic data types, like \fCchar\fR, \fCshort\fR, \fCint\fR, \fCchar*\fR, etc. Serialization of more complex data is accomplished by breaking up the data into primitive units.
+The TQDataStream class implements the serialization of C++'s basic data types, like \fCchar\fR, \fCshort\fR, \fCint\fR, \fCchar*\fR, etc. Serialization of more complex data is accomplished by breaking up the data into primitive units.
.PP
-A data stream cooperates closely with a TQIODevice. A TQIODevice represents an input/output medium one can read data from and write data to. The QFile class is an example of an IO device.
+A data stream cooperates closely with a TQIODevice. A TQIODevice represents an input/output medium one can read data from and write data to. The TQFile class is an example of an IO device.
.PP
Example (write binary data to a stream):
.PP
.nf
.br
- QFile file( "file.dat" );
+ TQFile file( "file.dat" );
.br
file.open( IO_WriteOnly );
.br
- QDataStream stream( &file ); // we will serialize the data into the file
+ TQDataStream stream( &file ); // we will serialize the data into the file
.br
stream << "the answer is"; // serialize a string
.br
@@ -185,11 +185,11 @@ Example (read binary data from a stream):
.PP
.nf
.br
- QFile file( "file.dat" );
+ TQFile file( "file.dat" );
.br
file.open( IO_ReadOnly );
.br
- QDataStream stream( &file ); // read the data serialized from the file
+ TQDataStream stream( &file ); // read the data serialized from the file
.br
TQString str;
.br
@@ -199,7 +199,7 @@ Example (read binary data from a stream):
.br
.fi
.PP
-Each item written to the stream is written in a predefined binary format that varies depending on the item's type. Supported TQt types include QBrush, TQColor, TQDateTime, QFont, QPixmap, TQString, QVariant and many others. For the complete list of all TQt types supporting data streaming see the Format of the QDataStream operators.
+Each item written to the stream is written in a predefined binary format that varies depending on the item's type. Supported TQt types include QBrush, TQColor, TQDateTime, QFont, QPixmap, TQString, QVariant and many others. For the complete list of all TQt types supporting data streaming see the Format of the TQDataStream operators.
.PP
For integers it is best to always cast to a TQt integer type for writing, and to read back into the same TQt integer type. This ensures that you get integers of the size you want and insulates you from compiler and platform differences.
.PP
@@ -211,15 +211,15 @@ If you want the data to be compatible with an earlier version of TQt use setVers
.PP
If you want the data to be human-readable, e.g. for debugging, you can set the data stream into printable data mode with setPrintableData(). The data is then written slower, in a bloated but human readable format.
.PP
-If you are producing a new binary data format, such as a file format for documents created by your application, you could use a QDataStream to write the data in a portable format. Typically, you would write a brief header containing a magic string and a version number to give yourself room for future expansion. For example:
+If you are producing a new binary data format, such as a file format for documents created by your application, you could use a TQDataStream to write the data in a portable format. Typically, you would write a brief header containing a magic string and a version number to give yourself room for future expansion. For example:
.PP
.nf
.br
- QFile file( "file.xxx" );
+ TQFile file( "file.xxx" );
.br
file.open( IO_WriteOnly );
.br
- QDataStream stream( &file );
+ TQDataStream stream( &file );
.br
.br
// Write a header with a "magic number" and a version
@@ -239,11 +239,11 @@ Then read it in with:
.PP
.nf
.br
- QFile file( "file.xxx" );
+ TQFile file( "file.xxx" );
.br
file.open( IO_ReadOnly );
.br
- QDataStream stream( &file );
+ TQDataStream stream( &file );
.br
.br
// Read and check the header
@@ -296,25 +296,25 @@ A similar pair of functions is readBytes() and writeBytes(). These differ from t
.PP
See also TQTextStream, QVariant, and Input/Output and Networking.
.SS "Member Type Documentation"
-.SH "QDataStream::ByteOrder"
+.SH "TQDataStream::ByteOrder"
The byte order used for reading/writing the data.
.TP
-\fCQDataStream::BigEndian\fR - the default
+\fCTQDataStream::BigEndian\fR - the default
.TP
-\fCQDataStream::LittleEndian\fR
+\fCTQDataStream::LittleEndian\fR
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QDataStream::QDataStream ()"
+.SH "TQDataStream::TQDataStream ()"
Constructs a data stream that has no IO device.
.PP
See also setDevice().
-.SH "QDataStream::QDataStream ( TQIODevice * d )"
+.SH "TQDataStream::TQDataStream ( TQIODevice * d )"
Constructs a data stream that uses the IO device \fId\fR.
.PP
-\fBWarning:\fR If you use QSocket or QSocketDevice as the IO device \fId\fR for reading data, you must make sure that enough data is available on the socket for the operation to successfully proceed; QDataStream does not have any means to handle or recover from short-reads.
+\fBWarning:\fR If you use TQSocket or TQSocketDevice as the IO device \fId\fR for reading data, you must make sure that enough data is available on the socket for the operation to successfully proceed; TQDataStream does not have any means to handle or recover from short-reads.
.PP
See also setDevice() and device().
-.SH "QDataStream::QDataStream ( TQByteArray a, int mode )"
-Constructs a data stream that operates on a byte array, \fIa\fR, through an internal QBuffer device. The \fImode\fR is a TQIODevice::mode(), usually either IO_ReadOnly or IO_WriteOnly.
+.SH "TQDataStream::TQDataStream ( TQByteArray a, int mode )"
+Constructs a data stream that operates on a byte array, \fIa\fR, through an internal TQBuffer device. The \fImode\fR is a TQIODevice::mode(), usually either IO_ReadOnly or IO_WriteOnly.
.PP
Example:
.PP
@@ -326,7 +326,7 @@ Example:
.br
a.setRawData( bindata, sizeof(bindata) ); // a points to bindata
.br
- QDataStream stream( a, IO_ReadOnly ); // open on a's data
+ TQDataStream stream( a, IO_ReadOnly ); // open on a's data
.br
stream >> [something]; // read raw bindata
.br
@@ -335,23 +335,23 @@ Example:
.fi
.PP
The TQByteArray::setRawData() function is not for the inexperienced.
-.SH "QDataStream::~QDataStream ()\fC [virtual]\fR"
+.SH "TQDataStream::~TQDataStream ()\fC [virtual]\fR"
Destroys the data stream.
.PP
The destructor will not affect the current IO device, unless it is an internal IO device processing a TQByteArray passed in the \fIconstructor\fR, in which case the internal IO device is destroyed.
-.SH "bool QDataStream::atEnd () const"
+.SH "bool TQDataStream::atEnd () const"
Returns TRUE if the IO device has reached the end position (end of the stream or file) or if there is no IO device set; otherwise returns FALSE, i.e. if the current position of the IO device is before the end position.
.PP
See also TQIODevice::atEnd().
-.SH "int QDataStream::byteOrder () const"
+.SH "int TQDataStream::byteOrder () const"
Returns the current byte order setting -- either BigEndian or LittleEndian.
.PP
See also setByteOrder().
-.SH "TQIODevice * QDataStream::device () const"
+.SH "TQIODevice * TQDataStream::device () const"
Returns the IO device currently set.
.PP
See also setDevice() and unsetDevice().
-.SH "bool QDataStream::eof () const"
+.SH "bool TQDataStream::eof () const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Returns TRUE if the IO device has reached the end position (end of stream or file) or if there is no IO device set.
@@ -359,115 +359,115 @@ Returns TRUE if the IO device has reached the end position (end of stream or fil
Returns FALSE if the current position of the read/write head of the IO device is somewhere before the end position.
.PP
See also TQIODevice::atEnd().
-.SH "bool QDataStream::isPrintableData () const"
+.SH "bool TQDataStream::isPrintableData () const"
Returns TRUE if the printable data flag has been set; otherwise returns FALSE.
.PP
See also setPrintableData().
-.SH "QDataStream & QDataStream::operator<< ( TQ_INT8 i )"
+.SH "TQDataStream & TQDataStream::operator<< ( TQ_INT8 i )"
Writes a signed byte, \fIi\fR, to the stream and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator<< ( TQ_UINT8 i )"
+.SH "TQDataStream & TQDataStream::operator<< ( TQ_UINT8 i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes an unsigned byte, \fIi\fR, to the stream and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator<< ( TQ_INT16 i )"
+.SH "TQDataStream & TQDataStream::operator<< ( TQ_INT16 i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes a signed 16-bit integer, \fIi\fR, to the stream and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator<< ( TQ_UINT16 i )"
+.SH "TQDataStream & TQDataStream::operator<< ( TQ_UINT16 i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes an unsigned 16-bit integer, \fIi\fR, to the stream and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator<< ( TQ_INT32 i )"
+.SH "TQDataStream & TQDataStream::operator<< ( TQ_INT32 i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes a signed 32-bit integer, \fIi\fR, to the stream and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator<< ( TQ_UINT32 i )"
+.SH "TQDataStream & TQDataStream::operator<< ( TQ_UINT32 i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes an unsigned integer, \fIi\fR, to the stream as a 32-bit unsigned integer (TQ_UINT32). Returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator<< ( TQ_INT64 i )"
+.SH "TQDataStream & TQDataStream::operator<< ( TQ_INT64 i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes a signed 64-bit integer, \fIi\fR, to the stream and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator<< ( TQ_UINT64 i )"
+.SH "TQDataStream & TQDataStream::operator<< ( TQ_UINT64 i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes an unsigned 64-bit integer, \fIi\fR, to the stream and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator<< ( TQ_LONG i )"
+.SH "TQDataStream & TQDataStream::operator<< ( TQ_LONG i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes a signed integer \fIi\fR, of the system's word length, to the stream and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator<< ( TQ_ULONG i )"
+.SH "TQDataStream & TQDataStream::operator<< ( TQ_ULONG i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes an unsigned integer \fIi\fR, of the system's word length, to the stream and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator<< ( float f )"
+.SH "TQDataStream & TQDataStream::operator<< ( float f )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes a 32-bit floating point number, \fIf\fR, to the stream using the standard IEEE754 format. Returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator<< ( double f )"
+.SH "TQDataStream & TQDataStream::operator<< ( double f )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes a 64-bit floating point number, \fIf\fR, to the stream using the standard IEEE754 format. Returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator<< ( const char * s )"
+.SH "TQDataStream & TQDataStream::operator<< ( const char * s )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes the '\0'-terminated string \fIs\fR to the stream and returns a reference to the stream.
.PP
The string is serialized using writeBytes().
-.SH "QDataStream & QDataStream::operator>> ( TQ_INT8 & i )"
+.SH "TQDataStream & TQDataStream::operator>> ( TQ_INT8 & i )"
Reads a signed byte from the stream into \fIi\fR, and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator>> ( TQ_UINT8 & i )"
+.SH "TQDataStream & TQDataStream::operator>> ( TQ_UINT8 & i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads an unsigned byte from the stream into \fIi\fR, and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator>> ( TQ_INT16 & i )"
+.SH "TQDataStream & TQDataStream::operator>> ( TQ_INT16 & i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads a signed 16-bit integer from the stream into \fIi\fR, and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator>> ( TQ_UINT16 & i )"
+.SH "TQDataStream & TQDataStream::operator>> ( TQ_UINT16 & i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads an unsigned 16-bit integer from the stream into \fIi\fR, and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator>> ( TQ_INT32 & i )"
+.SH "TQDataStream & TQDataStream::operator>> ( TQ_INT32 & i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads a signed 32-bit integer from the stream into \fIi\fR, and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator>> ( TQ_UINT32 & i )"
+.SH "TQDataStream & TQDataStream::operator>> ( TQ_UINT32 & i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads an unsigned 32-bit integer from the stream into \fIi\fR, and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator>> ( TQ_INT64 & i )"
+.SH "TQDataStream & TQDataStream::operator>> ( TQ_INT64 & i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads a signed 64-bit integer from the stream into \fIi\fR, and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator>> ( TQ_UINT64 & i )"
+.SH "TQDataStream & TQDataStream::operator>> ( TQ_UINT64 & i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads an unsigned 64-bit integer from the stream, into \fIi\fR, and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator>> ( TQ_LONG & i )"
+.SH "TQDataStream & TQDataStream::operator>> ( TQ_LONG & i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads a signed integer of the system's word length from the stream into \fIi\fR, and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator>> ( TQ_ULONG & i )"
+.SH "TQDataStream & TQDataStream::operator>> ( TQ_ULONG & i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads an unsigned integer of the system's word length from the stream, into \fIi\fR, and returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator>> ( float & f )"
+.SH "TQDataStream & TQDataStream::operator>> ( float & f )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads a 32-bit floating point number from the stream into \fIf\fR, using the standard IEEE754 format. Returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator>> ( double & f )"
+.SH "TQDataStream & TQDataStream::operator>> ( double & f )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads a 64-bit floating point number from the stream into \fIf\fR, using the standard IEEE754 format. Returns a reference to the stream.
-.SH "QDataStream & QDataStream::operator>> ( char *& s )"
+.SH "TQDataStream & TQDataStream::operator>> ( char *& s )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads the '\0'-terminated string \fIs\fR from the stream and returns a reference to the stream.
.PP
Space for the string is allocated using \fCnew\fR -- the caller must destroy it with delete[].
-.SH "QDataStream & QDataStream::readBytes ( char *& s, uint & l )"
+.SH "TQDataStream & TQDataStream::readBytes ( char *& s, uint & l )"
Reads the buffer \fIs\fR from the stream and returns a reference to the stream.
.PP
The buffer \fIs\fR is allocated using \fCnew\fR. Destroy it with the \fCdelete[]\fR operator. If the length is zero or \fIs\fR cannot be allocated, \fIs\fR is set to 0.
@@ -477,68 +477,68 @@ The \fIl\fR parameter will be set to the length of the buffer.
The serialization format is a TQ_UINT32 length specifier first, then \fIl\fR bytes of data. Note that the data is \fInot\fR encoded.
.PP
See also readRawBytes() and writeBytes().
-.SH "QDataStream & QDataStream::readRawBytes ( char * s, uint len )"
+.SH "TQDataStream & TQDataStream::readRawBytes ( char * s, uint len )"
Reads \fIlen\fR bytes from the stream into \fIs\fR and returns a reference to the stream.
.PP
The buffer \fIs\fR must be preallocated. The data is \fInot\fR encoded.
.PP
See also readBytes(), TQIODevice::readBlock(), and writeRawBytes().
-.SH "void QDataStream::setByteOrder ( int bo )"
+.SH "void TQDataStream::setByteOrder ( int bo )"
Sets the serialization byte order to \fIbo\fR.
.PP
-The \fIbo\fR parameter can be QDataStream::BigEndian or QDataStream::LittleEndian.
+The \fIbo\fR parameter can be TQDataStream::BigEndian or TQDataStream::LittleEndian.
.PP
The default setting is big endian. We recommend leaving this setting unless you have special requirements.
.PP
See also byteOrder().
-.SH "void QDataStream::setDevice ( TQIODevice * d )"
-void QDataStream::setDevice(TQIODevice *d )
+.SH "void TQDataStream::setDevice ( TQIODevice * d )"
+void TQDataStream::setDevice(TQIODevice *d )
.PP
Sets the IO device to \fId\fR.
.PP
See also device() and unsetDevice().
-.SH "void QDataStream::setPrintableData ( bool enable )"
+.SH "void TQDataStream::setPrintableData ( bool enable )"
If \fIenable\fR is TRUE, data will be output in a human readable format. If \fIenable\fR is FALSE, data will be output in a binary format.
.PP
If \fIenable\fR is TRUE, the write functions will generate output that consists of printable characters (7 bit ASCII). This output will typically be a lot larger than the default binary output, and consequently slower to write.
.PP
We recommend only enabling printable data for debugging purposes.
-.SH "void QDataStream::setVersion ( int v )"
+.SH "void TQDataStream::setVersion ( int v )"
Sets the version number of the data serialization format to \fIv\fR.
.PP
You don't need to set a version if you are using the current version of Qt.
.PP
-In order to accommodate new functionality, the datastream serialization format of some TQt classes has changed in some versions of Qt. If you want to read data that was created by an earlier version of Qt, or write data that can be read by a program that was compiled with an earlier version of Qt, use this function to modify the serialization format of QDataStream.
+In order to accommodate new functionality, the datastream serialization format of some TQt classes has changed in some versions of Qt. If you want to read data that was created by an earlier version of Qt, or write data that can be read by a program that was compiled with an earlier version of Qt, use this function to modify the serialization format of TQDataStream.
.PP
.nf
.TS
-l - l. TQt Version QDataStream Version TQt 3.3 6 TQt 3.2 5 TQt 3.1 5 TQt 3.0 4 TQt 2.1.x and TQt 2.2.x 3 TQt 2.0.x 2 TQt 1.x
+l - l. TQt Version TQDataStream Version TQt 3.3 6 TQt 3.2 5 TQt 3.1 5 TQt 3.0 4 TQt 2.1.x and TQt 2.2.x 3 TQt 2.0.x 2 TQt 1.x
.TE
.fi
.PP
See also version().
-.SH "void QDataStream::unsetDevice ()"
+.SH "void TQDataStream::unsetDevice ()"
Unsets the IO device. This is the same as calling setDevice( 0 ).
.PP
See also device() and setDevice().
-.SH "int QDataStream::version () const"
+.SH "int TQDataStream::version () const"
Returns the version number of the data serialization format. In TQt 3.1, this number is 5.
.PP
See also setVersion().
-.SH "QDataStream & QDataStream::writeBytes ( const char * s, uint len )"
+.SH "TQDataStream & TQDataStream::writeBytes ( const char * s, uint len )"
Writes the length specifier \fIlen\fR and the buffer \fIs\fR to the stream and returns a reference to the stream.
.PP
The \fIlen\fR is serialized as a TQ_UINT32, followed by \fIlen\fR bytes from \fIs\fR. Note that the data is \fInot\fR encoded.
.PP
See also writeRawBytes() and readBytes().
-.SH "QDataStream & QDataStream::writeRawBytes ( const char * s, uint len )"
+.SH "TQDataStream & TQDataStream::writeRawBytes ( const char * s, uint len )"
Writes \fIlen\fR bytes from \fIs\fR to the stream and returns a reference to the stream. The data is \fInot\fR encoded.
.PP
See also writeBytes(), TQIODevice::writeBlock(), and readRawBytes().
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqdatastream.html
+.BR http://doc.trolltech.com/tqdatastream.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqdatatable.3qt b/doc/man/man3/tqdatatable.3qt
index 8d8fb648b..d28ce5e23 100644
--- a/doc/man/man3/tqdatatable.3qt
+++ b/doc/man/man3/tqdatatable.3qt
@@ -322,11 +322,11 @@ See also Database Classes.
.SH "TQDataTable::Refresh"
This enum describes the refresh options.
.TP
-\fCQDataTable::RefreshData\fR - refresh the data, i.e. read it from the database
+\fCTQDataTable::RefreshData\fR - refresh the data, i.e. read it from the database
.TP
-\fCQDataTable::RefreshColumns\fR - refresh the list of fields, e.g. the column headings
+\fCTQDataTable::RefreshColumns\fR - refresh the list of fields, e.g. the column headings
.TP
-\fCQDataTable::RefreshAll\fR - refresh both the data and the list of fields
+\fCTQDataTable::RefreshAll\fR - refresh both the data and the list of fields
.SH MEMBER FUNCTION DOCUMENTATION
.SH "TQDataTable::TQDataTable ( TQWidget * parent = 0, const char * name = 0 )"
Constructs a data table which is a child of \fIparent\fR, called name \fIname\fR.
diff --git a/doc/man/man3/tqdate.3qt b/doc/man/man3/tqdate.3qt
index e0126c0a1..4dd499798 100644
--- a/doc/man/man3/tqdate.3qt
+++ b/doc/man/man3/tqdate.3qt
@@ -130,10 +130,10 @@ All the functions in this class are reentrant when TQt is built with thread supp
.SH RELATED FUNCTION DOCUMENTATION
.in +1c
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const TQDate & d )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQDate & d )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( QDataStream & s, TQDate & d )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQDate & d )"
.br
.in -1c
.SH DESCRIPTION
@@ -394,14 +394,14 @@ Returns the year (1752..8000) of this date.
.PP
See also month() and day().
.SH RELATED FUNCTION DOCUMENTATION
-.SH "QDataStream & operator<< ( QDataStream & s, const TQDate & d )"
+.SH "TQDataStream & operator<< ( TQDataStream & s, const TQDate & d )"
Writes the date, \fId\fR, to the data stream, \fIs\fR.
.PP
-See also Format of the QDataStream operators.
-.SH "QDataStream & operator>> ( QDataStream & s, TQDate & d )"
+See also Format of the TQDataStream operators.
+.SH "TQDataStream & operator>> ( TQDataStream & s, TQDate & d )"
Reads a date from the stream \fIs\fR into \fId\fR.
.PP
-See also Format of the QDataStream operators.
+See also Format of the TQDataStream operators.
.SH "SEE ALSO"
.BR http://doc.trolltech.com/tqdate.html
diff --git a/doc/man/man3/tqdatetime.3qt b/doc/man/man3/tqdatetime.3qt
index 0aa70de04..52fd1696e 100644
--- a/doc/man/man3/tqdatetime.3qt
+++ b/doc/man/man3/tqdatetime.3qt
@@ -109,10 +109,10 @@ All the functions in this class are reentrant when TQt is built with thread supp
.SH RELATED FUNCTION DOCUMENTATION
.in +1c
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const TQDateTime & dt )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQDateTime & dt )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( QDataStream & s, TQDateTime & dt )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQDateTime & dt )"
.br
.in -1c
.SH DESCRIPTION
@@ -302,14 +302,14 @@ On systems that do not support timezones, this function will behave as if local
.PP
See also setTime_t().
.SH RELATED FUNCTION DOCUMENTATION
-.SH "QDataStream & operator<< ( QDataStream & s, const TQDateTime & dt )"
+.SH "TQDataStream & operator<< ( TQDataStream & s, const TQDateTime & dt )"
Writes the datetime \fIdt\fR to the stream \fIs\fR.
.PP
-See also Format of the QDataStream operators.
-.SH "QDataStream & operator>> ( QDataStream & s, TQDateTime & dt )"
+See also Format of the TQDataStream operators.
+.SH "TQDataStream & operator>> ( TQDataStream & s, TQDateTime & dt )"
Reads a datetime from the stream \fIs\fR into \fIdt\fR.
.PP
-See also Format of the QDataStream operators.
+See also Format of the TQDataStream operators.
.SH "SEE ALSO"
.BR http://doc.trolltech.com/tqdatetime.html
diff --git a/doc/man/man3/tqdialog.3qt b/doc/man/man3/tqdialog.3qt
index 0f676df42..482306099 100644
--- a/doc/man/man3/tqdialog.3qt
+++ b/doc/man/man3/tqdialog.3qt
@@ -13,7 +13,7 @@ QDialog \- The base class of dialog windows
.PP
Inherits TQWidget.
.PP
-Inherited by QColorDialog, QErrorMessage, QFileDialog, QFontDialog, QInputDialog, QMessageBox, QMotifDialog, QProgressDialog, QTabDialog, and QWizard.
+Inherited by QColorDialog, QErrorMessage, TQFileDialog, QFontDialog, QInputDialog, QMessageBox, QMotifDialog, QProgressDialog, QTabDialog, and QWizard.
.PP
.SS "Public Members"
.in +1c
@@ -122,13 +122,13 @@ A modal dialog.
.PP
.nf
.br
- QFileDialog *dlg = new QFileDialog( workingDirectory,
+ TQFileDialog *dlg = new TQFileDialog( workingDirectory,
.br
TQString::null, 0, 0, TRUE );
.br
- dlg->setCaption( QFileDialog::tr( "Open" ) );
+ dlg->setCaption( TQFileDialog::tr( "Open" ) );
.br
- dlg->setMode( QFileDialog::ExistingFile );
+ dlg->setMode( TQFileDialog::ExistingFile );
.br
TQString result;
.br
@@ -222,7 +222,7 @@ Users cannot interact with any other window in the same application until they c
See also show() and result().
.PP
Examples:
-.)l chart/chartform.cpp, dialog/mainwindow.cpp, i18n/main.cpp, network/ftpclient/ftpmainwindow.ui.h, network/networkprotocol/view.cpp, qdir/qdir.cpp, and wizard/main.cpp.
+.)l chart/chartform.cpp, dialog/mainwindow.cpp, i18n/main.cpp, network/ftpclient/ftpmainwindow.ui.h, network/networkprotocol/view.cpp, tqdir/tqdir.cpp, and wizard/main.cpp.
.SH "TQWidget * QDialog::extension () const"
Returns the dialog's extension or 0 if no extension has been defined.
.PP
diff --git a/doc/man/man3/tqdict.3qt b/doc/man/man3/tqdict.3qt
index 677bf3df9..c34011b1e 100644
--- a/doc/man/man3/tqdict.3qt
+++ b/doc/man/man3/tqdict.3qt
@@ -76,10 +76,10 @@ Inherits TQPtrCollection.
.SS "Protected Members"
.in +1c
.ti -1c
-.BI "virtual QDataStream & \fBread\fR ( QDataStream & s, TQPtrCollection::Item & item )"
+.BI "virtual TQDataStream & \fBread\fR ( TQDataStream & s, TQPtrCollection::Item & item )"
.br
.ti -1c
-.BI "virtual QDataStream & \fBwrite\fR ( QDataStream & s, TQPtrCollection::Item ) const"
+.BI "virtual TQDataStream & \fBwrite\fR ( TQDataStream & s, TQPtrCollection::Item ) const"
.br
.in -1c
.SH DESCRIPTION
@@ -270,7 +270,7 @@ If there are two or more items with equal keys, then the most recently inserted
Equivalent to the find() function.
.PP
See also find().
-.SH "QDataStream & TQDict::read ( QDataStream & s, TQPtrCollection::Item & item )\fC [virtual protected]\fR"
+.SH "TQDataStream & TQDict::read ( TQDataStream & s, TQPtrCollection::Item & item )\fC [virtual protected]\fR"
Reads a dictionary item from the stream \fIs\fR and returns a reference to the stream.
.PP
The default implementation sets \fIitem\fR to 0.
@@ -343,7 +343,7 @@ Returns a pointer to the item taken out, or 0 if the key does not exist in the d
All dictionary iterators that refer to the taken item will be set to point to the next item in the dictionary traversal order.
.PP
See also remove(), clear(), and setAutoDelete().
-.SH "QDataStream & TQDict::write ( QDataStream & s, TQPtrCollection::Item ) const\fC [virtual protected]\fR"
+.SH "TQDataStream & TQDict::write ( TQDataStream & s, TQPtrCollection::Item ) const\fC [virtual protected]\fR"
Writes a dictionary item to the stream \fIs\fR and returns a reference to the stream.
.PP
See also read().
diff --git a/doc/man/man3/tqdir.3qt b/doc/man/man3/tqdir.3qt
index 9fca59162..8aaeb93f8 100644
--- a/doc/man/man3/tqdir.3qt
+++ b/doc/man/man3/tqdir.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QDir 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQDir 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,11 +7,11 @@
.ad l
.nh
.SH NAME
-QDir \- Access to directory structures and their contents in a platform-independent way
+TQDir \- Access to directory structures and their contents in a platform-independent way
.SH SYNOPSIS
All the functions in this class are reentrant when TQt is built with thread support.
.PP
-\fC#include \fR
+\fC#include \fR
.PP
.SS "Public Members"
.in +1c
@@ -22,22 +22,22 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "enum \fBSortSpec\fR { Name = 0x00, Time = 0x01, Size = 0x02, Unsorted = 0x03, SortByMask = 0x03, DirsFirst = 0x04, Reversed = 0x08, IgnoreCase = 0x10, LocaleAware = 0x20, DefaultSort = -1 }"
.br
.ti -1c
-.BI "\fBQDir\fR ()"
+.BI "\fBTQDir\fR ()"
.br
.ti -1c
-.BI "\fBQDir\fR ( const TQString & path, const TQString & nameFilter = TQString::null, int sortSpec = Name | IgnoreCase, int filterSpec = All )"
+.BI "\fBTQDir\fR ( const TQString & path, const TQString & nameFilter = TQString::null, int sortSpec = Name | IgnoreCase, int filterSpec = All )"
.br
.ti -1c
-.BI "\fBQDir\fR ( const QDir & d )"
+.BI "\fBTQDir\fR ( const TQDir & d )"
.br
.ti -1c
-.BI "virtual \fB~QDir\fR ()"
+.BI "virtual \fB~TQDir\fR ()"
.br
.ti -1c
-.BI "QDir & \fBoperator=\fR ( const QDir & d )"
+.BI "TQDir & \fBoperator=\fR ( const TQDir & d )"
.br
.ti -1c
-.BI "QDir & \fBoperator=\fR ( const TQString & path )"
+.BI "TQDir & \fBoperator=\fR ( const TQString & path )"
.br
.ti -1c
.BI "virtual void \fBsetPath\fR ( const TQString & path )"
@@ -109,10 +109,10 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "virtual TQStringList \fBentryList\fR ( const TQString & nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const"
.br
.ti -1c
-.BI "virtual const QFileInfoList * \fBentryInfoList\fR ( int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const"
+.BI "virtual const TQFileInfoList * \fBentryInfoList\fR ( int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const"
.br
.ti -1c
-.BI "virtual const QFileInfoList * \fBentryInfoList\fR ( const TQString & nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const"
+.BI "virtual const TQFileInfoList * \fBentryInfoList\fR ( const TQString & nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const"
.br
.ti -1c
.BI "virtual bool \fBmkdir\fR ( const TQString & dirName, bool acceptAbsPath = TRUE ) const"
@@ -136,10 +136,10 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "virtual void \fBconvertToAbs\fR ()"
.br
.ti -1c
-.BI "virtual bool \fBoperator==\fR ( const QDir & d ) const"
+.BI "virtual bool \fBoperator==\fR ( const TQDir & d ) const"
.br
.ti -1c
-.BI "virtual bool \fBoperator!=\fR ( const QDir & d ) const"
+.BI "virtual bool \fBoperator!=\fR ( const TQDir & d ) const"
.br
.ti -1c
.BI "virtual bool \fBremove\fR ( const TQString & fileName, bool acceptAbsPath = TRUE )"
@@ -160,7 +160,7 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "TQString \fBconvertSeparators\fR ( const TQString & pathName )"
.br
.ti -1c
-.BI "const QFileInfoList * \fBdrives\fR ()"
+.BI "const TQFileInfoList * \fBdrives\fR ()"
.br
.ti -1c
.BI "char \fBseparator\fR ()"
@@ -169,13 +169,13 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "bool \fBsetCurrent\fR ( const TQString & path )"
.br
.ti -1c
-.BI "QDir \fBcurrent\fR ()"
+.BI "TQDir \fBcurrent\fR ()"
.br
.ti -1c
-.BI "QDir \fBhome\fR ()"
+.BI "TQDir \fBhome\fR ()"
.br
.ti -1c
-.BI "QDir \fBroot\fR ()"
+.BI "TQDir \fBroot\fR ()"
.br
.ti -1c
.BI "TQString \fBcurrentDirPath\fR ()"
@@ -200,19 +200,19 @@ All the functions in this class are reentrant when TQt is built with thread supp
.br
.in -1c
.SH DESCRIPTION
-The QDir class provides access to directory structures and their contents in a platform-independent way.
+The TQDir class provides access to directory structures and their contents in a platform-independent way.
.PP
-A QDir is used to manipulate path names, access information regarding paths and files, and manipulate the underlying file system.
+A TQDir is used to manipulate path names, access information regarding paths and files, and manipulate the underlying file system.
.PP
-A QDir can point to a file using either a relative or an absolute path. Absolute paths begin with the directory separator "/" (optionally preceded by a drive specification under Windows). If you always use "/" as a directory separator, TQt will translate your paths to conform to the underlying operating system. Relative file names begin with a directory name or a file name and specify a path relative to the current directory.
+A TQDir can point to a file using either a relative or an absolute path. Absolute paths begin with the directory separator "/" (optionally preceded by a drive specification under Windows). If you always use "/" as a directory separator, TQt will translate your paths to conform to the underlying operating system. Relative file names begin with a directory name or a file name and specify a path relative to the current directory.
.PP
-The "current" path refers to the application's working directory. A QDir's own path is set and retrieved with setPath() and path().
+The "current" path refers to the application's working directory. A TQDir's own path is set and retrieved with setPath() and path().
.PP
-An example of an absolute path is the string "/tmp/quartz", a relative path might look like "src/fatlib". You can use the function isRelative() to check if a QDir is using a relative or an absolute file path. Call convertToAbs() to convert a relative QDir to an absolute one. For a simplified path use cleanDirPath(). To obtain a path which has no symbolic links or redundant ".." elements use canonicalPath(). The path can be set with setPath(), and changed with cd() and cdUp().
+An example of an absolute path is the string "/tmp/quartz", a relative path might look like "src/fatlib". You can use the function isRelative() to check if a TQDir is using a relative or an absolute file path. Call convertToAbs() to convert a relative TQDir to an absolute one. For a simplified path use cleanDirPath(). To obtain a path which has no symbolic links or redundant ".." elements use canonicalPath(). The path can be set with setPath(), and changed with cd() and cdUp().
.PP
-QDir provides several static functions, for example, setCurrent() to set the application's working directory and currentDirPath() to retrieve the application's working directory. Access to some common paths is provided with the static functions, current(), home() and root() which return QDir objects or currentDirPath(), homeDirPath() and rootDirPath() which return the path as a string. If you want to know about your application's path use QApplication::applicationDirPath().
+TQDir provides several static functions, for example, setCurrent() to set the application's working directory and currentDirPath() to retrieve the application's working directory. Access to some common paths is provided with the static functions, current(), home() and root() which return TQDir objects or currentDirPath(), homeDirPath() and rootDirPath() which return the path as a string. If you want to know about your application's path use QApplication::applicationDirPath().
.PP
-The number of entries in a directory is returned by count(). Obtain a string list of the names of all the files and directories in a directory with entryList(). If you prefer a list of QFileInfo pointers use entryInfoList(). Both these functions can apply a name filter, an attributes filter (e.g. read-only, files not directories, etc.), and a sort order. The filters and sort may be set with calls to setNameFilter(), setFilter() and setSorting(). They may also be specified in the entryList() and entryInfoList()'s arguments.
+The number of entries in a directory is returned by count(). Obtain a string list of the names of all the files and directories in a directory with entryList(). If you prefer a list of TQFileInfo pointers use entryInfoList(). Both these functions can apply a name filter, an attributes filter (e.g. read-only, files not directories, etc.), and a sort order. The filters and sort may be set with calls to setNameFilter(), setFilter() and setSorting(). They may also be specified in the entryList() and entryInfoList()'s arguments.
.PP
Create a new directory with mkdir(), rename a directory with rename() and remove an existing directory with rmdir(). Remove a file with remove(). You can interrogate a directory with exists(), isReadable() and isRoot().
.PP
@@ -229,7 +229,7 @@ See if a directory exists.
.PP
.nf
.br
- QDir d( "example" ); // "./example"
+ TQDir d( "example" ); // "./example"
.br
if ( !d.exists() )
.br
@@ -241,7 +241,7 @@ Traversing directories and reading a file.
.PP
.nf
.br
- QDir d = QDir::root(); // "/"
+ TQDir d = TQDir::root(); // "/"
.br
if ( !d.cd("tmp") ) { // "/tmp"
.br
@@ -249,7 +249,7 @@ Traversing directories and reading a file.
.br
} else {
.br
- QFile f( d.filePath("ex1.txt") ); // "/tmp/ex1.txt"
+ TQFile f( d.filePath("ex1.txt") ); // "/tmp/ex1.txt"
.br
if ( !f.open(IO_ReadWrite) )
.br
@@ -265,25 +265,25 @@ A program that lists all the files in the current directory (excluding symbolic
.br
#include
.br
- #include
+ #include
.br
.br
int main( int argc, char **argv )
.br
{
.br
- QDir d;
+ TQDir d;
.br
- d.setFilter( QDir::Files | QDir::Hidden | QDir::NoSymLinks );
+ d.setFilter( TQDir::Files | TQDir::Hidden | TQDir::NoSymLinks );
.br
- d.setSorting( QDir::Size | QDir::Reversed );
+ d.setSorting( TQDir::Size | TQDir::Reversed );
.br
.br
- const QFileInfoList *list = d.entryInfoList();
+ const TQFileInfoList *list = d.entryInfoList();
.br
- QFileInfoListIterator it( *list );
+ TQFileInfoListIterator it( *list );
.br
- QFileInfo *fi;
+ TQFileInfo *fi;
.br
.br
printf( " Bytes Filename\\n" );
@@ -304,77 +304,77 @@ A program that lists all the files in the current directory (excluding symbolic
.PP
See also QApplication::applicationDirPath() and Input/Output and Networking.
.SS "Member Type Documentation"
-.SH "QDir::FilterSpec"
-This enum describes the filtering options available to QDir, e.g. for entryList() and entryInfoList(). The filter value is specified by OR-ing together values from the following list:
+.SH "TQDir::FilterSpec"
+This enum describes the filtering options available to TQDir, e.g. for entryList() and entryInfoList(). The filter value is specified by OR-ing together values from the following list:
.TP
-\fCQDir::Dirs\fR - List directories only.
+\fCTQDir::Dirs\fR - List directories only.
.TP
-\fCQDir::Files\fR - List files only.
+\fCTQDir::Files\fR - List files only.
.TP
-\fCQDir::Drives\fR - List disk drives (ignored under Unix).
+\fCTQDir::Drives\fR - List disk drives (ignored under Unix).
.TP
-\fCQDir::NoSymLinks\fR - Do not list symbolic links (ignored by operating systems that don't support symbolic links).
+\fCTQDir::NoSymLinks\fR - Do not list symbolic links (ignored by operating systems that don't support symbolic links).
.TP
-\fCQDir::All\fR - List directories, files, drives and symlinks (this does not list broken symlinks unless you specify System).
+\fCTQDir::All\fR - List directories, files, drives and symlinks (this does not list broken symlinks unless you specify System).
.TP
-\fCQDir::TypeMask\fR - A mask for the the Dirs, Files, Drives and NoSymLinks flags.
+\fCTQDir::TypeMask\fR - A mask for the the Dirs, Files, Drives and NoSymLinks flags.
.TP
-\fCQDir::Readable\fR - List files for which the application has read access.
+\fCTQDir::Readable\fR - List files for which the application has read access.
.TP
-\fCQDir::Writable\fR - List files for which the application has write access.
+\fCTQDir::Writable\fR - List files for which the application has write access.
.TP
-\fCQDir::Executable\fR - List files for which the application has execute access. Executables needs to be combined with Dirs or Files.
+\fCTQDir::Executable\fR - List files for which the application has execute access. Executables needs to be combined with Dirs or Files.
.TP
-\fCQDir::RWEMask\fR - A mask for the Readable, Writable and Executable flags.
+\fCTQDir::RWEMask\fR - A mask for the Readable, Writable and Executable flags.
.TP
-\fCQDir::Modified\fR - Only list files that have been modified (ignored under Unix).
+\fCTQDir::Modified\fR - Only list files that have been modified (ignored under Unix).
.TP
-\fCQDir::Hidden\fR - List hidden files (on Unix, files starting with a .).
+\fCTQDir::Hidden\fR - List hidden files (on Unix, files starting with a .).
.TP
-\fCQDir::System\fR - List system files (on Unix, FIFOs, sockets and device files)
+\fCTQDir::System\fR - List system files (on Unix, FIFOs, sockets and device files)
.TP
-\fCQDir::AccessMask\fR - A mask for the Readable, Writable, Executable Modified, Hidden and System flags
+\fCTQDir::AccessMask\fR - A mask for the Readable, Writable, Executable Modified, Hidden and System flags
.TP
-\fCQDir::DefaultFilter\fR - Internal flag.
+\fCTQDir::DefaultFilter\fR - Internal flag.
.PP
-If you do not set any of Readable, Writable or Executable, QDir will set all three of them. This makes the default easy to write and at the same time useful.
+If you do not set any of Readable, Writable or Executable, TQDir will set all three of them. This makes the default easy to write and at the same time useful.
.PP
Examples:
.)l \fCReadable|Writable\fR means list all files for which the
application has read access, write access or both. \fCDirs|Drives\fR means list drives, directories, all files that the application can read, write or execute, and also symlinks to such files/directories.
-.SH "QDir::SortSpec"
-This enum describes the sort options available to QDir, e.g. for entryList() and entryInfoList(). The sort value is specified by OR-ing together values from the following list:
+.SH "TQDir::SortSpec"
+This enum describes the sort options available to TQDir, e.g. for entryList() and entryInfoList(). The sort value is specified by OR-ing together values from the following list:
.TP
-\fCQDir::Name\fR - Sort by name.
+\fCTQDir::Name\fR - Sort by name.
.TP
-\fCQDir::Time\fR - Sort by time (modification time).
+\fCTQDir::Time\fR - Sort by time (modification time).
.TP
-\fCQDir::Size\fR - Sort by file size.
+\fCTQDir::Size\fR - Sort by file size.
.TP
-\fCQDir::Unsorted\fR - Do not sort.
+\fCTQDir::Unsorted\fR - Do not sort.
.TP
-\fCQDir::SortByMask\fR - A mask for Name, Time and Size.
+\fCTQDir::SortByMask\fR - A mask for Name, Time and Size.
.TP
-\fCQDir::DirsFirst\fR - Put the directories first, then the files.
+\fCTQDir::DirsFirst\fR - Put the directories first, then the files.
.TP
-\fCQDir::Reversed\fR - Reverse the sort order.
+\fCTQDir::Reversed\fR - Reverse the sort order.
.TP
-\fCQDir::IgnoreCase\fR - Sort case-insensitively.
+\fCTQDir::IgnoreCase\fR - Sort case-insensitively.
.TP
-\fCQDir::LocaleAware\fR - Sort names using locale aware compares
+\fCTQDir::LocaleAware\fR - Sort names using locale aware compares
.TP
-\fCQDir::DefaultSort\fR - Internal flag.
+\fCTQDir::DefaultSort\fR - Internal flag.
.PP
You can only specify one of the first four.
.PP
If you specify both DirsFirst and Reversed, directories are still put first, but in reverse order; the files will be listed after the directories, again in reverse order.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QDir::QDir ()"
-Constructs a QDir pointing to the current directory (".").
+.SH "TQDir::TQDir ()"
+Constructs a TQDir pointing to the current directory (".").
.PP
See also currentDirPath().
-.SH "QDir::QDir ( const TQString & path, const TQString & nameFilter = TQString::null, int sortSpec = Name | IgnoreCase, int filterSpec = All )"
-Constructs a QDir with path \fIpath\fR, that filters its entries by name using \fInameFilter\fR and by attributes using \fIfilterSpec\fR. It also sorts the names using \fIsortSpec\fR.
+.SH "TQDir::TQDir ( const TQString & path, const TQString & nameFilter = TQString::null, int sortSpec = Name | IgnoreCase, int filterSpec = All )"
+Constructs a TQDir with path \fIpath\fR, that filters its entries by name using \fInameFilter\fR and by attributes using \fIfilterSpec\fR. It also sorts the names using \fIsortSpec\fR.
.PP
The default \fInameFilter\fR is an empty string, which excludes nothing; the default \fIfilterSpec\fR is All, which also means exclude nothing. The default \fIsortSpec\fR is \fCName|IgnoreCase\fR, i.e. sort by name case-insensitively.
.PP
@@ -382,7 +382,7 @@ Example that lists all the files in "/tmp":
.PP
.nf
.br
- QDir d( "/tmp" );
+ TQDir d( "/tmp" );
.br
for ( int i = 0; i < d.count(); i++ )
.br
@@ -390,37 +390,37 @@ Example that lists all the files in "/tmp":
.br
.fi
.PP
-If \fIpath\fR is "" or TQString::null, QDir uses "." (the current directory). If \fInameFilter\fR is "" or TQString::null, QDir uses the name filter "*" (all files).
+If \fIpath\fR is "" or TQString::null, TQDir uses "." (the current directory). If \fInameFilter\fR is "" or TQString::null, TQDir uses the name filter "*" (all files).
.PP
Note that \fIpath\fR need not exist.
.PP
See also exists(), setPath(), setNameFilter(), setFilter(), and setSorting().
-.SH "QDir::QDir ( const QDir & d )"
-Constructs a QDir that is a copy of the directory \fId\fR.
+.SH "TQDir::TQDir ( const TQDir & d )"
+Constructs a TQDir that is a copy of the directory \fId\fR.
.PP
See also operator=().
-.SH "QDir::~QDir ()\fC [virtual]\fR"
-Destroys the QDir frees up its resources.
-.SH "TQString QDir::absFilePath ( const TQString & fileName, bool acceptAbsPath = TRUE ) const\fC [virtual]\fR"
+.SH "TQDir::~TQDir ()\fC [virtual]\fR"
+Destroys the TQDir frees up its resources.
+.SH "TQString TQDir::absFilePath ( const TQString & fileName, bool acceptAbsPath = TRUE ) const\fC [virtual]\fR"
Returns the absolute path name of a file in the directory. Does \fInot\fR check if the file actually exists in the directory. Redundant multiple separators or "." and ".." directories in \fIfileName\fR will not be removed (see cleanDirPath()).
.PP
If \fIacceptAbsPath\fR is TRUE a \fIfileName\fR starting with a separator "/" will be returned without change. If \fIacceptAbsPath\fR is FALSE an absolute path will be prepended to the fileName and the resultant string returned.
.PP
See also filePath().
-.SH "TQString QDir::absPath () const\fC [virtual]\fR"
+.SH "TQString TQDir::absPath () const\fC [virtual]\fR"
Returns the absolute path (a path that starts with "/" or with a drive specification), which may contain symbolic links, but never contains redundant ".", ".." or multiple separators.
.PP
See also setPath(), canonicalPath(), exists(), cleanDirPath(), dirName(), and absFilePath().
.PP
-Example: fileiconview/qfileiconview.cpp.
-.SH "TQString QDir::canonicalPath () const\fC [virtual]\fR"
+Example: fileiconview/tqfileiconview.cpp.
+.SH "TQString TQDir::canonicalPath () const\fC [virtual]\fR"
Returns the canonical path, i.e. a path without symbolic links or redundant "." or ".." elements.
.PP
On systems that do not have symbolic links this function will always return the same string that absPath() returns. If the canonical path does not exist (normally due to dangling symbolic links) canonicalPath() returns TQString::null.
.PP
See also path(), absPath(), exists(), cleanDirPath(), dirName(), absFilePath(), and TQString::isNull().
-.SH "bool QDir::cd ( const TQString & dirName, bool acceptAbsPath = TRUE )\fC [virtual]\fR"
-Changes the QDir's directory to \fIdirName\fR.
+.SH "bool TQDir::cd ( const TQString & dirName, bool acceptAbsPath = TRUE )\fC [virtual]\fR"
+Changes the TQDir's directory to \fIdirName\fR.
.PP
If \fIacceptAbsPath\fR is TRUE a path starting with separator "/" will cause the function to change to the absolute directory. If \fIacceptAbsPath\fR is FALSE any number of separators at the beginning of \fIdirName\fR will be removed and the function will descend into \fIdirName\fR.
.PP
@@ -431,20 +431,20 @@ Calling cd( ".." ) is equivalent to calling cdUp().
See also cdUp(), isReadable(), exists(), and path().
.PP
Example: fileiconview/mainwindow.cpp.
-.SH "bool QDir::cdUp ()\fC [virtual]\fR"
-Changes directory by moving one directory up from the QDir's current directory.
+.SH "bool TQDir::cdUp ()\fC [virtual]\fR"
+Changes directory by moving one directory up from the TQDir's current directory.
.PP
Returns TRUE if the new directory exists and is readable; otherwise returns FALSE. Note that the logical cdUp() operation is not performed if the new directory does not exist.
.PP
See also cd(), isReadable(), exists(), and path().
-.SH "TQString QDir::cleanDirPath ( const TQString & filePath )\fC [static]\fR"
+.SH "TQString TQDir::cleanDirPath ( const TQString & filePath )\fC [static]\fR"
Removes all multiple directory separators "/" and resolves any"
."s or ".."s found in the path, \fIfilePath\fR.
.PP
Symbolic links are kept. This function does not return the canonical path, but rather the simplest version of the input. For example, "./local" becomes "local", "local/../bin" becomes" bin" and "/local/usr/../bin" becomes "/local/bin".
.PP
See also absPath() and canonicalPath().
-.SH "TQString QDir::convertSeparators ( const TQString & pathName )\fC [static]\fR"
+.SH "TQString TQDir::convertSeparators ( const TQString & pathName )\fC [static]\fR"
Returns \fIpathName\fR with the '/' separators converted to separators that are appropriate for the underlying operating system.
.PP
On Windows, convertSeparators("c:/winnt/system32") returns" c:\\winnt\\system32".
@@ -452,86 +452,86 @@ On Windows, convertSeparators("c:/winnt/system32") returns" c:\\winnt\\system32"
The returned string may be the same as the argument on some operating systems, for example on Unix.
.PP
Examples:
-.)l dirview/dirview.cpp and fileiconview/qfileiconview.cpp.
-.SH "void QDir::convertToAbs ()\fC [virtual]\fR"
+.)l dirview/dirview.cpp and fileiconview/tqfileiconview.cpp.
+.SH "void TQDir::convertToAbs ()\fC [virtual]\fR"
Converts the directory path to an absolute path. If it is already absolute nothing is done.
.PP
See also isRelative().
-.SH "uint QDir::count () const"
+.SH "uint TQDir::count () const"
Returns the total number of directories and files that were found.
.PP
Equivalent to entryList().count().
.PP
See also operator[]() and entryList().
-.SH "QDir QDir::current ()\fC [static]\fR"
+.SH "TQDir TQDir::current ()\fC [static]\fR"
Returns the application's current directory.
.PP
-Use path() to access a QDir object's path.
+Use path() to access a TQDir object's path.
.PP
-See also currentDirPath() and QDir::QDir().
-.SH "TQString QDir::currentDirPath ()\fC [static]\fR"
+See also currentDirPath() and TQDir::TQDir().
+.SH "TQString TQDir::currentDirPath ()\fC [static]\fR"
Returns the absolute path of the application's current directory.
.PP
See also current().
.PP
Examples:
-.)l dirview/dirview.cpp, helpviewer/helpwindow.cpp, and qdir/qdir.cpp.
-.SH "TQString QDir::dirName () const\fC [virtual]\fR"
+.)l dirview/dirview.cpp, helpviewer/helpwindow.cpp, and tqdir/tqdir.cpp.
+.SH "TQString TQDir::dirName () const\fC [virtual]\fR"
Returns the name of the directory; this is \fInot\fR the same as the path, e.g. a directory with the name "mail", might have the path" /var/spool/mail". If the directory has no name (e.g. it is the root directory) TQString::null is returned.
.PP
No check is made to ensure that a directory with this name actually exists.
.PP
See also path(), absPath(), absFilePath(), exists(), and TQString::isNull().
-.SH "const QFileInfoList * QDir::drives ()\fC [static]\fR"
-Returns a list of the root directories on this system. On Windows this returns a number of QFileInfo objects containing "C:/", "D:/" etc. On other operating systems, it returns a list containing just one root directory (e.g. "/").
+.SH "const TQFileInfoList * TQDir::drives ()\fC [static]\fR"
+Returns a list of the root directories on this system. On Windows this returns a number of TQFileInfo objects containing "C:/", "D:/" etc. On other operating systems, it returns a list containing just one root directory (e.g. "/").
.PP
The returned pointer is owned by Qt. Callers should \fInot\fR delete or modify it.
.PP
Example: dirview/main.cpp.
-.SH "TQStrList QDir::encodedEntryList ( int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const\fC [virtual]\fR"
+.SH "TQStrList TQDir::encodedEntryList ( int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const\fC [virtual]\fR"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
-This function is included to easy porting from TQt 1.x to TQt 2.0, it is the same as entryList(), but encodes the filenames as 8-bit strings using QFile::encodedName().
+This function is included to easy porting from TQt 1.x to TQt 2.0, it is the same as entryList(), but encodes the filenames as 8-bit strings using TQFile::encodedName().
.PP
It is more efficient to use entryList().
-.SH "TQStrList QDir::encodedEntryList ( const TQString & nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const\fC [virtual]\fR"
+.SH "TQStrList TQDir::encodedEntryList ( const TQString & nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const\fC [virtual]\fR"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-This function is included to easy porting from TQt 1.x to TQt 2.0, it is the same as entryList(), but encodes the filenames as 8-bit strings using QFile::encodedName().
+This function is included to easy porting from TQt 1.x to TQt 2.0, it is the same as entryList(), but encodes the filenames as 8-bit strings using TQFile::encodedName().
.PP
It is more efficient to use entryList().
-.SH "const QFileInfoList * QDir::entryInfoList ( const TQString & nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const\fC [virtual]\fR"
-Returns a list of QFileInfo objects for all the files and directories in the directory, ordered in accordance with setSorting() and filtered in accordance with setFilter() and setNameFilter().
+.SH "const TQFileInfoList * TQDir::entryInfoList ( const TQString & nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const\fC [virtual]\fR"
+Returns a list of TQFileInfo objects for all the files and directories in the directory, ordered in accordance with setSorting() and filtered in accordance with setFilter() and setNameFilter().
.PP
The filter and sorting specifications can be overridden using the \fInameFilter\fR, \fIfilterSpec\fR and \fIsortSpec\fR arguments.
.PP
Returns 0 if the directory is unreadable or does not exist.
.PP
-The returned pointer is a const pointer to a QFileInfoList. The list is owned by the QDir object and will be reused on the next call to entryInfoList() for the same QDir instance. If you want to keep the entries of the list after a subsequent call to this function you must copy them.
+The returned pointer is a const pointer to a TQFileInfoList. The list is owned by the TQDir object and will be reused on the next call to entryInfoList() for the same TQDir instance. If you want to keep the entries of the list after a subsequent call to this function you must copy them.
.PP
-Note: QFileInfoList is really a TQPtrList.
+Note: TQFileInfoList is really a TQPtrList.
.PP
See also entryList(), setNameFilter(), setSorting(), and setFilter().
.PP
Examples:
-.)l dirview/dirview.cpp and fileiconview/qfileiconview.cpp.
-.SH "const QFileInfoList * QDir::entryInfoList ( int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const\fC [virtual]\fR"
+.)l dirview/dirview.cpp and fileiconview/tqfileiconview.cpp.
+.SH "const TQFileInfoList * TQDir::entryInfoList ( int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const\fC [virtual]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-Returns a list of QFileInfo objects for all the files and directories in the directory, ordered in accordance with setSorting() and filtered in accordance with setFilter() and setNameFilter().
+Returns a list of TQFileInfo objects for all the files and directories in the directory, ordered in accordance with setSorting() and filtered in accordance with setFilter() and setNameFilter().
.PP
The filter and sorting specifications can be overridden using the \fIfilterSpec\fR and \fIsortSpec\fR arguments.
.PP
Returns 0 if the directory is unreadable or does not exist.
.PP
-The returned pointer is a const pointer to a QFileInfoList. The list is owned by the QDir object and will be reused on the next call to entryInfoList() for the same QDir instance. If you want to keep the entries of the list after a subsequent call to this function you must copy them.
+The returned pointer is a const pointer to a TQFileInfoList. The list is owned by the TQDir object and will be reused on the next call to entryInfoList() for the same TQDir instance. If you want to keep the entries of the list after a subsequent call to this function you must copy them.
.PP
-Note: QFileInfoList is really a TQPtrList.
+Note: TQFileInfoList is really a TQPtrList.
.PP
See also entryList(), setNameFilter(), setSorting(), and setFilter().
-.SH "TQStringList QDir::entryList ( const TQString & nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const\fC [virtual]\fR"
+.SH "TQStringList TQDir::entryList ( const TQString & nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const\fC [virtual]\fR"
Returns a list of the names of all the files and directories in the directory, ordered in accordance with setSorting() and filtered in accordance with setFilter() and setNameFilter().
.PP
The filter and sorting specifications can be overridden using the \fInameFilter\fR, \fIfilterSpec\fR and \fIsortSpec\fR arguments.
@@ -541,7 +541,7 @@ Returns an empty list if the directory is unreadable or does not exist.
See also entryInfoList(), setNameFilter(), setSorting(), and setFilter().
.PP
Example: table/statistics/statistics.cpp.
-.SH "TQStringList QDir::entryList ( int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const\fC [virtual]\fR"
+.SH "TQStringList TQDir::entryList ( int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const\fC [virtual]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns a list of the names of all the files and directories in the directory, ordered in accordance with setSorting() and filtered in accordance with setFilter() and setNameFilter().
@@ -551,29 +551,29 @@ The filter and sorting specifications can be overridden using the \fIfilterSpec\
Returns an empty list if the directory is unreadable or does not exist.
.PP
See also entryInfoList(), setNameFilter(), setSorting(), and setFilter().
-.SH "bool QDir::exists ( const TQString & name, bool acceptAbsPath = TRUE )\fC [virtual]\fR"
+.SH "bool TQDir::exists ( const TQString & name, bool acceptAbsPath = TRUE )\fC [virtual]\fR"
Checks for the existence of the file \fIname\fR.
.PP
If \fIacceptAbsPath\fR is TRUE a path starting with separator "/" will check the file with the absolute path. If \fIacceptAbsPath\fR is FALSE any number of separators at the beginning of \fIname\fR will be removed and the resultant file name will be checked.
.PP
Returns TRUE if the file exists; otherwise returns FALSE.
.PP
-See also QFileInfo::exists() and QFile::exists().
-.SH "bool QDir::exists () const\fC [virtual]\fR"
+See also TQFileInfo::exists() and TQFile::exists().
+.SH "bool TQDir::exists () const\fC [virtual]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns TRUE if the \fIdirectory\fR exists; otherwise returns FALSE. (If a file with the same name is found this function will return FALSE).
.PP
-See also QFileInfo::exists() and QFile::exists().
-.SH "TQString QDir::filePath ( const TQString & fileName, bool acceptAbsPath = TRUE ) const\fC [virtual]\fR"
-Returns the path name of a file in the directory. Does \fInot\fR check if the file actually exists in the directory. If the QDir is relative the returned path name will also be relative. Redundant multiple separators or "." and ".." directories in \fIfileName\fR will not be removed (see cleanDirPath()).
+See also TQFileInfo::exists() and TQFile::exists().
+.SH "TQString TQDir::filePath ( const TQString & fileName, bool acceptAbsPath = TRUE ) const\fC [virtual]\fR"
+Returns the path name of a file in the directory. Does \fInot\fR check if the file actually exists in the directory. If the TQDir is relative the returned path name will also be relative. Redundant multiple separators or "." and ".." directories in \fIfileName\fR will not be removed (see cleanDirPath()).
.PP
If \fIacceptAbsPath\fR is TRUE a \fIfileName\fR starting with a separator "/" will be returned without change. If \fIacceptAbsPath\fR is FALSE an absolute path will be prepended to the fileName and the resultant string returned.
.PP
See also absFilePath(), isRelative(), and canonicalPath().
-.SH "FilterSpec QDir::filter () const"
+.SH "FilterSpec TQDir::filter () const"
Returns the value set by setFilter()
-.SH "QDir QDir::home ()\fC [static]\fR"
+.SH "TQDir TQDir::home ()\fC [static]\fR"
Returns the home directory.
.PP
Under Windows the \fCHOME\fR environment variable is used. If this does not exist the \fCUSERPROFILE\fR environment variable is used. If that does not exist the path is formed by concatenating the \fCHOMEDRIVE\fR and \fCHOMEPATH\fR environment variables. If they don't exist the rootDirPath() is used (this uses the \fCSystemDrive\fR environment variable). If none of these exist "C:\" is used.
@@ -581,35 +581,35 @@ Under Windows the \fCHOME\fR environment variable is used. If this does not exis
Under non-Windows operating systems the \fCHOME\fR environment variable is used if it exists, otherwise rootDirPath() is used.
.PP
See also homeDirPath().
-.SH "TQString QDir::homeDirPath ()\fC [static]\fR"
+.SH "TQString TQDir::homeDirPath ()\fC [static]\fR"
Returns the absolute path of the user's home directory.
.PP
See also home().
-.SH "bool QDir::isReadable () const\fC [virtual]\fR"
+.SH "bool TQDir::isReadable () const\fC [virtual]\fR"
Returns TRUE if the directory is readable \fIand\fR we can open files by name; otherwise returns FALSE.
.PP
\fBWarning:\fR A FALSE value from this function is not a guarantee that files in the directory are not accessible.
.PP
-See also QFileInfo::isReadable().
+See also TQFileInfo::isReadable().
.PP
Examples:
-.)l dirview/dirview.cpp and fileiconview/qfileiconview.cpp.
-.SH "bool QDir::isRelative () const\fC [virtual]\fR"
+.)l dirview/dirview.cpp and fileiconview/tqfileiconview.cpp.
+.SH "bool TQDir::isRelative () const\fC [virtual]\fR"
Returns TRUE if the directory path is relative to the current directory and returns FALSE if the path is absolute (e.g. under UNIX a path is relative if it does not start with a "/").
.PP
See also convertToAbs().
-.SH "bool QDir::isRelativePath ( const TQString & path )\fC [static]\fR"
+.SH "bool TQDir::isRelativePath ( const TQString & path )\fC [static]\fR"
Returns TRUE if \fIpath\fR is relative; returns FALSE if it is absolute.
.PP
See also isRelative().
-.SH "bool QDir::isRoot () const\fC [virtual]\fR"
+.SH "bool TQDir::isRoot () const\fC [virtual]\fR"
Returns TRUE if the directory is the root directory; otherwise returns FALSE.
.PP
Note: If the directory is a symbolic link to the root directory this function returns FALSE. If you want to test for this use canonicalPath(), e.g.
.PP
.nf
.br
- QDir d( "/tmp/root_link" );
+ TQDir d( "/tmp/root_link" );
.br
d = d.canonicalPath();
.br
@@ -620,13 +620,13 @@ Note: If the directory is a symbolic link to the root directory this function re
.fi
.PP
See also root() and rootDirPath().
-.SH "bool QDir::match ( const TQString & filter, const TQString & fileName )\fC [static]\fR"
+.SH "bool TQDir::match ( const TQString & filter, const TQString & fileName )\fC [static]\fR"
Returns TRUE if the \fIfileName\fR matches the wildcard (glob) pattern \fIfilter\fR; otherwise returns FALSE. The \fIfilter\fR may contain multiple patterns separated by spaces or semicolons.
.PP
(See TQRegExp wildcard matching.)
.PP
See also TQRegExp::match().
-.SH "bool QDir::match ( const TQStringList & filters, const TQString & fileName )\fC [static]\fR"
+.SH "bool TQDir::match ( const TQStringList & filters, const TQString & fileName )\fC [static]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns TRUE if the \fIfileName\fR matches any of the wildcard (glob) patterns in the list of \fIfilters\fR; otherwise returns FALSE.
@@ -634,11 +634,11 @@ Returns TRUE if the \fIfileName\fR matches any of the wildcard (glob) patterns i
(See TQRegExp wildcard matching.)
.PP
See also TQRegExp::match().
-.SH "bool QDir::matchAllDirs () const"
+.SH "bool TQDir::matchAllDirs () const"
Returns the value set by setMatchAllDirs()
.PP
See also setMatchAllDirs().
-.SH "bool QDir::mkdir ( const TQString & dirName, bool acceptAbsPath = TRUE ) const\fC [virtual]\fR"
+.SH "bool TQDir::mkdir ( const TQString & dirName, bool acceptAbsPath = TRUE ) const\fC [virtual]\fR"
Creates a directory.
.PP
If \fIacceptAbsPath\fR is TRUE a path starting with a separator ('/') will create the absolute directory; if \fIacceptAbsPath\fR is FALSE any number of separators at the beginning of \fIdirName\fR will be removed.
@@ -646,9 +646,9 @@ If \fIacceptAbsPath\fR is TRUE a path starting with a separator ('/') will creat
Returns TRUE if successful; otherwise returns FALSE.
.PP
See also rmdir().
-.SH "TQString QDir::nameFilter () const"
+.SH "TQString TQDir::nameFilter () const"
Returns the string set by setNameFilter()
-.SH "bool QDir::operator!= ( const QDir & d ) const\fC [virtual]\fR"
+.SH "bool TQDir::operator!= ( const TQDir & d ) const\fC [virtual]\fR"
Returns TRUE if directory \fId\fR and this directory have different paths or different sort or filter settings; otherwise returns FALSE.
.PP
Example:
@@ -657,22 +657,22 @@ Example:
.br
// The current directory is "/usr/local"
.br
- QDir d1( "/usr/local/bin" );
+ TQDir d1( "/usr/local/bin" );
.br
- QDir d2( "bin" );
+ TQDir d2( "bin" );
.br
if ( d1 != d2 )
.br
tqDebug( "They differ" );
.br
.fi
-.SH "QDir & QDir::operator= ( const QDir & d )"
-Makes a copy of QDir \fId\fR and assigns it to this QDir.
-.SH "QDir & QDir::operator= ( const TQString & path )"
+.SH "TQDir & TQDir::operator= ( const TQDir & d )"
+Makes a copy of TQDir \fId\fR and assigns it to this TQDir.
+.SH "TQDir & TQDir::operator= ( const TQString & path )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Sets the directory path to be the given \fIpath\fR.
-.SH "bool QDir::operator== ( const QDir & d ) const\fC [virtual]\fR"
+.SH "bool TQDir::operator== ( const TQDir & d ) const\fC [virtual]\fR"
Returns TRUE if directory \fId\fR and this directory have the same path and their sort and filter settings are the same; otherwise returns FALSE.
.PP
Example:
@@ -681,9 +681,9 @@ Example:
.br
// The current directory is "/usr/local"
.br
- QDir d1( "/usr/local/bin" );
+ TQDir d1( "/usr/local/bin" );
.br
- QDir d2( "bin" );
+ TQDir d2( "bin" );
.br
d2.convertToAbs();
.br
@@ -692,27 +692,27 @@ Example:
tqDebug( "They're the same" );
.br
.fi
-.SH "TQString QDir::operator[] ( int index ) const"
+.SH "TQString TQDir::operator[] ( int index ) const"
Returns the file name at position \fIindex\fR in the list of file names. Equivalent to entryList().at(index).
.PP
Returns a TQString::null if the \fIindex\fR is out of range or if the entryList() function failed.
.PP
See also count() and entryList().
-.SH "TQString QDir::path () const\fC [virtual]\fR"
+.SH "TQString TQDir::path () const\fC [virtual]\fR"
Returns the path, this may contain symbolic links, but never contains redundant ".", ".." or multiple separators.
.PP
The returned path can be either absolute or relative (see setPath()).
.PP
See also setPath(), absPath(), exists(), cleanDirPath(), dirName(), absFilePath(), and convertSeparators().
-.SH "void QDir::refresh () const"
+.SH "void TQDir::refresh () const"
Refreshes the directory information.
-.SH "bool QDir::remove ( const TQString & fileName, bool acceptAbsPath = TRUE )\fC [virtual]\fR"
+.SH "bool TQDir::remove ( const TQString & fileName, bool acceptAbsPath = TRUE )\fC [virtual]\fR"
Removes the file, \fIfileName\fR.
.PP
If \fIacceptAbsPath\fR is TRUE a path starting with separator "/" will remove the file with the absolute path. If \fIacceptAbsPath\fR is FALSE any number of separators at the beginning of \fIfileName\fR will be removed and the resultant file name will be removed.
.PP
Returns TRUE if the file is removed successfully; otherwise returns FALSE.
-.SH "bool QDir::rename ( const TQString & oldName, const TQString & newName, bool acceptAbsPaths = TRUE )\fC [virtual]\fR"
+.SH "bool TQDir::rename ( const TQString & oldName, const TQString & newName, bool acceptAbsPaths = TRUE )\fC [virtual]\fR"
Renames a file or directory.
.PP
If \fIacceptAbsPaths\fR is TRUE a path starting with a separator ('/') will rename the file with the absolute path; if \fIacceptAbsPaths\fR is FALSE any number of separators at the beginning of the names will be removed.
@@ -721,8 +721,8 @@ Returns TRUE if successful; otherwise returns FALSE.
.PP
On most file systems, rename() fails only if \fIoldName\fR does not exist or if \fInewName\fR and \fIoldName\fR are not on the same partition. On Windows, rename() will fail if \fInewName\fR already exists. However, there are also other reasons why rename() can fail. For example, on at least one file system rename() fails if \fInewName\fR points to an open file.
.PP
-Example: fileiconview/qfileiconview.cpp.
-.SH "bool QDir::rmdir ( const TQString & dirName, bool acceptAbsPath = TRUE ) const\fC [virtual]\fR"
+Example: fileiconview/tqfileiconview.cpp.
+.SH "bool TQDir::rmdir ( const TQString & dirName, bool acceptAbsPath = TRUE ) const\fC [virtual]\fR"
Removes a directory.
.PP
If \fIacceptAbsPath\fR is TRUE a path starting with a separator ('/') will remove the absolute directory; if \fIacceptAbsPath\fR is FALSE any number of separators at the beginning of \fIdirName\fR will be removed.
@@ -732,31 +732,31 @@ The directory must be empty for rmdir() to succeed.
Returns TRUE if successful; otherwise returns FALSE.
.PP
See also mkdir().
-.SH "QDir QDir::root ()\fC [static]\fR"
+.SH "TQDir TQDir::root ()\fC [static]\fR"
Returns the root directory.
.PP
See also rootDirPath() and drives().
-.SH "TQString QDir::rootDirPath ()\fC [static]\fR"
+.SH "TQString TQDir::rootDirPath ()\fC [static]\fR"
Returns the absolute path for the root directory.
.PP
For UNIX operating systems this returns "/". For Windows file systems this normally returns "c:/".
.PP
See also root() and drives().
-.SH "char QDir::separator ()\fC [static]\fR"
+.SH "char TQDir::separator ()\fC [static]\fR"
Returns the native directory separator; "/" under UNIX (including Mac OS X) and "\" under Windows.
.PP
You do not need to use this function to build file paths. If you always use "/", TQt will translate your paths to conform to the underlying operating system.
-.SH "bool QDir::setCurrent ( const TQString & path )\fC [static]\fR"
+.SH "bool TQDir::setCurrent ( const TQString & path )\fC [static]\fR"
Sets the application's current working directory to \fIpath\fR. Returns TRUE if the directory was successfully changed; otherwise returns FALSE.
-.SH "void QDir::setFilter ( int filterSpec )\fC [virtual]\fR"
-Sets the filter used by entryList() and entryInfoList() to \fIfilterSpec\fR. The filter is used to specify the kind of files that should be returned by entryList() and entryInfoList(). See QDir::FilterSpec.
+.SH "void TQDir::setFilter ( int filterSpec )\fC [virtual]\fR"
+Sets the filter used by entryList() and entryInfoList() to \fIfilterSpec\fR. The filter is used to specify the kind of files that should be returned by entryList() and entryInfoList(). See TQDir::FilterSpec.
.PP
See also filter() and setNameFilter().
-.SH "void QDir::setMatchAllDirs ( bool enable )\fC [virtual]\fR"
+.SH "void TQDir::setMatchAllDirs ( bool enable )\fC [virtual]\fR"
If \fIenable\fR is TRUE then all directories are included (e.g. in entryList()), and the nameFilter() is only applied to the files. If \fIenable\fR is FALSE then the nameFilter() is applied to both directories and files.
.PP
See also matchAllDirs().
-.SH "void QDir::setNameFilter ( const TQString & nameFilter )\fC [virtual]\fR"
+.SH "void TQDir::setNameFilter ( const TQString & nameFilter )\fC [virtual]\fR"
Sets the name filter used by entryList() and entryInfoList() to \fInameFilter\fR.
.PP
The \fInameFilter\fR is a wildcard (globbing) filter that understands" *" and "?" wildcards. (See TQRegExp wildcard matching.) You may specify several filter entries all separated by a single space " " or by a semi-colon" ;".
@@ -764,25 +764,25 @@ The \fInameFilter\fR is a wildcard (globbing) filter that understands" *" and "?
For example, if you want entryList() and entryInfoList() to list all files ending with either ".cpp" or ".h", you would use either dir.setNameFilter("*.cpp *.h") or dir.setNameFilter("*.cpp;*.h").
.PP
See also nameFilter() and setFilter().
-.SH "void QDir::setPath ( const TQString & path )\fC [virtual]\fR"
+.SH "void TQDir::setPath ( const TQString & path )\fC [virtual]\fR"
Sets the path of the directory to \fIpath\fR. The path is cleaned of redundant ".", ".." and of multiple separators. No check is made to ensure that a directory with this path exists.
.PP
The path can be either absolute or relative. Absolute paths begin with the directory separator "/" (optionally preceded by a drive specification under Windows). Relative file names begin with a directory name or a file name and specify a path relative to the current directory. An example of an absolute path is the string" /tmp/quartz", a relative path might look like "src/fatlib".
.PP
See also path(), absPath(), exists(), cleanDirPath(), dirName(), absFilePath(), isRelative(), and convertToAbs().
-.SH "void QDir::setSorting ( int sortSpec )\fC [virtual]\fR"
+.SH "void TQDir::setSorting ( int sortSpec )\fC [virtual]\fR"
Sets the sort order used by entryList() and entryInfoList().
.PP
-The \fIsortSpec\fR is specified by OR-ing values from the enum QDir::SortSpec.
+The \fIsortSpec\fR is specified by OR-ing values from the enum TQDir::SortSpec.
.PP
See also sorting() and SortSpec.
-.SH "SortSpec QDir::sorting () const"
+.SH "SortSpec TQDir::sorting () const"
Returns the value set by setSorting()
.PP
See also setSorting() and SortSpec.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqdir.html
+.BR http://doc.trolltech.com/tqdir.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqdns.3qt b/doc/man/man3/tqdns.3qt
index c205f7612..01b59bc7a 100644
--- a/doc/man/man3/tqdns.3qt
+++ b/doc/man/man3/tqdns.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QDns 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQDns 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,9 +7,9 @@
.ad l
.nh
.SH NAME
-QDns \- Asynchronous DNS lookups
+TQDns \- Asynchronous DNS lookups
.SH SYNOPSIS
-\fC#include \fR
+\fC#include \fR
.PP
Inherits TQObject.
.PP
@@ -19,22 +19,22 @@ Inherits TQObject.
.BI "enum \fBRecordType\fR { None, A, Aaaa, Mx, Srv, Cname, Ptr, Txt }"
.br
.ti -1c
-.BI "\fBQDns\fR ()"
+.BI "\fBTQDns\fR ()"
.br
.ti -1c
-.BI "\fBQDns\fR ( const TQString & label, RecordType rr = A )"
+.BI "\fBTQDns\fR ( const TQString & label, RecordType rr = A )"
.br
.ti -1c
-.BI "\fBQDns\fR ( const QHostAddress & address, RecordType rr = Ptr )"
+.BI "\fBTQDns\fR ( const TQHostAddress & address, RecordType rr = Ptr )"
.br
.ti -1c
-.BI "virtual \fB~QDns\fR ()"
+.BI "virtual \fB~TQDns\fR ()"
.br
.ti -1c
.BI "virtual void \fBsetLabel\fR ( const TQString & label )"
.br
.ti -1c
-.BI "virtual void \fBsetLabel\fR ( const QHostAddress & address )"
+.BI "virtual void \fBsetLabel\fR ( const TQHostAddress & address )"
.br
.ti -1c
.BI "TQString \fBlabel\fR () const"
@@ -49,7 +49,7 @@ Inherits TQObject.
.BI "bool \fBisWorking\fR () const"
.br
.ti -1c
-.BI "TQValueList \fBaddresses\fR () const"
+.BI "TQValueList \fBaddresses\fR () const"
.br
.ti -1c
.BI "TQValueList \fBmailServers\fR () const"
@@ -77,59 +77,59 @@ Inherits TQObject.
.br
.in -1c
.SH DESCRIPTION
-The QDns class provides asynchronous DNS lookups.
+The TQDns class provides asynchronous DNS lookups.
.PP
Both Windows and Unix provide synchronous DNS lookups; Windows provides some asynchronous support too. At the time of writing neither operating system provides asynchronous support for anything other than hostname-to-address mapping.
.PP
-QDns rectifies this shortcoming, by providing asynchronous caching lookups for the record types that we expect modern GUI applications to need in the near future.
+TQDns rectifies this shortcoming, by providing asynchronous caching lookups for the record types that we expect modern GUI applications to need in the near future.
.PP
-The class is \fInot\fR straightforward to use (although it is much simpler than the native APIs); QSocket provides much easier to use TCP connection facilities. The aim of QDns is to provide a correct and small API to the DNS and nothing more. (We use "correctness" to mean that the DNS information is correctly cached, and correctly timed out.)
+The class is \fInot\fR straightforward to use (although it is much simpler than the native APIs); TQSocket provides much easier to use TCP connection facilities. The aim of TQDns is to provide a correct and small API to the DNS and nothing more. (We use "correctness" to mean that the DNS information is correctly cached, and correctly timed out.)
.PP
-The API comprises a constructor, functions to set the DNS node (the domain in DNS terminology) and record type (setLabel() and setRecordType()), the corresponding get functions, an isWorking() function to determine whether QDns is working or reading, a resultsReady() signal and query functions for the result.
+The API comprises a constructor, functions to set the DNS node (the domain in DNS terminology) and record type (setLabel() and setRecordType()), the corresponding get functions, an isWorking() function to determine whether TQDns is working or reading, a resultsReady() signal and query functions for the result.
.PP
There is one query function for each RecordType, namely addresses(), mailServers(), servers(), hostNames() and texts(). There are also two generic query functions: canonicalName() returns the name you'll presumably end up using (the exact meaning of this depends on the record type) and qualifiedNames() returns a list of the fully qualified names label() maps to.
.PP
-See also QSocket and Input/Output and Networking.
+See also TQSocket and Input/Output and Networking.
.SS "Member Type Documentation"
-.SH "QDns::RecordType"
-This enum type defines the record types QDns can handle. The DNS provides many more; these are the ones we've judged to be in current use, useful for GUI programs and important enough to support right away:
+.SH "TQDns::RecordType"
+This enum type defines the record types TQDns can handle. The DNS provides many more; these are the ones we've judged to be in current use, useful for GUI programs and important enough to support right away:
.TP
-\fCQDns::None\fR - No information. This exists only so that QDns can have a default.
+\fCTQDns::None\fR - No information. This exists only so that TQDns can have a default.
.TP
-\fCQDns::A\fR - IPv4 addresses. By far the most common type.
+\fCTQDns::A\fR - IPv4 addresses. By far the most common type.
.TP
-\fCQDns::Aaaa\fR - IPv6 addresses. So far mostly unused.
+\fCTQDns::Aaaa\fR - IPv6 addresses. So far mostly unused.
.TP
-\fCQDns::Mx\fR - Mail eXchanger names. Used for mail delivery.
+\fCTQDns::Mx\fR - Mail eXchanger names. Used for mail delivery.
.TP
-\fCQDns::Srv\fR - SeRVer names. Generic record type for finding servers. So far mostly unused.
+\fCTQDns::Srv\fR - SeRVer names. Generic record type for finding servers. So far mostly unused.
.TP
-\fCQDns::Cname\fR - Canonical names. Maps from nicknames to the true name (the canonical name) for a host.
+\fCTQDns::Cname\fR - Canonical names. Maps from nicknames to the true name (the canonical name) for a host.
.TP
-\fCQDns::Ptr\fR - name PoinTeRs. Maps from IPv4 or IPv6 addresses to hostnames.
+\fCTQDns::Ptr\fR - name PoinTeRs. Maps from IPv4 or IPv6 addresses to hostnames.
.TP
-\fCQDns::Txt\fR - arbitrary TeXT for domains.
+\fCTQDns::Txt\fR - arbitrary TeXT for domains.
.PP
We expect that some support for the RFC-2535 extensions will be added in future versions.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QDns::QDns ()"
+.SH "TQDns::TQDns ()"
Constructs a DNS query object with invalid settings for both the label and the search type.
-.SH "QDns::QDns ( const TQString & label, RecordType rr = A )"
+.SH "TQDns::TQDns ( const TQString & label, RecordType rr = A )"
Constructs a DNS query object that will return record type \fIrr\fR information about \fIlabel\fR.
.PP
The DNS lookup is started the next time the application enters the event loop. When the result is found the signal resultsReady() is emitted.
.PP
\fIrr\fR defaults to A, IPv4 addresses.
-.SH "QDns::QDns ( const QHostAddress & address, RecordType rr = Ptr )"
+.SH "TQDns::TQDns ( const TQHostAddress & address, RecordType rr = Ptr )"
Constructs a DNS query object that will return record type \fIrr\fR information about host address \fIaddress\fR. The label is set to the IN-ADDR.ARPA domain name. This is useful in combination with the Ptr record type (e.g. if you want to look up a hostname for a given address).
.PP
The DNS lookup is started the next time the application enters the event loop. When the result is found the signal resultsReady() is emitted.
.PP
\fIrr\fR defaults to Ptr, that maps addresses to hostnames.
-.SH "QDns::~QDns ()\fC [virtual]\fR"
+.SH "TQDns::~TQDns ()\fC [virtual]\fR"
Destroys the DNS query object and frees its allocated resources.
-.SH "TQValueList QDns::addresses () const"
-Returns a list of the addresses for this name if this QDns object has a recordType() of QDns::A or QDns::Aaaa and the answer is available; otherwise returns an empty list.
+.SH "TQValueList TQDns::addresses () const"
+Returns a list of the addresses for this name if this TQDns object has a recordType() of TQDns::A or TQDns::Aaaa and the answer is available; otherwise returns an empty list.
.PP
As a special case, if label() is a valid numeric IP address, this function returns that address.
.PP
@@ -137,9 +137,9 @@ Note that if you want to iterate over the list, you should iterate over a copy,
.PP
.nf
.br
- TQValueList list = myDns.addresses();
+ TQValueList list = myDns.addresses();
.br
- TQValueList::Iterator it = list.begin();
+ TQValueList::Iterator it = list.begin();
.br
while( it != list.end() ) {
.br
@@ -150,13 +150,13 @@ Note that if you want to iterate over the list, you should iterate over a copy,
}
.br
.fi
-.SH "TQString QDns::canonicalName () const"
+.SH "TQString TQDns::canonicalName () const"
Returns the canonical name for this DNS node. (This works regardless of what recordType() is set to.)
.PP
If the canonical name isn't known, this function returns a null string.
.PP
-The canonical name of a DNS node is its full name, or the full name of the target of its CNAME. For example, if l.trolltech.com is a CNAME to lillian.troll.no, and the search path for QDns is" trolltech.com", then the canonical name for all of "lillian"," l", "lillian.troll.no." and "l.trolltech.com" is" lillian.troll.no.".
-.SH "TQStringList QDns::hostNames () const"
+The canonical name of a DNS node is its full name, or the full name of the target of its CNAME. For example, if l.trolltech.com is a CNAME to lillian.troll.no, and the search path for TQDns is" trolltech.com", then the canonical name for all of "lillian"," l", "lillian.troll.no." and "l.trolltech.com" is" lillian.troll.no.".
+.SH "TQStringList TQDns::hostNames () const"
Returns a list of host names if the record type is Ptr.
.PP
Note that if you want to iterate over the list, you should iterate over a copy, e.g.
@@ -176,30 +176,30 @@ Note that if you want to iterate over the list, you should iterate over a copy,
}
.br
.fi
-.SH "bool QDns::isWorking () const"
-Returns TRUE if QDns is doing a lookup for this object (i.e. if it does not already have the necessary information); otherwise returns FALSE.
+.SH "bool TQDns::isWorking () const"
+Returns TRUE if TQDns is doing a lookup for this object (i.e. if it does not already have the necessary information); otherwise returns FALSE.
.PP
-QDns emits the resultsReady() signal when the status changes to FALSE.
+TQDns emits the resultsReady() signal when the status changes to FALSE.
.PP
Example: network/mail/smtp.cpp.
-.SH "TQString QDns::label () const"
+.SH "TQString TQDns::label () const"
Returns the domain name for which this object returns information.
.PP
See also setLabel().
-.SH "TQValueList QDns::mailServers () const"
-Returns a list of mail servers if the record type is Mx. The class \fCQDns::MailServer\fR contains the following public variables:
+.SH "TQValueList TQDns::mailServers () const"
+Returns a list of mail servers if the record type is Mx. The class \fCTQDns::MailServer\fR contains the following public variables:
.TP
-TQString QDns::MailServer::name
+TQString TQDns::MailServer::name
.TP
-TQ_UINT16 QDns::MailServer::priority
+TQ_UINT16 TQDns::MailServer::priority
.PP
Note that if you want to iterate over the list, you should iterate over a copy, e.g.
.PP
.nf
.br
- TQValueList list = myDns.mailServers();
+ TQValueList list = myDns.mailServers();
.br
- TQValueList::Iterator it = list.begin();
+ TQValueList::Iterator it = list.begin();
.br
while( it != list.end() ) {
.br
@@ -212,7 +212,7 @@ Note that if you want to iterate over the list, you should iterate over a copy,
.fi
.PP
Example: network/mail/smtp.cpp.
-.SH "TQStringList QDns::qualifiedNames () const"
+.SH "TQStringList TQDns::qualifiedNames () const"
Returns a list of the fully qualified names label() maps to.
.PP
Note that if you want to iterate over the list, you should iterate over a copy, e.g.
@@ -232,32 +232,32 @@ Note that if you want to iterate over the list, you should iterate over a copy,
}
.br
.fi
-.SH "RecordType QDns::recordType () const"
+.SH "RecordType TQDns::recordType () const"
Returns the record type of this DNS query object.
.PP
See also setRecordType() and RecordType.
-.SH "void QDns::resultsReady ()\fC [signal]\fR"
+.SH "void TQDns::resultsReady ()\fC [signal]\fR"
This signal is emitted when results are available for one of the qualifiedNames().
.PP
Example: network/mail/smtp.cpp.
-.SH "TQValueList QDns::servers () const"
-Returns a list of servers if the record type is Srv. The class \fCQDns::Server\fR contains the following public variables:
+.SH "TQValueList TQDns::servers () const"
+Returns a list of servers if the record type is Srv. The class \fCTQDns::Server\fR contains the following public variables:
.TP
-TQString QDns::Server::name
+TQString TQDns::Server::name
.TP
-TQ_UINT16 QDns::Server::priority
+TQ_UINT16 TQDns::Server::priority
.TP
-TQ_UINT16 QDns::Server::weight
+TQ_UINT16 TQDns::Server::weight
.TP
-TQ_UINT16 QDns::Server::port
+TQ_UINT16 TQDns::Server::port
.PP
Note that if you want to iterate over the list, you should iterate over a copy, e.g.
.PP
.nf
.br
- TQValueList list = myDns.servers();
+ TQValueList list = myDns.servers();
.br
- TQValueList::Iterator it = list.begin();
+ TQValueList::Iterator it = list.begin();
.br
while( it != list.end() ) {
.br
@@ -268,23 +268,23 @@ Note that if you want to iterate over the list, you should iterate over a copy,
}
.br
.fi
-.SH "void QDns::setLabel ( const TQString & label )\fC [virtual]\fR"
+.SH "void TQDns::setLabel ( const TQString & label )\fC [virtual]\fR"
Sets this DNS query object to query for information about \fIlabel\fR.
.PP
This does not change the recordType(), but its isWorking() status will probably change as a result.
.PP
The DNS lookup is started the next time the application enters the event loop. When the result is found the signal resultsReady() is emitted.
-.SH "void QDns::setLabel ( const QHostAddress & address )\fC [virtual]\fR"
+.SH "void TQDns::setLabel ( const TQHostAddress & address )\fC [virtual]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Sets this DNS query object to query for information about the host address \fIaddress\fR. The label is set to the IN-ADDR.ARPA domain name. This is useful in combination with the Ptr record type (e.g. if you want to look up a hostname for a given address).
-.SH "void QDns::setRecordType ( RecordType rr = A )\fC [virtual]\fR"
+.SH "void TQDns::setRecordType ( RecordType rr = A )\fC [virtual]\fR"
Sets this object to query for record type \fIrr\fR records.
.PP
The DNS lookup is started the next time the application enters the event loop. When the result is found the signal resultsReady() is emitted.
.PP
See also RecordType.
-.SH "TQStringList QDns::texts () const"
+.SH "TQStringList TQDns::texts () const"
Returns a list of texts if the record type is Txt.
.PP
Note that if you want to iterate over the list, you should iterate over a copy, e.g.
@@ -306,7 +306,7 @@ Note that if you want to iterate over the list, you should iterate over a copy,
.fi
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqdns.html
+.BR http://doc.trolltech.com/tqdns.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqdomdocument.3qt b/doc/man/man3/tqdomdocument.3qt
index 6a7e8e25c..33813c7b5 100644
--- a/doc/man/man3/tqdomdocument.3qt
+++ b/doc/man/man3/tqdomdocument.3qt
@@ -157,7 +157,7 @@ The TQDom classes are typically used as follows:
.br
TQDomDocument doc( "mydocument" );
.br
- QFile file( "mydocument.xml" );
+ TQFile file( "mydocument.xml" );
.br
if ( !file.open( IO_ReadOnly ) )
.br
diff --git a/doc/man/man3/tqdomnode.3qt b/doc/man/man3/tqdomnode.3qt
index 7f68db777..cf59170eb 100644
--- a/doc/man/man3/tqdomnode.3qt
+++ b/doc/man/man3/tqdomnode.3qt
@@ -489,7 +489,7 @@ Example: xml/outliner/outlinetree.cpp.
.SH "bool TQDomNode::isProcessingInstruction () const\fC [virtual]\fR"
Returns TRUE if the node is a processing instruction; otherwise returns FALSE.
.PP
-If this function returns TRUE, it does not imply that this object is a TQDomProcessingInstruction; you can get the QProcessingInstruction with toProcessingInstruction().
+If this function returns TRUE, it does not imply that this object is a TQDomProcessingInstruction; you can get the TQProcessingInstruction with toProcessingInstruction().
.PP
See also toProcessingInstruction().
.PP
diff --git a/doc/man/man3/tqdragobject.3qt b/doc/man/man3/tqdragobject.3qt
index 498ef445b..aefc06e08 100644
--- a/doc/man/man3/tqdragobject.3qt
+++ b/doc/man/man3/tqdragobject.3qt
@@ -73,7 +73,7 @@ TQDragObject is the base class for all data that needs to be transferred between
.PP
See the Drag-and-drop documentation for an overview of how to provide drag and drop in your application.
.PP
-See the QClipboard documentation for an overview of how to provide cut-and-paste in your application.
+See the TQClipboard documentation for an overview of how to provide cut-and-paste in your application.
.PP
The drag() function is used to start a drag operation. You can specify the DragMode in the call or use one of the convenience functions dragCopy(), dragMove() or dragLink(). The drag source where the data originated is retrieved with source(). If the data was dropped on a widget within the application, target() will return a pointer to that widget. Specify the pixmap to display during the drag with setPixmap().
.PP
@@ -143,7 +143,7 @@ The \fIhotspot\fR is the point on (or off) the pixmap that should be under the c
.PP
\fBWarning:\fR We have seen problems with drag cursors on different graphics hardware and driver software on Windows. Setting the graphics acceleration in the display settings down one tick solved the problems in all cases.
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "void TQDragObject::setPixmap ( QPixmap pm )\fC [virtual]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
diff --git a/doc/man/man3/tqdropevent.3qt b/doc/man/man3/tqdropevent.3qt
index b20cb9f02..0c23fa2ef 100644
--- a/doc/man/man3/tqdropevent.3qt
+++ b/doc/man/man3/tqdropevent.3qt
@@ -102,12 +102,12 @@ Example: iconview/simple_dd/main.cpp.
Call this to indicate that the action described by action() is accepted (i.e. if \fIy\fR is TRUE, which is the default), not merely the default copy action. If you call acceptAction(TRUE), there is no need to also call accept(TRUE).
.PP
Examples:
-.)l dirview/dirview.cpp and fileiconview/qfileiconview.cpp.
+.)l dirview/dirview.cpp and fileiconview/tqfileiconview.cpp.
.SH "Action TQDropEvent::action () const"
Returns the Action which the target is requesting to be performed with the data. If your application understands the action and can process the supplied data, call acceptAction(); if your application can process the supplied data but can only perform the Copy action, call accept().
.PP
Examples:
-.)l dirview/dirview.cpp and fileiconview/qfileiconview.cpp.
+.)l dirview/dirview.cpp and fileiconview/tqfileiconview.cpp.
.SH "TQByteArray TQDropEvent::data ( const char * f ) const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
@@ -135,7 +135,7 @@ Reimplemented from TQMimeSource.
.SH "void TQDropEvent::ignore ()"
The opposite of accept(), i.e. you have ignored the drop event.
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "bool TQDropEvent::isAccepted () const"
Returns TRUE if the drop target accepts the event; otherwise returns FALSE.
.SH "bool TQDropEvent::isActionAccepted () const"
@@ -149,7 +149,7 @@ Returns TRUE if this event provides format \fImimeType\fR; otherwise returns FAL
.PP
See also data().
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.PP
Reimplemented from TQMimeSource.
.SH "void TQDropEvent::setAction ( Action a )"
diff --git a/doc/man/man3/tqevent.3qt b/doc/man/man3/tqevent.3qt
index fe54d3176..ba12ce519 100644
--- a/doc/man/man3/tqevent.3qt
+++ b/doc/man/man3/tqevent.3qt
@@ -139,7 +139,7 @@ This enum type defines the valid event types in Qt. The event types and the spec
.TP
\fCQEvent::Clipboard\fR - Clipboard contents have changed.
.TP
-\fCQEvent::SockAct\fR - Socket activated, used to implement QSocketNotifier.
+\fCQEvent::SockAct\fR - Socket activated, used to implement TQSocketNotifier.
.TP
\fCQEvent::DragEnter\fR - A drag-and-drop enters widget, TQDragEnterEvent.
.TP
diff --git a/doc/man/man3/tqeventloop.3qt b/doc/man/man3/tqeventloop.3qt
index 58896b22f..c86e9c2ed 100644
--- a/doc/man/man3/tqeventloop.3qt
+++ b/doc/man/man3/tqeventloop.3qt
@@ -39,13 +39,13 @@ Inherited by QMotif.
.BI "virtual bool \fBhasPendingEvents\fR () const"
.br
.ti -1c
-.BI "virtual void \fBregisterSocketNotifier\fR ( QSocketNotifier * notifier )"
+.BI "virtual void \fBregisterSocketNotifier\fR ( TQSocketNotifier * notifier )"
.br
.ti -1c
-.BI "virtual void \fBunregisterSocketNotifier\fR ( QSocketNotifier * notifier )"
+.BI "virtual void \fBunregisterSocketNotifier\fR ( TQSocketNotifier * notifier )"
.br
.ti -1c
-.BI "void \fBsetSocketNotifierPending\fR ( QSocketNotifier * notifier )"
+.BI "void \fBsetSocketNotifierPending\fR ( TQSocketNotifier * notifier )"
.br
.ti -1c
.BI "int \fBactivateSocketNotifiers\fR ()"
@@ -195,9 +195,9 @@ NOTE: This function will not process events continuously; it returns after all a
This function returns TRUE if an event was processed; otherwise it returns FALSE.
.PP
See also ProcessEvents and hasPendingEvents().
-.SH "void QEventLoop::registerSocketNotifier ( QSocketNotifier * notifier )\fC [virtual]\fR"
+.SH "void QEventLoop::registerSocketNotifier ( TQSocketNotifier * notifier )\fC [virtual]\fR"
Registers \fInotifier\fR with the event loop. Subclasses need to reimplement this method to tie a socket notifier into another event loop. Reimplementations \fIMUST\fR call the base implementation.
-.SH "void QEventLoop::setSocketNotifierPending ( QSocketNotifier * notifier )"
+.SH "void QEventLoop::setSocketNotifierPending ( TQSocketNotifier * notifier )"
Marks \fInotifier\fR as pending. The socket notifier will be activated the next time activateSocketNotifiers() is called.
.SH "int QEventLoop::timeToWait () const"
Returns the number of milliseconds that TQt needs to handle its timers or -1 if there are no timers running.
@@ -205,7 +205,7 @@ Returns the number of milliseconds that TQt needs to handle its timers or -1 if
QEventLoop subclasses that do their own timer handling need to use this to make sure that Qt's timers continue to work.
.PP
Note: This function is only useful on systems where \fCselect()\fR is used to block the eventloop. On Windows, this function always returns -1. On MacOS X, this function always returns -1 when the GUI is enabled. On MacOS X, this function returns the documented value when the GUI is disabled.
-.SH "void QEventLoop::unregisterSocketNotifier ( QSocketNotifier * notifier )\fC [virtual]\fR"
+.SH "void QEventLoop::unregisterSocketNotifier ( TQSocketNotifier * notifier )\fC [virtual]\fR"
Unregisters \fInotifier\fR from the event loop. Subclasses need to reimplement this method to tie a socket notifier into another event loop. Reimplementations \fIMUST\fR call the base implementation.
.SH "void QEventLoop::wakeUp ()\fC [virtual]\fR"
\fBNote:\fR This function is thread-safe when TQt is built withthread support.
diff --git a/doc/man/man3/tqfile.3qt b/doc/man/man3/tqfile.3qt
index 96c3ed460..6063665e7 100644
--- a/doc/man/man3/tqfile.3qt
+++ b/doc/man/man3/tqfile.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QFile 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQFile 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,24 +7,24 @@
.ad l
.nh
.SH NAME
-QFile \- I/O device that operates on files
+TQFile \- I/O device that operates on files
.SH SYNOPSIS
Almost all the functions in this class are reentrant when TQt is built with thread support. The exceptions are \fBsetEncodingFunction\fR(), \fBsetDecodingFunction\fR(), and \fBsetErrorString\fR().
.PP
-\fC#include \fR
+\fC#include \fR
.PP
Inherits TQIODevice.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQFile\fR ()"
+.BI "\fBTQFile\fR ()"
.br
.ti -1c
-.BI "\fBQFile\fR ( const TQString & name )"
+.BI "\fBTQFile\fR ( const TQString & name )"
.br
.ti -1c
-.BI "\fB~QFile\fR ()"
+.BI "\fB~TQFile\fR ()"
.br
.ti -1c
.BI "TQString \fBname\fR () const"
@@ -121,13 +121,13 @@ Inherits TQIODevice.
.br
.in -1c
.SH DESCRIPTION
-The QFile class is an I/O device that operates on files.
+The TQFile class is an I/O device that operates on files.
.PP
-QFile is an I/O device for reading and writing binary and text files. A QFile may be used by itself or more conveniently with a QDataStream or TQTextStream.
+TQFile is an I/O device for reading and writing binary and text files. A TQFile may be used by itself or more conveniently with a TQDataStream or TQTextStream.
.PP
The file name is usually passed in the constructor but can be changed with setName(). You can check for a file's existence with exists() and remove a file with remove().
.PP
-The file is opened with open(), closed with close() and flushed with flush(). Data is usually read and written using QDataStream or TQTextStream, but you can read with readBlock() and readLine() and write with writeBlock(). QFile also supports getch(), ungetch() and putch().
+The file is opened with open(), closed with close() and flushed with flush(). Data is usually read and written using TQDataStream or TQTextStream, but you can read with readBlock() and readLine() and write with writeBlock(). TQFile also supports getch(), ungetch() and putch().
.PP
The size of the file is returned by size(). You can get the current file position or move to a new file position using the at() functions. If you've reached the end of the file, atEnd() returns TRUE. The file handle is returned by handle().
.PP
@@ -137,7 +137,7 @@ Here is a code fragment that uses TQTextStream to read a text file line by line.
.br
TQStringList lines;
.br
- QFile file( "file.txt" );
+ TQFile file( "file.txt" );
.br
if ( file.open( IO_ReadOnly ) ) {
.br
@@ -167,7 +167,7 @@ Writing text is just as easy. The following example shows how to write the data
.PP
.nf
.br
- QFile file( "file.txt" );
+ TQFile file( "file.txt" );
.br
if ( file.open( IO_WriteOnly ) ) {
.br
@@ -183,36 +183,36 @@ Writing text is just as easy. The following example shows how to write the data
.br
.fi
.PP
-The QFileInfo class holds detailed information about a file, such as access permissions, file dates and file types.
+The TQFileInfo class holds detailed information about a file, such as access permissions, file dates and file types.
.PP
-The QDir class manages directories and lists of file names.
+The TQDir class manages directories and lists of file names.
.PP
Qt uses Unicode file names. If you want to do your own I/O on Unix systems you may want to use encodeName() (and decodeName()) to convert the file name into the local encoding.
.PP
-See also QDataStream, TQTextStream, and Input/Output and Networking.
+See also TQDataStream, TQTextStream, and Input/Output and Networking.
.SS "Member Type Documentation"
-.SH "QFile::DecoderFn"
-This is used by QFile::setDecodingFunction().
-.SH "QFile::EncoderFn"
-This is used by QFile::setEncodingFunction().
+.SH "TQFile::DecoderFn"
+This is used by TQFile::setDecodingFunction().
+.SH "TQFile::EncoderFn"
+This is used by TQFile::setEncodingFunction().
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QFile::QFile ()"
-Constructs a QFile with no name.
-.SH "QFile::QFile ( const TQString & name )"
-Constructs a QFile with a file name \fIname\fR.
+.SH "TQFile::TQFile ()"
+Constructs a TQFile with no name.
+.SH "TQFile::TQFile ( const TQString & name )"
+Constructs a TQFile with a file name \fIname\fR.
.PP
See also setName().
-.SH "QFile::~QFile ()"
-Destroys a QFile. Calls close().
-.SH "bool QFile::atEnd () const\fC [virtual]\fR"
-Returns TRUE if the end of file has been reached; otherwise returns FALSE. If QFile has not been open()'d, then the behavior is undefined.
+.SH "TQFile::~TQFile ()"
+Destroys a TQFile. Calls close().
+.SH "bool TQFile::atEnd () const\fC [virtual]\fR"
+Returns TRUE if the end of file has been reached; otherwise returns FALSE. If TQFile has not been open()'d, then the behavior is undefined.
.PP
See also size().
.PP
Example: distributor/distributor.ui.h.
.PP
Reimplemented from TQIODevice.
-.SH "void QFile::close ()\fC [virtual]\fR"
+.SH "void TQFile::close ()\fC [virtual]\fR"
Closes an open file.
.PP
The file is not closed if it was opened with an existing file handle. If the existing file handle is a \fCFILE*\fR, the file is flushed. If the existing file handle is an \fCint\fR file descriptor, nothing is done to the file.
@@ -222,17 +222,17 @@ Some "write-behind" filesystems may report an unspecified error on closing the f
See also open() and flush().
.PP
Examples:
-.)l chart/chartform_files.cpp, distributor/distributor.ui.h, helpviewer/helpwindow.cpp, mdi/application.cpp, qdir/qdir.cpp, qwerty/qwerty.cpp, and xml/outliner/outlinetree.cpp.
+.)l chart/chartform_files.cpp, distributor/distributor.ui.h, helpviewer/helpwindow.cpp, mdi/application.cpp, tqdir/tqdir.cpp, qwerty/qwerty.cpp, and xml/outliner/outlinetree.cpp.
.PP
Reimplemented from TQIODevice.
-.SH "TQString QFile::decodeName ( const TQCString & localFileName )\fC [static]\fR"
-This does the reverse of QFile::encodeName() using \fIlocalFileName\fR.
+.SH "TQString TQFile::decodeName ( const TQCString & localFileName )\fC [static]\fR"
+This does the reverse of TQFile::encodeName() using \fIlocalFileName\fR.
.PP
See also setDecodingFunction().
.PP
Example: distributor/distributor.ui.h.
-.SH "TQCString QFile::encodeName ( const TQString & fileName )\fC [static]\fR"
-When you use QFile, QFileInfo, and QDir to access the file system with Qt, you can use Unicode file names. On Unix, these file names are converted to an 8-bit encoding. If you want to do your own file I/O on Unix, you should convert the file name using this function. On Windows NT/2000, Unicode file names are supported directly in the file system and this function should be avoided. On Windows 95, non-Latin1 locales are not supported.
+.SH "TQCString TQFile::encodeName ( const TQString & fileName )\fC [static]\fR"
+When you use TQFile, TQFileInfo, and TQDir to access the file system with Qt, you can use Unicode file names. On Unix, these file names are converted to an 8-bit encoding. If you want to do your own file I/O on Unix, you should convert the file name using this function. On Windows NT/2000, Unicode file names are supported directly in the file system and this function should be avoided. On Windows 95, non-Latin1 locales are not supported.
.PP
By default, this function converts \fIfileName\fR to the local 8-bit encoding determined by the user's locale. This is sufficient for file names that the user chooses. File names hard-coded into the application should only use 7-bit ASCII filename characters.
.PP
@@ -241,14 +241,14 @@ The conversion scheme can be changed using setEncodingFunction(). This might be
See also decodeName().
.PP
Example: distributor/distributor.ui.h.
-.SH "TQString QFile::errorString () const"
+.SH "TQString TQFile::errorString () const"
Returns a human-readable description of the reason of an error that occurred on the device. The error described by the string corresponds to changes of TQIODevice::status(). If the status is reset, the error string is also reset.
.PP
-The returned strings are not translated with the TQObject::tr() or QApplication::translate() functions. They are marked as translatable strings in the "QFile" context. Before you show the string to the user you should translate it first, for example:
+The returned strings are not translated with the TQObject::tr() or QApplication::translate() functions. They are marked as translatable strings in the "TQFile" context. Before you show the string to the user you should translate it first, for example:
.PP
.nf
.br
- QFile f( "address.dat" );
+ TQFile f( "address.dat" );
.br
if ( !f.open( IO_ReadOnly ) {
.br
@@ -258,7 +258,7 @@ The returned strings are not translated with the TQObject::tr() or QApplication:
.br
tr("Open failed"),
.br
- tr("Could not open file for reading: %1").arg( tqApp->translate("QFile",f.errorString()) )
+ tr("Could not open file for reading: %1").arg( tqApp->translate("TQFile",f.errorString()) )
.br
);
.br
@@ -269,24 +269,24 @@ The returned strings are not translated with the TQObject::tr() or QApplication:
.fi
.PP
See also TQIODevice::status(), TQIODevice::resetStatus(), and setErrorString().
-.SH "bool QFile::exists ( const TQString & fileName )\fC [static]\fR"
+.SH "bool TQFile::exists ( const TQString & fileName )\fC [static]\fR"
Returns TRUE if the file given by \fIfileName\fR exists; otherwise returns FALSE.
.PP
Examples:
.)l chart/chartform.cpp, dirview/dirview.cpp, and helpviewer/helpwindow.cpp.
-.SH "bool QFile::exists () const"
+.SH "bool TQFile::exists () const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns TRUE if this file exists; otherwise returns FALSE.
.PP
See also name().
-.SH "void QFile::flush ()\fC [virtual]\fR"
+.SH "void TQFile::flush ()\fC [virtual]\fR"
Flushes the file buffer to the disk.
.PP
close() also flushes the file buffer.
.PP
Reimplemented from TQIODevice.
-.SH "int QFile::getch ()\fC [virtual]\fR"
+.SH "int TQFile::getch ()\fC [virtual]\fR"
Reads a single byte/character from the file.
.PP
Returns the byte/character read, or -1 if the end of the file has been reached.
@@ -294,19 +294,19 @@ Returns the byte/character read, or -1 if the end of the file has been reached.
See also putch() and ungetch().
.PP
Reimplemented from TQIODevice.
-.SH "int QFile::handle () const"
+.SH "int TQFile::handle () const"
Returns the file handle of the file.
.PP
-This is a small positive integer, suitable for use with C library functions such as fdopen() and fcntl(). On systems that use file descriptors for sockets (ie. Unix systems, but not Windows) the handle can be used with QSocketNotifier as well.
+This is a small positive integer, suitable for use with C library functions such as fdopen() and fcntl(). On systems that use file descriptors for sockets (ie. Unix systems, but not Windows) the handle can be used with TQSocketNotifier as well.
.PP
If the file is not open or there is an error, handle() returns -1.
.PP
-See also QSocketNotifier.
-.SH "TQString QFile::name () const"
+See also TQSocketNotifier.
+.SH "TQString TQFile::name () const"
Returns the name set by setName().
.PP
-See also setName() and QFileInfo::fileName().
-.SH "bool QFile::open ( int m )\fC [virtual]\fR"
+See also setName() and TQFileInfo::fileName().
+.SH "bool TQFile::open ( int m )\fC [virtual]\fR"
Opens the file specified by the file name currently set, using the mode \fIm\fR. Returns TRUE if successful, otherwise FALSE.
.PP
@@ -330,17 +330,17 @@ Example:
.PP
.nf
.br
- QFile f1( "/tmp/data.bin" );
+ TQFile f1( "/tmp/data.bin" );
.br
f1.open( IO_Raw | IO_ReadWrite );
.br
.br
- QFile f2( "readme.txt" );
+ TQFile f2( "readme.txt" );
.br
f2.open( IO_ReadOnly | IO_Translate );
.br
.br
- QFile f3( "audit.log" );
+ TQFile f3( "audit.log" );
.br
f3.open( IO_WriteOnly | IO_Append );
.br
@@ -349,10 +349,10 @@ Example:
See also name(), close(), isOpen(), and flush().
.PP
Examples:
-.)l application/application.cpp, chart/chartform_files.cpp, distributor/distributor.ui.h, helpviewer/helpwindow.cpp, qdir/qdir.cpp, qwerty/qwerty.cpp, and xml/outliner/outlinetree.cpp.
+.)l application/application.cpp, chart/chartform_files.cpp, distributor/distributor.ui.h, helpviewer/helpwindow.cpp, tqdir/tqdir.cpp, qwerty/qwerty.cpp, and xml/outliner/outlinetree.cpp.
.PP
Reimplemented from TQIODevice.
-.SH "bool QFile::open ( int m, FILE * f )"
+.SH "bool TQFile::open ( int m, FILE * f )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Opens a file in the mode \fIm\fR using an existing file handle \fIf\fR. Returns TRUE if successful, otherwise FALSE.
@@ -368,7 +368,7 @@ Example:
.br
{
.br
- QFile f;
+ TQFile f;
.br
f.open( IO_WriteOnly, stderr );
.br
@@ -380,24 +380,24 @@ Example:
.br
.fi
.PP
-When a QFile is opened using this function, close() does not actually close the file, only flushes it.
+When a TQFile is opened using this function, close() does not actually close the file, only flushes it.
.PP
\fBWarning:\fR If \fIf\fR is \fCstdin\fR, \fCstdout\fR, \fCstderr\fR, you may not be able to seek. See TQIODevice::isSequentialAccess() for more information.
.PP
See also close().
-.SH "bool QFile::open ( int m, int f )"
+.SH "bool TQFile::open ( int m, int f )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Opens a file in the mode \fIm\fR using an existing file descriptor \fIf\fR. Returns TRUE if successful, otherwise FALSE.
.PP
-When a QFile is opened using this function, close() does not actually close the file.
+When a TQFile is opened using this function, close() does not actually close the file.
.PP
-The QFile that is opened using this function, is automatically set to be in raw mode; this means that the file input/output functions are slow. If you run into performance issues, you should try to use one of the other open functions.
+The TQFile that is opened using this function, is automatically set to be in raw mode; this means that the file input/output functions are slow. If you run into performance issues, you should try to use one of the other open functions.
.PP
\fBWarning:\fR If \fIf\fR is one of 0 (stdin), 1 (stdout) or 2 (stderr), you may not be able to seek. size() is set to \fCINT_MAX\fR (in limits.h).
.PP
See also close().
-.SH "int QFile::putch ( int ch )\fC [virtual]\fR"
+.SH "int TQFile::putch ( int ch )\fC [virtual]\fR"
Writes the character \fIch\fR to the file.
.PP
Returns \fIch\fR, or -1 if some error occurred.
@@ -407,7 +407,7 @@ See also getch() and ungetch().
Reimplemented from TQIODevice.
.SH "TQByteArray TQIODevice::readAll ()\fC [virtual]\fR"
This convenience function returns all of the remaining data in the device.
-.SH "TQ_LONG QFile::readLine ( char * p, TQ_ULONG maxlen )\fC [virtual]\fR"
+.SH "TQ_LONG TQFile::readLine ( char * p, TQ_ULONG maxlen )\fC [virtual]\fR"
Reads a line of text.
.PP
Reads bytes from the file into the char* \fIp\fR, until end-of-line or \fImaxlen\fR bytes have been read, whichever occurs first. Returns the number of bytes read, or -1 if there was an error. Any terminating newline is not stripped.
@@ -417,7 +417,7 @@ This function is only efficient for buffered files. Avoid readLine() for files t
See also readBlock() and TQTextStream::readLine().
.PP
Reimplemented from TQIODevice.
-.SH "TQ_LONG QFile::readLine ( TQString & s, TQ_ULONG maxlen )"
+.SH "TQ_LONG TQFile::readLine ( TQString & s, TQ_ULONG maxlen )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Reads a line of text.
@@ -429,33 +429,33 @@ This function is only efficient for buffered files. Avoid using readLine() for f
Note that the string is read as plain Latin1 bytes, not Unicode.
.PP
See also readBlock() and TQTextStream::readLine().
-.SH "bool QFile::remove ()"
+.SH "bool TQFile::remove ()"
Removes the file specified by the file name currently set. Returns TRUE if successful; otherwise returns FALSE.
.PP
The file is closed before it is removed.
-.SH "bool QFile::remove ( const TQString & fileName )\fC [static]\fR"
+.SH "bool TQFile::remove ( const TQString & fileName )\fC [static]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Removes the file \fIfileName\fR. Returns TRUE if successful, otherwise FALSE.
-.SH "void QFile::setDecodingFunction ( DecoderFn f )\fC [static]\fR"
+.SH "void TQFile::setDecodingFunction ( DecoderFn f )\fC [static]\fR"
\fBWarning:\fR This function is \fInot\fR reentrant.
.PP
Sets the function for decoding 8-bit file names to \fIf\fR. The default uses the locale-specific 8-bit encoding.
.PP
See also encodeName() and decodeName().
-.SH "void QFile::setEncodingFunction ( EncoderFn f )\fC [static]\fR"
+.SH "void TQFile::setEncodingFunction ( EncoderFn f )\fC [static]\fR"
\fBWarning:\fR This function is \fInot\fR reentrant.
.PP
Sets the function for encoding Unicode file names to \fIf\fR. The default encodes in the locale-specific 8-bit encoding.
.PP
See also encodeName().
-.SH "void QFile::setErrorString ( const TQString & str )\fC [protected]\fR"
+.SH "void TQFile::setErrorString ( const TQString & str )\fC [protected]\fR"
\fBWarning:\fR This function is \fInot\fR reentrant.
.PP
Sets the error string returned by the errorString() function to \fIstr\fR.
.PP
See also errorString() and TQIODevice::status().
-.SH "void QFile::setName ( const TQString & name )"
+.SH "void TQFile::setName ( const TQString & name )"
Sets the name of the file to \fIname\fR. The name can have no path, a relative path or an absolute absolute path.
.PP
Do not call this function if the file has already been opened.
@@ -466,13 +466,13 @@ Example:
.PP
.nf
.br
- QFile file;
+ TQFile file;
.br
- QDir::setCurrent( "/tmp" );
+ TQDir::setCurrent( "/tmp" );
.br
file.setName( "readme.txt" );
.br
- QDir::setCurrent( "/home" );
+ TQDir::setCurrent( "/home" );
.br
file.open( IO_ReadOnly ); // opens "/home/readme.txt" under Unix
.br
@@ -480,8 +480,8 @@ Example:
.PP
Note that the directory separator "/" works for all operating systems supported by Qt.
.PP
-See also name(), QFileInfo, and QDir.
-.SH "Offset QFile::size () const\fC [virtual]\fR"
+See also name(), TQFileInfo, and TQDir.
+.SH "Offset TQFile::size () const\fC [virtual]\fR"
Returns the file size.
.PP
See also at().
@@ -489,7 +489,7 @@ See also at().
Example: table/statistics/statistics.cpp.
.PP
Reimplemented from TQIODevice.
-.SH "int QFile::ungetch ( int ch )\fC [virtual]\fR"
+.SH "int TQFile::ungetch ( int ch )\fC [virtual]\fR"
Puts the character \fIch\fR back into the file and decrements the index if it is not zero.
.PP
This function is normally called to "undo" a getch() operation.
@@ -501,7 +501,7 @@ See also getch() and putch().
Reimplemented from TQIODevice.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqfile.html
+.BR http://doc.trolltech.com/tqfile.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqfiledialog.3qt b/doc/man/man3/tqfiledialog.3qt
index f8cbdf2e9..3c8798f27 100644
--- a/doc/man/man3/tqfiledialog.3qt
+++ b/doc/man/man3/tqfiledialog.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QFileDialog 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQFileDialog 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,22 +7,22 @@
.ad l
.nh
.SH NAME
-QFileDialog \- Dialogs that allow users to select files or directories
+TQFileDialog \- Dialogs that allow users to select files or directories
.SH SYNOPSIS
-\fC#include \fR
+\fC#include \fR
.PP
Inherits QDialog.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQFileDialog\fR ( const TQString & dirName, const TQString & filter = TQString::null, TQWidget * parent = 0, const char * name = 0, bool modal = FALSE )"
+.BI "\fBTQFileDialog\fR ( const TQString & dirName, const TQString & filter = TQString::null, TQWidget * parent = 0, const char * name = 0, bool modal = FALSE )"
.br
.ti -1c
-.BI "\fBQFileDialog\fR ( TQWidget * parent = 0, const char * name = 0, bool modal = FALSE )"
+.BI "\fBTQFileDialog\fR ( TQWidget * parent = 0, const char * name = 0, bool modal = FALSE )"
.br
.ti -1c
-.BI "\fB~QFileDialog\fR ()"
+.BI "\fB~TQFileDialog\fR ()"
.br
.ti -1c
.BI "TQString \fBselectedFile\fR () const"
@@ -49,10 +49,10 @@ Inherits QDialog.
.BI "TQString \fBdirPath\fR () const"
.br
.ti -1c
-.BI "void \fBsetDir\fR ( const QDir & dir )"
+.BI "void \fBsetDir\fR ( const TQDir & dir )"
.br
.ti -1c
-.BI "const QDir * \fBdir\fR () const"
+.BI "const TQDir * \fBdir\fR () const"
.br
.ti -1c
.BI "void \fBsetShowHiddenFiles\fR ( bool s )"
@@ -106,13 +106,13 @@ Inherits QDialog.
.BI "void \fBsetContentsPreviewEnabled\fR ( bool )"
.br
.ti -1c
-.BI "void \fBsetInfoPreview\fR ( TQWidget * w, QFilePreview * preview )"
+.BI "void \fBsetInfoPreview\fR ( TQWidget * w, TQFilePreview * preview )"
.br
.ti -1c
-.BI "void \fBsetContentsPreview\fR ( TQWidget * w, QFilePreview * preview )"
+.BI "void \fBsetContentsPreview\fR ( TQWidget * w, TQFilePreview * preview )"
.br
.ti -1c
-.BI "QUrl \fBurl\fR () const"
+.BI "TQUrl \fBurl\fR () const"
.br
.ti -1c
.BI "void \fBaddFilter\fR ( const TQString & filter )"
@@ -124,7 +124,7 @@ Inherits QDialog.
.BI "void \fBsetDir\fR ( const TQString & pathstr )"
.br
.ti -1c
-.BI "void \fBsetUrl\fR ( const QUrlOperator & url )"
+.BI "void \fBsetUrl\fR ( const TQUrlOperator & url )"
.br
.ti -1c
.BI "void \fBsetFilter\fR ( const TQString & newFilter )"
@@ -172,10 +172,10 @@ Inherits QDialog.
.BI "TQStringList \fBgetOpenFileNames\fR ( const TQString & filter = TQString::null, const TQString & dir = TQString::null, TQWidget * parent = 0, const char * name = 0, const TQString & caption = TQString::null, TQString * selectedFilter = 0, bool resolveSymlinks = TRUE )"
.br
.ti -1c
-.BI "void \fBsetIconProvider\fR ( QFileIconProvider * provider )"
+.BI "void \fBsetIconProvider\fR ( TQFileIconProvider * provider )"
.br
.ti -1c
-.BI "QFileIconProvider * \fBiconProvider\fR ()"
+.BI "TQFileIconProvider * \fBiconProvider\fR ()"
.br
.in -1c
.SS "Properties"
@@ -227,15 +227,15 @@ Inherits QDialog.
.br
.in -1c
.SH DESCRIPTION
-The QFileDialog class provides dialogs that allow users to select files or directories.
+The TQFileDialog class provides dialogs that allow users to select files or directories.
.PP
-The QFileDialog class enables a user to traverse their file system in order to select one or many files or a directory.
+The TQFileDialog class enables a user to traverse their file system in order to select one or many files or a directory.
.PP
-The easiest way to create a QFileDialog is to use the static functions. On Windows, these static functions will call the native Windows file dialog and on Mac OS X, these static function will call the native Mac OS X file dialog.
+The easiest way to create a TQFileDialog is to use the static functions. On Windows, these static functions will call the native Windows file dialog and on Mac OS X, these static function will call the native Mac OS X file dialog.
.PP
.nf
.br
- TQString s = QFileDialog::getOpenFileName(
+ TQString s = TQFileDialog::getOpenFileName(
.br
"/home",
.br
@@ -249,7 +249,7 @@ The easiest way to create a QFileDialog is to use the static functions. On Windo
.br
.fi
.PP
-In the above example, a modal QFileDialog is created using a static function. The startup directory is set to "/home". The file filter is set to "Images (*.png *.xpm *.jpg)". The parent of the file dialog is set to \fIthis\fR and it is given the identification name - "open file dialog". The caption at the top of file dialog is set to "Choose a file". If you want to use multiple filters, separate each one with \fItwo\fR semi-colons, e.g.
+In the above example, a modal TQFileDialog is created using a static function. The startup directory is set to "/home". The file filter is set to "Images (*.png *.xpm *.jpg)". The parent of the file dialog is set to \fIthis\fR and it is given the identification name - "open file dialog". The caption at the top of file dialog is set to "Choose a file". If you want to use multiple filters, separate each one with \fItwo\fR semi-colons, e.g.
.PP
.nf
.br
@@ -257,17 +257,17 @@ In the above example, a modal QFileDialog is created using a static function. Th
.br
.fi
.PP
-You can create your own QFileDialog without using the static functions. By calling setMode(), you can set what can be returned by the QFileDialog.
+You can create your own TQFileDialog without using the static functions. By calling setMode(), you can set what can be returned by the TQFileDialog.
.PP
.nf
.br
- QFileDialog* fd = new QFileDialog( this, "file dialog", TRUE );
+ TQFileDialog* fd = new TQFileDialog( this, "file dialog", TRUE );
.br
- fd->setMode( QFileDialog::AnyFile );
+ fd->setMode( TQFileDialog::AnyFile );
.br
.fi
.PP
-In the above example, the mode of the file dialog is set to AnyFile, meaning that the user can select any file, or even specify a file that doesn't exist. This mode is useful for creating a "File Save As" file dialog. Use ExistingFile if the user must select an existing file or Directory if only a directory may be selected. (See the QFileDialog::Mode enum for the complete list of modes.)
+In the above example, the mode of the file dialog is set to AnyFile, meaning that the user can select any file, or even specify a file that doesn't exist. This mode is useful for creating a "File Save As" file dialog. Use ExistingFile if the user must select an existing file or Directory if only a directory may be selected. (See the TQFileDialog::Mode enum for the complete list of modes.)
.PP
You can retrieve the dialog's mode with mode(). Use setFilter() to set the dialog's file filter, e.g.
.PP
@@ -277,13 +277,13 @@ You can retrieve the dialog's mode with mode(). Use setFilter() to set the dialo
.br
.fi
.PP
-In the above example, the filter is set to "Images (*.png *.xpm *.jpg)", this means that only files with the extension \fCpng\fR, \fCxpm\fR or \fCjpg\fR will be shown in the QFileDialog. You can apply several filters by using setFilters() and add additional filters with addFilter(). Use setSelectedFilter() to select one of the filters you've given as the file dialog's default filter. Whenever the user changes the filter the filterSelected() signal is emitted.
+In the above example, the filter is set to "Images (*.png *.xpm *.jpg)", this means that only files with the extension \fCpng\fR, \fCxpm\fR or \fCjpg\fR will be shown in the TQFileDialog. You can apply several filters by using setFilters() and add additional filters with addFilter(). Use setSelectedFilter() to select one of the filters you've given as the file dialog's default filter. Whenever the user changes the filter the filterSelected() signal is emitted.
.PP
-The file dialog has two view modes, QFileDialog::List which simply lists file and directory names and QFileDialog::Detail which displays additional information alongside each name, e.g. file size, modification date, etc. Set the mode with setViewMode().
+The file dialog has two view modes, TQFileDialog::List which simply lists file and directory names and TQFileDialog::Detail which displays additional information alongside each name, e.g. file size, modification date, etc. Set the mode with setViewMode().
.PP
.nf
.br
- fd->setViewMode( QFileDialog::Detail );
+ fd->setViewMode( TQFileDialog::Detail );
.br
.fi
.PP
@@ -305,13 +305,13 @@ If you are using the ExistingFiles mode then you will need to use selectedFiles(
.PP
The dialog's working directory can be set with setDir(). The display of hidden files is controlled with setShowHiddenFiles(). The dialog can be forced to re-read the directory with rereadDir() and re-sort the directory with resortDir(). All the files in the current directory can be selected with selectAll().
.SH "Creating and using preview widgets"
-There are two kinds of preview widgets that can be used with QFileDialogs: \fIcontent\fR preview widgets and \fIinformation\fR preview widgets. They are created and used in the same way except that the function names differ, e.g. setContentsPreview() and setInfoPreview().
+There are two kinds of preview widgets that can be used with TQFileDialogs: \fIcontent\fR preview widgets and \fIinformation\fR preview widgets. They are created and used in the same way except that the function names differ, e.g. setContentsPreview() and setInfoPreview().
.PP
-A preview widget is a widget that is placed inside a QFileDialog so that the user can see either the contents of the file, or information about the file.
+A preview widget is a widget that is placed inside a TQFileDialog so that the user can see either the contents of the file, or information about the file.
.PP
.nf
.br
- class Preview : public QLabel, public QFilePreview
+ class Preview : public QLabel, public TQFilePreview
.br
{
.br
@@ -320,7 +320,7 @@ A preview widget is a widget that is placed inside a QFileDialog so that the use
Preview( TQWidget *parent=0 ) : QLabel( parent ) {}
.br
.br
- void previewUrl( const QUrl &u )
+ void previewUrl( const TQUrl &u )
.br
{
.br
@@ -342,22 +342,22 @@ A preview widget is a widget that is placed inside a QFileDialog so that the use
.br
.fi
.PP
-In the above snippet, we create a preview widget which inherits from QLabel and QFilePreview. File preview widgets \fImust\fR inherit from QFilePreview.
+In the above snippet, we create a preview widget which inherits from QLabel and TQFilePreview. File preview widgets \fImust\fR inherit from TQFilePreview.
.PP
-Inside the class we reimplement QFilePreview::previewUrl(), this is where we determine what happens when a file is selected. In the above example we only show a preview of the file if it is a valid pixmap. Here's how to make a file dialog use a preview widget:
+Inside the class we reimplement TQFilePreview::previewUrl(), this is where we determine what happens when a file is selected. In the above example we only show a preview of the file if it is a valid pixmap. Here's how to make a file dialog use a preview widget:
.PP
.nf
.br
Preview* p = new Preview;
.br
.br
- QFileDialog* fd = new QFileDialog( this );
+ TQFileDialog* fd = new TQFileDialog( this );
.br
fd->setContentsPreviewEnabled( TRUE );
.br
fd->setContentsPreview( p, p );
.br
- fd->setPreviewMode( QFileDialog::Contents );
+ fd->setPreviewMode( TQFileDialog::Contents );
.br
fd->show();
.br
@@ -367,7 +367,7 @@ The first line creates an instance of our preview widget. We then create our fil
.PP
If you create another preview widget that is used for displaying information about a file, create it in the same way as the contents preview widget and call setInfoPreviewEnabled(), and setInfoPreview(). Then the user will be able to switch between the two preview modes.
.PP
-For more information about creating a QFilePreview widget see QFilePreview.
+For more information about creating a TQFilePreview widget see TQFilePreview.
.PP
.ce 1
.B "[Image Omitted]"
@@ -378,53 +378,53 @@ For more information about creating a QFilePreview widget see QFilePreview.
.PP
See also Dialog Classes.
.SS "Member Type Documentation"
-.SH "QFileDialog::Mode"
+.SH "TQFileDialog::Mode"
This enum is used to indicate what the user may select in the file dialog, i.e. what the dialog will return if the user clicks OK.
.TP
-\fCQFileDialog::AnyFile\fR - The name of a file, whether it exists or not.
+\fCTQFileDialog::AnyFile\fR - The name of a file, whether it exists or not.
.TP
-\fCQFileDialog::ExistingFile\fR - The name of a single existing file.
+\fCTQFileDialog::ExistingFile\fR - The name of a single existing file.
.TP
-\fCQFileDialog::Directory\fR - The name of a directory. Both files and directories are displayed.
+\fCTQFileDialog::Directory\fR - The name of a directory. Both files and directories are displayed.
.TP
-\fCQFileDialog::DirectoryOnly\fR - The name of a directory. The file dialog will only display directories.
+\fCTQFileDialog::DirectoryOnly\fR - The name of a directory. The file dialog will only display directories.
.TP
-\fCQFileDialog::ExistingFiles\fR - The names of zero or more existing files.
+\fCTQFileDialog::ExistingFiles\fR - The names of zero or more existing files.
.PP
See setMode().
-.SH "QFileDialog::PreviewMode"
+.SH "TQFileDialog::PreviewMode"
This enum describes the preview mode of the file dialog.
.TP
-\fCQFileDialog::NoPreview\fR - No preview is shown at all.
+\fCTQFileDialog::NoPreview\fR - No preview is shown at all.
.TP
-\fCQFileDialog::Contents\fR - Show a preview of the contents of the current file using the contents preview widget.
+\fCTQFileDialog::Contents\fR - Show a preview of the contents of the current file using the contents preview widget.
.TP
-\fCQFileDialog::Info\fR - Show information about the current file using the info preview widget.
+\fCTQFileDialog::Info\fR - Show information about the current file using the info preview widget.
.PP
See setPreviewMode(), setContentsPreview() and setInfoPreview().
-.SH "QFileDialog::ViewMode"
+.SH "TQFileDialog::ViewMode"
This enum describes the view mode of the file dialog, i.e. what information about each file will be displayed.
.TP
-\fCQFileDialog::List\fR - Display file and directory names with icons.
+\fCTQFileDialog::List\fR - Display file and directory names with icons.
.TP
-\fCQFileDialog::Detail\fR - Display file and directory names with icons plus additional information, such as file size and modification date.
+\fCTQFileDialog::Detail\fR - Display file and directory names with icons plus additional information, such as file size and modification date.
.PP
See setViewMode().
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QFileDialog::QFileDialog ( const TQString & dirName, const TQString & filter = TQString::null, TQWidget * parent = 0, const char * name = 0, bool modal = FALSE )"
+.SH "TQFileDialog::TQFileDialog ( const TQString & dirName, const TQString & filter = TQString::null, TQWidget * parent = 0, const char * name = 0, bool modal = FALSE )"
Constructs a file dialog called \fIname\fR with the parent, \fIparent\fR. If \fImodal\fR is TRUE then the file dialog is modal; otherwise it is modeless.
.PP
If \fIdirName\fR is specified then it will be used as the dialog's working directory, i.e. it will be the directory that is shown when the dialog appears. If \fIfilter\fR is specified it will be used as the dialog's file filter.
-.SH "QFileDialog::QFileDialog ( TQWidget * parent = 0, const char * name = 0, bool modal = FALSE )"
+.SH "TQFileDialog::TQFileDialog ( TQWidget * parent = 0, const char * name = 0, bool modal = FALSE )"
Constructs a file dialog called \fIname\fR, with the parent, \fIparent\fR. If \fImodal\fR is TRUE then the file dialog is modal; otherwise it is modeless.
-.SH "QFileDialog::~QFileDialog ()"
+.SH "TQFileDialog::~TQFileDialog ()"
Destroys the file dialog.
-.SH "void QFileDialog::addFilter ( const TQString & filter )"
+.SH "void TQFileDialog::addFilter ( const TQString & filter )"
Adds the filter \fIfilter\fR to the list of filters and makes it the current filter.
.PP
.nf
.br
- QFileDialog* fd = new QFileDialog( this );
+ TQFileDialog* fd = new TQFileDialog( this );
.br
fd->addFilter( "Images (*.png *.jpg *.xpm)" );
.br
@@ -435,26 +435,26 @@ Adds the filter \fIfilter\fR to the list of filters and makes it the current fil
In the above example, a file dialog is created, and the file filter "Images (*.png *.jpg *.xpm)" is added and is set as the current filter. The original filter, "All Files (*)", is still available.
.PP
See also setFilter() and setFilters().
-.SH "void QFileDialog::addLeftWidget ( TQWidget * w )\fC [protected]\fR"
+.SH "void TQFileDialog::addLeftWidget ( TQWidget * w )\fC [protected]\fR"
Adds the widget \fIw\fR to the left-hand side of the file dialog.
.PP
See also addRightWidget(), addWidgets(), and addToolButton().
-.SH "void QFileDialog::addRightWidget ( TQWidget * w )\fC [protected]\fR"
+.SH "void TQFileDialog::addRightWidget ( TQWidget * w )\fC [protected]\fR"
Adds the widget \fIw\fR to the right-hand side of the file dialog.
.PP
See also addLeftWidget(), addWidgets(), and addToolButton().
-.SH "void QFileDialog::addToolButton ( QButton * b, bool separator = FALSE )\fC [protected]\fR"
+.SH "void TQFileDialog::addToolButton ( QButton * b, bool separator = FALSE )\fC [protected]\fR"
Adds the tool button \fIb\fR to the row of tool buttons at the top of the file dialog. The button is appended to the right of this row. If \fIseparator\fR is TRUE, a small space is inserted between the last button of the row and the new button \fIb\fR.
.PP
See also addWidgets(), addLeftWidget(), and addRightWidget().
-.SH "void QFileDialog::addWidgets ( QLabel * l, TQWidget * w, QPushButton * b )\fC [protected]\fR"
+.SH "void TQFileDialog::addWidgets ( QLabel * l, TQWidget * w, QPushButton * b )\fC [protected]\fR"
Adds the specified widgets to the bottom of the file dialog. The label \fIl\fR is placed underneath the "file name" and the "file types" labels. The widget \fIw\fR is placed underneath the file types combobox. The button \fIb\fR is placed underneath the Cancel pushbutton.
.PP
.nf
.br
MyFileDialog::MyFileDialog( TQWidget* parent, const char* name ) :
.br
- QFileDialog( parent, name )
+ TQFileDialog( parent, name )
.br
{
.br
@@ -476,40 +476,40 @@ If you don't want to have one of the widgets added, pass 0 in that widget's posi
Every time you call this function, a new row of widgets will be added to the bottom of the file dialog.
.PP
See also addToolButton(), addLeftWidget(), and addRightWidget().
-.SH "const QDir * QFileDialog::dir () const"
+.SH "const TQDir * TQFileDialog::dir () const"
Returns the current directory shown in the file dialog.
.PP
-The ownership of the QDir pointer is transferred to the caller, so it must be deleted by the caller when no longer required.
+The ownership of the TQDir pointer is transferred to the caller, so it must be deleted by the caller when no longer required.
.PP
See also setDir().
-.SH "void QFileDialog::dirEntered ( const TQString & )\fC [signal]\fR"
+.SH "void TQFileDialog::dirEntered ( const TQString & )\fC [signal]\fR"
This signal is emitted when the user enters a directory.
.PP
See also dir().
-.SH "TQString QFileDialog::dirPath () const"
+.SH "TQString TQFileDialog::dirPath () const"
Returns the file dialog's working directory. See the "dirPath" property for details.
-.SH "void QFileDialog::fileHighlighted ( const TQString & )\fC [signal]\fR"
+.SH "void TQFileDialog::fileHighlighted ( const TQString & )\fC [signal]\fR"
This signal is emitted when the user highlights a file, i.e. makes it the current file.
.PP
See also fileSelected() and filesSelected().
-.SH "void QFileDialog::fileSelected ( const TQString & )\fC [signal]\fR"
+.SH "void TQFileDialog::fileSelected ( const TQString & )\fC [signal]\fR"
This signal is emitted when the user selects a file.
.PP
See also filesSelected(), fileHighlighted(), and selectedFile.
-.SH "void QFileDialog::filesSelected ( const TQStringList & )\fC [signal]\fR"
+.SH "void TQFileDialog::filesSelected ( const TQStringList & )\fC [signal]\fR"
This signal is emitted when the user selects one or more files in \fIExistingFiles\fR mode.
.PP
See also fileSelected(), fileHighlighted(), and selectedFiles.
-.SH "void QFileDialog::filterSelected ( const TQString & )\fC [signal]\fR"
+.SH "void TQFileDialog::filterSelected ( const TQString & )\fC [signal]\fR"
This signal is emitted when the user selects a filter.
.PP
See also selectedFilter.
-.SH "TQString QFileDialog::getExistingDirectory ( const TQString & dir = TQString::null, TQWidget * parent = 0, const char * name = 0, const TQString & caption = TQString::null, bool dirOnly = TRUE, bool resolveSymlinks = TRUE )\fC [static]\fR"
+.SH "TQString TQFileDialog::getExistingDirectory ( const TQString & dir = TQString::null, TQWidget * parent = 0, const char * name = 0, const TQString & caption = TQString::null, bool dirOnly = TRUE, bool resolveSymlinks = TRUE )\fC [static]\fR"
This is a convenience static function that will return an existing directory selected by the user.
.PP
.nf
.br
- TQString s = QFileDialog::getExistingDirectory(
+ TQString s = TQFileDialog::getExistingDirectory(
.br
"/home",
.br
@@ -533,15 +533,15 @@ If \fIdirOnly\fR is TRUE, then only directories will be shown in the file dialog
.PP
Under Unix/X11, the normal behavior of the file dialog is to resolve and follow symlinks. For example, if /usr/tmp is a symlink to /var/tmp, the file dialog will change to /var/tmp after entering /usr/tmp. If \fIresolveSymlinks\fR is FALSE, the file dialog will treat symlinks as regular directories.
.PP
-Under Windows and Mac OS X, this static function will use the native file dialog and not a QFileDialog, unless the style of the application is set to something other than the native style. (Note that on Windows the dialog will spin a blocking modal event loop that will not dispatch any TQTimers and if parent is not 0 then it will position the dialog just under the parent's titlebar).
+Under Windows and Mac OS X, this static function will use the native file dialog and not a TQFileDialog, unless the style of the application is set to something other than the native style. (Note that on Windows the dialog will spin a blocking modal event loop that will not dispatch any TQTimers and if parent is not 0 then it will position the dialog just under the parent's titlebar).
.PP
See also getOpenFileName(), getOpenFileNames(), and getSaveFileName().
-.SH "TQString QFileDialog::getOpenFileName ( const TQString & startWith = TQString::null, const TQString & filter = TQString::null, TQWidget * parent = 0, const char * name = 0, const TQString & caption = TQString::null, TQString * selectedFilter = 0, bool resolveSymlinks = TRUE )\fC [static]\fR"
+.SH "TQString TQFileDialog::getOpenFileName ( const TQString & startWith = TQString::null, const TQString & filter = TQString::null, TQWidget * parent = 0, const char * name = 0, const TQString & caption = TQString::null, TQString * selectedFilter = 0, bool resolveSymlinks = TRUE )\fC [static]\fR"
This is a convenience static function that returns an existing file selected by the user. If the user pressed Cancel, it returns a null string.
.PP
.nf
.br
- TQString s = QFileDialog::getOpenFileName(
+ TQString s = TQFileDialog::getOpenFileName(
.br
"/home",
.br
@@ -561,7 +561,7 @@ The file dialog's working directory will be set to \fIstartWith\fR. If \fIstartW
.PP
The dialog's caption is set to \fIcaption\fR. If \fIcaption\fR is not specified then a default caption will be used.
.PP
-Under Windows and Mac OS X, this static function will use the native file dialog and not a QFileDialog, unless the style of the application is set to something other than the native style (Note that on Windows the dialog will spin a blocking modal event loop that will not dispatch any TQTimers and if parent is not 0 then it will position the dialog just under the parent's titlebar).
+Under Windows and Mac OS X, this static function will use the native file dialog and not a TQFileDialog, unless the style of the application is set to something other than the native style (Note that on Windows the dialog will spin a blocking modal event loop that will not dispatch any TQTimers and if parent is not 0 then it will position the dialog just under the parent's titlebar).
.PP
Under Unix/X11, the normal behavior of the file dialog is to resolve and follow symlinks. For example, if /usr/tmp is a symlink to /var/tmp, the file dialog will change to /var/tmp after entering /usr/tmp. If \fIresolveSymlinks\fR is FALSE, the file dialog will treat symlinks as regular directories.
.PP
@@ -569,12 +569,12 @@ See also getOpenFileNames(), getSaveFileName(), and getExistingDirectory().
.PP
Examples:
.)l action/application.cpp, addressbook/mainwindow.cpp, application/application.cpp, distributor/distributor.ui.h, network/ftpclient/ftpmainwindow.ui.h, qwerty/qwerty.cpp, and showimg/showimg.cpp.
-.SH "TQStringList QFileDialog::getOpenFileNames ( const TQString & filter = TQString::null, const TQString & dir = TQString::null, TQWidget * parent = 0, const char * name = 0, const TQString & caption = TQString::null, TQString * selectedFilter = 0, bool resolveSymlinks = TRUE )\fC [static]\fR"
+.SH "TQStringList TQFileDialog::getOpenFileNames ( const TQString & filter = TQString::null, const TQString & dir = TQString::null, TQWidget * parent = 0, const char * name = 0, const TQString & caption = TQString::null, TQString * selectedFilter = 0, bool resolveSymlinks = TRUE )\fC [static]\fR"
This is a convenience static function that will return one or more existing files selected by the user.
.PP
.nf
.br
- TQStringList files = QFileDialog::getOpenFileNames(
+ TQStringList files = TQFileDialog::getOpenFileNames(
.br
"Images (*.png *.xpm *.jpg)",
.br
@@ -594,7 +594,7 @@ The file dialog's working directory will be set to \fIdir\fR. If \fIdir\fR inclu
.PP
The dialog's caption is set to \fIcaption\fR. If \fIcaption\fR is not specified then a default caption will be used.
.PP
-Under Windows and Mac OS X, this static function will use the native file dialog and not a QFileDialog, unless the style of the application is set to something other than the native style. (Note that on Windows the dialog will spin a blocking modal event loop that will not dispatch any TQTimers and if parent is not 0 then it will position the dialog just under the parent's titlebar).
+Under Windows and Mac OS X, this static function will use the native file dialog and not a TQFileDialog, unless the style of the application is set to something other than the native style. (Note that on Windows the dialog will spin a blocking modal event loop that will not dispatch any TQTimers and if parent is not 0 then it will position the dialog just under the parent's titlebar).
.PP
Under Unix/X11, the normal behavior of the file dialog is to resolve and follow symlinks. For example, if /usr/tmp is a symlink to /var/tmp, the file dialog will change to /var/tmp after entering /usr/tmp. If \fIresolveSymlinks\fR is FALSE, the file dialog will treat symlinks as regular directories.
.PP
@@ -617,14 +617,14 @@ Note that if you want to iterate over the list of files, you should iterate over
.fi
.PP
See also getOpenFileName(), getSaveFileName(), and getExistingDirectory().
-.SH "TQString QFileDialog::getSaveFileName ( const TQString & startWith = TQString::null, const TQString & filter = TQString::null, TQWidget * parent = 0, const char * name = 0, const TQString & caption = TQString::null, TQString * selectedFilter = 0, bool resolveSymlinks = TRUE )\fC [static]\fR"
+.SH "TQString TQFileDialog::getSaveFileName ( const TQString & startWith = TQString::null, const TQString & filter = TQString::null, TQWidget * parent = 0, const char * name = 0, const TQString & caption = TQString::null, TQString * selectedFilter = 0, bool resolveSymlinks = TRUE )\fC [static]\fR"
This is a convenience static function that will return a file name selected by the user. The file does not have to exist.
.PP
It creates a modal file dialog called \fIname\fR, with parent, \fIparent\fR. If a parent is not 0, the dialog will be shown centered over the parent.
.PP
.nf
.br
- TQString s = QFileDialog::getSaveFileName(
+ TQString s = TQFileDialog::getSaveFileName(
.br
"/home",
.br
@@ -642,7 +642,7 @@ The file dialog's working directory will be set to \fIstartWith\fR. If \fIstartW
.PP
The dialog's caption is set to \fIcaption\fR. If \fIcaption\fR is not specified then a default caption will be used.
.PP
-Under Windows and Mac OS X, this static function will use the native file dialog and not a QFileDialog, unless the style of the application is set to something other than the native style. (Note that on Windows the dialog will spin a blocking modal event loop that will not dispatch any TQTimers and if parent is not 0 then it will position the dialog just under the parent's titlebar.
+Under Windows and Mac OS X, this static function will use the native file dialog and not a TQFileDialog, unless the style of the application is set to something other than the native style. (Note that on Windows the dialog will spin a blocking modal event loop that will not dispatch any TQTimers and if parent is not 0 then it will position the dialog just under the parent's titlebar.
.PP
Under Unix/X11, the normal behavior of the file dialog is to resolve and follow symlinks. For example, if /usr/tmp is a symlink to /var/tmp, the file dialog will change to /var/tmp after entering /usr/tmp. If \fIresolveSymlinks\fR is FALSE, the file dialog will treat symlinks as regular directories.
.PP
@@ -650,44 +650,44 @@ See also getOpenFileName(), getOpenFileNames(), and getExistingDirectory().
.PP
Examples:
.)l action/application.cpp, addressbook/mainwindow.cpp, application/application.cpp, network/ftpclient/ftpmainwindow.ui.h, qmag/qmag.cpp, qwerty/qwerty.cpp, and showimg/showimg.cpp.
-.SH "QFileIconProvider * QFileDialog::iconProvider ()\fC [static]\fR"
+.SH "TQFileIconProvider * TQFileDialog::iconProvider ()\fC [static]\fR"
Returns a pointer to the icon provider currently set on the file dialog. By default there is no icon provider, and this function returns 0.
.PP
-See also setIconProvider() and QFileIconProvider.
-.SH "bool QFileDialog::isContentsPreviewEnabled () const"
+See also setIconProvider() and TQFileIconProvider.
+.SH "bool TQFileDialog::isContentsPreviewEnabled () const"
Returns TRUE if the file dialog can provide a contents preview of the currently selected file; otherwise returns FALSE. See the "contentsPreview" property for details.
-.SH "bool QFileDialog::isInfoPreviewEnabled () const"
+.SH "bool TQFileDialog::isInfoPreviewEnabled () const"
Returns TRUE if the file dialog can provide preview information about the currently selected file; otherwise returns FALSE. See the "infoPreview" property for details.
-.SH "Mode QFileDialog::mode () const"
+.SH "Mode TQFileDialog::mode () const"
Returns the file dialog's mode. See the "mode" property for details.
-.SH "PreviewMode QFileDialog::previewMode () const"
+.SH "PreviewMode TQFileDialog::previewMode () const"
Returns the preview mode for the file dialog. See the "previewMode" property for details.
-.SH "void QFileDialog::rereadDir ()"
+.SH "void TQFileDialog::rereadDir ()"
Rereads the current directory shown in the file dialog.
.PP
The only time you will need to call this function is if the contents of the directory change and you wish to refresh the file dialog to reflect the change.
.PP
See also resortDir().
-.SH "void QFileDialog::resortDir ()"
+.SH "void TQFileDialog::resortDir ()"
Re-sorts the displayed directory.
.PP
See also rereadDir().
-.SH "void QFileDialog::selectAll ( bool b )"
+.SH "void TQFileDialog::selectAll ( bool b )"
If \fIb\fR is TRUE then all the files in the current directory are selected; otherwise, they are deselected.
-.SH "TQString QFileDialog::selectedFile () const"
+.SH "TQString TQFileDialog::selectedFile () const"
Returns the name of the selected file. See the "selectedFile" property for details.
-.SH "TQStringList QFileDialog::selectedFiles () const"
+.SH "TQStringList TQFileDialog::selectedFiles () const"
Returns the list of selected files. See the "selectedFiles" property for details.
-.SH "TQString QFileDialog::selectedFilter () const"
+.SH "TQString TQFileDialog::selectedFilter () const"
Returns the filter which the user has selected in the file dialog. See the "selectedFilter" property for details.
-.SH "void QFileDialog::setContentsPreview ( TQWidget * w, QFilePreview * preview )"
-Sets the widget to be used for displaying the contents of the file to the widget \fIw\fR and a preview of those contents to the QFilePreview \fIpreview\fR.
+.SH "void TQFileDialog::setContentsPreview ( TQWidget * w, TQFilePreview * preview )"
+Sets the widget to be used for displaying the contents of the file to the widget \fIw\fR and a preview of those contents to the TQFilePreview \fIpreview\fR.
.PP
-Normally you would create a preview widget that derives from both TQWidget and QFilePreview, so you should pass the same widget twice. If you don't, you must remember to delete the preview object in order to avoid memory leaks.
+Normally you would create a preview widget that derives from both TQWidget and TQFilePreview, so you should pass the same widget twice. If you don't, you must remember to delete the preview object in order to avoid memory leaks.
.PP
.nf
.br
- class Preview : public QLabel, public QFilePreview
+ class Preview : public QLabel, public TQFilePreview
.br
{
.br
@@ -696,7 +696,7 @@ Normally you would create a preview widget that derives from both TQWidget and Q
Preview( TQWidget *parent=0 ) : QLabel( parent ) {}
.br
.br
- void previewUrl( const QUrl &u )
+ void previewUrl( const TQUrl &u )
.br
{
.br
@@ -727,13 +727,13 @@ Normally you would create a preview widget that derives from both TQWidget and Q
Preview* p = new Preview;
.br
.br
- QFileDialog* fd = new QFileDialog( this );
+ TQFileDialog* fd = new TQFileDialog( this );
.br
fd->setContentsPreviewEnabled( TRUE );
.br
fd->setContentsPreview( p, p );
.br
- fd->setPreviewMode( QFileDialog::Contents );
+ fd->setPreviewMode( TQFileDialog::Contents );
.br
fd->show();
.br
@@ -743,20 +743,20 @@ Normally you would create a preview widget that derives from both TQWidget and Q
.PP
See also contentsPreview, setInfoPreview(), and previewMode.
.PP
-Example: qdir/qdir.cpp.
-.SH "void QFileDialog::setContentsPreviewEnabled ( bool )"
+Example: tqdir/tqdir.cpp.
+.SH "void TQFileDialog::setContentsPreviewEnabled ( bool )"
Sets whether the file dialog can provide a contents preview of the currently selected file. See the "contentsPreview" property for details.
-.SH "void QFileDialog::setDir ( const QDir & dir )"
+.SH "void TQFileDialog::setDir ( const TQDir & dir )"
Sets the file dialog's working directory to \fIdir\fR.
.PP
See also dir().
-.SH "void QFileDialog::setDir ( const TQString & pathstr )\fC [slot]\fR"
+.SH "void TQFileDialog::setDir ( const TQString & pathstr )\fC [slot]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Sets the file dialog's working directory to \fIpathstr\fR.
.PP
See also dir().
-.SH "void QFileDialog::setFilter ( const TQString & newFilter )\fC [slot]\fR"
+.SH "void TQFileDialog::setFilter ( const TQString & newFilter )\fC [slot]\fR"
Sets the filter used in the file dialog to \fInewFilter\fR.
.PP
If \fInewFilter\fR contains a pair of parentheses containing one or more of \fI\fBanything*something\fR\fR separated by spaces or by semi-colons then only the text contained in the parentheses is used as the filter. This means that these calls are all equivalent:
@@ -774,7 +774,7 @@ If \fInewFilter\fR contains a pair of parentheses containing one or more of \fI\
.fi
.PP
See also setFilters().
-.SH "void QFileDialog::setFilters ( const TQString & filters )\fC [slot]\fR"
+.SH "void TQFileDialog::setFilters ( const TQString & filters )\fC [slot]\fR"
Sets the filters used in the file dialog to \fIfilters\fR. Each group of filters must be separated by \fC;;\fR (\fItwo\fR semi-colons).
.PP
.nf
@@ -785,35 +785,35 @@ Sets the filters used in the file dialog to \fIfilters\fR. Each group of filters
.br
"Any files (*)");
.br
- QFileDialog fd = new QFileDialog( this );
+ TQFileDialog fd = new TQFileDialog( this );
.br
fd->setFilters( types );
.br
fd->show();
.br
.fi
-.SH "void QFileDialog::setFilters ( const char ** types )\fC [slot]\fR"
+.SH "void TQFileDialog::setFilters ( const char ** types )\fC [slot]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
\fItypes\fR must be a null-terminated list of strings.
-.SH "void QFileDialog::setFilters ( const TQStringList & )\fC [slot]\fR"
+.SH "void TQFileDialog::setFilters ( const TQStringList & )\fC [slot]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-.SH "void QFileDialog::setIconProvider ( QFileIconProvider * provider )\fC [static]\fR"
-Sets the QFileIconProvider used by the file dialog to \fIprovider\fR.
+.SH "void TQFileDialog::setIconProvider ( TQFileIconProvider * provider )\fC [static]\fR"
+Sets the TQFileIconProvider used by the file dialog to \fIprovider\fR.
.PP
-The default is that there is no QFileIconProvider and QFileDialog just draws a folder icon next to each directory and nothing next to files.
+The default is that there is no TQFileIconProvider and TQFileDialog just draws a folder icon next to each directory and nothing next to files.
.PP
-See also QFileIconProvider and iconProvider().
+See also TQFileIconProvider and iconProvider().
.PP
Example: showimg/main.cpp.
-.SH "void QFileDialog::setInfoPreview ( TQWidget * w, QFilePreview * preview )"
-Sets the widget to be used for displaying information about the file to the widget \fIw\fR and a preview of that information to the QFilePreview \fIpreview\fR.
+.SH "void TQFileDialog::setInfoPreview ( TQWidget * w, TQFilePreview * preview )"
+Sets the widget to be used for displaying information about the file to the widget \fIw\fR and a preview of that information to the TQFilePreview \fIpreview\fR.
.PP
-Normally you would create a preview widget that derives from both TQWidget and QFilePreview, so you should pass the same widget twice. If you don't, you must remember to delete the preview object in order to avoid memory leaks.
+Normally you would create a preview widget that derives from both TQWidget and TQFilePreview, so you should pass the same widget twice. If you don't, you must remember to delete the preview object in order to avoid memory leaks.
.PP
.nf
.br
- class Preview : public QLabel, public QFilePreview
+ class Preview : public QLabel, public TQFilePreview
.br
{
.br
@@ -822,7 +822,7 @@ Normally you would create a preview widget that derives from both TQWidget and Q
Preview( TQWidget *parent=0 ) : QLabel( parent ) {}
.br
.br
- void previewUrl( const QUrl &u )
+ void previewUrl( const TQUrl &u )
.br
{
.br
@@ -853,13 +853,13 @@ Normally you would create a preview widget that derives from both TQWidget and Q
Preview* p = new Preview;
.br
.br
- QFileDialog* fd = new QFileDialog( this );
+ TQFileDialog* fd = new TQFileDialog( this );
.br
fd->setInfoPreviewEnabled( TRUE );
.br
fd->setInfoPreview( p, p );
.br
- fd->setPreviewMode( QFileDialog::Info );
+ fd->setPreviewMode( TQFileDialog::Info );
.br
fd->show();
.br
@@ -869,41 +869,41 @@ Normally you would create a preview widget that derives from both TQWidget and Q
.fi
.PP
See also setContentsPreview(), infoPreview, and previewMode.
-.SH "void QFileDialog::setInfoPreviewEnabled ( bool )"
+.SH "void TQFileDialog::setInfoPreviewEnabled ( bool )"
Sets whether the file dialog can provide preview information about the currently selected file. See the "infoPreview" property for details.
-.SH "void QFileDialog::setMode ( Mode )"
+.SH "void TQFileDialog::setMode ( Mode )"
Sets the file dialog's mode. See the "mode" property for details.
-.SH "void QFileDialog::setPreviewMode ( PreviewMode m )"
+.SH "void TQFileDialog::setPreviewMode ( PreviewMode m )"
Sets the preview mode for the file dialog to \fIm\fR. See the "previewMode" property for details.
-.SH "void QFileDialog::setSelectedFilter ( const TQString & mask )\fC [virtual]\fR"
+.SH "void TQFileDialog::setSelectedFilter ( const TQString & mask )\fC [virtual]\fR"
Sets the current filter selected in the file dialog to the first one that contains the text \fImask\fR.
-.SH "void QFileDialog::setSelectedFilter ( int n )\fC [virtual]\fR"
+.SH "void TQFileDialog::setSelectedFilter ( int n )\fC [virtual]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Sets the current filter selected in the file dialog to the \fIn\fR-th filter in the filter list.
.PP
See also filterSelected(), selectedFilter, selectedFiles, and selectedFile.
-.SH "void QFileDialog::setSelection ( const TQString & filename )"
+.SH "void TQFileDialog::setSelection ( const TQString & filename )"
Sets the default selection to \fIfilename\fR. If \fIfilename\fR is absolute, setDir() is also called to set the file dialog's working directory to the filename's directory.
.PP
-Example: qdir/qdir.cpp.
-.SH "void QFileDialog::setShowHiddenFiles ( bool s )"
+Example: tqdir/tqdir.cpp.
+.SH "void TQFileDialog::setShowHiddenFiles ( bool s )"
Sets whether hidden files are shown in the file dialog to \fIs\fR. See the "showHiddenFiles" property for details.
-.SH "void QFileDialog::setUrl ( const QUrlOperator & url )\fC [slot]\fR"
+.SH "void TQFileDialog::setUrl ( const TQUrlOperator & url )\fC [slot]\fR"
Sets the file dialog's working directory to the directory specified at \fIurl\fR.
.PP
See also url().
-.SH "void QFileDialog::setViewMode ( ViewMode m )"
+.SH "void TQFileDialog::setViewMode ( ViewMode m )"
Sets the file dialog's view mode to \fIm\fR. See the "viewMode" property for details.
-.SH "bool QFileDialog::showHiddenFiles () const"
+.SH "bool TQFileDialog::showHiddenFiles () const"
Returns TRUE if hidden files are shown in the file dialog; otherwise returns FALSE. See the "showHiddenFiles" property for details.
-.SH "QUrl QFileDialog::url () const"
+.SH "TQUrl TQFileDialog::url () const"
Returns the URL of the current working directory in the file dialog.
.PP
See also setUrl().
.PP
Example: network/networkprotocol/view.cpp.
-.SH "ViewMode QFileDialog::viewMode () const"
+.SH "ViewMode TQFileDialog::viewMode () const"
Returns the file dialog's view mode. See the "viewMode" property for details.
.SS "Property Documentation"
.SH "bool contentsPreview"
@@ -995,12 +995,12 @@ If you set the view mode to be \fIDetail\fR (the default), then you will see the
.PP
If you set the view mode to be \fIList\fR, then you will just see a list of the files and folders.
.PP
-See QFileDialog::ViewMode
+See TQFileDialog::ViewMode
.PP
Set this property's value with setViewMode() and get this property's value with viewMode().
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqfiledialog.html
+.BR http://doc.trolltech.com/tqfiledialog.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqfileiconprovider.3qt b/doc/man/man3/tqfileiconprovider.3qt
index 142565242..2f4a2b9e0 100644
--- a/doc/man/man3/tqfileiconprovider.3qt
+++ b/doc/man/man3/tqfileiconprovider.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QFileIconProvider 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQFileIconProvider 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,43 +7,43 @@
.ad l
.nh
.SH NAME
-QFileIconProvider \- Icons for QFileDialog to use
+TQFileIconProvider \- Icons for TQFileDialog to use
.SH SYNOPSIS
-\fC#include \fR
+\fC#include \fR
.PP
Inherits TQObject.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQFileIconProvider\fR ( TQObject * parent = 0, const char * name = 0 )"
+.BI "\fBTQFileIconProvider\fR ( TQObject * parent = 0, const char * name = 0 )"
.br
.ti -1c
-.BI "virtual const QPixmap * \fBpixmap\fR ( const QFileInfo & info )"
+.BI "virtual const QPixmap * \fBpixmap\fR ( const TQFileInfo & info )"
.br
.in -1c
.SH DESCRIPTION
-The QFileIconProvider class provides icons for QFileDialog to use.
+The TQFileIconProvider class provides icons for TQFileDialog to use.
.PP
-By default QFileIconProvider is not used, but any application or library can subclass it, reimplement pixmap() to return a suitable icon, and make all QFileDialog objects use it by calling the static function QFileDialog::setIconProvider().
+By default TQFileIconProvider is not used, but any application or library can subclass it, reimplement pixmap() to return a suitable icon, and make all TQFileDialog objects use it by calling the static function TQFileDialog::setIconProvider().
.PP
-It is advisable to make all the icons that QFileIconProvider returns be the same size or at least the same width. This makes the list view look much better.
+It is advisable to make all the icons that TQFileIconProvider returns be the same size or at least the same width. This makes the list view look much better.
.PP
-See also QFileDialog and Miscellaneous Classes.
+See also TQFileDialog and Miscellaneous Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QFileIconProvider::QFileIconProvider ( TQObject * parent = 0, const char * name = 0 )"
+.SH "TQFileIconProvider::TQFileIconProvider ( TQObject * parent = 0, const char * name = 0 )"
Constructs an empty file icon provider called \fIname\fR, with the parent \fIparent\fR.
-.SH "const QPixmap * QFileIconProvider::pixmap ( const QFileInfo & info )\fC [virtual]\fR"
+.SH "const QPixmap * TQFileIconProvider::pixmap ( const TQFileInfo & info )\fC [virtual]\fR"
Returns a pointer to a pixmap that should be used to signify the file with the information \fIinfo\fR.
.PP
-If pixmap() returns 0, QFileDialog draws the default pixmap.
+If pixmap() returns 0, TQFileDialog draws the default pixmap.
.PP
The default implementation returns particular icons for files, directories, link-files and link-directories. It returns a blank "icon" for other types.
.PP
If you return a pixmap here, it should measure 16x16 pixels.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qfileiconprovider.html
+.BR http://doc.trolltech.com/tqfileiconprovider.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqfileinfo.3qt b/doc/man/man3/tqfileinfo.3qt
index fec4426a6..7be7afdb6 100644
--- a/doc/man/man3/tqfileinfo.3qt
+++ b/doc/man/man3/tqfileinfo.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QFileInfo 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQFileInfo 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,11 +7,11 @@
.ad l
.nh
.SH NAME
-QFileInfo \- System-independent file information
+TQFileInfo \- System-independent file information
.SH SYNOPSIS
All the functions in this class are reentrant when TQt is built with thread support.
.PP
-\fC#include \fR
+\fC#include \fR
.PP
.SS "Public Members"
.in +1c
@@ -19,34 +19,34 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "enum \fBPermissionSpec\fR { ReadOwner = 04000, WriteOwner = 02000, ExeOwner = 01000, ReadUser = 00400, WriteUser = 00200, ExeUser = 00100, ReadGroup = 00040, WriteGroup = 00020, ExeGroup = 00010, ReadOther = 00004, WriteOther = 00002, ExeOther = 00001 }"
.br
.ti -1c
-.BI "\fBQFileInfo\fR ()"
+.BI "\fBTQFileInfo\fR ()"
.br
.ti -1c
-.BI "\fBQFileInfo\fR ( const TQString & file )"
+.BI "\fBTQFileInfo\fR ( const TQString & file )"
.br
.ti -1c
-.BI "\fBQFileInfo\fR ( const QFile & file )"
+.BI "\fBTQFileInfo\fR ( const TQFile & file )"
.br
.ti -1c
-.BI "\fBQFileInfo\fR ( const QDir & d, const TQString & fileName )"
+.BI "\fBTQFileInfo\fR ( const TQDir & d, const TQString & fileName )"
.br
.ti -1c
-.BI "\fBQFileInfo\fR ( const QFileInfo & fi )"
+.BI "\fBTQFileInfo\fR ( const TQFileInfo & fi )"
.br
.ti -1c
-.BI "\fB~QFileInfo\fR ()"
+.BI "\fB~TQFileInfo\fR ()"
.br
.ti -1c
-.BI "QFileInfo & \fBoperator=\fR ( const QFileInfo & fi )"
+.BI "TQFileInfo & \fBoperator=\fR ( const TQFileInfo & fi )"
.br
.ti -1c
.BI "void \fBsetFile\fR ( const TQString & file )"
.br
.ti -1c
-.BI "void \fBsetFile\fR ( const QFile & file )"
+.BI "void \fBsetFile\fR ( const TQFile & file )"
.br
.ti -1c
-.BI "void \fBsetFile\fR ( const QDir & d, const TQString & fileName )"
+.BI "void \fBsetFile\fR ( const TQDir & d, const TQString & fileName )"
.br
.ti -1c
.BI "bool \fBexists\fR () const"
@@ -79,7 +79,7 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "TQString \fBdirPath\fR ( bool absPath = FALSE ) const"
.br
.ti -1c
-.BI "QDir \fBdir\fR ( bool absPath = FALSE ) const"
+.BI "TQDir \fBdir\fR ( bool absPath = FALSE ) const"
.br
.ti -1c
.BI "bool \fBisReadable\fR () const"
@@ -140,15 +140,15 @@ All the functions in this class are reentrant when TQt is built with thread supp
.br
.in -1c
.SH DESCRIPTION
-The QFileInfo class provides system-independent file information.
+The TQFileInfo class provides system-independent file information.
.PP
-QFileInfo provides information about a file's name and position (path) in the file system, its access rights and whether it is a directory or symbolic link, etc. The file's size and last modified/read times are also available.
+TQFileInfo provides information about a file's name and position (path) in the file system, its access rights and whether it is a directory or symbolic link, etc. The file's size and last modified/read times are also available.
.PP
-A QFileInfo can point to a file with either a relative or an absolute file path. Absolute file paths begin with the directory separator "/" (or with a drive specification on Windows). Relative file names begin with a directory name or a file name and specify a path relative to the current working directory. An example of an absolute path is the string "/tmp/quartz". A relative path might look like "src/fatlib". You can use the function isRelative() to check whether a QFileInfo is using a relative or an absolute file path. You can call the function convertToAbs() to convert a relative QFileInfo's path to an absolute path.
+A TQFileInfo can point to a file with either a relative or an absolute file path. Absolute file paths begin with the directory separator "/" (or with a drive specification on Windows). Relative file names begin with a directory name or a file name and specify a path relative to the current working directory. An example of an absolute path is the string "/tmp/quartz". A relative path might look like "src/fatlib". You can use the function isRelative() to check whether a TQFileInfo is using a relative or an absolute file path. You can call the function convertToAbs() to convert a relative TQFileInfo's path to an absolute path.
.PP
-The file that the QFileInfo works on is set in the constructor or later with setFile(). Use exists() to see if the file exists and size() to get its size.
+The file that the TQFileInfo works on is set in the constructor or later with setFile(). Use exists() to see if the file exists and size() to get its size.
.PP
-To speed up performance, QFileInfo caches information about the file. Because files can be changed by other users or programs, or even by other parts of the same program, there is a function that refreshes the file information: refresh(). If you want to switch off a QFileInfo's caching and force it to access the file system every time you request information from it call setCaching(FALSE).
+To speed up performance, TQFileInfo caches information about the file. Because files can be changed by other users or programs, or even by other parts of the same program, there is a function that refreshes the file information: refresh(). If you want to switch off a TQFileInfo's caching and force it to access the file system every time you request information from it call setCaching(FALSE).
.PP
The file's type is obtained with isFile(), isDir() and isSymLink(). The readLink() function provides the name of the file the symlink points to.
.PP
@@ -156,79 +156,79 @@ Elements of the file's name can be extracted with dirPath() and fileName(). The
.PP
The file's dates are returned by created(), lastModified() and lastRead(). Information about the file's access permissions is obtained with isReadable(), isWritable() and isExecutable(). The file's ownership is available from owner(), ownerId(), group() and groupId(). You can examine a file's permissions and ownership in a single statement using the permission() function.
.PP
-If you need to read and traverse directories, see the QDir class.
+If you need to read and traverse directories, see the TQDir class.
.PP
See also Input/Output and Networking.
.SS "Member Type Documentation"
-.SH "QFileInfo::PermissionSpec"
+.SH "TQFileInfo::PermissionSpec"
This enum is used by the permission() function to report the permissions and ownership of a file. The values may be OR-ed together to test multiple permissions and ownership values.
.TP
-\fCQFileInfo::ReadOwner\fR - The file is readable by the owner of the file.
+\fCTQFileInfo::ReadOwner\fR - The file is readable by the owner of the file.
.TP
-\fCQFileInfo::WriteOwner\fR - The file is writable by the owner of the file.
+\fCTQFileInfo::WriteOwner\fR - The file is writable by the owner of the file.
.TP
-\fCQFileInfo::ExeOwner\fR - The file is executable by the owner of the file.
+\fCTQFileInfo::ExeOwner\fR - The file is executable by the owner of the file.
.TP
-\fCQFileInfo::ReadUser\fR - The file is readable by the user.
+\fCTQFileInfo::ReadUser\fR - The file is readable by the user.
.TP
-\fCQFileInfo::WriteUser\fR - The file is writable by the user.
+\fCTQFileInfo::WriteUser\fR - The file is writable by the user.
.TP
-\fCQFileInfo::ExeUser\fR - The file is executable by the user.
+\fCTQFileInfo::ExeUser\fR - The file is executable by the user.
.TP
-\fCQFileInfo::ReadGroup\fR - The file is readable by the group.
+\fCTQFileInfo::ReadGroup\fR - The file is readable by the group.
.TP
-\fCQFileInfo::WriteGroup\fR - The file is writable by the group.
+\fCTQFileInfo::WriteGroup\fR - The file is writable by the group.
.TP
-\fCQFileInfo::ExeGroup\fR - The file is executable by the group.
+\fCTQFileInfo::ExeGroup\fR - The file is executable by the group.
.TP
-\fCQFileInfo::ReadOther\fR - The file is readable by anyone.
+\fCTQFileInfo::ReadOther\fR - The file is readable by anyone.
.TP
-\fCQFileInfo::WriteOther\fR - The file is writable by anyone.
+\fCTQFileInfo::WriteOther\fR - The file is writable by anyone.
.TP
-\fCQFileInfo::ExeOther\fR - The file is executable by anyone.
+\fCTQFileInfo::ExeOther\fR - The file is executable by anyone.
.PP
\fBWarning:\fR The semantics of ReadUser, WriteUser and ExeUser are unfortunately not platform independent: on Unix, the rights of the owner of the file are returned and on Windows the rights of the current user are returned. This behavior might change in a future TQt version. If you want to find the rights of the owner of the file, you should use the flags ReadOwner, WriteOwner and ExeOwner. If you want to find out the rights of the current user, you should use isReadable(), isWritable() and isExecutable().
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QFileInfo::QFileInfo ()"
-Constructs a new empty QFileInfo.
-.SH "QFileInfo::QFileInfo ( const TQString & file )"
-Constructs a new QFileInfo that gives information about the given file. The \fIfile\fR can also include an absolute or relative path.
+.SH "TQFileInfo::TQFileInfo ()"
+Constructs a new empty TQFileInfo.
+.SH "TQFileInfo::TQFileInfo ( const TQString & file )"
+Constructs a new TQFileInfo that gives information about the given file. The \fIfile\fR can also include an absolute or relative path.
.PP
\fBWarning:\fR Some functions might behave in a counter-intuitive way if \fIfile\fR has a trailing directory separator.
.PP
-See also setFile(), isRelative(), QDir::setCurrent(), and QDir::isRelativePath().
-.SH "QFileInfo::QFileInfo ( const QFile & file )"
-Constructs a new QFileInfo that gives information about file \fIfile\fR.
+See also setFile(), isRelative(), TQDir::setCurrent(), and TQDir::isRelativePath().
+.SH "TQFileInfo::TQFileInfo ( const TQFile & file )"
+Constructs a new TQFileInfo that gives information about file \fIfile\fR.
.PP
-If the \fIfile\fR has a relative path, the QFileInfo will also have a relative path.
+If the \fIfile\fR has a relative path, the TQFileInfo will also have a relative path.
.PP
See also isRelative().
-.SH "QFileInfo::QFileInfo ( const QDir & d, const TQString & fileName )"
-Constructs a new QFileInfo that gives information about the file called \fIfileName\fR in the directory \fId\fR.
+.SH "TQFileInfo::TQFileInfo ( const TQDir & d, const TQString & fileName )"
+Constructs a new TQFileInfo that gives information about the file called \fIfileName\fR in the directory \fId\fR.
.PP
-If \fId\fR has a relative path, the QFileInfo will also have a relative path.
+If \fId\fR has a relative path, the TQFileInfo will also have a relative path.
.PP
See also isRelative().
-.SH "QFileInfo::QFileInfo ( const QFileInfo & fi )"
-Constructs a new QFileInfo that is a copy of \fIfi\fR.
-.SH "QFileInfo::~QFileInfo ()"
-Destroys the QFileInfo and frees its resources.
-.SH "TQString QFileInfo::absFilePath () const"
+.SH "TQFileInfo::TQFileInfo ( const TQFileInfo & fi )"
+Constructs a new TQFileInfo that is a copy of \fIfi\fR.
+.SH "TQFileInfo::~TQFileInfo ()"
+Destroys the TQFileInfo and frees its resources.
+.SH "TQString TQFileInfo::absFilePath () const"
Returns the absolute path including the file name.
.PP
The absolute path name consists of the full path and the file name. On Unix this will always begin with the root, '/', directory. On Windows this will always begin 'D:/' where D is a drive letter, except for network shares that are not mapped to a drive letter, in which case the path will begin '//sharename/'.
.PP
This function returns the same as filePath(), unless isRelative() is TRUE.
.PP
-If the QFileInfo is empty it returns QDir::currentDirPath().
+If the TQFileInfo is empty it returns TQDir::currentDirPath().
.PP
This function can be time consuming under Unix (in the order of milliseconds).
.PP
See also isRelative() and filePath().
.PP
Examples:
-.)l biff/biff.cpp and fileiconview/qfileiconview.cpp.
-.SH "TQString QFileInfo::baseName ( bool complete = FALSE ) const"
+.)l biff/biff.cpp and fileiconview/tqfileiconview.cpp.
+.SH "TQString TQFileInfo::baseName ( bool complete = FALSE ) const"
Returns the base name of the file.
.PP
If \fIcomplete\fR is FALSE (the default) the base name consists of all characters in the file name up to (but not including) the \fIfirst\fR '.' character.
@@ -241,7 +241,7 @@ Example:
.PP
.nf
.br
- QFileInfo fi( "/tmp/archive.tar.gz" );
+ TQFileInfo fi( "/tmp/archive.tar.gz" );
.br
TQString base = fi.baseName(); // base = "archive"
.br
@@ -250,44 +250,44 @@ Example:
.fi
.PP
See also fileName() and extension().
-.SH "bool QFileInfo::caching () const"
+.SH "bool TQFileInfo::caching () const"
Returns TRUE if caching is enabled; otherwise returns FALSE.
.PP
See also setCaching() and refresh().
-.SH "bool QFileInfo::convertToAbs ()"
+.SH "bool TQFileInfo::convertToAbs ()"
Converts the file's path to an absolute path.
.PP
If it is already absolute, nothing is done.
.PP
See also filePath() and isRelative().
-.SH "TQDateTime QFileInfo::created () const"
+.SH "TQDateTime TQFileInfo::created () const"
Returns the date and time when the file was created.
.PP
On platforms where this information is not available, returns the same as lastModified().
.PP
See also lastModified() and lastRead().
-.SH "QDir QFileInfo::dir ( bool absPath = FALSE ) const"
-Returns the file's path as a QDir object.
+.SH "TQDir TQFileInfo::dir ( bool absPath = FALSE ) const"
+Returns the file's path as a TQDir object.
.PP
-If the QFileInfo is relative and \fIabsPath\fR is FALSE, the QDir will be relative; otherwise it will be absolute.
+If the TQFileInfo is relative and \fIabsPath\fR is FALSE, the TQDir will be relative; otherwise it will be absolute.
.PP
See also dirPath(), filePath(), fileName(), and isRelative().
.PP
-Example: fileiconview/qfileiconview.cpp.
-.SH "TQString QFileInfo::dirPath ( bool absPath = FALSE ) const"
+Example: fileiconview/tqfileiconview.cpp.
+.SH "TQString TQFileInfo::dirPath ( bool absPath = FALSE ) const"
Returns the file's path.
.PP
If \fIabsPath\fR is TRUE an absolute path is returned.
.PP
See also dir(), filePath(), fileName(), and isRelative().
.PP
-Example: fileiconview/qfileiconview.cpp.
-.SH "bool QFileInfo::exists () const"
+Example: fileiconview/tqfileiconview.cpp.
+.SH "bool TQFileInfo::exists () const"
Returns TRUE if the file exists; otherwise returns FALSE.
.PP
Examples:
.)l biff/biff.cpp, distributor/distributor.ui.h, and i18n/main.cpp.
-.SH "TQString QFileInfo::extension ( bool complete = TRUE ) const"
+.SH "TQString TQFileInfo::extension ( bool complete = TRUE ) const"
Returns the file's extension name.
.PP
If \fIcomplete\fR is TRUE (the default), extension() returns the string of all characters in the file name after (but not including) the first '.' character.
@@ -298,7 +298,7 @@ Example:
.PP
.nf
.br
- QFileInfo fi( "/tmp/archive.tar.gz" );
+ TQFileInfo fi( "/tmp/archive.tar.gz" );
.br
TQString ext = fi.extension(); // ext = "tar.gz"
.br
@@ -308,15 +308,15 @@ Example:
.PP
See also fileName() and baseName().
.PP
-Example: qdir/qdir.cpp.
-.SH "TQString QFileInfo::fileName () const"
+Example: tqdir/tqdir.cpp.
+.SH "TQString TQFileInfo::fileName () const"
Returns the name of the file, excluding the path.
.PP
Example:
.PP
.nf
.br
- QFileInfo fi( "/tmp/archive.tar.gz" );
+ TQFileInfo fi( "/tmp/archive.tar.gz" );
.br
TQString name = fi.fileName(); // name = "archive.tar.gz"
.br
@@ -325,76 +325,76 @@ Example:
See also isRelative(), filePath(), baseName(), and extension().
.PP
Examples:
-.)l dirview/dirview.cpp, fileiconview/qfileiconview.cpp, and network/ftpclient/ftpmainwindow.ui.h.
-.SH "TQString QFileInfo::filePath () const"
+.)l dirview/dirview.cpp, fileiconview/tqfileiconview.cpp, and network/ftpclient/ftpmainwindow.ui.h.
+.SH "TQString TQFileInfo::filePath () const"
Returns the file name, including the path (which may be absolute or relative).
.PP
See also isRelative() and absFilePath().
.PP
Examples:
-.)l dirview/main.cpp and fileiconview/qfileiconview.cpp.
-.SH "TQString QFileInfo::group () const"
+.)l dirview/main.cpp and fileiconview/tqfileiconview.cpp.
+.SH "TQString TQFileInfo::group () const"
Returns the group of the file. On Windows, on systems where files do not have groups, or if an error occurs, TQString::null is returned.
.PP
This function can be time consuming under Unix (in the order of milliseconds).
.PP
See also groupId(), owner(), and ownerId().
-.SH "uint QFileInfo::groupId () const"
+.SH "uint TQFileInfo::groupId () const"
Returns the id of the group the file belongs to.
.PP
On Windows and on systems where files do not have groups this function always returns (uint) -2.
.PP
See also group(), owner(), and ownerId().
-.SH "bool QFileInfo::isDir () const"
+.SH "bool TQFileInfo::isDir () const"
Returns TRUE if this object points to a directory or to a symbolic link to a directory; otherwise returns FALSE.
.PP
See also isFile() and isSymLink().
.PP
Examples:
-.)l dirview/dirview.cpp and fileiconview/qfileiconview.cpp.
-.SH "bool QFileInfo::isExecutable () const"
+.)l dirview/dirview.cpp and fileiconview/tqfileiconview.cpp.
+.SH "bool TQFileInfo::isExecutable () const"
Returns TRUE if the file is executable; otherwise returns FALSE.
.PP
See also isReadable(), isWritable(), and permission().
-.SH "bool QFileInfo::isFile () const"
+.SH "bool TQFileInfo::isFile () const"
Returns TRUE if this object points to a file. Returns FALSE if the object points to something which isn't a file, e.g. a directory or a symlink.
.PP
See also isDir() and isSymLink().
.PP
Examples:
-.)l dirview/dirview.cpp, distributor/distributor.ui.h, fileiconview/qfileiconview.cpp, and qdir/qdir.cpp.
-.SH "bool QFileInfo::isHidden () const"
+.)l dirview/dirview.cpp, distributor/distributor.ui.h, fileiconview/tqfileiconview.cpp, and tqdir/tqdir.cpp.
+.SH "bool TQFileInfo::isHidden () const"
Returns TRUE if the file is hidden; otherwise returns FALSE.
.PP
On Unix-like operating systems, including Mac OS X, a file is hidden if its name begins with ".". On Windows a file is hidden if its hidden attribute is set.
-.SH "bool QFileInfo::isReadable () const"
+.SH "bool TQFileInfo::isReadable () const"
Returns TRUE if the file is readable; otherwise returns FALSE.
.PP
See also isWritable(), isExecutable(), and permission().
.PP
Example: distributor/distributor.ui.h.
-.SH "bool QFileInfo::isRelative () const"
+.SH "bool TQFileInfo::isRelative () const"
Returns TRUE if the file path name is relative. Returns FALSE if the path is absolute (e.g. under Unix a path is absolute if it begins with a "/").
-.SH "bool QFileInfo::isSymLink () const"
+.SH "bool TQFileInfo::isSymLink () const"
Returns TRUE if this object points to a symbolic link (or to a shortcut on Windows, or an alias on Mac OS X); otherwise returns FALSE.
.PP
See also isFile(), isDir(), and readLink().
.PP
Examples:
-.)l dirview/dirview.cpp, distributor/distributor.ui.h, and fileiconview/qfileiconview.cpp.
-.SH "bool QFileInfo::isWritable () const"
+.)l dirview/dirview.cpp, distributor/distributor.ui.h, and fileiconview/tqfileiconview.cpp.
+.SH "bool TQFileInfo::isWritable () const"
Returns TRUE if the file is writable; otherwise returns FALSE.
.PP
See also isReadable(), isExecutable(), and permission().
.PP
Example: distributor/distributor.ui.h.
-.SH "TQDateTime QFileInfo::lastModified () const"
+.SH "TQDateTime TQFileInfo::lastModified () const"
Returns the date and time when the file was last modified.
.PP
See also created() and lastRead().
.PP
Example: biff/biff.cpp.
-.SH "TQDateTime QFileInfo::lastRead () const"
+.SH "TQDateTime TQFileInfo::lastRead () const"
Returns the date and time when the file was last read (accessed).
.PP
On platforms where this information is not available, returns the same as lastModified().
@@ -402,21 +402,21 @@ On platforms where this information is not available, returns the same as lastMo
See also created() and lastModified().
.PP
Example: biff/biff.cpp.
-.SH "QFileInfo & QFileInfo::operator= ( const QFileInfo & fi )"
-Makes a copy of \fIfi\fR and assigns it to this QFileInfo.
-.SH "TQString QFileInfo::owner () const"
+.SH "TQFileInfo & TQFileInfo::operator= ( const TQFileInfo & fi )"
+Makes a copy of \fIfi\fR and assigns it to this TQFileInfo.
+.SH "TQString TQFileInfo::owner () const"
Returns the owner of the file. On systems where files do not have owners, or if an error occurs, TQString::null is returned.
.PP
This function can be time consuming under Unix (in the order of milliseconds).
.PP
See also ownerId(), group(), and groupId().
-.SH "uint QFileInfo::ownerId () const"
+.SH "uint TQFileInfo::ownerId () const"
Returns the id of the owner of the file.
.PP
On Windows and on systems where files do not have owners this function returns ((uint) -2).
.PP
See also owner(), group(), and groupId().
-.SH "bool QFileInfo::permission ( int permissionSpec ) const"
+.SH "bool TQFileInfo::permission ( int permissionSpec ) const"
Tests for file permissions. The \fIpermissionSpec\fR argument can be several flags of type PermissionSpec OR-ed together to check for permission combinations.
.PP
On systems where files do not have permissions this function always returns TRUE.
@@ -425,39 +425,39 @@ Example:
.PP
.nf
.br
- QFileInfo fi( "/tmp/archive.tar.gz" );
+ TQFileInfo fi( "/tmp/archive.tar.gz" );
.br
- if ( fi.permission( QFileInfo::WriteUser | QFileInfo::ReadGroup ) )
+ if ( fi.permission( TQFileInfo::WriteUser | TQFileInfo::ReadGroup ) )
.br
tqWarning( "I can change the file; my group can read the file" );
.br
- if ( fi.permission( QFileInfo::WriteGroup | QFileInfo::WriteOther ) )
+ if ( fi.permission( TQFileInfo::WriteGroup | TQFileInfo::WriteOther ) )
.br
tqWarning( "The group or others can change the file" );
.br
.fi
.PP
See also isReadable(), isWritable(), and isExecutable().
-.SH "TQString QFileInfo::readLink () const"
+.SH "TQString TQFileInfo::readLink () const"
Returns the name a symlink (or shortcut on Windows) points to, or a TQString::null if the object isn't a symbolic link.
.PP
-This name may not represent an existing file; it is only a string. QFileInfo::exists() returns TRUE if the symlink points to an existing file.
+This name may not represent an existing file; it is only a string. TQFileInfo::exists() returns TRUE if the symlink points to an existing file.
.PP
See also exists(), isSymLink(), isDir(), and isFile().
-.SH "void QFileInfo::refresh () const"
+.SH "void TQFileInfo::refresh () const"
Refreshes the information about the file, i.e. reads in information from the file system the next time a cached property is fetched.
.PP
See also setCaching().
-.SH "void QFileInfo::setCaching ( bool enable )"
+.SH "void TQFileInfo::setCaching ( bool enable )"
If \fIenable\fR is TRUE, enables caching of file information. If \fIenable\fR is FALSE caching is disabled.
.PP
-When caching is enabled, QFileInfo reads the file information from the file system the first time it's needed, but generally not later.
+When caching is enabled, TQFileInfo reads the file information from the file system the first time it's needed, but generally not later.
.PP
Caching is enabled by default.
.PP
See also refresh() and caching().
-.SH "void QFileInfo::setFile ( const TQString & file )"
-Sets the file that the QFileInfo provides information about to \fIfile\fR.
+.SH "void TQFileInfo::setFile ( const TQString & file )"
+Sets the file that the TQFileInfo provides information about to \fIfile\fR.
.PP
The \fIfile\fR can also include an absolute or relative file path. Absolute paths begin with the directory separator (e.g. "/" under Unix) or a drive specification (under Windows). Relative file names begin with a directory name or a file name and specify a path relative to the current directory.
.PP
@@ -469,17 +469,17 @@ Example:
.br
TQString relative = "local/bin";
.br
- QFileInfo absFile( absolute );
+ TQFileInfo absFile( absolute );
.br
- QFileInfo relFile( relative );
+ TQFileInfo relFile( relative );
.br
.br
- QDir::setCurrent( QDir::rootDirPath() );
+ TQDir::setCurrent( TQDir::rootDirPath() );
.br
// absFile and relFile now point to the same file
.br
.br
- QDir::setCurrent( "/tmp" );
+ TQDir::setCurrent( "/tmp" );
.br
// absFile now points to "/local/bin",
.br
@@ -487,32 +487,32 @@ Example:
.br
.fi
.PP
-See also isRelative(), QDir::setCurrent(), and QDir::isRelativePath().
+See also isRelative(), TQDir::setCurrent(), and TQDir::isRelativePath().
.PP
Example: biff/biff.cpp.
-.SH "void QFileInfo::setFile ( const QFile & file )"
+.SH "void TQFileInfo::setFile ( const TQFile & file )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-Sets the file that the QFileInfo provides information about to \fIfile\fR.
+Sets the file that the TQFileInfo provides information about to \fIfile\fR.
.PP
-If \fIfile\fR includes a relative path, the QFileInfo will also have a relative path.
+If \fIfile\fR includes a relative path, the TQFileInfo will also have a relative path.
.PP
See also isRelative().
-.SH "void QFileInfo::setFile ( const QDir & d, const TQString & fileName )"
+.SH "void TQFileInfo::setFile ( const TQDir & d, const TQString & fileName )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-Sets the file that the QFileInfo provides information about to \fIfileName\fR in directory \fId\fR.
+Sets the file that the TQFileInfo provides information about to \fIfileName\fR in directory \fId\fR.
.PP
-If \fIfileName\fR includes a relative path, the QFileInfo will also have a relative path.
+If \fIfileName\fR includes a relative path, the TQFileInfo will also have a relative path.
.PP
See also isRelative().
-.SH "uint QFileInfo::size () const"
+.SH "uint TQFileInfo::size () const"
Returns the file size in bytes, or 0 if the file does not exist or if the size is 0 or if the size cannot be fetched.
.PP
-Example: qdir/qdir.cpp.
+Example: tqdir/tqdir.cpp.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqfileinfo.html
+.BR http://doc.trolltech.com/tqfileinfo.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqfilepreview.3qt b/doc/man/man3/tqfilepreview.3qt
index 5dff206d4..0859bdb6a 100644
--- a/doc/man/man3/tqfilepreview.3qt
+++ b/doc/man/man3/tqfilepreview.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QFilePreview 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQFilePreview 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,41 +7,41 @@
.ad l
.nh
.SH NAME
-QFilePreview \- File previewing in QFileDialog
+TQFilePreview \- File previewing in TQFileDialog
.SH SYNOPSIS
-\fC#include \fR
+\fC#include \fR
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQFilePreview\fR ()"
+.BI "\fBTQFilePreview\fR ()"
.br
.ti -1c
-.BI "virtual void \fBpreviewUrl\fR ( const QUrl & url ) = 0"
+.BI "virtual void \fBpreviewUrl\fR ( const TQUrl & url ) = 0"
.br
.in -1c
.SH DESCRIPTION
-The QFilePreview class provides file previewing in QFileDialog.
+The TQFilePreview class provides file previewing in TQFileDialog.
.PP
-This class is an abstract base class which is used to implement widgets that can display a preview of a file in a QFileDialog.
+This class is an abstract base class which is used to implement widgets that can display a preview of a file in a TQFileDialog.
.PP
You must derive the preview widget from both TQWidget and from this class. Then you must reimplement this class's previewUrl() function, which is called by the file dialog if the preview of a file (specified as a URL) should be shown.
.PP
-See also QFileDialog::setPreviewMode(), QFileDialog::setContentsPreview(), QFileDialog::setInfoPreview(), QFileDialog::setInfoPreviewEnabled(), QFileDialog::setContentsPreviewEnabled().
+See also TQFileDialog::setPreviewMode(), TQFileDialog::setContentsPreview(), TQFileDialog::setInfoPreview(), TQFileDialog::setInfoPreviewEnabled(), TQFileDialog::setContentsPreviewEnabled().
.PP
-For an example of a preview widget see qt/examples/qdir/qdir.cpp.
+For an example of a preview widget see qt/examples/tqdir/tqdir.cpp.
.PP
See also Miscellaneous Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QFilePreview::QFilePreview ()"
-Constructs the QFilePreview.
-.SH "void QFilePreview::previewUrl ( const QUrl & url )\fC [pure virtual]\fR"
-This function is called by QFileDialog if a preview
+.SH "TQFilePreview::TQFilePreview ()"
+Constructs the TQFilePreview.
+.SH "void TQFilePreview::previewUrl ( const TQUrl & url )\fC [pure virtual]\fR"
+This function is called by TQFileDialog if a preview
for the \fIurl\fR should be shown. Reimplement this
function to provide file previewing.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qfilepreview.html
+.BR http://doc.trolltech.com/tqfilepreview.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqfont.3qt b/doc/man/man3/tqfont.3qt
index 2f7754e01..b1bbd9a06 100644
--- a/doc/man/man3/tqfont.3qt
+++ b/doc/man/man3/tqfont.3qt
@@ -218,10 +218,10 @@ QFont \- Font used for drawing text
.SH RELATED FUNCTION DOCUMENTATION
.in +1c
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const QFont & font )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QFont & font )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( QDataStream & s, QFont & font )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, QFont & font )"
.br
.in -1c
.SH DESCRIPTION
@@ -249,7 +249,7 @@ If the requested font family is unavailable you can influence the font matching
.PP
The font-matching algorithm has a lastResortFamily() and lastResortFont() in cases where a suitable match cannot be found. You can provide substitutions for font family names using insertSubstitution() and insertSubstitutions(). Substitutions can be removed with removeSubstitution(). Use substitute() to retrieve a family's first substitute, or the family name itself if it has no substitutes. Use substitutes() to retrieve a list of a family's substitutes (which may be empty).
.PP
-Every QFont has a key() which you can use, for example, as the key in a cache or dictionary. If you want to store a user's font preferences you could use QSettings, writing the font information with toString() and reading it back with fromString(). The operator<<() and operator>>() functions are also available, but they work on a data stream.
+Every QFont has a key() which you can use, for example, as the key in a cache or dictionary. If you want to store a user's font preferences you could use TQSettings, writing the font information with toString() and reading it back with fromString(). The operator<<() and operator>>() functions are also available, but they work on a data stream.
.PP
It is possible to set the height of characters shown on the screen to a specified number of pixels with setPixelSize(); however using setPointSize() has a similar effect and provides device independence.
.PP
@@ -722,7 +722,7 @@ If \fIenable\fR is TRUE, italic is set on; otherwise italic is set off.
See also italic() and QFontInfo.
.PP
Examples:
-.)l fileiconview/qfileiconview.cpp, fonts/simple-qfont-demo/viewer.cpp, and themes/metal.cpp.
+.)l fileiconview/tqfileiconview.cpp, fonts/simple-qfont-demo/viewer.cpp, and themes/metal.cpp.
.SH "void QFont::setOverline ( bool enable )"
If \fIenable\fR is TRUE, sets overline on; otherwise sets overline off.
.PP
@@ -850,7 +850,7 @@ Returns a sorted list of substituted family names.
.PP
See also insertSubstitution(), removeSubstitution(), and substitute().
.SH "TQString QFont::toString () const"
-Returns a description of the font. The description is a comma-separated list of the attributes, perfectly suited for use in QSettings.
+Returns a description of the font. The description is a comma-separated list of the attributes, perfectly suited for use in TQSettings.
.PP
See also fromString() and operator<<().
.SH "bool QFont::underline () const"
@@ -862,14 +862,14 @@ Returns the weight of the font which is one of the enumerated values from QFont:
.PP
See also setWeight(), Weight, and QFontInfo.
.SH RELATED FUNCTION DOCUMENTATION
-.SH "QDataStream & operator<< ( QDataStream & s, const QFont & font )"
+.SH "TQDataStream & operator<< ( TQDataStream & s, const QFont & font )"
Writes the font \fIfont\fR to the data stream \fIs\fR. (toString() writes to a text stream.)
.PP
-See also Format of the QDataStream operators.
-.SH "QDataStream & operator>> ( QDataStream & s, QFont & font )"
+See also Format of the TQDataStream operators.
+.SH "TQDataStream & operator>> ( TQDataStream & s, QFont & font )"
Reads the font \fIfont\fR from the data stream \fIs\fR. (fromString() reads from a text stream.)
.PP
-See also Format of the QDataStream operators.
+See also Format of the TQDataStream operators.
.SH "SEE ALSO"
.BR http://doc.trolltech.com/ntqfont.html
diff --git a/doc/man/man3/tqftp.3qt b/doc/man/man3/tqftp.3qt
index 778cf38a3..60fe27c40 100644
--- a/doc/man/man3/tqftp.3qt
+++ b/doc/man/man3/tqftp.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QFtp 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQFtp 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,22 +7,22 @@
.ad l
.nh
.SH NAME
-QFtp \- Implementation of the FTP protocol
+TQFtp \- Implementation of the FTP protocol
.SH SYNOPSIS
-\fC#include \fR
+\fC#include \fR
.PP
-Inherits QNetworkProtocol.
+Inherits TQNetworkProtocol.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQFtp\fR ()"
+.BI "\fBTQFtp\fR ()"
.br
.ti -1c
-.BI "\fBQFtp\fR ( TQObject * parent, const char * name = 0 )"
+.BI "\fBTQFtp\fR ( TQObject * parent, const char * name = 0 )"
.br
.ti -1c
-.BI "virtual \fB~QFtp\fR ()"
+.BI "virtual \fB~TQFtp\fR ()"
.br
.ti -1c
.BI "enum \fBState\fR { Unconnected, HostLookup, Connecting, Connected, LoggedIn, Closing }"
@@ -118,7 +118,7 @@ Inherits QNetworkProtocol.
.BI "void \fBstateChanged\fR ( int state )"
.br
.ti -1c
-.BI "void \fBlistInfo\fR ( const QUrlInfo & i )"
+.BI "void \fBlistInfo\fR ( const TQUrlInfo & i )"
.br
.ti -1c
.BI "void \fBreadyRead\fR ()"
@@ -140,23 +140,23 @@ Inherits QNetworkProtocol.
.br
.in -1c
.SH DESCRIPTION
-The QFtp class provides an implementation of the FTP protocol.
+The TQFtp class provides an implementation of the FTP protocol.
.PP
-This class provides two different interfaces: one is the QNetworkProtocol interface that allows you to use FTP through the QUrlOperator abstraction. The other is a direct interface to FTP that gives you lower-level access to the FTP protocol for finer control. Using the direct interface you can also execute arbitrary FTP commands.
+This class provides two different interfaces: one is the TQNetworkProtocol interface that allows you to use FTP through the TQUrlOperator abstraction. The other is a direct interface to FTP that gives you lower-level access to the FTP protocol for finer control. Using the direct interface you can also execute arbitrary FTP commands.
.PP
Don't mix the two interfaces, since the behavior is not well-defined.
.PP
-If you want to use QFtp with the QNetworkProtocol interface, you do not use it directly, but rather through a QUrlOperator, for example:
+If you want to use TQFtp with the TQNetworkProtocol interface, you do not use it directly, but rather through a TQUrlOperator, for example:
.PP
.nf
.br
- QUrlOperator op( "ftp://ftp.trolltech.com" );
+ TQUrlOperator op( "ftp://ftp.trolltech.com" );
.br
op.listChildren(); // Asks the server to provide a directory listing
.br
.fi
.PP
-This code will only work if the QFtp class is registered; to register the class, you must call tqInitNetworkProtocols() before using a QUrlOperator with QFtp.
+This code will only work if the TQFtp class is registered; to register the class, you must call tqInitNetworkProtocols() before using a TQUrlOperator with TQFtp.
.PP
The rest of this descrption describes the direct interface to FTP.
.PP
@@ -170,7 +170,7 @@ In some cases, you might want to execute a sequence of commands, e.g. if you wan
.PP
.nf
.br
- QFtp *ftp = new QFtp( this ); // this is an optional TQObject parent
+ TQFtp *ftp = new TQFtp( this ); // this is an optional TQObject parent
.br
ftp->connectToHost( "ftp.trolltech.com" );
.br
@@ -287,78 +287,78 @@ The functions currentId() and currentCommand() provide more information about th
.PP
The functions hasPendingCommands() and clearPendingCommands() allow you to query and clear the list of pending commands.
.PP
-The safest and easiest way to use the FTP protocol is to use QUrlOperator() or the FTP commands described above. If you are an experienced network programmer and want to have complete control you can use rawCommand() to execute arbitrary FTP commands.
+The safest and easiest way to use the FTP protocol is to use TQUrlOperator() or the FTP commands described above. If you are an experienced network programmer and want to have complete control you can use rawCommand() to execute arbitrary FTP commands.
.PP
-See also TQt Network Documentation, QNetworkProtocol, QUrlOperator, QHttp, and Input/Output and Networking.
+See also TQt Network Documentation, TQNetworkProtocol, TQUrlOperator, TQHttp, and Input/Output and Networking.
.SS "Member Type Documentation"
-.SH "QFtp::Command"
+.SH "TQFtp::Command"
This enum is used as the return value for the currentCommand() function. This allows you to perform specific actions for particular commands, e.g. in a FTP client, you might want to clear the directory view when a list() command is started; in this case you can simply check in the slot connected to the start() signal if the currentCommand() is List.
.TP
-\fCQFtp::None\fR - No command is being executed.
+\fCTQFtp::None\fR - No command is being executed.
.TP
-\fCQFtp::ConnectToHost\fR - connectToHost() is being executed.
+\fCTQFtp::ConnectToHost\fR - connectToHost() is being executed.
.TP
-\fCQFtp::Login\fR - login() is being executed.
+\fCTQFtp::Login\fR - login() is being executed.
.TP
-\fCQFtp::Close\fR - close() is being executed.
+\fCTQFtp::Close\fR - close() is being executed.
.TP
-\fCQFtp::List\fR - list() is being executed.
+\fCTQFtp::List\fR - list() is being executed.
.TP
-\fCQFtp::Cd\fR - cd() is being executed.
+\fCTQFtp::Cd\fR - cd() is being executed.
.TP
-\fCQFtp::Get\fR - get() is being executed.
+\fCTQFtp::Get\fR - get() is being executed.
.TP
-\fCQFtp::Put\fR - put() is being executed.
+\fCTQFtp::Put\fR - put() is being executed.
.TP
-\fCQFtp::Remove\fR - remove() is being executed.
+\fCTQFtp::Remove\fR - remove() is being executed.
.TP
-\fCQFtp::Mkdir\fR - mkdir() is being executed.
+\fCTQFtp::Mkdir\fR - mkdir() is being executed.
.TP
-\fCQFtp::Rmdir\fR - rmdir() is being executed.
+\fCTQFtp::Rmdir\fR - rmdir() is being executed.
.TP
-\fCQFtp::Rename\fR - rename() is being executed.
+\fCTQFtp::Rename\fR - rename() is being executed.
.TP
-\fCQFtp::RawCommand\fR - rawCommand() is being executed.
+\fCTQFtp::RawCommand\fR - rawCommand() is being executed.
.PP
See also currentCommand().
-.SH "QFtp::Error"
+.SH "TQFtp::Error"
This enum identifies the error that occurred.
.TP
-\fCQFtp::NoError\fR - No error occurred.
+\fCTQFtp::NoError\fR - No error occurred.
.TP
-\fCQFtp::HostNotFound\fR - The host name lookup failed.
+\fCTQFtp::HostNotFound\fR - The host name lookup failed.
.TP
-\fCQFtp::ConnectionRefused\fR - The server refused the connection.
+\fCTQFtp::ConnectionRefused\fR - The server refused the connection.
.TP
-\fCQFtp::NotConnected\fR - Tried to send a command, but there is no connection to a server.
+\fCTQFtp::NotConnected\fR - Tried to send a command, but there is no connection to a server.
.TP
-\fCQFtp::UnknownError\fR - An error other than those specified above occurred.
+\fCTQFtp::UnknownError\fR - An error other than those specified above occurred.
.PP
See also error().
-.SH "QFtp::State"
+.SH "TQFtp::State"
This enum defines the connection state:
.TP
-\fCQFtp::Unconnected\fR - There is no connection to the host.
+\fCTQFtp::Unconnected\fR - There is no connection to the host.
.TP
-\fCQFtp::HostLookup\fR - A host name lookup is in progress.
+\fCTQFtp::HostLookup\fR - A host name lookup is in progress.
.TP
-\fCQFtp::Connecting\fR - An attempt to connect to the host is in progress.
+\fCTQFtp::Connecting\fR - An attempt to connect to the host is in progress.
.TP
-\fCQFtp::Connected\fR - Connection to the host has been achieved.
+\fCTQFtp::Connected\fR - Connection to the host has been achieved.
.TP
-\fCQFtp::LoggedIn\fR - Connection and user login have been achieved.
+\fCTQFtp::LoggedIn\fR - Connection and user login have been achieved.
.TP
-\fCQFtp::Closing\fR - The connection is closing down, but it is not yet closed. (The state will be Unconnected when the connection is closed.)
+\fCTQFtp::Closing\fR - The connection is closing down, but it is not yet closed. (The state will be Unconnected when the connection is closed.)
.PP
See also stateChanged() and state().
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QFtp::QFtp ()"
-Constructs a QFtp object.
-.SH "QFtp::QFtp ( TQObject * parent, const char * name = 0 )"
-Constructs a QFtp object. The \fIparent\fR and \fIname\fR parameters are passed to the TQObject constructor.
-.SH "QFtp::~QFtp ()\fC [virtual]\fR"
+.SH "TQFtp::TQFtp ()"
+Constructs a TQFtp object.
+.SH "TQFtp::TQFtp ( TQObject * parent, const char * name = 0 )"
+Constructs a TQFtp object. The \fIparent\fR and \fIname\fR parameters are passed to the TQObject constructor.
+.SH "TQFtp::~TQFtp ()\fC [virtual]\fR"
Destructor.
-.SH "void QFtp::abort ()\fC [slot]\fR"
+.SH "void TQFtp::abort ()\fC [slot]\fR"
Aborts the current command and deletes all scheduled commands.
.PP
If there is an unfinished command (i.e. a command for which the commandStarted() signal has been emitted, but for which the commandFinished() signal has not been emitted), this function sends an \fCABORT\fR command to the server. When the server replies that the command is aborted, the commandFinished() signal with the \fCerror\fR argument set to \fCTRUE\fR is emitted for the command. Due to timing issues, it is possible that the command had already finished before the abort request reached the server, in which case, the commandFinished() signal is emitted with the \fCerror\fR argument set to \fCFALSE\fR.
@@ -372,11 +372,11 @@ If you don't start further FTP commands directly after the abort(), there won't
See also clearPendingCommands().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "TQ_ULONG QFtp::bytesAvailable () const"
+.SH "TQ_ULONG TQFtp::bytesAvailable () const"
Returns the number of bytes that can be read from the data socket at the moment.
.PP
See also get(), readyRead(), readBlock(), and readAll().
-.SH "int QFtp::cd ( const TQString & dir )"
+.SH "int TQFtp::cd ( const TQString & dir )"
Changes the working directory of the server to \fIdir\fR.
.PP
The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by commandStarted() and commandFinished().
@@ -386,11 +386,11 @@ When the command is started the commandStarted() signal is emitted. When it is f
See also commandStarted() and commandFinished().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "void QFtp::clearPendingCommands ()"
+.SH "void TQFtp::clearPendingCommands ()"
Deletes all pending commands from the list of scheduled commands. This does not affect the command that is being executed. If you want to stop this this as well, use abort().
.PP
See also hasPendingCommands() and abort().
-.SH "int QFtp::close ()"
+.SH "int TQFtp::close ()"
Closes the connection to the FTP server.
.PP
The stateChanged() signal is emitted when the state of the connecting process changes, e.g. to Closing, then Unconnected.
@@ -402,19 +402,19 @@ When the command is started the commandStarted() signal is emitted. When it is f
See also stateChanged(), commandStarted(), and commandFinished().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "void QFtp::commandFinished ( int id, bool error )\fC [signal]\fR"
+.SH "void TQFtp::commandFinished ( int id, bool error )\fC [signal]\fR"
This signal is emitted when processing the command identified by \fIid\fR has finished. \fIerror\fR is TRUE if an error occurred during the processing; otherwise \fIerror\fR is FALSE.
.PP
See also commandStarted(), done(), error(), and errorString().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "void QFtp::commandStarted ( int id )\fC [signal]\fR"
+.SH "void TQFtp::commandStarted ( int id )\fC [signal]\fR"
This signal is emitted when processing the command identified by \fIid\fR starts.
.PP
See also commandFinished() and done().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "int QFtp::connectToHost ( const TQString & host, TQ_UINT16 port = 21 )"
+.SH "int TQFtp::connectToHost ( const TQString & host, TQ_UINT16 port = 21 )"
Connects to the FTP server \fIhost\fR using port \fIport\fR.
.PP
The stateChanged() signal is emitted when the state of the connecting process changes, e.g. to HostLookup, then Connecting, then Connected.
@@ -426,13 +426,13 @@ When the command is started the commandStarted() signal is emitted. When it is f
See also stateChanged(), commandStarted(), and commandFinished().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "Command QFtp::currentCommand () const"
+.SH "Command TQFtp::currentCommand () const"
Returns the command type of the FTP command being executed or None if there is no command being executed.
.PP
See also currentId().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "TQIODevice * QFtp::currentDevice () const"
+.SH "TQIODevice * TQFtp::currentDevice () const"
Returns the TQIODevice pointer that is used by the FTP command to read data from or store data to. If there is no current FTP command being executed or if the command does not use an IO device, this function returns 0.
.PP
This function can be used to delete the TQIODevice in the slot connected to the commandFinished() signal.
@@ -440,37 +440,37 @@ This function can be used to delete the TQIODevice in the slot connected to the
See also get() and put().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "int QFtp::currentId () const"
+.SH "int TQFtp::currentId () const"
Returns the identifier of the FTP command that is being executed or 0 if there is no command being executed.
.PP
See also currentCommand().
-.SH "void QFtp::dataTransferProgress ( int done, int total )\fC [signal]\fR"
+.SH "void TQFtp::dataTransferProgress ( int done, int total )\fC [signal]\fR"
This signal is emitted in response to a get() or put() request to indicate the current progress of the download or upload.
.PP
-\fIdone\fR is the amount of data that has already been transferred and \fItotal\fR is the total amount of data to be read or written. It is possible that the QFtp class is not able to determine the total amount of data that should be transferred, in which case \fItotal\fR is 0. (If you connect this signal to a QProgressBar, the progress bar shows a busy indicator if the total is 0).
+\fIdone\fR is the amount of data that has already been transferred and \fItotal\fR is the total amount of data to be read or written. It is possible that the TQFtp class is not able to determine the total amount of data that should be transferred, in which case \fItotal\fR is 0. (If you connect this signal to a QProgressBar, the progress bar shows a busy indicator if the total is 0).
.PP
\fBWarning:\fR \fIdone\fR and \fItotal\fR are not necessarily the size in bytes, since for large files these values might need to be" scaled" to avoid overflow.
.PP
See also get(), put(), and QProgressBar::progress.
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "void QFtp::done ( bool error )\fC [signal]\fR"
+.SH "void TQFtp::done ( bool error )\fC [signal]\fR"
This signal is emitted when the last pending command has finished; (it is emitted after the last command's commandFinished() signal). \fIerror\fR is TRUE if an error occurred during the processing; otherwise \fIerror\fR is FALSE.
.PP
See also commandFinished(), error(), and errorString().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "Error QFtp::error () const"
+.SH "Error TQFtp::error () const"
Returns the last error that occurred. This is useful to find out what when wrong when receiving a commandFinished() or a done() signal with the \fCerror\fR argument set to \fCTRUE\fR.
.PP
If you start a new command, the error status is reset to NoError.
-.SH "TQString QFtp::errorString () const"
+.SH "TQString TQFtp::errorString () const"
Returns a human-readable description of the last error that occurred. This is useful for presenting a error message to the user when receiving a commandFinished() or a done() signal with the \fCerror\fR argument set to \fCTRUE\fR.
.PP
The error string is often (but not always) the reply from the server, so it is not always possible to translate the string. If the message comes from Qt, the string has already passed through tr().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "int QFtp::get ( const TQString & file, TQIODevice * dev = 0 )"
+.SH "int TQFtp::get ( const TQString & file, TQIODevice * dev = 0 )"
Downloads the file \fIfile\fR from the server.
.PP
If \fIdev\fR is 0, then the readyRead() signal is emitted when there is data available to read. You can then read the data with the readBlock() or readAll() functions.
@@ -488,13 +488,13 @@ When the command is started the commandStarted() signal is emitted. When it is f
See also readyRead(), dataTransferProgress(), commandStarted(), and commandFinished().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "bool QFtp::hasPendingCommands () const"
+.SH "bool TQFtp::hasPendingCommands () const"
Returns TRUE if there are any commands scheduled that have not yet been executed; otherwise returns FALSE.
.PP
The command that is being executed is \fInot\fR considered as a scheduled command.
.PP
See also clearPendingCommands(), currentId(), and currentCommand().
-.SH "int QFtp::list ( const TQString & dir = TQString::null )"
+.SH "int TQFtp::list ( const TQString & dir = TQString::null )"
Lists the contents of directory \fIdir\fR on the FTP server. If \fIdir\fR is empty, it lists the contents of the current directory.
.PP
The listInfo() signal is emitted for each directory entry found.
@@ -506,13 +506,13 @@ When the command is started the commandStarted() signal is emitted. When it is f
See also listInfo(), commandStarted(), and commandFinished().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "void QFtp::listInfo ( const QUrlInfo & i )\fC [signal]\fR"
+.SH "void TQFtp::listInfo ( const TQUrlInfo & i )\fC [signal]\fR"
This signal is emitted for each directory entry the list() command finds. The details of the entry are stored in \fIi\fR.
.PP
See also list().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "int QFtp::login ( const TQString & user = TQString::null, const TQString & password = TQString::null )"
+.SH "int TQFtp::login ( const TQString & user = TQString::null, const TQString & password = TQString::null )"
Logs in to the FTP server with the username \fIuser\fR and the password \fIpassword\fR.
.PP
The stateChanged() signal is emitted when the state of the connecting process changes, e.g. to LoggedIn.
@@ -524,7 +524,7 @@ When the command is started the commandStarted() signal is emitted. When it is f
See also commandStarted() and commandFinished().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "int QFtp::mkdir ( const TQString & dir )"
+.SH "int TQFtp::mkdir ( const TQString & dir )"
Creates a directory called \fIdir\fR on the server.
.PP
The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by commandStarted() and commandFinished().
@@ -532,13 +532,13 @@ The function does not block and returns immediately. The command is scheduled, a
When the command is started the commandStarted() signal is emitted. When it is finished the commandFinished() signal is emitted.
.PP
See also commandStarted() and commandFinished().
-.SH "int QFtp::put ( TQIODevice * dev, const TQString & file )"
+.SH "int TQFtp::put ( TQIODevice * dev, const TQString & file )"
Reads the data from the IO device \fIdev\fR, and writes it to the file called \fIfile\fR on the server. The data is read in chunks from the IO device, so this overload allows you to transmit large amounts of data without the need to read all the data into memory at once.
.PP
Make sure that the \fIdev\fR pointer is valid for the duration of the operation (it is safe to delete it when the commandFinished() is emitted).
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "int QFtp::put ( const TQByteArray & data, const TQString & file )"
+.SH "int TQFtp::put ( const TQByteArray & data, const TQString & file )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes the data \fIdata\fR to the file called \fIfile\fR on the server. The progress of the upload is reported by the dataTransferProgress() signal.
@@ -548,8 +548,8 @@ The function does not block and returns immediately. The command is scheduled, a
When the command is started the commandStarted() signal is emitted. When it is finished the commandFinished() signal is emitted.
.PP
See also dataTransferProgress(), commandStarted(), and commandFinished().
-.SH "int QFtp::rawCommand ( const TQString & command )"
-Sends the raw FTP command \fIcommand\fR to the FTP server. This is useful for low-level FTP access. If the operation you wish to perform has an equivalent QFtp function, we recommend using the function instead of raw FTP commands since the functions are easier and safer.
+.SH "int TQFtp::rawCommand ( const TQString & command )"
+Sends the raw FTP command \fIcommand\fR to the FTP server. This is useful for low-level FTP access. If the operation you wish to perform has an equivalent TQFtp function, we recommend using the function instead of raw FTP commands since the functions are easier and safer.
.PP
The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by commandStarted() and commandFinished().
.PP
@@ -558,21 +558,21 @@ When the command is started the commandStarted() signal is emitted. When it is f
See also rawCommandReply(), commandStarted(), and commandFinished().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "void QFtp::rawCommandReply ( int replyCode, const TQString & detail )\fC [signal]\fR"
+.SH "void TQFtp::rawCommandReply ( int replyCode, const TQString & detail )\fC [signal]\fR"
This signal is emitted in response to the rawCommand() function. \fIreplyCode\fR is the 3 digit reply code and \fIdetail\fR is the text that follows the reply code.
.PP
See also rawCommand().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "TQByteArray QFtp::readAll ()"
+.SH "TQByteArray TQFtp::readAll ()"
Reads all the bytes available from the data socket and returns them.
.PP
See also get(), readyRead(), bytesAvailable(), and readBlock().
-.SH "TQ_LONG QFtp::readBlock ( char * data, TQ_ULONG maxlen )"
+.SH "TQ_LONG TQFtp::readBlock ( char * data, TQ_ULONG maxlen )"
Reads \fImaxlen\fR bytes from the data socket into \fIdata\fR and returns the number of bytes read. Returns -1 if an error occurred.
.PP
See also get(), readyRead(), bytesAvailable(), and readAll().
-.SH "void QFtp::readyRead ()\fC [signal]\fR"
+.SH "void TQFtp::readyRead ()\fC [signal]\fR"
This signal is emitted in response to a get() command when there is new data to read.
.PP
If you specify a device as the second argument in the get() command, this signal is \fInot\fR emitted; instead the data is written directly to the device.
@@ -582,7 +582,7 @@ You can read the data with the readAll() or readBlock() functions.
This signal is useful if you want to process the data in chunks as soon as it becomes available. If you are only interested in the complete data, just connect to the commandFinished() signal and read the data then instead.
.PP
See also get(), readBlock(), readAll(), and bytesAvailable().
-.SH "int QFtp::remove ( const TQString & file )"
+.SH "int TQFtp::remove ( const TQString & file )"
Deletes the file called \fIfile\fR from the server.
.PP
The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by commandStarted() and commandFinished().
@@ -592,7 +592,7 @@ When the command is started the commandStarted() signal is emitted. When it is f
See also commandStarted() and commandFinished().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "int QFtp::rename ( const TQString & oldname, const TQString & newname )"
+.SH "int TQFtp::rename ( const TQString & oldname, const TQString & newname )"
Renames the file called \fIoldname\fR to \fInewname\fR on the server.
.PP
The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by commandStarted() and commandFinished().
@@ -600,7 +600,7 @@ The function does not block and returns immediately. The command is scheduled, a
When the command is started the commandStarted() signal is emitted. When it is finished the commandFinished() signal is emitted.
.PP
See also commandStarted() and commandFinished().
-.SH "int QFtp::rmdir ( const TQString & dir )"
+.SH "int TQFtp::rmdir ( const TQString & dir )"
Removes the directory called \fIdir\fR from the server.
.PP
The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by commandStarted() and commandFinished().
@@ -608,13 +608,13 @@ The function does not block and returns immediately. The command is scheduled, a
When the command is started the commandStarted() signal is emitted. When it is finished the commandFinished() signal is emitted.
.PP
See also commandStarted() and commandFinished().
-.SH "State QFtp::state () const"
+.SH "State TQFtp::state () const"
Returns the current state of the object. When the state changes, the stateChanged() signal is emitted.
.PP
See also State and stateChanged().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "void QFtp::stateChanged ( int state )\fC [signal]\fR"
+.SH "void TQFtp::stateChanged ( int state )\fC [signal]\fR"
This signal is emitted when the state of the connection changes. The argument \fIstate\fR is the new state of the connection; it is one of the State values.
.PP
It is usually emitted in response to a connectToHost() or close() command, but it can also be emitted "spontaneously", e.g. when the server closes the connection unexpectedly.
@@ -624,7 +624,7 @@ See also connectToHost(), close(), state(), and State.
Example: network/ftpclient/ftpmainwindow.ui.h.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqftp.html
+.BR http://doc.trolltech.com/tqftp.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqhbox.3qt b/doc/man/man3/tqhbox.3qt
index f3edd2824..e92e26a4e 100644
--- a/doc/man/man3/tqhbox.3qt
+++ b/doc/man/man3/tqhbox.3qt
@@ -60,7 +60,7 @@ The \fIparent\fR, \fIname\fR and widget flags, \fIf\fR, are passed to the QFrame
Sets the spacing between the child widgets to \fIspace\fR.
.PP
Examples:
-.)l i18n/mywidget.cpp, listboxcombo/listboxcombo.cpp, qdir/qdir.cpp, tabdialog/tabdialog.cpp, wizard/wizard.cpp, and xform/xform.cpp.
+.)l i18n/mywidget.cpp, listboxcombo/listboxcombo.cpp, tqdir/tqdir.cpp, tabdialog/tabdialog.cpp, wizard/wizard.cpp, and xform/xform.cpp.
.SH "bool QHBox::setStretchFactor ( TQWidget * w, int stretch )"
Sets the stretch factor of widget \fIw\fR to \fIstretch\fR. Returns TRUE if \fIw\fR is found. Otherwise returns FALSE.
.PP
diff --git a/doc/man/man3/tqhostaddress.3qt b/doc/man/man3/tqhostaddress.3qt
index 3c3bf83c0..49f2f5ad3 100644
--- a/doc/man/man3/tqhostaddress.3qt
+++ b/doc/man/man3/tqhostaddress.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QHostAddress 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQHostAddress 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,32 +7,32 @@
.ad l
.nh
.SH NAME
-QHostAddress \- IP address
+TQHostAddress \- IP address
.SH SYNOPSIS
-\fC#include \fR
+\fC#include \fR
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQHostAddress\fR ()"
+.BI "\fBTQHostAddress\fR ()"
.br
.ti -1c
-.BI "\fBQHostAddress\fR ( TQ_UINT32 ip4Addr )"
+.BI "\fBTQHostAddress\fR ( TQ_UINT32 ip4Addr )"
.br
.ti -1c
-.BI "\fBQHostAddress\fR ( TQ_UINT8 * ip6Addr )"
+.BI "\fBTQHostAddress\fR ( TQ_UINT8 * ip6Addr )"
.br
.ti -1c
-.BI "\fBQHostAddress\fR ( const Q_IPV6ADDR & ip6Addr )"
+.BI "\fBTQHostAddress\fR ( const Q_IPV6ADDR & ip6Addr )"
.br
.ti -1c
-.BI "\fBQHostAddress\fR ( const QHostAddress & address )"
+.BI "\fBTQHostAddress\fR ( const TQHostAddress & address )"
.br
.ti -1c
-.BI "virtual \fB~QHostAddress\fR ()"
+.BI "virtual \fB~TQHostAddress\fR ()"
.br
.ti -1c
-.BI "QHostAddress & \fBoperator=\fR ( const QHostAddress & address )"
+.BI "TQHostAddress & \fBoperator=\fR ( const TQHostAddress & address )"
.br
.ti -1c
.BI "void \fBsetAddress\fR ( TQ_UINT32 ip4Addr )"
@@ -65,68 +65,68 @@ QHostAddress \- IP address
.BI "TQString \fBtoString\fR () const"
.br
.ti -1c
-.BI "bool \fBoperator==\fR ( const QHostAddress & other ) const"
+.BI "bool \fBoperator==\fR ( const TQHostAddress & other ) const"
.br
.ti -1c
.BI "bool \fBisNull\fR () const"
.br
.in -1c
.SH DESCRIPTION
-The QHostAddress class provides an IP address.
+The TQHostAddress class provides an IP address.
.PP
This class contains an IP address in a platform and protocol independent manner. It stores both IPv4 and IPv6 addresses in a way that you can easily access on any platform.
.PP
-QHostAddress is normally used with the classes QSocket, QServerSocket and QSocketDevice to set up a server or to connect to a host.
+TQHostAddress is normally used with the classes TQSocket, TQServerSocket and TQSocketDevice to set up a server or to connect to a host.
.PP
Host addresses may be set with setAddress() and retrieved with ip4Addr() or toString().
.PP
-See also QSocket, QServerSocket, QSocketDevice, and Input/Output and Networking.
+See also TQSocket, TQServerSocket, TQSocketDevice, and Input/Output and Networking.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QHostAddress::QHostAddress ()"
+.SH "TQHostAddress::TQHostAddress ()"
Creates a host address object with the IP address 0.0.0.0.
-.SH "QHostAddress::QHostAddress ( TQ_UINT32 ip4Addr )"
+.SH "TQHostAddress::TQHostAddress ( TQ_UINT32 ip4Addr )"
Creates a host address object for the IPv4 address \fIip4Addr\fR.
-.SH "QHostAddress::QHostAddress ( TQ_UINT8 * ip6Addr )"
+.SH "TQHostAddress::TQHostAddress ( TQ_UINT8 * ip6Addr )"
Creates a host address object with the specified IPv6 address.
.PP
\fIip6Addr\fR must be a 16 byte array in network byte order (high-order byte first).
-.SH "QHostAddress::QHostAddress ( const Q_IPV6ADDR & ip6Addr )"
+.SH "TQHostAddress::TQHostAddress ( const Q_IPV6ADDR & ip6Addr )"
Creates a host address object with the IPv6 address, \fIip6Addr\fR.
-.SH "QHostAddress::QHostAddress ( const QHostAddress & address )"
+.SH "TQHostAddress::TQHostAddress ( const TQHostAddress & address )"
Creates a copy of \fIaddress\fR.
-.SH "QHostAddress::~QHostAddress ()\fC [virtual]\fR"
+.SH "TQHostAddress::~TQHostAddress ()\fC [virtual]\fR"
Destroys the host address object.
-.SH "TQ_UINT32 QHostAddress::ip4Addr () const"
+.SH "TQ_UINT32 TQHostAddress::ip4Addr () const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Use toIPv4Address() instead.
-.SH "bool QHostAddress::isIPv4Address () const"
+.SH "bool TQHostAddress::isIPv4Address () const"
Returns TRUE if the host address represents an IPv4 address; otherwise returns FALSE.
-.SH "bool QHostAddress::isIPv6Address () const"
+.SH "bool TQHostAddress::isIPv6Address () const"
Returns TRUE if the host address represents an IPv6 address; otherwise returns FALSE.
-.SH "bool QHostAddress::isIp4Addr () const"
+.SH "bool TQHostAddress::isIp4Addr () const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Use isIPv4Address() instead.
-.SH "bool QHostAddress::isNull () const"
+.SH "bool TQHostAddress::isNull () const"
Returns TRUE if this host address is null (INADDR_ANY or in6addr_any). The default constructor creates a null address, and that address isn't valid for any particular host or interface.
-.SH "QHostAddress & QHostAddress::operator= ( const QHostAddress & address )"
+.SH "TQHostAddress & TQHostAddress::operator= ( const TQHostAddress & address )"
Assigns another host address object \fIaddress\fR to this object and returns a reference to this object.
-.SH "bool QHostAddress::operator== ( const QHostAddress & other ) const"
+.SH "bool TQHostAddress::operator== ( const TQHostAddress & other ) const"
Returns TRUE if this host address is the same as \fIother\fR; otherwise returns FALSE.
-.SH "void QHostAddress::setAddress ( TQ_UINT32 ip4Addr )"
+.SH "void TQHostAddress::setAddress ( TQ_UINT32 ip4Addr )"
Set the IPv4 address specified by \fIip4Addr\fR.
-.SH "void QHostAddress::setAddress ( TQ_UINT8 * ip6Addr )"
+.SH "void TQHostAddress::setAddress ( TQ_UINT8 * ip6Addr )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Set the IPv6 address specified by \fIip6Addr\fR.
.PP
\fIip6Addr\fR must be a 16 byte array in network byte order (high-order byte first).
-.SH "bool QHostAddress::setAddress ( const TQString & address )"
+.SH "bool TQHostAddress::setAddress ( const TQString & address )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Sets the IPv4 or IPv6 address specified by the string representation \fIaddress\fR (e.g. "127.0.0.1"). Returns TRUE and sets the address if the address was successfully parsed; otherwise returns FALSE and leaves the address unchanged.
-.SH "TQ_UINT32 QHostAddress::toIPv4Address () const"
+.SH "TQ_UINT32 TQHostAddress::toIPv4Address () const"
Returns the IPv4 address as a number.
.PP
For example, if the address is 127.0.0.1, the returned value is 2130706433 (i.e. 0x7f000001).
@@ -134,7 +134,7 @@ For example, if the address is 127.0.0.1, the returned value is 2130706433 (i.e.
This value is only valid when isIp4Addr() returns TRUE.
.PP
See also toString().
-.SH "Q_IPV6ADDR QHostAddress::toIPv6Address () const"
+.SH "Q_IPV6ADDR TQHostAddress::toIPv6Address () const"
Returns the IPv6 address as a Q_IPV6ADDR structure. The structure consists of 16 unsigned characters.
.PP
.nf
@@ -155,7 +155,7 @@ Returns the IPv6 address as a Q_IPV6ADDR structure. The structure consists of 16
This value is only valid when isIPv6Address() returns TRUE.
.PP
See also toString().
-.SH "TQString QHostAddress::toString () const"
+.SH "TQString TQHostAddress::toString () const"
Returns the address as a string.
.PP
For example, if the address is the IPv4 address 127.0.0.1, the returned string is "127.0.0.1".
@@ -163,7 +163,7 @@ For example, if the address is the IPv4 address 127.0.0.1, the returned string i
See also ip4Addr().
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqhostaddress.html
+.BR http://doc.trolltech.com/tqhostaddress.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqhttp.3qt b/doc/man/man3/tqhttp.3qt
index 7e1409741..050677ed2 100644
--- a/doc/man/man3/tqhttp.3qt
+++ b/doc/man/man3/tqhttp.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QHttp 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQHttp 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,25 +7,25 @@
.ad l
.nh
.SH NAME
-QHttp \- Implementation of the HTTP protocol
+TQHttp \- Implementation of the HTTP protocol
.SH SYNOPSIS
-\fC#include \fR
+\fC#include \fR
.PP
-Inherits QNetworkProtocol.
+Inherits TQNetworkProtocol.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQHttp\fR ()"
+.BI "\fBTQHttp\fR ()"
.br
.ti -1c
-.BI "\fBQHttp\fR ( TQObject * parent, const char * name = 0 )"
+.BI "\fBTQHttp\fR ( TQObject * parent, const char * name = 0 )"
.br
.ti -1c
-.BI "\fBQHttp\fR ( const TQString & hostname, TQ_UINT16 port = 80, TQObject * parent = 0, const char * name = 0 )"
+.BI "\fBTQHttp\fR ( const TQString & hostname, TQ_UINT16 port = 80, TQObject * parent = 0, const char * name = 0 )"
.br
.ti -1c
-.BI "virtual \fB~QHttp\fR ()"
+.BI "virtual \fB~TQHttp\fR ()"
.br
.ti -1c
.BI "enum \fBState\fR { Unconnected, HostLookup, Connecting, Sending, Reading, Connected, Closing }"
@@ -49,10 +49,10 @@ Inherits QNetworkProtocol.
.BI "int \fBhead\fR ( const TQString & path )"
.br
.ti -1c
-.BI "int \fBrequest\fR ( const QHttpRequestHeader & header, TQIODevice * data = 0, TQIODevice * to = 0 )"
+.BI "int \fBrequest\fR ( const TQHttpRequestHeader & header, TQIODevice * data = 0, TQIODevice * to = 0 )"
.br
.ti -1c
-.BI "int \fBrequest\fR ( const QHttpRequestHeader & header, const TQByteArray & data, TQIODevice * to = 0 )"
+.BI "int \fBrequest\fR ( const TQHttpRequestHeader & header, const TQByteArray & data, TQIODevice * to = 0 )"
.br
.ti -1c
.BI "int \fBcloseConnection\fR ()"
@@ -76,7 +76,7 @@ Inherits QNetworkProtocol.
.BI "TQIODevice * \fBcurrentDestinationDevice\fR () const"
.br
.ti -1c
-.BI "QHttpRequestHeader \fBcurrentRequest\fR () const"
+.BI "TQHttpRequestHeader \fBcurrentRequest\fR () const"
.br
.ti -1c
.BI "bool \fBhasPendingRequests\fR () const"
@@ -106,10 +106,10 @@ Inherits QNetworkProtocol.
.BI "void \fBstateChanged\fR ( int state )"
.br
.ti -1c
-.BI "void \fBresponseHeaderReceived\fR ( const QHttpResponseHeader & resp )"
+.BI "void \fBresponseHeaderReceived\fR ( const TQHttpResponseHeader & resp )"
.br
.ti -1c
-.BI "void \fBreadyRead\fR ( const QHttpResponseHeader & resp )"
+.BI "void \fBreadyRead\fR ( const TQHttpResponseHeader & resp )"
.br
.ti -1c
.BI "void \fBdataSendProgress\fR ( int done, int total )"
@@ -128,25 +128,25 @@ Inherits QNetworkProtocol.
.br
.in -1c
.SH DESCRIPTION
-The QHttp class provides an implementation of the HTTP protocol.
+The TQHttp class provides an implementation of the HTTP protocol.
.PP
-This class provides two different interfaces: one is the QNetworkProtocol interface that allows you to use HTTP through the QUrlOperator abstraction. The other is a direct interface to HTTP that allows you to have more control over the requests and that allows you to access the response header fields.
+This class provides two different interfaces: one is the TQNetworkProtocol interface that allows you to use HTTP through the TQUrlOperator abstraction. The other is a direct interface to HTTP that allows you to have more control over the requests and that allows you to access the response header fields.
.PP
Don't mix the two interfaces, since the behavior is not well-defined.
.PP
-If you want to use QHttp with the QNetworkProtocol interface, you do not use it directly, but rather through a QUrlOperator, for example:
+If you want to use TQHttp with the TQNetworkProtocol interface, you do not use it directly, but rather through a TQUrlOperator, for example:
.PP
.nf
.br
- QUrlOperator op( "http://www.trolltech.com" );
+ TQUrlOperator op( "http://www.trolltech.com" );
.br
op.get( "index.html" );
.br
.fi
.PP
-This code will only work if the QHttp class is registered; to register the class, you must call tqInitNetworkProtocols() before using a QUrlOperator with HTTP.
+This code will only work if the TQHttp class is registered; to register the class, you must call tqInitNetworkProtocols() before using a TQUrlOperator with HTTP.
.PP
-The QNetworkProtocol interface for HTTP only supports the operations operationGet() and operationPut(), i.e. QUrlOperator::get() and QUrlOperator::put(), if you use it with a QUrlOperator.
+The TQNetworkProtocol interface for HTTP only supports the operations operationGet() and operationPut(), i.e. TQUrlOperator::get() and TQUrlOperator::put(), if you use it with a TQUrlOperator.
.PP
The rest of this descrption describes the direct interface to HTTP.
.PP
@@ -160,7 +160,7 @@ To make an HTTP request you must set up suitable HTTP headers. The following exa
.PP
.nf
.br
- QHttpRequestHeader header( "GET", "/index.html" );
+ TQHttpRequestHeader header( "GET", "/index.html" );
.br
header.setValue( "Host", "www.trolltech.com" );
.br
@@ -170,7 +170,7 @@ To make an HTTP request you must set up suitable HTTP headers. The following exa
.br
.fi
.PP
-For the common HTTP requests \fCGET\fR, \fCPOST\fR and \fCHEAD\fR, QHttp provides the convenience functions get(), post() and head(). They already use a reasonable header and if you don't have to set special header fields, they are easier to use. The above example can also be written as:
+For the common HTTP requests \fCGET\fR, \fCPOST\fR and \fCHEAD\fR, TQHttp provides the convenience functions get(), post() and head(). They already use a reasonable header and if you don't have to set special header fields, they are easier to use. The above example can also be written as:
.PP
.nf
.br
@@ -272,58 +272,58 @@ The functions currentId() and currentRequest() provide more information about th
.PP
The functions hasPendingRequests() and clearPendingRequests() allow you to query and clear the list of pending requests.
.PP
-See also TQt Network Documentation, QNetworkProtocol, QUrlOperator, QFtp, and Input/Output and Networking.
+See also TQt Network Documentation, TQNetworkProtocol, TQUrlOperator, TQFtp, and Input/Output and Networking.
.SS "Member Type Documentation"
-.SH "QHttp::Error"
+.SH "TQHttp::Error"
This enum identifies the error that occurred.
.TP
-\fCQHttp::NoError\fR - No error occurred.
+\fCTQHttp::NoError\fR - No error occurred.
.TP
-\fCQHttp::HostNotFound\fR - The host name lookup failed.
+\fCTQHttp::HostNotFound\fR - The host name lookup failed.
.TP
-\fCQHttp::ConnectionRefused\fR - The server refused the connection.
+\fCTQHttp::ConnectionRefused\fR - The server refused the connection.
.TP
-\fCQHttp::UnexpectedClose\fR - The server closed the connection unexpectedly.
+\fCTQHttp::UnexpectedClose\fR - The server closed the connection unexpectedly.
.TP
-\fCQHttp::InvalidResponseHeader\fR - The server sent an invalid response header.
+\fCTQHttp::InvalidResponseHeader\fR - The server sent an invalid response header.
.TP
-\fCQHttp::WrongContentLength\fR - The client could not read the content correctly because an error with respect to the content length occurred.
+\fCTQHttp::WrongContentLength\fR - The client could not read the content correctly because an error with respect to the content length occurred.
.TP
-\fCQHttp::Aborted\fR - The request was aborted with abort().
+\fCTQHttp::Aborted\fR - The request was aborted with abort().
.TP
-\fCQHttp::UnknownError\fR - An error other than those specified above occurred.
+\fCTQHttp::UnknownError\fR - An error other than those specified above occurred.
.PP
See also error().
-.SH "QHttp::State"
+.SH "TQHttp::State"
This enum is used to specify the state the client is in:
.TP
-\fCQHttp::Unconnected\fR - There is no connection to the host.
+\fCTQHttp::Unconnected\fR - There is no connection to the host.
.TP
-\fCQHttp::HostLookup\fR - A host name lookup is in progress.
+\fCTQHttp::HostLookup\fR - A host name lookup is in progress.
.TP
-\fCQHttp::Connecting\fR - An attempt to connect to the host is in progress.
+\fCTQHttp::Connecting\fR - An attempt to connect to the host is in progress.
.TP
-\fCQHttp::Sending\fR - The client is sending its request to the server.
+\fCTQHttp::Sending\fR - The client is sending its request to the server.
.TP
-\fCQHttp::Reading\fR - The client's request has been sent and the client is reading the server's response.
+\fCTQHttp::Reading\fR - The client's request has been sent and the client is reading the server's response.
.TP
-\fCQHttp::Connected\fR - The connection to the host is open, but the client is neither sending a request, nor waiting for a response.
+\fCTQHttp::Connected\fR - The connection to the host is open, but the client is neither sending a request, nor waiting for a response.
.TP
-\fCQHttp::Closing\fR - The connection is closing down, but is not yet closed. (The state will be Unconnected when the connection is closed.)
+\fCTQHttp::Closing\fR - The connection is closing down, but is not yet closed. (The state will be Unconnected when the connection is closed.)
.PP
See also stateChanged() and state().
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QHttp::QHttp ()"
-Constructs a QHttp object.
-.SH "QHttp::QHttp ( TQObject * parent, const char * name = 0 )"
-Constructs a QHttp object. The parameters \fIparent\fR and \fIname\fR are passed on to the TQObject constructor.
-.SH "QHttp::QHttp ( const TQString & hostname, TQ_UINT16 port = 80, TQObject * parent = 0, const char * name = 0 )"
-Constructs a QHttp object. Subsequent requests are done by connecting to the server \fIhostname\fR on port \fIport\fR. The parameters \fIparent\fR and \fIname\fR are passed on to the TQObject constructor.
+.SH "TQHttp::TQHttp ()"
+Constructs a TQHttp object.
+.SH "TQHttp::TQHttp ( TQObject * parent, const char * name = 0 )"
+Constructs a TQHttp object. The parameters \fIparent\fR and \fIname\fR are passed on to the TQObject constructor.
+.SH "TQHttp::TQHttp ( const TQString & hostname, TQ_UINT16 port = 80, TQObject * parent = 0, const char * name = 0 )"
+Constructs a TQHttp object. Subsequent requests are done by connecting to the server \fIhostname\fR on port \fIport\fR. The parameters \fIparent\fR and \fIname\fR are passed on to the TQObject constructor.
.PP
See also setHost().
-.SH "QHttp::~QHttp ()\fC [virtual]\fR"
-Destroys the QHttp object. If there is an open connection, it is closed.
-.SH "void QHttp::abort ()\fC [slot]\fR"
+.SH "TQHttp::~TQHttp ()\fC [virtual]\fR"
+Destroys the TQHttp object. If there is an open connection, it is closed.
+.SH "void TQHttp::abort ()\fC [slot]\fR"
Aborts the current request and deletes all scheduled requests.
.PP
For the current request, the requestFinished() signal with the \fCerror\fR argument \fCTRUE\fR is emitted. For all other requests that are affected by the abort(), no signals are emitted.
@@ -331,18 +331,18 @@ For the current request, the requestFinished() signal with the \fCerror\fR argum
Since this slot also deletes the scheduled requests, there are no requests left and the done() signal is emitted (with the \fCerror\fR argument \fCTRUE\fR).
.PP
See also clearPendingRequests().
-.SH "TQ_ULONG QHttp::bytesAvailable () const"
+.SH "TQ_ULONG TQHttp::bytesAvailable () const"
Returns the number of bytes that can be read from the response content at the moment.
.PP
See also get(), post(), request(), readyRead(), readBlock(), and readAll().
-.SH "void QHttp::clearPendingRequests ()"
+.SH "void TQHttp::clearPendingRequests ()"
Deletes all pending requests from the list of scheduled requests. This does not affect the request that is being executed. If you want to stop this this as well, use abort().
.PP
See also hasPendingRequests() and abort().
-.SH "int QHttp::closeConnection ()"
+.SH "int TQHttp::closeConnection ()"
Closes the connection; this is useful if you have a keep-alive connection and want to close it.
.PP
-For the requests issued with get(), post() and head(), QHttp sets the connection to be keep-alive. You can also do this using the header you pass to the request() function. QHttp only closes the connection to the HTTP server if the response header requires it to do so.
+For the requests issued with get(), post() and head(), TQHttp sets the connection to be keep-alive. You can also do this using the header you pass to the request() function. TQHttp only closes the connection to the HTTP server if the response header requires it to do so.
.PP
The function does not block and returns immediately. The request is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by requestStarted() and requestFinished().
.PP
@@ -351,27 +351,27 @@ When the request is started the requestStarted() signal is emitted. When it is f
If you want to close the connection immediately, you have to use abort() instead.
.PP
See also stateChanged(), abort(), requestStarted(), requestFinished(), and done().
-.SH "TQIODevice * QHttp::currentDestinationDevice () const"
+.SH "TQIODevice * TQHttp::currentDestinationDevice () const"
Returns the TQIODevice pointer that is used as to store the data of the HTTP request being executed. If there is no current request or if the request does not store the data to an IO device, this function returns 0.
.PP
This function can be used to delete the TQIODevice in the slot connected to the requestFinished() signal.
.PP
See also get(), post(), and request().
-.SH "int QHttp::currentId () const"
+.SH "int TQHttp::currentId () const"
Returns the identifier of the HTTP request being executed or 0 if there is no request being executed (i.e. they've all finished).
.PP
See also currentRequest().
-.SH "QHttpRequestHeader QHttp::currentRequest () const"
-Returns the request header of the HTTP request being executed. If the request is one issued by setHost() or closeConnection(), it returns an invalid request header, i.e. QHttpRequestHeader::isValid() returns FALSE.
+.SH "TQHttpRequestHeader TQHttp::currentRequest () const"
+Returns the request header of the HTTP request being executed. If the request is one issued by setHost() or closeConnection(), it returns an invalid request header, i.e. TQHttpRequestHeader::isValid() returns FALSE.
.PP
See also currentId().
-.SH "TQIODevice * QHttp::currentSourceDevice () const"
+.SH "TQIODevice * TQHttp::currentSourceDevice () const"
Returns the TQIODevice pointer that is used as the data source of the HTTP request being executed. If there is no current request or if the request does not use an IO device as the data source, this function returns 0.
.PP
This function can be used to delete the TQIODevice in the slot connected to the requestFinished() signal.
.PP
See also currentDestinationDevice(), post(), and request().
-.SH "void QHttp::dataReadProgress ( int done, int total )\fC [signal]\fR"
+.SH "void TQHttp::dataReadProgress ( int done, int total )\fC [signal]\fR"
This signal is emitted when this object reads data from a HTTP server to indicate the current progress of the download.
.PP
\fIdone\fR is the amount of data that has already arrived and \fItotal\fR is the total amount of data. It is possible that the total amount of data that should be transferred cannot be determined, in which case \fItotal\fR is 0.(If you connect to a QProgressBar, the progress bar shows a busy indicator if the total is 0).
@@ -379,7 +379,7 @@ This signal is emitted when this object reads data from a HTTP server to indicat
\fBWarning:\fR \fIdone\fR and \fItotal\fR are not necessarily the size in bytes, since for large files these values might need to be" scaled" to avoid overflow.
.PP
See also dataSendProgress(), get(), post(), request(), and QProgressBar::progress.
-.SH "void QHttp::dataSendProgress ( int done, int total )\fC [signal]\fR"
+.SH "void TQHttp::dataSendProgress ( int done, int total )\fC [signal]\fR"
This signal is emitted when this object sends data to a HTTP server to inform it about the progress of the upload.
.PP
\fIdone\fR is the amount of data that has already arrived and \fItotal\fR is the total amount of data. It is possible that the total amount of data that should be transferred cannot be determined, in which case \fItotal\fR is 0.(If you connect to a QProgressBar, the progress bar shows a busy indicator if the total is 0).
@@ -387,17 +387,17 @@ This signal is emitted when this object sends data to a HTTP server to inform it
\fBWarning:\fR \fIdone\fR and \fItotal\fR are not necessarily the size in bytes, since for large files these values might need to be" scaled" to avoid overflow.
.PP
See also dataReadProgress(), post(), request(), and QProgressBar::progress.
-.SH "void QHttp::done ( bool error )\fC [signal]\fR"
+.SH "void TQHttp::done ( bool error )\fC [signal]\fR"
This signal is emitted when the last pending request has finished; (it is emitted after the last request's requestFinished() signal). \fIerror\fR is TRUE if an error occurred during the processing; otherwise \fIerror\fR is FALSE.
.PP
See also requestFinished(), error(), and errorString().
-.SH "Error QHttp::error () const"
+.SH "Error TQHttp::error () const"
Returns the last error that occurred. This is useful to find out what happened when receiving a requestFinished() or a done() signal with the \fCerror\fR argument \fCTRUE\fR.
.PP
If you start a new request, the error status is reset to NoError.
-.SH "TQString QHttp::errorString () const"
+.SH "TQString TQHttp::errorString () const"
Returns a human-readable description of the last error that occurred. This is useful to present a error message to the user when receiving a requestFinished() or a done() signal with the \fCerror\fR argument \fCTRUE\fR.
-.SH "int QHttp::get ( const TQString & path, TQIODevice * to = 0 )"
+.SH "int TQHttp::get ( const TQString & path, TQIODevice * to = 0 )"
Sends a get request for \fIpath\fR to the server set by setHost() or as specified in the constructor.
.PP
\fIpath\fR must be an absolute path like \fC/index.html\fR or an absolute URI like http://www.trolltech.com/index.html.
@@ -411,13 +411,13 @@ The function does not block and returns immediately. The request is scheduled, a
When the request is started the requestStarted() signal is emitted. When it is finished the requestFinished() signal is emitted.
.PP
See also setHost(), post(), head(), request(), requestStarted(), requestFinished(), and done().
-.SH "bool QHttp::hasPendingRequests () const"
+.SH "bool TQHttp::hasPendingRequests () const"
Returns TRUE if there are any requests scheduled that have not yet been executed; otherwise returns FALSE.
.PP
The request that is being executed is \fInot\fR considered as a scheduled request.
.PP
See also clearPendingRequests(), currentId(), and currentRequest().
-.SH "int QHttp::head ( const TQString & path )"
+.SH "int TQHttp::head ( const TQString & path )"
Sends a header request for \fIpath\fR to the server set by setHost() or as specified in the constructor.
.PP
\fIpath\fR must be an absolute path like \fC/index.html\fR or an absolute URI like http://www.trolltech.com/index.html.
@@ -427,7 +427,7 @@ The function does not block and returns immediately. The request is scheduled, a
When the request is started the requestStarted() signal is emitted. When it is finished the requestFinished() signal is emitted.
.PP
See also setHost(), get(), post(), request(), requestStarted(), requestFinished(), and done().
-.SH "int QHttp::post ( const TQString & path, TQIODevice * data, TQIODevice * to = 0 )"
+.SH "int TQHttp::post ( const TQString & path, TQIODevice * data, TQIODevice * to = 0 )"
Sends a post request for \fIpath\fR to the server set by setHost() or as specified in the constructor.
.PP
\fIpath\fR must be an absolute path like \fC/index.html\fR or an absolute URI like http://www.trolltech.com/index.html.
@@ -443,19 +443,19 @@ The function does not block and returns immediately. The request is scheduled, a
When the request is started the requestStarted() signal is emitted. When it is finished the requestFinished() signal is emitted.
.PP
See also setHost(), get(), head(), request(), requestStarted(), requestFinished(), and done().
-.SH "int QHttp::post ( const TQString & path, const TQByteArray & data, TQIODevice * to = 0 )"
+.SH "int TQHttp::post ( const TQString & path, const TQByteArray & data, TQIODevice * to = 0 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
\fIdata\fR is used as the content data of the HTTP request.
-.SH "TQByteArray QHttp::readAll ()"
+.SH "TQByteArray TQHttp::readAll ()"
Reads all the bytes from the response content and returns them.
.PP
See also get(), post(), request(), readyRead(), bytesAvailable(), and readBlock().
-.SH "TQ_LONG QHttp::readBlock ( char * data, TQ_ULONG maxlen )"
+.SH "TQ_LONG TQHttp::readBlock ( char * data, TQ_ULONG maxlen )"
Reads \fImaxlen\fR bytes from the response content into \fIdata\fR and returns the number of bytes read. Returns -1 if an error occurred.
.PP
See also get(), post(), request(), readyRead(), bytesAvailable(), and readAll().
-.SH "void QHttp::readyRead ( const QHttpResponseHeader & resp )\fC [signal]\fR"
+.SH "void TQHttp::readyRead ( const TQHttpResponseHeader & resp )\fC [signal]\fR"
This signal is emitted when there is new response data to read.
.PP
If you specified a device in the request where the data should be written to, then this signal is \fInot\fR emitted; instead the data is written directly to the device.
@@ -467,7 +467,7 @@ You can read the data with the readAll() or readBlock() functions
This signal is useful if you want to process the data in chunks as soon as it becomes available. If you are only interested in the complete data, just connect to the requestFinished() signal and read the data then instead.
.PP
See also get(), post(), request(), readAll(), readBlock(), and bytesAvailable().
-.SH "int QHttp::request ( const QHttpRequestHeader & header, TQIODevice * data = 0, TQIODevice * to = 0 )"
+.SH "int TQHttp::request ( const TQHttpRequestHeader & header, TQIODevice * data = 0, TQIODevice * to = 0 )"
Sends a request to the server set by setHost() or as specified in the constructor. Uses the \fIheader\fR as the HTTP request header. You are responsible for setting up a header that is appropriate for your request.
.PP
The incoming data comes via the \fIdata\fR IO device.
@@ -481,23 +481,23 @@ The function does not block and returns immediately. The request is scheduled, a
When the request is started the requestStarted() signal is emitted. When it is finished the requestFinished() signal is emitted.
.PP
See also setHost(), get(), post(), head(), requestStarted(), requestFinished(), and done().
-.SH "int QHttp::request ( const QHttpRequestHeader & header, const TQByteArray & data, TQIODevice * to = 0 )"
+.SH "int TQHttp::request ( const TQHttpRequestHeader & header, const TQByteArray & data, TQIODevice * to = 0 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
\fIdata\fR is used as the content data of the HTTP request.
-.SH "void QHttp::requestFinished ( int id, bool error )\fC [signal]\fR"
+.SH "void TQHttp::requestFinished ( int id, bool error )\fC [signal]\fR"
This signal is emitted when processing the request identified by \fIid\fR has finished. \fIerror\fR is TRUE if an error occurred during the processing; otherwise \fIerror\fR is FALSE.
.PP
See also requestStarted(), done(), error(), and errorString().
-.SH "void QHttp::requestStarted ( int id )\fC [signal]\fR"
+.SH "void TQHttp::requestStarted ( int id )\fC [signal]\fR"
This signal is emitted when processing the request identified by \fIid\fR starts.
.PP
See also requestFinished() and done().
-.SH "void QHttp::responseHeaderReceived ( const QHttpResponseHeader & resp )\fC [signal]\fR"
+.SH "void TQHttp::responseHeaderReceived ( const TQHttpResponseHeader & resp )\fC [signal]\fR"
This signal is emitted when the HTTP header of a server response is available. The header is passed in \fIresp\fR.
.PP
See also get(), post(), head(), request(), and readyRead().
-.SH "int QHttp::setHost ( const TQString & hostname, TQ_UINT16 port = 80 )"
+.SH "int TQHttp::setHost ( const TQString & hostname, TQ_UINT16 port = 80 )"
Sets the HTTP server that is used for requests to \fIhostname\fR on port \fIport\fR.
.PP
The function does not block and returns immediately. The request is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by requestStarted() and requestFinished().
@@ -505,19 +505,19 @@ The function does not block and returns immediately. The request is scheduled, a
When the request is started the requestStarted() signal is emitted. When it is finished the requestFinished() signal is emitted.
.PP
See also get(), post(), head(), request(), requestStarted(), requestFinished(), and done().
-.SH "State QHttp::state () const"
+.SH "State TQHttp::state () const"
Returns the current state of the object. When the state changes, the stateChanged() signal is emitted.
.PP
See also State and stateChanged().
-.SH "void QHttp::stateChanged ( int state )\fC [signal]\fR"
-This signal is emitted when the state of the QHttp object changes. The argument \fIstate\fR is the new state of the connection; it is one of the State values.
+.SH "void TQHttp::stateChanged ( int state )\fC [signal]\fR"
+This signal is emitted when the state of the TQHttp object changes. The argument \fIstate\fR is the new state of the connection; it is one of the State values.
.PP
This usually happens when a request is started, but it can also happen when the server closes the connection or when a call to closeConnection() succeeded.
.PP
See also get(), post(), head(), request(), closeConnection(), state(), and State.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqhttp.html
+.BR http://doc.trolltech.com/tqhttp.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqhttpheader.3qt b/doc/man/man3/tqhttpheader.3qt
index 22b86fdd1..eb9bf96a9 100644
--- a/doc/man/man3/tqhttpheader.3qt
+++ b/doc/man/man3/tqhttpheader.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QHttpHeader 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQHttpHeader 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,28 +7,28 @@
.ad l
.nh
.SH NAME
-QHttpHeader \- Header information for HTTP
+TQHttpHeader \- Header information for HTTP
.SH SYNOPSIS
-\fC#include \fR
+\fC#include \fR
.PP
-Inherited by QHttpResponseHeader and QHttpRequestHeader.
+Inherited by TQHttpResponseHeader and TQHttpRequestHeader.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQHttpHeader\fR ()"
+.BI "\fBTQHttpHeader\fR ()"
.br
.ti -1c
-.BI "\fBQHttpHeader\fR ( const QHttpHeader & header )"
+.BI "\fBTQHttpHeader\fR ( const TQHttpHeader & header )"
.br
.ti -1c
-.BI "\fBQHttpHeader\fR ( const TQString & str )"
+.BI "\fBTQHttpHeader\fR ( const TQString & str )"
.br
.ti -1c
-.BI "virtual \fB~QHttpHeader\fR ()"
+.BI "virtual \fB~TQHttpHeader\fR ()"
.br
.ti -1c
-.BI "QHttpHeader & \fBoperator=\fR ( const QHttpHeader & h )"
+.BI "TQHttpHeader & \fBoperator=\fR ( const TQHttpHeader & h )"
.br
.ti -1c
.BI "TQString \fBvalue\fR ( const TQString & key ) const"
@@ -77,11 +77,11 @@ Inherited by QHttpResponseHeader and QHttpRequestHeader.
.br
.in -1c
.SH DESCRIPTION
-The QHttpHeader class contains header information for HTTP.
+The TQHttpHeader class contains header information for HTTP.
.PP
-In most cases you should use the more specialized derivatives of this class, QHttpResponseHeader and QHttpRequestHeader, rather than directly using QHttpHeader.
+In most cases you should use the more specialized derivatives of this class, TQHttpResponseHeader and TQHttpRequestHeader, rather than directly using TQHttpHeader.
.PP
-QHttpHeader provides the HTTP header fields. A HTTP header field consists of a name followed by a colon, a single space, and the field value. (See RFC 1945.) Field names are case-insensitive. A typical header field looks like this:
+TQHttpHeader provides the HTTP header fields. A HTTP header field consists of a name followed by a colon, a single space, and the field value. (See RFC 1945.) Field names are case-insensitive. A typical header field looks like this:
.PP
.nf
.br
@@ -103,71 +103,71 @@ Some fields are so common that getters and setters are provided for them as a co
.PP
Each header key has a \fIsingle\fR value associated with it. If you set the value for a key which already exists the previous value will be discarded.
.PP
-See also QHttpRequestHeader, QHttpResponseHeader, and Input/Output and Networking.
+See also TQHttpRequestHeader, TQHttpResponseHeader, and Input/Output and Networking.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QHttpHeader::QHttpHeader ()"
+.SH "TQHttpHeader::TQHttpHeader ()"
Constructs an empty HTTP header.
-.SH "QHttpHeader::QHttpHeader ( const QHttpHeader & header )"
+.SH "TQHttpHeader::TQHttpHeader ( const TQHttpHeader & header )"
Constructs a copy of \fIheader\fR.
-.SH "QHttpHeader::QHttpHeader ( const TQString & str )"
+.SH "TQHttpHeader::TQHttpHeader ( const TQString & str )"
Constructs a HTTP header for \fIstr\fR.
.PP
This constructor parses the string \fIstr\fR for header fields and adds this information. The \fIstr\fR should consist of one or more" \\r\\n" delimited lines; each of these lines should have the format key, colon, space, value.
-.SH "QHttpHeader::~QHttpHeader ()\fC [virtual]\fR"
+.SH "TQHttpHeader::~TQHttpHeader ()\fC [virtual]\fR"
Destructor.
-.SH "uint QHttpHeader::contentLength () const"
+.SH "uint TQHttpHeader::contentLength () const"
Returns the value of the special HTTP header field \fCcontent-length\fR.
.PP
See also setContentLength() and hasContentLength().
-.SH "TQString QHttpHeader::contentType () const"
+.SH "TQString TQHttpHeader::contentType () const"
Returns the value of the special HTTP header field \fCcontent-type\fR.
.PP
See also setContentType() and hasContentType().
-.SH "bool QHttpHeader::hasContentLength () const"
+.SH "bool TQHttpHeader::hasContentLength () const"
Returns TRUE if the header has an entry for the special HTTP header field \fCcontent-length\fR; otherwise returns FALSE.
.PP
See also contentLength() and setContentLength().
-.SH "bool QHttpHeader::hasContentType () const"
+.SH "bool TQHttpHeader::hasContentType () const"
Returns TRUE if the header has an entry for the the special HTTP header field \fCcontent-type\fR; otherwise returns FALSE.
.PP
See also contentType() and setContentType().
-.SH "bool QHttpHeader::hasKey ( const TQString & key ) const"
+.SH "bool TQHttpHeader::hasKey ( const TQString & key ) const"
Returns TRUE if the HTTP header has an entry with the given \fIkey\fR; otherwise returns FALSE.
.PP
See also value(), setValue(), and keys().
-.SH "bool QHttpHeader::isValid () const"
+.SH "bool TQHttpHeader::isValid () const"
Returns TRUE if the HTTP header is valid; otherwise returns FALSE.
.PP
-A QHttpHeader is invalid if it was created by parsing a malformed string.
-.SH "TQStringList QHttpHeader::keys () const"
+A TQHttpHeader is invalid if it was created by parsing a malformed string.
+.SH "TQStringList TQHttpHeader::keys () const"
Returns a list of the keys in the HTTP header.
.PP
See also hasKey().
-.SH "int QHttpHeader::majorVersion () const\fC [pure virtual]\fR"
+.SH "int TQHttpHeader::majorVersion () const\fC [pure virtual]\fR"
Returns the major protocol-version of the HTTP header.
.PP
-Reimplemented in QHttpResponseHeader and QHttpRequestHeader.
-.SH "int QHttpHeader::minorVersion () const\fC [pure virtual]\fR"
+Reimplemented in TQHttpResponseHeader and TQHttpRequestHeader.
+.SH "int TQHttpHeader::minorVersion () const\fC [pure virtual]\fR"
Returns the minor protocol-version of the HTTP header.
.PP
-Reimplemented in QHttpResponseHeader and QHttpRequestHeader.
-.SH "QHttpHeader & QHttpHeader::operator= ( const QHttpHeader & h )"
+Reimplemented in TQHttpResponseHeader and TQHttpRequestHeader.
+.SH "TQHttpHeader & TQHttpHeader::operator= ( const TQHttpHeader & h )"
Assigns \fIh\fR and returns a reference to this http header.
-.SH "void QHttpHeader::removeValue ( const TQString & key )"
+.SH "void TQHttpHeader::removeValue ( const TQString & key )"
Removes the entry with the key \fIkey\fR from the HTTP header.
.PP
See also value() and setValue().
-.SH "void QHttpHeader::setContentLength ( int len )"
+.SH "void TQHttpHeader::setContentLength ( int len )"
Sets the value of the special HTTP header field \fCcontent-length\fR to \fIlen\fR.
.PP
See also contentLength() and hasContentLength().
-.SH "void QHttpHeader::setContentType ( const TQString & type )"
+.SH "void TQHttpHeader::setContentType ( const TQString & type )"
Sets the value of the special HTTP header field \fCcontent-type\fR to \fItype\fR.
.PP
See also contentType() and hasContentType().
.PP
Example: network/archivesearch/archivedialog.ui.h.
-.SH "void QHttpHeader::setValue ( const TQString & key, const TQString & value )"
+.SH "void TQHttpHeader::setValue ( const TQString & key, const TQString & value )"
Sets the value of the entry with the \fIkey\fR to \fIvalue\fR.
.PP
If no entry with \fIkey\fR exists, a new entry with the given \fIkey\fR and \fIvalue\fR is created. If an entry with the \fIkey\fR already exists, its value is discarded and replaced with the given \fIvalue\fR.
@@ -175,17 +175,17 @@ If no entry with \fIkey\fR exists, a new entry with the given \fIkey\fR and \fIv
See also value(), hasKey(), and removeValue().
.PP
Example: network/archivesearch/archivedialog.ui.h.
-.SH "TQString QHttpHeader::toString () const\fC [virtual]\fR"
+.SH "TQString TQHttpHeader::toString () const\fC [virtual]\fR"
Returns a string representation of the HTTP header.
.PP
The string is suitable for use by the constructor that takes a TQString. It consists of lines with the format: key, colon, space, value, "\\r\\n".
-.SH "TQString QHttpHeader::value ( const TQString & key ) const"
+.SH "TQString TQHttpHeader::value ( const TQString & key ) const"
Returns the value for the entry with the given \fIkey\fR. If no entry has this \fIkey\fR, an empty string is returned.
.PP
See also setValue(), removeValue(), hasKey(), and keys().
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qhttpheader.html
+.BR http://doc.trolltech.com/tqhttpheader.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqhttprequestheader.3qt b/doc/man/man3/tqhttprequestheader.3qt
index f7caa30d1..7f21e40ae 100644
--- a/doc/man/man3/tqhttprequestheader.3qt
+++ b/doc/man/man3/tqhttprequestheader.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QHttpRequestHeader 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQHttpRequestHeader 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,25 +7,25 @@
.ad l
.nh
.SH NAME
-QHttpRequestHeader \- Request header information for HTTP
+TQHttpRequestHeader \- Request header information for HTTP
.SH SYNOPSIS
-\fC#include \fR
+\fC#include \fR
.PP
-Inherits QHttpHeader.
+Inherits TQHttpHeader.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQHttpRequestHeader\fR ()"
+.BI "\fBTQHttpRequestHeader\fR ()"
.br
.ti -1c
-.BI "\fBQHttpRequestHeader\fR ( const TQString & method, const TQString & path, int majorVer = 1, int minorVer = 1 )"
+.BI "\fBTQHttpRequestHeader\fR ( const TQString & method, const TQString & path, int majorVer = 1, int minorVer = 1 )"
.br
.ti -1c
-.BI "\fBQHttpRequestHeader\fR ( const QHttpRequestHeader & header )"
+.BI "\fBTQHttpRequestHeader\fR ( const TQHttpRequestHeader & header )"
.br
.ti -1c
-.BI "\fBQHttpRequestHeader\fR ( const TQString & str )"
+.BI "\fBTQHttpRequestHeader\fR ( const TQString & str )"
.br
.ti -1c
.BI "void \fBsetRequest\fR ( const TQString & method, const TQString & path, int majorVer = 1, int minorVer = 1 )"
@@ -53,52 +53,52 @@ Inherits QHttpHeader.
.br
.in -1c
.SH DESCRIPTION
-The QHttpRequestHeader class contains request header information for HTTP.
+The TQHttpRequestHeader class contains request header information for HTTP.
.PP
-This class is used in the QHttp class to report the header information if the client requests something from the server.
+This class is used in the TQHttp class to report the header information if the client requests something from the server.
.PP
HTTP requests have a method which describes the request's action. The most common requests are "GET" and "POST". In addition to the request method the header also includes a request-URI to specify the location for the method to use.
.PP
The method, request-URI and protocol-version can be set using a constructor or later using setRequest(). The values can be obtained using method(), path(), majorVersion() and minorVersion().
.PP
-This class is a QHttpHeader subclass so that class's functions, e.g. setValue(), value(), etc. are also available.
+This class is a TQHttpHeader subclass so that class's functions, e.g. setValue(), value(), etc. are also available.
.PP
-See also QHttpResponseHeader, QHttp, and Input/Output and Networking.
+See also TQHttpResponseHeader, TQHttp, and Input/Output and Networking.
.PP
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QHttpRequestHeader::QHttpRequestHeader ()"
+.SH "TQHttpRequestHeader::TQHttpRequestHeader ()"
Constructs an empty HTTP request header.
-.SH "QHttpRequestHeader::QHttpRequestHeader ( const TQString & method, const TQString & path, int majorVer = 1, int minorVer = 1 )"
+.SH "TQHttpRequestHeader::TQHttpRequestHeader ( const TQString & method, const TQString & path, int majorVer = 1, int minorVer = 1 )"
Constructs a HTTP request header for the method \fImethod\fR, the request-URI \fIpath\fR and the protocol-version \fImajorVer\fR and \fIminorVer\fR.
-.SH "QHttpRequestHeader::QHttpRequestHeader ( const QHttpRequestHeader & header )"
+.SH "TQHttpRequestHeader::TQHttpRequestHeader ( const TQHttpRequestHeader & header )"
Constructs a copy of \fIheader\fR.
-.SH "QHttpRequestHeader::QHttpRequestHeader ( const TQString & str )"
+.SH "TQHttpRequestHeader::TQHttpRequestHeader ( const TQString & str )"
Constructs a HTTP request header from the string \fIstr\fR. The \fIstr\fR should consist of one or more "\\r\\n" delimited lines; the first line should be the request-line (format: method, space, request-URI, space HTTP-version); each of the remaining lines should have the format key, colon, space, value.
-.SH "int QHttpRequestHeader::majorVersion () const\fC [virtual]\fR"
+.SH "int TQHttpRequestHeader::majorVersion () const\fC [virtual]\fR"
Returns the major protocol-version of the HTTP request header.
.PP
See also minorVersion(), method(), path(), and setRequest().
.PP
-Reimplemented from QHttpHeader.
-.SH "TQString QHttpRequestHeader::method () const"
+Reimplemented from TQHttpHeader.
+.SH "TQString TQHttpRequestHeader::method () const"
Returns the method of the HTTP request header.
.PP
See also path(), majorVersion(), minorVersion(), and setRequest().
-.SH "int QHttpRequestHeader::minorVersion () const\fC [virtual]\fR"
+.SH "int TQHttpRequestHeader::minorVersion () const\fC [virtual]\fR"
Returns the minor protocol-version of the HTTP request header.
.PP
See also majorVersion(), method(), path(), and setRequest().
.PP
-Reimplemented from QHttpHeader.
-.SH "TQString QHttpRequestHeader::path () const"
+Reimplemented from TQHttpHeader.
+.SH "TQString TQHttpRequestHeader::path () const"
Returns the request-URI of the HTTP request header.
.PP
See also method(), majorVersion(), minorVersion(), and setRequest().
-.SH "void QHttpRequestHeader::setRequest ( const TQString & method, const TQString & path, int majorVer = 1, int minorVer = 1 )"
+.SH "void TQHttpRequestHeader::setRequest ( const TQString & method, const TQString & path, int majorVer = 1, int minorVer = 1 )"
This function sets the request method to \fImethod\fR, the request-URI to \fIpath\fR and the protocol-version to \fImajorVer\fR and \fIminorVer\fR.
.PP
See also method(), path(), majorVersion(), and minorVersion().
-.SH "void QHttpHeader::setValue ( const TQString & key, const TQString & value )"
+.SH "void TQHttpHeader::setValue ( const TQString & key, const TQString & value )"
Sets the value of the entry with the \fIkey\fR to \fIvalue\fR.
.PP
If no entry with \fIkey\fR exists, a new entry with the given \fIkey\fR and \fIvalue\fR is created. If an entry with the \fIkey\fR already exists, its value is discarded and replaced with the given \fIvalue\fR.
@@ -106,13 +106,13 @@ If no entry with \fIkey\fR exists, a new entry with the given \fIkey\fR and \fIv
See also value(), hasKey(), and removeValue().
.PP
Example: network/archivesearch/archivedialog.ui.h.
-.SH "TQString QHttpHeader::value ( const TQString & key ) const"
+.SH "TQString TQHttpHeader::value ( const TQString & key ) const"
Returns the value for the entry with the given \fIkey\fR. If no entry has this \fIkey\fR, an empty string is returned.
.PP
See also setValue(), removeValue(), hasKey(), and keys().
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qhttprequestheader.html
+.BR http://doc.trolltech.com/tqhttprequestheader.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqhttpresponseheader.3qt b/doc/man/man3/tqhttpresponseheader.3qt
index c0fbbb496..ca1d82803 100644
--- a/doc/man/man3/tqhttpresponseheader.3qt
+++ b/doc/man/man3/tqhttpresponseheader.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QHttpResponseHeader 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQHttpResponseHeader 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,19 +7,19 @@
.ad l
.nh
.SH NAME
-QHttpResponseHeader \- Response header information for HTTP
+TQHttpResponseHeader \- Response header information for HTTP
.SH SYNOPSIS
-\fC#include \fR
+\fC#include \fR
.PP
-Inherits QHttpHeader.
+Inherits TQHttpHeader.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQHttpResponseHeader\fR ()"
+.BI "\fBTQHttpResponseHeader\fR ()"
.br
.ti -1c
-.BI "\fBQHttpResponseHeader\fR ( const QHttpResponseHeader & header )"
+.BI "\fBTQHttpResponseHeader\fR ( const TQHttpResponseHeader & header )"
.br
.ti -1c
.BI "int \fBstatusCode\fR () const"
@@ -35,41 +35,41 @@ Inherits QHttpHeader.
.br
.in -1c
.SH DESCRIPTION
-The QHttpResponseHeader class contains response header information for HTTP.
+The TQHttpResponseHeader class contains response header information for HTTP.
.PP
-This class is used by the QHttp class to report the header information that the client received from the server.
+This class is used by the TQHttp class to report the header information that the client received from the server.
.PP
HTTP responses have a status code that indicates the status of the response. This code is a 3-digit integer result code (for details see to RFC 1945). In addition to the status code, you can also specify a human-readable text that describes the reason for the code ("reason phrase"). This class allows you to get the status code and the reason phrase.
.PP
-See also QHttpRequestHeader, QHttp, and Input/Output and Networking.
+See also TQHttpRequestHeader, TQHttp, and Input/Output and Networking.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QHttpResponseHeader::QHttpResponseHeader ()"
+.SH "TQHttpResponseHeader::TQHttpResponseHeader ()"
Constructs an empty HTTP response header.
-.SH "QHttpResponseHeader::QHttpResponseHeader ( const QHttpResponseHeader & header )"
+.SH "TQHttpResponseHeader::TQHttpResponseHeader ( const TQHttpResponseHeader & header )"
Constructs a copy of \fIheader\fR.
-.SH "int QHttpResponseHeader::majorVersion () const\fC [virtual]\fR"
+.SH "int TQHttpResponseHeader::majorVersion () const\fC [virtual]\fR"
Returns the major protocol-version of the HTTP response header.
.PP
See also minorVersion(), statusCode(), and reasonPhrase().
.PP
-Reimplemented from QHttpHeader.
-.SH "int QHttpResponseHeader::minorVersion () const\fC [virtual]\fR"
+Reimplemented from TQHttpHeader.
+.SH "int TQHttpResponseHeader::minorVersion () const\fC [virtual]\fR"
Returns the minor protocol-version of the HTTP response header.
.PP
See also majorVersion(), statusCode(), and reasonPhrase().
.PP
-Reimplemented from QHttpHeader.
-.SH "TQString QHttpResponseHeader::reasonPhrase () const"
+Reimplemented from TQHttpHeader.
+.SH "TQString TQHttpResponseHeader::reasonPhrase () const"
Returns the reason phrase of the HTTP response header.
.PP
See also statusCode(), majorVersion(), and minorVersion().
-.SH "int QHttpResponseHeader::statusCode () const"
+.SH "int TQHttpResponseHeader::statusCode () const"
Returns the status code of the HTTP response header.
.PP
See also reasonPhrase(), majorVersion(), and minorVersion().
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qhttpresponseheader.html
+.BR http://doc.trolltech.com/tqhttpresponseheader.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqicondrag.3qt b/doc/man/man3/tqicondrag.3qt
index a6e25eb2e..ca838bfaf 100644
--- a/doc/man/man3/tqicondrag.3qt
+++ b/doc/man/man3/tqicondrag.3qt
@@ -43,7 +43,7 @@ If you want to use the extended drag-and-drop functionality of TQIconView, creat
.PP
The data in TQIconDragItems is stored in a TQByteArray and is mime-typed (see TQMimeSource and the Drag and Drop overview). If you want to use your own mime-types derive a class from TQIconDrag and reimplement format(), encodedData() and canDecode().
.PP
-The fileiconview example program demonstrates the use of the TQIconDrag class including subclassing and reimplementing dragObject(), format(), encodedData() and canDecode(). See the files \fCqt/examples/fileiconview/qfileiconview.h\fR and \fCqt/examples/fileiconview/qfileiconview.cpp\fR.
+The fileiconview example program demonstrates the use of the TQIconDrag class including subclassing and reimplementing dragObject(), format(), encodedData() and canDecode(). See the files \fCqt/examples/fileiconview/tqfileiconview.h\fR and \fCqt/examples/fileiconview/tqfileiconview.cpp\fR.
.PP
See also TQMimeSource::format() and Drag And Drop Classes.
.SH MEMBER FUNCTION DOCUMENTATION
@@ -58,15 +58,15 @@ Append the TQIconDragItem, \fIi\fR, to the TQIconDrag object's list of items. Yo
.PP
See also TQIconDragItem.
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "bool TQIconDrag::canDecode ( TQMimeSource * e )\fC [static]\fR"
Returns TRUE if \fIe\fR can be decoded by the TQIconDrag, otherwise return FALSE.
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "TQByteArray TQIconDrag::encodedData ( const char * mime ) const\fC [virtual]\fR"
Returns the encoded data of the drag object if \fImime\fR is application/x-qiconlist.
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.PP
Reimplemented from TQMimeSource.
diff --git a/doc/man/man3/tqicondragitem.3qt b/doc/man/man3/tqicondragitem.3qt
index b048ce797..0ff5ad506 100644
--- a/doc/man/man3/tqicondragitem.3qt
+++ b/doc/man/man3/tqicondragitem.3qt
@@ -35,7 +35,7 @@ In practice a TQIconDragItem object (or an object of a class derived from TQIcon
.PP
See TQIconView::dragObject() for more information.
.PP
-See the fileiconview/qfileiconview.cpp and iconview/simple_dd/main.cpp examples.
+See the fileiconview/tqfileiconview.cpp and iconview/simple_dd/main.cpp examples.
.PP
See also Drag And Drop Classes.
.SH MEMBER FUNCTION DOCUMENTATION
@@ -48,7 +48,7 @@ Returns the data contained in the TQIconDragItem.
.SH "void TQIconDragItem::setData ( const TQByteArray & d )\fC [virtual]\fR"
Sets the data for the TQIconDragItem to the data stored in the TQByteArray \fId\fR.
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "SEE ALSO"
.BR http://doc.trolltech.com/tqicondragitem.html
diff --git a/doc/man/man3/tqiconview.3qt b/doc/man/man3/tqiconview.3qt
index 36090a06d..b58d7bae4 100644
--- a/doc/man/man3/tqiconview.3qt
+++ b/doc/man/man3/tqiconview.3qt
@@ -368,7 +368,7 @@ The simplest way to create a TQIconView is to create a TQIconView object and cre
.br
TQIconView *iv = new TQIconView( this );
.br
- QDir dir( path, "*.xpm" );
+ TQDir dir( path, "*.xpm" );
.br
for ( uint i = 0; i < dir.count(); i++ ) {
.br
@@ -524,7 +524,7 @@ This variant uses \fIgrid\fR instead of (gridX(), gridY()). If \fIgrid\fR is inv
.PP
If \fIupdate\fR is TRUE (the default) the viewport is repainted.
.PP
-Example: fileiconview/qfileiconview.h.
+Example: fileiconview/tqfileiconview.h.
.SH "void TQIconView::arrangeItemsInGrid ( bool update = TRUE )\fC [virtual slot]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
@@ -579,7 +579,7 @@ Returns the TQDragObject that should be used for drag-and-drop. This function is
See also TQIconDrag.
.PP
Examples:
-.)l fileiconview/qfileiconview.cpp and iconview/simple_dd/main.cpp.
+.)l fileiconview/tqfileiconview.cpp and iconview/simple_dd/main.cpp.
.SH "void TQIconView::drawBackground ( QPainter * p, const QRect & r )\fC [virtual protected]\fR"
This function is called to draw the rectangle \fIr\fR of the background using the painter \fIp\fR.
.PP
diff --git a/doc/man/man3/tqiconviewitem.3qt b/doc/man/man3/tqiconviewitem.3qt
index 2206b962b..9b680ba4f 100644
--- a/doc/man/man3/tqiconviewitem.3qt
+++ b/doc/man/man3/tqiconviewitem.3qt
@@ -288,7 +288,7 @@ Returns TRUE if you can drop things with a TQMimeSource of \fImime\fR onto this
The default implementation always returns FALSE. You must subclass TQIconViewItem and reimplement acceptDrop() to accept drops.
.PP
Examples:
-.)l fileiconview/qfileiconview.cpp and iconview/simple_dd/main.cpp.
+.)l fileiconview/tqfileiconview.cpp and iconview/simple_dd/main.cpp.
.SH "void TQIconViewItem::calcRect ( const TQString & text_ = TQString::null )\fC [virtual protected]\fR"
This virtual function is responsible for calculating the rectangles returned by rect(), textRect() and pixmapRect(). setRect(), setTextRect() and setPixmapRect() are provided mainly for reimplementations of this function.
.PP
@@ -322,13 +322,13 @@ This function is called when a drag enters the item's bounding rectangle.
.PP
The default implementation does nothing; subclasses may reimplement this function.
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "void TQIconViewItem::dragLeft ()\fC [virtual protected]\fR"
This function is called when a drag leaves the item's bounding rectangle.
.PP
The default implementation does nothing; subclasses may reimplement this function.
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "bool TQIconViewItem::dropEnabled () const"
Returns TRUE if the user is allowed to drop something onto the item; otherwise returns FALSE.
.PP
@@ -339,7 +339,7 @@ This function is called when something is dropped on the item. \fIe\fR provides
The default implementation does nothing; subclasses may reimplement this function.
.PP
Examples:
-.)l fileiconview/qfileiconview.cpp and iconview/simple_dd/main.cpp.
+.)l fileiconview/tqfileiconview.cpp and iconview/simple_dd/main.cpp.
.SH "int TQIconViewItem::height () const"
Returns the height of the item.
.SH "TQIconView * TQIconViewItem::iconView () const"
@@ -357,7 +357,7 @@ Returns TRUE if the item is selected; otherwise returns FALSE.
.PP
See also setSelected().
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "TQString TQIconViewItem::key () const\fC [virtual]\fR"
Returns the key of the icon view item or text() if no key has been explicitly set.
.PP
@@ -393,13 +393,13 @@ Example:
.PP
See also prevItem().
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "void TQIconViewItem::paintFocus ( QPainter * p, const QColorGroup & cg )\fC [virtual protected]\fR"
Paints the focus rectangle of the item using the painter \fIp\fR and the color group \fIcg\fR.
.SH "void TQIconViewItem::paintItem ( QPainter * p, const QColorGroup & cg )\fC [virtual protected]\fR"
Paints the item using the painter \fIp\fR and the color group \fIcg\fR. If you want the item to be drawn with a different font or color, reimplement this function, change the values of the color group or the painter's font, and then call the TQIconViewItem::paintItem() with the changed values.
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "QPicture * TQIconViewItem::picture () const\fC [virtual]\fR"
Returns the icon of the icon view item if it is a picture, or 0 if it is a pixmap. In the latter case use pixmap() instead. Normally you set the picture of the item with setPicture(), but sometimes it's inconvenient to call setPicture() for every item. So you can subclass TQIconViewItem, reimplement this function and return a pointer to the item's picture. If you do this, you \fImust\fR call calcRect() manually each time the size of this picture changes.
.PP
@@ -409,13 +409,13 @@ Returns the icon of the icon view item if it is a pixmap, or 0 if it is a pictur
.PP
See also setPixmap().
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "QRect TQIconViewItem::pixmapRect ( bool relative = TRUE ) const"
Returns the bounding rectangle of the item's icon.
.PP
If \fIrelative\fR is TRUE, (the default), the rectangle is relative to the origin of the item's rectangle. If \fIrelative\fR is FALSE, the returned rectangle is relative to the origin of the icon view's contents coordinate system.
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "QPoint TQIconViewItem::pos () const"
Returns the position of the item (in contents coordinates).
.SH "TQIconViewItem * TQIconViewItem::prevItem () const"
@@ -433,13 +433,13 @@ This function sets up the icon view so that the user can edit the item text, and
.PP
See also setRenameEnabled().
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "bool TQIconViewItem::renameEnabled () const"
Returns TRUE if the item can be renamed by the user with in-place renaming; otherwise returns FALSE.
.PP
See also setRenameEnabled().
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "void TQIconViewItem::repaint ()\fC [virtual]\fR"
Repaints the item.
.SH "int TQIconViewItem::rtti () const\fC [virtual]\fR"
@@ -459,7 +459,7 @@ Sets \fIk\fR as the sort key of the icon view item. By default text() is used fo
.PP
See also compare().
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "void TQIconViewItem::setPicture ( const QPicture & icon )\fC [virtual]\fR"
Sets \fIicon\fR as the item's icon in the icon view. This function might be a no-op if you reimplement picture().
.PP
@@ -486,7 +486,7 @@ See also calcRect(), pixmapRect(), setItemRect(), and setTextRect().
If \fIallow\fR is TRUE, the user can rename the icon view item by clicking on the text (or pressing F2) while the item is selected (in-place renaming). If \fIallow\fR is FALSE, in-place renaming is not possible.
.PP
Examples:
-.)l fileiconview/qfileiconview.cpp, iconview/main.cpp, and iconview/simple_dd/main.cpp.
+.)l fileiconview/tqfileiconview.cpp, iconview/main.cpp, and iconview/simple_dd/main.cpp.
.SH "void TQIconViewItem::setSelectable ( bool enable )\fC [virtual]\fR"
Sets this item to be selectable if \fIenable\fR is TRUE (the default) or unselectable if \fIenable\fR is FALSE.
.PP
@@ -508,7 +508,7 @@ Note that \fIcb\fR is used only if TQIconView::selectionMode() is \fCExtended\fR
.PP
All items whose selection status changes repaint themselves.
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "void TQIconViewItem::setSelected ( bool s )\fC [virtual]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
@@ -518,7 +518,7 @@ Sets \fItext\fR as the text of the icon view item. This function might be a no-o
.PP
See also text().
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "void TQIconViewItem::setText ( const TQString & text, bool recalc, bool redraw = TRUE )\fC [virtual]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
@@ -536,13 +536,13 @@ Returns the text of the icon view item. Normally you set the text of the item wi
.PP
See also setText().
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "QRect TQIconViewItem::textRect ( bool relative = TRUE ) const"
Returns the bounding rectangle of the item's text.
.PP
If \fIrelative\fR is TRUE, (the default), the returned rectangle is relative to the origin of the item's rectangle. If \fIrelative\fR is FALSE, the returned rectangle is relative to the origin of the icon view's contents coordinate system.
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "int TQIconViewItem::width () const"
Returns the width of the item.
.SH "int TQIconViewItem::x () const"
diff --git a/doc/man/man3/tqimage.3qt b/doc/man/man3/tqimage.3qt
index 0923308da..7db34b273 100644
--- a/doc/man/man3/tqimage.3qt
+++ b/doc/man/man3/tqimage.3qt
@@ -293,10 +293,10 @@ TQImage \- Hardware-independent pixmap representation with direct access to the
.SH RELATED FUNCTION DOCUMENTATION
.in +1c
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const TQImage & image )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQImage & image )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( QDataStream & s, TQImage & image )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQImage & image )"
.br
.ti -1c
.BI "void \fBbitBlt\fR ( TQImage * dst, int dx, int dy, const TQImage * src, int sx, int sy, int sw, int sh, int conversion_flags )"
@@ -821,7 +821,7 @@ This function writes a TQImage to the TQIODevice, \fIdevice\fR. This can be used
.br
TQByteArray ba;
.br
- QBuffer buffer( ba );
+ TQBuffer buffer( ba );
.br
buffer.open( IO_WriteOnly );
.br
@@ -1046,16 +1046,16 @@ The copying is clipped if areas outside \fIsrc\fR or \fIdst\fR are specified.
If \fIsw\fR is -1, it is adjusted to src->width(). Similarly, if \fIsh\fR is -1, it is adjusted to src->height().
.PP
Currently inefficient for non 32-bit images.
-.SH "QDataStream & operator<< ( QDataStream & s, const TQImage & image )"
+.SH "TQDataStream & operator<< ( TQDataStream & s, const TQImage & image )"
Writes the image \fIimage\fR to the stream \fIs\fR as a PNG image, or as a BMP image if the stream's version is 1.
.PP
Note that writing the stream to a file will not produce a valid image file.
.PP
-See also TQImage::save() and Format of the QDataStream operators.
-.SH "QDataStream & operator>> ( QDataStream & s, TQImage & image )"
+See also TQImage::save() and Format of the TQDataStream operators.
+.SH "TQDataStream & operator>> ( TQDataStream & s, TQImage & image )"
Reads an image from the stream \fIs\fR and stores it in \fIimage\fR.
.PP
-See also TQImage::load() and Format of the QDataStream operators.
+See also TQImage::load() and Format of the TQDataStream operators.
.SH "SEE ALSO"
.BR http://doc.trolltech.com/tqimage.html
diff --git a/doc/man/man3/tqimageio.3qt b/doc/man/man3/tqimageio.3qt
index 57befd609..4e17954c7 100644
--- a/doc/man/man3/tqimageio.3qt
+++ b/doc/man/man3/tqimageio.3qt
@@ -121,7 +121,7 @@ PBM, PGM, and PPM format \fIoutput\fR is always in the more condensed raw format
.PP
GIF support may be removed completely in a future version of Qt. We recommend using the PNG format.
.PP
-See also TQImage, QPixmap, QFile, QMovie, Graphics Classes, Image Processing Classes, and Input/Output and Networking.
+See also TQImage, QPixmap, TQFile, QMovie, Graphics Classes, Image Processing Classes, and Input/Output and Networking.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "TQImageIO::TQImageIO ()"
Constructs a TQImageIO object with all parameters set to zero.
diff --git a/doc/man/man3/tqintdict.3qt b/doc/man/man3/tqintdict.3qt
index 71d58c019..7e97f6d69 100644
--- a/doc/man/man3/tqintdict.3qt
+++ b/doc/man/man3/tqintdict.3qt
@@ -76,10 +76,10 @@ Inherits TQPtrCollection.
.SS "Protected Members"
.in +1c
.ti -1c
-.BI "virtual QDataStream & \fBread\fR ( QDataStream & s, TQPtrCollection::Item & item )"
+.BI "virtual TQDataStream & \fBread\fR ( TQDataStream & s, TQPtrCollection::Item & item )"
.br
.ti -1c
-.BI "virtual QDataStream & \fBwrite\fR ( QDataStream & s, TQPtrCollection::Item ) const"
+.BI "virtual TQDataStream & \fBwrite\fR ( TQDataStream & s, TQPtrCollection::Item ) const"
.br
.in -1c
.SH DESCRIPTION
@@ -207,7 +207,7 @@ If there are two or more items with equal keys, then the most recently inserted
Equivalent to the find() function.
.PP
See also find().
-.SH "QDataStream & TQIntDict::read ( QDataStream & s, TQPtrCollection::Item & item )\fC [virtual protected]\fR"
+.SH "TQDataStream & TQIntDict::read ( TQDataStream & s, TQPtrCollection::Item & item )\fC [virtual protected]\fR"
Reads a dictionary item from the stream \fIs\fR and returns a reference to the stream.
.PP
The default implementation sets \fIitem\fR to 0.
@@ -284,7 +284,7 @@ All dictionary iterators that refer to the taken item will be set to point to th
See also remove(), clear(), and setAutoDelete().
.PP
Example: table/bigtable/main.cpp.
-.SH "QDataStream & TQIntDict::write ( QDataStream & s, TQPtrCollection::Item ) const\fC [virtual protected]\fR"
+.SH "TQDataStream & TQIntDict::write ( TQDataStream & s, TQPtrCollection::Item ) const\fC [virtual protected]\fR"
Writes a dictionary item to the stream \fIs\fR and returns a reference to the stream.
.PP
See also read().
diff --git a/doc/man/man3/tqiodevice.3qt b/doc/man/man3/tqiodevice.3qt
index 4974d1058..f2675e624 100644
--- a/doc/man/man3/tqiodevice.3qt
+++ b/doc/man/man3/tqiodevice.3qt
@@ -11,9 +11,9 @@ TQIODevice \- The base class of I/O devices
.SH SYNOPSIS
All the functions in this class are reentrant when TQt is built with thread support.
.PP
-\fC#include \fR
+\fC#include \fR
.PP
-Inherited by QBuffer, QFile, QSocket, and QSocketDevice.
+Inherited by TQBuffer, TQFile, TQSocket, and TQSocketDevice.
.PP
.SS "Public Members"
.in +1c
@@ -21,7 +21,7 @@ Inherited by QBuffer, QFile, QSocket, and QSocketDevice.
.BI "typedef TQ_ULONG \fBOffset\fR"
.br
.ti -1c
-.BI "\fBQIODevice\fR ()"
+.BI "\fBTQIODevice\fR ()"
.br
.ti -1c
.BI "virtual \fB~TQIODevice\fR ()"
@@ -150,9 +150,9 @@ Inherited by QBuffer, QFile, QSocket, and QSocketDevice.
.SH DESCRIPTION
The TQIODevice class is the base class of I/O devices.
.PP
-An I/O device represents a medium that one can read bytes from and/or write bytes to. The TQIODevice class is the abstract superclass of all such devices; classes such as QFile, QBuffer and QSocket inherit TQIODevice and implement virtual functions such as write() appropriately.
+An I/O device represents a medium that one can read bytes from and/or write bytes to. The TQIODevice class is the abstract superclass of all such devices; classes such as TQFile, TQBuffer and TQSocket inherit TQIODevice and implement virtual functions such as write() appropriately.
.PP
-Although applications sometimes use TQIODevice directly, it is usually better to use TQTextStream and QDataStream, which provide stream operations on any TQIODevice subclass. TQTextStream provides text-oriented stream functionality (for human-readable ASCII files, for example), whereas QDataStream deals with binary data in a totally platform-independent manner.
+Although applications sometimes use TQIODevice directly, it is usually better to use TQTextStream and TQDataStream, which provide stream operations on any TQIODevice subclass. TQTextStream provides text-oriented stream functionality (for human-readable ASCII files, for example), whereas TQDataStream deals with binary data in a totally platform-independent manner.
.PP
The public member functions in TQIODevice roughly fall into two groups: the action functions and the state access functions. The most important action functions are:
.IP
@@ -270,7 +270,7 @@ TQIODevice provides numerous pure virtual functions that you need to implement w
.PP
The three non-pure virtual functions need not be reimplemented for sequential devices.
.PP
-See also QDataStream, TQTextStream, and Input/Output and Networking.
+See also TQDataStream, TQTextStream, and Input/Output and Networking.
.SS "Member Type Documentation"
.SH "TQIODevice::Offset"
The offset within the device.
@@ -288,17 +288,17 @@ See also size().
.PP
Example: distributor/distributor.ui.h.
.PP
-Reimplemented in QSocket.
+Reimplemented in TQSocket.
.SH "bool TQIODevice::at ( Offset pos )\fC [virtual]\fR"
Virtual function that sets the I/O device position to \fIpos\fR. Returns TRUE if the position was successfully set, i.e. \fIpos\fR is within range and the seek was successful; otherwise returns FALSE.
.PP
See also size().
.PP
-Reimplemented in QSocket.
+Reimplemented in TQSocket.
.SH "bool TQIODevice::atEnd () const\fC [virtual]\fR"
Virtual function that returns TRUE if the I/O device position is at the end of the input; otherwise returns FALSE.
.PP
-Reimplemented in QFile and QSocket.
+Reimplemented in TQFile and TQSocket.
.SH "void TQIODevice::close ()\fC [pure virtual]\fR"
Closes the I/O device.
.PP
@@ -308,7 +308,7 @@ See also open().
.PP
Example: grapher/grapher.cpp.
.PP
-Reimplemented in QFile and QSocket.
+Reimplemented in TQFile and TQSocket.
.SH "int TQIODevice::flags () const"
Returns the current I/O device flags setting.
.PP
@@ -320,7 +320,7 @@ Flushes an open I/O device.
.PP
This virtual function must be reimplemented by all subclasses.
.PP
-Reimplemented in QFile and QSocket.
+Reimplemented in TQFile and TQSocket.
.SH "int TQIODevice::getch ()\fC [pure virtual]\fR"
Reads a single byte/character from the I/O device.
.PP
@@ -330,7 +330,7 @@ This virtual function must be reimplemented by all subclasses.
.PP
See also putch() and ungetch().
.PP
-Reimplemented in QFile and QSocket.
+Reimplemented in TQFile and TQSocket.
.SH "bool TQIODevice::isAsynchronous () const"
Returns TRUE if the device is an asynchronous device; otherwise returns FALSE, i.e. if the device is a synchronous device.
.PP
@@ -384,7 +384,7 @@ See also isAsynchronous().
.SH "bool TQIODevice::isTranslated () const"
Returns TRUE if the I/O device translates carriage-return and linefeed characters; otherwise returns FALSE.
.PP
-A QFile is translated if it is opened with the IO_Translate mode flag.
+A TQFile is translated if it is opened with the IO_Translate mode flag.
.SH "bool TQIODevice::isWritable () const"
Returns TRUE if the I/O device was opened using IO_WriteOnly or IO_ReadWrite mode; otherwise returns FALSE.
.PP
@@ -411,7 +411,7 @@ See also close().
.PP
Example: grapher/grapher.cpp.
.PP
-Reimplemented in QFile and QSocket.
+Reimplemented in TQFile and TQSocket.
.SH "int TQIODevice::putch ( int ch )\fC [pure virtual]\fR"
Writes the character \fIch\fR to the I/O device.
.PP
@@ -423,7 +423,7 @@ See also getch() and ungetch().
.PP
Example: grapher/grapher.cpp.
.PP
-Reimplemented in QFile and QSocket.
+Reimplemented in TQFile and TQSocket.
.SH "TQByteArray TQIODevice::readAll ()\fC [virtual]\fR"
This convenience function returns all of the remaining data in the device.
.SH "TQ_LONG TQIODevice::readBlock ( char * data, TQ_ULONG maxlen )\fC [pure virtual]\fR"
@@ -439,7 +439,7 @@ See also writeBlock(), isOpen(), and isReadable().
.PP
Example: distributor/distributor.ui.h.
.PP
-Reimplemented in QSocket and QSocketDevice.
+Reimplemented in TQSocket and TQSocketDevice.
.SH "TQ_LONG TQIODevice::readLine ( char * data, TQ_ULONG maxlen )\fC [virtual]\fR"
Reads a line of text, (or up to \fImaxlen\fR bytes if a newline isn't encountered) plus a terminating '\0' into \fIdata\fR. If there is a newline at the end if the line, it is not stripped.
.PP
@@ -449,7 +449,7 @@ This virtual function can be reimplemented much more efficiently by the most sub
.PP
See also readBlock() and TQTextStream::readLine().
.PP
-Reimplemented in QFile.
+Reimplemented in TQFile.
.SH "bool TQIODevice::reset ()"
Sets the device index position to 0.
.PP
@@ -473,7 +473,7 @@ Virtual function that returns the size of the I/O device.
.PP
See also at().
.PP
-Reimplemented in QFile and QSocket.
+Reimplemented in TQFile and TQSocket.
.SH "int TQIODevice::state () const"
Returns bits OR'ed together that specify the current state.
.PP
@@ -506,7 +506,7 @@ This virtual function must be reimplemented by all subclasses.
.PP
See also getch() and putch().
.PP
-Reimplemented in QFile and QSocket.
+Reimplemented in TQFile and TQSocket.
.SH "TQ_LONG TQIODevice::writeBlock ( const char * data, TQ_ULONG len )\fC [pure virtual]\fR"
Writes \fIlen\fR bytes from \fIdata\fR to the I/O device and returns the number of bytes actually written.
.PP
@@ -518,7 +518,7 @@ See also readBlock().
.PP
Example: distributor/distributor.ui.h.
.PP
-Reimplemented in QBuffer, QSocket, and QSocketDevice.
+Reimplemented in TQBuffer, TQSocket, and TQSocketDevice.
.SH "TQ_LONG TQIODevice::writeBlock ( const TQByteArray & data )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
@@ -526,7 +526,7 @@ This convenience function is the same as calling writeBlock(
data.data(), data.size() ).
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqiodevice.html
+.BR http://doc.trolltech.com/tqiodevice.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqkeyevent.3qt b/doc/man/man3/tqkeyevent.3qt
index 0a0992b23..64d318e43 100644
--- a/doc/man/man3/tqkeyevent.3qt
+++ b/doc/man/man3/tqkeyevent.3qt
@@ -109,7 +109,7 @@ A value of either 0 or Key_unknown means that the event is not the result of a k
.PP
See also TQWidget::setKeyCompression().
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "ButtonState QKeyEvent::state () const"
Returns the keyboard modifier flags that existed immediately before the event occurred.
.PP
@@ -117,7 +117,7 @@ The returned value is ShiftButton, ControlButton, AltButton and MetaButton OR'ed
.PP
See also stateAfter().
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "ButtonState QKeyEvent::stateAfter () const"
Returns the keyboard modifier flags that existed immediately after the event occurred.
.PP
diff --git a/doc/man/man3/tqkeysequence.3qt b/doc/man/man3/tqkeysequence.3qt
index 2a811b776..0ee6b9e51 100644
--- a/doc/man/man3/tqkeysequence.3qt
+++ b/doc/man/man3/tqkeysequence.3qt
@@ -64,10 +64,10 @@ Inherits Qt.
.SH RELATED FUNCTION DOCUMENTATION
.in +1c
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const QKeySequence & keysequence )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QKeySequence & keysequence )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( QDataStream & s, QKeySequence & keysequence )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, QKeySequence & keysequence )"
.br
.in -1c
.SH DESCRIPTION
@@ -134,14 +134,14 @@ Returns TRUE if \fIkeysequence\fR is equal to this key sequence; otherwise retur
.SH "int QKeySequence::operator[] ( uint index ) const"
Returns a reference to the element at position \fIindex\fR in the key sequence. This can only be used to read an element.
.SH RELATED FUNCTION DOCUMENTATION
-.SH "QDataStream & operator<< ( QDataStream & s, const QKeySequence & keysequence )"
+.SH "TQDataStream & operator<< ( TQDataStream & s, const QKeySequence & keysequence )"
Writes the key sequence \fIkeysequence\fR to the stream \fIs\fR.
.PP
-See also Format of the QDataStream operators.
-.SH "QDataStream & operator>> ( QDataStream & s, QKeySequence & keysequence )"
+See also Format of the TQDataStream operators.
+.SH "TQDataStream & operator>> ( TQDataStream & s, QKeySequence & keysequence )"
Reads a key sequence from the stream \fIs\fR into the key sequence \fIkeysequence\fR.
.PP
-See also Format of the QDataStream operators.
+See also Format of the TQDataStream operators.
.SH "SEE ALSO"
.BR http://doc.trolltech.com/ntqkeysequence.html
diff --git a/doc/man/man3/tqlistview.3qt b/doc/man/man3/tqlistview.3qt
index 261b22c2b..7210b9047 100644
--- a/doc/man/man3/tqlistview.3qt
+++ b/doc/man/man3/tqlistview.3qt
@@ -531,7 +531,7 @@ If \fIwidth\fR is negative, the new column's WidthMode is set to Maximum instead
See also setColumnText(), setColumnWidth(), and setColumnWidthMode().
.PP
Examples:
-.)l addressbook/centralwidget.cpp, checklists/checklists.cpp, dirview/main.cpp, fileiconview/mainwindow.cpp, listviews/listviews.cpp, and qdir/qdir.cpp.
+.)l addressbook/centralwidget.cpp, checklists/checklists.cpp, dirview/main.cpp, fileiconview/mainwindow.cpp, listviews/listviews.cpp, and tqdir/tqdir.cpp.
.SH "int QListView::addColumn ( const TQIconSet & iconset, const TQString & label, int width = -1 )\fC [virtual]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
@@ -695,7 +695,7 @@ Returns the QHeader object that manages this list view's columns. Please don't m
You may safely call QHeader::setClickEnabled(), QHeader::setResizeEnabled(), QHeader::setMovingEnabled(), QHeader::hide() and all the const QHeader functions.
.PP
Examples:
-.)l listviews/listviews.cpp and qdir/qdir.cpp.
+.)l listviews/listviews.cpp and tqdir/tqdir.cpp.
.SH "void QListView::hideColumn ( int column )"
Hides the column specified at \fIcolumn\fR. This is a convenience function that calls setColumnWidth( \fIcolumn\fR, 0 ).
.PP
diff --git a/doc/man/man3/tqlistviewitem.3qt b/doc/man/man3/tqlistviewitem.3qt
index e641f8861..110579a94 100644
--- a/doc/man/man3/tqlistviewitem.3qt
+++ b/doc/man/man3/tqlistviewitem.3qt
@@ -301,7 +301,7 @@ Note that the order of the children will change when the sorting order changes a
.PP
Many programs will need to reimplement QListViewItem. The most commonly reimplemented functions are: .nf
.TS
-l - l. Function Description text() Returns the text in a column. Many subclasses will compute this on the fly. key() Used for sorting. The default key() simply calls text(), but judicious use of key() can give you fine control over sorting; for example, QFileDialog reimplements key() to sort by date. setup() Called before showing the item and whenever the list view's font changes, for example. activate()
+l - l. Function Description text() Returns the text in a column. Many subclasses will compute this on the fly. key() Used for sorting. The default key() simply calls text(), but judicious use of key() can give you fine control over sorting; for example, TQFileDialog reimplements key() to sort by date. setup() Called before showing the item and whenever the list view's font changes, for example. activate()
.TE
.fi
diff --git a/doc/man/man3/tqlocalfs.3qt b/doc/man/man3/tqlocalfs.3qt
index 40837fd0e..05a32196e 100644
--- a/doc/man/man3/tqlocalfs.3qt
+++ b/doc/man/man3/tqlocalfs.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QLocalFs 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQLocalFs 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,42 +7,42 @@
.ad l
.nh
.SH NAME
-QLocalFs \- Implementation of a QNetworkProtocol that works on the local file system
+TQLocalFs \- Implementation of a TQNetworkProtocol that works on the local file system
.SH SYNOPSIS
-\fC#include \fR
+\fC#include \fR
.PP
-Inherits QNetworkProtocol.
+Inherits TQNetworkProtocol.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQLocalFs\fR ()"
+.BI "\fBTQLocalFs\fR ()"
.br
.in -1c
.SH DESCRIPTION
-The QLocalFs class is an implementation of a QNetworkProtocol that works on the local file system.
+The TQLocalFs class is an implementation of a TQNetworkProtocol that works on the local file system.
.PP
-This class is derived from QNetworkProtocol. QLocalFs is not normally used directly, but rather through a QUrlOperator, for example:
+This class is derived from TQNetworkProtocol. TQLocalFs is not normally used directly, but rather through a TQUrlOperator, for example:
.PP
.nf
.br
- QUrlOperator op( "file:///tmp" );
+ TQUrlOperator op( "file:///tmp" );
.br
op.listChildren(); // Asks the server to provide a directory listing
.br
.fi
.PP
-This code will only work if the QLocalFs class is registered; to register the class, you must call tqInitNetworkProtocols() before using a QUrlOperator with QLocalFs.
+This code will only work if the TQLocalFs class is registered; to register the class, you must call tqInitNetworkProtocols() before using a TQUrlOperator with TQLocalFs.
.PP
-If you really need to use QLocalFs directly, don't forget to set its QUrlOperator with setUrl().
+If you really need to use TQLocalFs directly, don't forget to set its TQUrlOperator with setUrl().
.PP
-See also TQt Network Documentation, QNetworkProtocol, QUrlOperator, and Input/Output and Networking.
+See also TQt Network Documentation, TQNetworkProtocol, TQUrlOperator, and Input/Output and Networking.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QLocalFs::QLocalFs ()"
+.SH "TQLocalFs::TQLocalFs ()"
Constructor.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqlocalfs.html
+.BR http://doc.trolltech.com/tqlocalfs.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqmainwindow.3qt b/doc/man/man3/tqmainwindow.3qt
index 1e19375e5..5ccd2c217 100644
--- a/doc/man/man3/tqmainwindow.3qt
+++ b/doc/man/man3/tqmainwindow.3qt
@@ -418,7 +418,7 @@ To save the layout and positions of all the dock windows do this:
.PP
.nf
.br
- QFile file( filename );
+ TQFile file( filename );
.br
if ( file.open( IO_WriteOnly ) ) {
.br
@@ -436,7 +436,7 @@ To restore the dock window positions and sizes (normally when the application is
.PP
.nf
.br
- QFile file( filename );
+ TQFile file( filename );
.br
if ( file.open( IO_ReadOnly ) ) {
.br
@@ -450,7 +450,7 @@ To restore the dock window positions and sizes (normally when the application is
.br
.fi
.PP
-The QSettings class can be used in conjunction with the streaming operators to store the application's settings.
+The TQSettings class can be used in conjunction with the streaming operators to store the application's settings.
.PP
TQMainWindow's management of dock windows and toolbars is done transparently behind-the-scenes by QDockArea.
.PP
@@ -809,13 +809,13 @@ Set this property's value with setUsesTextLabel() and get this property's value
.SH "TQTextStream & operator<< ( TQTextStream & ts, const TQMainWindow & mainWindow )"
Writes the layout (sizes and positions) of the dock windows in the dock areas of the TQMainWindow \fImainWindow\fR, including Minimized and TornOff dock windows, to the text stream \fIts\fR.
.PP
-This can be used, for example, in conjunction with QSettings to save the user's layout when the \\mainWindow receives a closeEvent.
+This can be used, for example, in conjunction with TQSettings to save the user's layout when the \\mainWindow receives a closeEvent.
.PP
See also operator>>() and closeEvent().
.SH "TQTextStream & operator>> ( TQTextStream & ts, TQMainWindow & mainWindow )"
Reads the layout (sizes and positions) of the dock windows in the dock areas of the TQMainWindow \fImainWindow\fR from the text stream, \fIts\fR, including Minimized and TornOff dock windows. Restores the dock windows and dock areas to these sizes and positions. The layout information must be in the format produced by operator<<().
.PP
-This can be used, for example, in conjunction with QSettings to restore the user's layout.
+This can be used, for example, in conjunction with TQSettings to restore the user's layout.
.PP
See also operator<<().
diff --git a/doc/man/man3/tqmap.3qt b/doc/man/man3/tqmap.3qt
index 886b2fa76..402ab40bb 100644
--- a/doc/man/man3/tqmap.3qt
+++ b/doc/man/man3/tqmap.3qt
@@ -161,10 +161,10 @@ TQMap \- Value-based template class that provides a dictionary
.SH RELATED FUNCTION DOCUMENTATION
.in +1c
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( QDataStream & s, TQMap & m )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQMap & m )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const TQMap & m )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQMap & m )"
.br
.in -1c
.SH DESCRIPTION
@@ -522,9 +522,9 @@ See also empty().
.SH "TQValueList TQMap::values () const"
Returns a list of all the values in the map, in key order.
.SH RELATED FUNCTION DOCUMENTATION
-.SH "QDataStream & operator<< ( QDataStream & s, const TQMap & m )"
+.SH "TQDataStream & operator<< ( TQDataStream & s, const TQMap & m )"
Writes the map \fIm\fR to the stream \fIs\fR. The types \fIKey\fR and \fIT\fR must implement the streaming operator as well.
-.SH "QDataStream & operator>> ( QDataStream & s, TQMap & m )"
+.SH "TQDataStream & operator>> ( TQDataStream & s, TQMap & m )"
Reads the map \fIm\fR from the stream \fIs\fR. The types \fIKey\fR and \fIT\fR
must implement the streaming operator as well.
diff --git a/doc/man/man3/tqmemarray.3qt b/doc/man/man3/tqmemarray.3qt
index da21cdc40..27b4f7cbb 100644
--- a/doc/man/man3/tqmemarray.3qt
+++ b/doc/man/man3/tqmemarray.3qt
@@ -144,10 +144,10 @@ Inherited by TQByteArray and QPointArray.
.BI "TQ_UINT16 \fBqChecksum\fR ( const char * data, uint len )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const TQByteArray & a )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQByteArray & a )"
.br
.ti -1c
-.BI "QDataStream & \fBoperator>>\fR ( QDataStream & s, TQByteArray & a )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQByteArray & a )"
.br
.in -1c
.SH DESCRIPTION
@@ -362,7 +362,7 @@ The array is a null array if data() == 0 (null pointer).
See also isNull().
.PP
Examples:
-.)l fileiconview/qfileiconview.cpp and network/networkprotocol/nntp.cpp.
+.)l fileiconview/tqfileiconview.cpp and network/networkprotocol/nntp.cpp.
.SH "void TQMemArray::detach ()\fC [virtual]\fR"
Detaches this array from shared array data; i.e. it makes a private, deep copy of the data.
.PP
@@ -454,7 +454,7 @@ New elements are not initialized.
.PP
See also size().
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "bool TQMemArray::resize ( uint size )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
@@ -482,7 +482,7 @@ Example I (intended use):
.br
a.setRawData( bindata, sizeof(bindata) ); // a points to bindata
.br
- QDataStream s( a, IO_ReadOnly ); // open on a's data
+ TQDataStream s( a, IO_ReadOnly ); // open on a's data
.br
s >> ; // read raw bindata
.br
@@ -532,14 +532,14 @@ Equivalent to resize(\fIpos\fR).
.PP
See also resize().
.SH RELATED FUNCTION DOCUMENTATION
-.SH "QDataStream & operator<< ( QDataStream & s, const TQByteArray & a )"
+.SH "TQDataStream & operator<< ( TQDataStream & s, const TQByteArray & a )"
Writes byte array \fIa\fR to the stream \fIs\fR and returns a reference to the stream.
.PP
-See also Format of the QDataStream operators.
-.SH "QDataStream & operator>> ( QDataStream & s, TQByteArray & a )"
+See also Format of the TQDataStream operators.
+.SH "TQDataStream & operator>> ( TQDataStream & s, TQByteArray & a )"
Reads a byte array into \fIa\fR from the stream \fIs\fR and returns a reference to the stream.
.PP
-See also Format of the QDataStream operators.
+See also Format of the TQDataStream operators.
.SH "TQ_UINT16 tqChecksum ( const char * data, uint len )"
Returns the CRC-16 checksum of \fIlen\fR bytes starting at \fIdata\fR.
.PP
diff --git a/doc/man/man3/tqmenudata.3qt b/doc/man/man3/tqmenudata.3qt
index ba5de1daa..5b1144a68 100644
--- a/doc/man/man3/tqmenudata.3qt
+++ b/doc/man/man3/tqmenudata.3qt
@@ -671,7 +671,7 @@ Returns the text that has been set for menu item \fIid\fR, or TQString::null if
See also changeItem(), pixmap(), and iconSet().
.PP
Examples:
-.)l qdir/qdir.cpp and showimg/showimg.cpp.
+.)l tqdir/tqdir.cpp and showimg/showimg.cpp.
.SH "void TQMenuData::updateItem ( int id )\fC [virtual]\fR"
Virtual function; notifies subclasses about an item with \fIid\fR that has been changed.
.PP
diff --git a/doc/man/man3/tqmessagebox.3qt b/doc/man/man3/tqmessagebox.3qt
index f7e0762e8..62acce77a 100644
--- a/doc/man/man3/tqmessagebox.3qt
+++ b/doc/man/man3/tqmessagebox.3qt
@@ -160,7 +160,7 @@ question() is useful for simple yes/no questions:
.PP
.nf
.br
- if ( QFile::exists( filename ) &&
+ if ( TQFile::exists( filename ) &&
.br
QMessageBox::question(
.br
@@ -640,7 +640,7 @@ If \fIparent\fR is 0, the message box becomes an application-global modal dialog
See also question(), warning(), and critical().
.PP
Examples:
-.)l action/application.cpp, application/application.cpp, dirview/dirview.cpp, fileiconview/qfileiconview.cpp, picture/picture.cpp, qwerty/qwerty.cpp, and simple/main.cpp.
+.)l action/application.cpp, application/application.cpp, dirview/dirview.cpp, fileiconview/tqfileiconview.cpp, picture/picture.cpp, qwerty/qwerty.cpp, and simple/main.cpp.
.SH "int QMessageBox::information ( TQWidget * parent, const TQString & caption, const TQString & text, const TQString & button0Text = TQString::null, const TQString & button1Text = TQString::null, const TQString & button2Text = TQString::null, int defaultButtonNumber = 0, int escapeButtonNumber = -1 )\fC [static]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
diff --git a/doc/man/man3/tqmovie.3qt b/doc/man/man3/tqmovie.3qt
index 059aeb957..87336af97 100644
--- a/doc/man/man3/tqmovie.3qt
+++ b/doc/man/man3/tqmovie.3qt
@@ -20,7 +20,7 @@ QMovie \- Incremental loading of animations or images, signalling as it progress
.BI "\fBQMovie\fR ( int bufsize )"
.br
.ti -1c
-.BI "\fBQMovie\fR ( QDataSource * src, int bufsize = 1024 )"
+.BI "\fBQMovie\fR ( TQDataSource * src, int bufsize = 1024 )"
.br
.ti -1c
.BI "\fBQMovie\fR ( const TQString & fileName, int bufsize = 1024 )"
@@ -174,7 +174,7 @@ Constructs a QMovie with an external data source. You should later call pushData
The \fIbufsize\fR argument sets the maximum amount of data the movie will transfer from the data source per event loop. The lower this value, the better interleaved the movie playback will be with other event processing, but the slower the overall processing will be.
.PP
See also pushData().
-.SH "QMovie::QMovie ( QDataSource * src, int bufsize = 1024 )"
+.SH "QMovie::QMovie ( TQDataSource * src, int bufsize = 1024 )"
Constructs a QMovie that reads an image sequence from the given data source, \fIsrc\fR. The source must be allocated dynamically, because QMovie will take ownership of it and will destroy it when the movie is destroyed. The movie starts playing as soon as event processing continues.
.PP
The \fIbufsize\fR argument sets the maximum amount of data the movie will transfer from the data source per event loop. The lower this value, the better interleaved the movie playback will be with other event processing, but the slower the overall processing will be.
diff --git a/doc/man/man3/tqnetworkoperation.3qt b/doc/man/man3/tqnetworkoperation.3qt
index 84b13be15..89d8c5624 100644
--- a/doc/man/man3/tqnetworkoperation.3qt
+++ b/doc/man/man3/tqnetworkoperation.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QNetworkOperation 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQNetworkOperation 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,25 +7,25 @@
.ad l
.nh
.SH NAME
-QNetworkOperation \- Common operations for network protocols
+TQNetworkOperation \- Common operations for network protocols
.SH SYNOPSIS
-\fC#include \fR
+\fC#include \fR
.PP
Inherits TQObject.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQNetworkOperation\fR ( QNetworkProtocol::Operation operation, const TQString & arg0, const TQString & arg1, const TQString & arg2 )"
+.BI "\fBTQNetworkOperation\fR ( TQNetworkProtocol::Operation operation, const TQString & arg0, const TQString & arg1, const TQString & arg2 )"
.br
.ti -1c
-.BI "\fBQNetworkOperation\fR ( QNetworkProtocol::Operation operation, const TQByteArray & arg0, const TQByteArray & arg1, const TQByteArray & arg2 )"
+.BI "\fBTQNetworkOperation\fR ( TQNetworkProtocol::Operation operation, const TQByteArray & arg0, const TQByteArray & arg1, const TQByteArray & arg2 )"
.br
.ti -1c
-.BI "\fB~QNetworkOperation\fR ()"
+.BI "\fB~TQNetworkOperation\fR ()"
.br
.ti -1c
-.BI "void \fBsetState\fR ( QNetworkProtocol::State state )"
+.BI "void \fBsetState\fR ( TQNetworkProtocol::State state )"
.br
.ti -1c
.BI "void \fBsetProtocolDetail\fR ( const TQString & detail )"
@@ -40,10 +40,10 @@ Inherits TQObject.
.BI "void \fBsetRawArg\fR ( int num, const TQByteArray & arg )"
.br
.ti -1c
-.BI "QNetworkProtocol::Operation \fBoperation\fR () const"
+.BI "TQNetworkProtocol::Operation \fBoperation\fR () const"
.br
.ti -1c
-.BI "QNetworkProtocol::State \fBstate\fR () const"
+.BI "TQNetworkProtocol::State \fBstate\fR () const"
.br
.ti -1c
.BI "TQString \fBarg\fR ( int num ) const"
@@ -62,65 +62,65 @@ Inherits TQObject.
.br
.in -1c
.SH DESCRIPTION
-The QNetworkOperation class provides common operations for network protocols.
+The TQNetworkOperation class provides common operations for network protocols.
.PP
An object is created to describe the operation and the current state for each operation that a network protocol should process.
.PP
For a detailed description of the TQt Network Architecture and how to implement and use network protocols in Qt, see the TQt Network Documentation.
.PP
-See also QNetworkProtocol and Input/Output and Networking.
+See also TQNetworkProtocol and Input/Output and Networking.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QNetworkOperation::QNetworkOperation ( QNetworkProtocol::Operation operation, const TQString & arg0, const TQString & arg1, const TQString & arg2 )"
-Constructs a network operation object. \fIoperation\fR is the type of the operation, and \fIarg0\fR, \fIarg1\fR and \fIarg2\fR are the first three arguments of the operation. The state is initialized to QNetworkProtocol::StWaiting.
+.SH "TQNetworkOperation::TQNetworkOperation ( TQNetworkProtocol::Operation operation, const TQString & arg0, const TQString & arg1, const TQString & arg2 )"
+Constructs a network operation object. \fIoperation\fR is the type of the operation, and \fIarg0\fR, \fIarg1\fR and \fIarg2\fR are the first three arguments of the operation. The state is initialized to TQNetworkProtocol::StWaiting.
.PP
-See also QNetworkProtocol::Operation and QNetworkProtocol::State.
-.SH "QNetworkOperation::QNetworkOperation ( QNetworkProtocol::Operation operation, const TQByteArray & arg0, const TQByteArray & arg1, const TQByteArray & arg2 )"
-Constructs a network operation object. \fIoperation\fR is the type of the operation, and \fIarg0\fR, \fIarg1\fR and \fIarg2\fR are the first three raw data arguments of the operation. The state is initialized to QNetworkProtocol::StWaiting.
+See also TQNetworkProtocol::Operation and TQNetworkProtocol::State.
+.SH "TQNetworkOperation::TQNetworkOperation ( TQNetworkProtocol::Operation operation, const TQByteArray & arg0, const TQByteArray & arg1, const TQByteArray & arg2 )"
+Constructs a network operation object. \fIoperation\fR is the type of the operation, and \fIarg0\fR, \fIarg1\fR and \fIarg2\fR are the first three raw data arguments of the operation. The state is initialized to TQNetworkProtocol::StWaiting.
.PP
-See also QNetworkProtocol::Operation and QNetworkProtocol::State.
-.SH "QNetworkOperation::~QNetworkOperation ()"
+See also TQNetworkProtocol::Operation and TQNetworkProtocol::State.
+.SH "TQNetworkOperation::~TQNetworkOperation ()"
Destructor.
-.SH "TQString QNetworkOperation::arg ( int num ) const"
+.SH "TQString TQNetworkOperation::arg ( int num ) const"
Returns the operation's \fInum\fR-th argument. If this argument was not already set, an empty string is returned.
.PP
Example: network/networkprotocol/nntp.cpp.
-.SH "int QNetworkOperation::errorCode () const"
+.SH "int TQNetworkOperation::errorCode () const"
Returns the error code for the last error that occurred.
-.SH "void QNetworkOperation::free ()"
+.SH "void TQNetworkOperation::free ()"
Sets this object to delete itself when it hasn't been used for one second.
.PP
-Because QNetworkOperation pointers are passed around a lot the QNetworkProtocol generally does not have enough knowledge to delete these at the correct time. If a QNetworkProtocol doesn't need an operation any more it will call this function instead.
+Because TQNetworkOperation pointers are passed around a lot the TQNetworkProtocol generally does not have enough knowledge to delete these at the correct time. If a TQNetworkProtocol doesn't need an operation any more it will call this function instead.
.PP
Note: you should never need to call the method yourself.
-.SH "QNetworkProtocol::Operation QNetworkOperation::operation () const"
+.SH "TQNetworkProtocol::Operation TQNetworkOperation::operation () const"
Returns the type of the operation.
-.SH "TQString QNetworkOperation::protocolDetail () const"
+.SH "TQString TQNetworkOperation::protocolDetail () const"
Returns a detailed error message for the last error. This must have been set using setProtocolDetail().
-.SH "TQByteArray QNetworkOperation::rawArg ( int num ) const"
+.SH "TQByteArray TQNetworkOperation::rawArg ( int num ) const"
Returns the operation's \fInum\fR-th raw data argument. If this argument was not already set, an empty bytearray is returned.
-.SH "void QNetworkOperation::setArg ( int num, const TQString & arg )"
+.SH "void TQNetworkOperation::setArg ( int num, const TQString & arg )"
Sets the network operation's \fInum\fR-th argument to \fIarg\fR.
-.SH "void QNetworkOperation::setErrorCode ( int ec )"
+.SH "void TQNetworkOperation::setErrorCode ( int ec )"
Sets the error code to \fIec\fR.
.PP
-If the operation failed, the protocol should set an error code to describe the error in more detail. If possible, one of the error codes defined in QNetworkProtocol should be used.
+If the operation failed, the protocol should set an error code to describe the error in more detail. If possible, one of the error codes defined in TQNetworkProtocol should be used.
.PP
-See also setProtocolDetail() and QNetworkProtocol::Error.
-.SH "void QNetworkOperation::setProtocolDetail ( const TQString & detail )"
+See also setProtocolDetail() and TQNetworkProtocol::Error.
+.SH "void TQNetworkOperation::setProtocolDetail ( const TQString & detail )"
If the operation failed, the error message can be specified as \fIdetail\fR.
-.SH "void QNetworkOperation::setRawArg ( int num, const TQByteArray & arg )"
+.SH "void TQNetworkOperation::setRawArg ( int num, const TQByteArray & arg )"
Sets the network operation's \fInum\fR-th raw data argument to \fIarg\fR.
-.SH "void QNetworkOperation::setState ( QNetworkProtocol::State state )"
-Sets the \fIstate\fR of the operation object. This should be done by the network protocol during processing; at the end it should be set to QNetworkProtocol::StDone or QNetworkProtocol::StFailed, depending on success or failure.
+.SH "void TQNetworkOperation::setState ( TQNetworkProtocol::State state )"
+Sets the \fIstate\fR of the operation object. This should be done by the network protocol during processing; at the end it should be set to TQNetworkProtocol::StDone or TQNetworkProtocol::StFailed, depending on success or failure.
.PP
-See also QNetworkProtocol::State.
-.SH "QNetworkProtocol::State QNetworkOperation::state () const"
+See also TQNetworkProtocol::State.
+.SH "TQNetworkProtocol::State TQNetworkOperation::state () const"
Returns the state of the operation. You can determine whether an
operation is still waiting to be processed, is being processed,
has been processed successfully, or failed.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qnetworkoperation.html
+.BR http://doc.trolltech.com/tqnetworkoperation.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqnetworkprotocol.3qt b/doc/man/man3/tqnetworkprotocol.3qt
index f7bb8f9ae..3d1727a81 100644
--- a/doc/man/man3/tqnetworkprotocol.3qt
+++ b/doc/man/man3/tqnetworkprotocol.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QNetworkProtocol 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQNetworkProtocol 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,13 +7,13 @@
.ad l
.nh
.SH NAME
-QNetworkProtocol \- Common API for network protocols
+TQNetworkProtocol \- Common API for network protocols
.SH SYNOPSIS
-\fC#include \fR
+\fC#include \fR
.PP
Inherits TQObject.
.PP
-Inherited by QFtp, QHttp, and QLocalFs.
+Inherited by TQFtp, TQHttp, and TQLocalFs.
.PP
.SS "Public Members"
.in +1c
@@ -30,13 +30,13 @@ Inherited by QFtp, QHttp, and QLocalFs.
.BI "enum \fBError\fR { NoError = 0, ErrValid, ErrUnknownProtocol, ErrUnsupported, ErrParse, ErrLoginIncorrect, ErrHostNotFound, ErrListChildren, ErrListChlidren = ErrListChildren, ErrMkDir, ErrMkdir = ErrMkDir, ErrRemove, ErrRename, ErrGet, ErrPut, ErrFileNotExisting, ErrPermissionDenied }"
.br
.ti -1c
-.BI "\fBQNetworkProtocol\fR ()"
+.BI "\fBTQNetworkProtocol\fR ()"
.br
.ti -1c
-.BI "virtual \fB~QNetworkProtocol\fR ()"
+.BI "virtual \fB~TQNetworkProtocol\fR ()"
.br
.ti -1c
-.BI "virtual void \fBsetUrl\fR ( QUrlOperator * u )"
+.BI "virtual void \fBsetUrl\fR ( TQUrlOperator * u )"
.br
.ti -1c
.BI "virtual void \fBsetAutoDelete\fR ( bool b, int i = 10000 )"
@@ -48,13 +48,13 @@ Inherited by QFtp, QHttp, and QLocalFs.
.BI "virtual int \fBsupportedOperations\fR () const"
.br
.ti -1c
-.BI "virtual void \fBaddOperation\fR ( QNetworkOperation * op )"
+.BI "virtual void \fBaddOperation\fR ( TQNetworkOperation * op )"
.br
.ti -1c
-.BI "QUrlOperator * \fBurl\fR () const"
+.BI "TQUrlOperator * \fBurl\fR () const"
.br
.ti -1c
-.BI "QNetworkOperation * \fBoperationInProgress\fR () const"
+.BI "TQNetworkOperation * \fBoperationInProgress\fR () const"
.br
.ti -1c
.BI "virtual void \fBclearOperationQueue\fR ()"
@@ -66,43 +66,43 @@ Inherited by QFtp, QHttp, and QLocalFs.
.SS "Signals"
.in +1c
.ti -1c
-.BI "void \fBdata\fR ( const TQByteArray & data, QNetworkOperation * op )"
+.BI "void \fBdata\fR ( const TQByteArray & data, TQNetworkOperation * op )"
.br
.ti -1c
.BI "void \fBconnectionStateChanged\fR ( int state, const TQString & data )"
.br
.ti -1c
-.BI "void \fBfinished\fR ( QNetworkOperation * op )"
+.BI "void \fBfinished\fR ( TQNetworkOperation * op )"
.br
.ti -1c
-.BI "void \fBstart\fR ( QNetworkOperation * op )"
+.BI "void \fBstart\fR ( TQNetworkOperation * op )"
.br
.ti -1c
-.BI "void \fBnewChildren\fR ( const TQValueList & i, QNetworkOperation * op )"
+.BI "void \fBnewChildren\fR ( const TQValueList & i, TQNetworkOperation * op )"
.br
.ti -1c
-.BI "void \fBnewChild\fR ( const QUrlInfo & i, QNetworkOperation * op )"
+.BI "void \fBnewChild\fR ( const TQUrlInfo & i, TQNetworkOperation * op )"
.br
.ti -1c
-.BI "void \fBcreatedDirectory\fR ( const QUrlInfo & i, QNetworkOperation * op )"
+.BI "void \fBcreatedDirectory\fR ( const TQUrlInfo & i, TQNetworkOperation * op )"
.br
.ti -1c
-.BI "void \fBremoved\fR ( QNetworkOperation * op )"
+.BI "void \fBremoved\fR ( TQNetworkOperation * op )"
.br
.ti -1c
-.BI "void \fBitemChanged\fR ( QNetworkOperation * op )"
+.BI "void \fBitemChanged\fR ( TQNetworkOperation * op )"
.br
.ti -1c
-.BI "void \fBdataTransferProgress\fR ( int bytesDone, int bytesTotal, QNetworkOperation * op )"
+.BI "void \fBdataTransferProgress\fR ( int bytesDone, int bytesTotal, TQNetworkOperation * op )"
.br
.in -1c
.SS "Static Public Members"
.in +1c
.ti -1c
-.BI "void \fBregisterNetworkProtocol\fR ( const TQString & protocol, QNetworkProtocolFactoryBase * protocolFactory )"
+.BI "void \fBregisterNetworkProtocol\fR ( const TQString & protocol, TQNetworkProtocolFactoryBase * protocolFactory )"
.br
.ti -1c
-.BI "QNetworkProtocol * \fBgetNetworkProtocol\fR ( const TQString & protocol )"
+.BI "TQNetworkProtocol * \fBgetNetworkProtocol\fR ( const TQString & protocol )"
.br
.ti -1c
.BI "bool \fBhasOnlyLocalFileSystem\fR ()"
@@ -111,33 +111,33 @@ Inherited by QFtp, QHttp, and QLocalFs.
.SS "Protected Members"
.in +1c
.ti -1c
-.BI "virtual void \fBoperationListChildren\fR ( QNetworkOperation * op )"
+.BI "virtual void \fBoperationListChildren\fR ( TQNetworkOperation * op )"
.br
.ti -1c
-.BI "virtual void \fBoperationMkDir\fR ( QNetworkOperation * op )"
+.BI "virtual void \fBoperationMkDir\fR ( TQNetworkOperation * op )"
.br
.ti -1c
-.BI "virtual void \fBoperationRemove\fR ( QNetworkOperation * op )"
+.BI "virtual void \fBoperationRemove\fR ( TQNetworkOperation * op )"
.br
.ti -1c
-.BI "virtual void \fBoperationRename\fR ( QNetworkOperation * op )"
+.BI "virtual void \fBoperationRename\fR ( TQNetworkOperation * op )"
.br
.ti -1c
-.BI "virtual void \fBoperationGet\fR ( QNetworkOperation * op )"
+.BI "virtual void \fBoperationGet\fR ( TQNetworkOperation * op )"
.br
.ti -1c
-.BI "virtual void \fBoperationPut\fR ( QNetworkOperation * op )"
+.BI "virtual void \fBoperationPut\fR ( TQNetworkOperation * op )"
.br
.ti -1c
-.BI "virtual bool \fBcheckConnection\fR ( QNetworkOperation * op )"
+.BI "virtual bool \fBcheckConnection\fR ( TQNetworkOperation * op )"
.br
.in -1c
.SH DESCRIPTION
-The QNetworkProtocol class provides a common API for network protocols.
+The TQNetworkProtocol class provides a common API for network protocols.
.PP
-This is a base class which should be used for network protocols implementations that can then be used in TQt (e.g. in the file dialog) together with the QUrlOperator.
+This is a base class which should be used for network protocols implementations that can then be used in TQt (e.g. in the file dialog) together with the TQUrlOperator.
.PP
-The easiest way to implement a new network protocol is to reimplement the operation*() methods, e.g. operationGet(), etc. Only the supported operations should be reimplemented. To specify which operations are supported, also reimplement supportedOperations() and return an int that is OR'd together using the supported operations from the QNetworkProtocol::Operation enum.
+The easiest way to implement a new network protocol is to reimplement the operation*() methods, e.g. operationGet(), etc. Only the supported operations should be reimplemented. To specify which operations are supported, also reimplement supportedOperations() and return an int that is OR'd together using the supported operations from the TQNetworkProtocol::Operation enum.
.PP
When you implement a network protocol this way, it is important to emit the correct signals. Also, always emit the finished() signal when an operation is done (on success \fIand\fR on failure). TQt relies on correctly emitted finished() signals.
.PP
@@ -145,223 +145,223 @@ For a detailed description of the TQt Network Architecture and how to implement
.PP
See also Input/Output and Networking.
.SS "Member Type Documentation"
-.SH "QNetworkProtocol::ConnectionState"
+.SH "TQNetworkProtocol::ConnectionState"
When the connection state of a network protocol changes it emits the signal connectionStateChanged(). The first argument is one of the following values:
.TP
-\fCQNetworkProtocol::ConHostFound\fR - Host has been found.
+\fCTQNetworkProtocol::ConHostFound\fR - Host has been found.
.TP
-\fCQNetworkProtocol::ConConnected\fR - Connection to the host has been established.
+\fCTQNetworkProtocol::ConConnected\fR - Connection to the host has been established.
.TP
-\fCQNetworkProtocol::ConClosed\fR - Connection has been closed.
-.SH "QNetworkProtocol::Error"
-When an operation fails (finishes unsuccessfully), the QNetworkOperation of the operation returns an error code which has one of the following values:
+\fCTQNetworkProtocol::ConClosed\fR - Connection has been closed.
+.SH "TQNetworkProtocol::Error"
+When an operation fails (finishes unsuccessfully), the TQNetworkOperation of the operation returns an error code which has one of the following values:
.TP
-\fCQNetworkProtocol::NoError\fR - No error occurred.
+\fCTQNetworkProtocol::NoError\fR - No error occurred.
.TP
-\fCQNetworkProtocol::ErrValid\fR - The URL you are operating on is not valid.
+\fCTQNetworkProtocol::ErrValid\fR - The URL you are operating on is not valid.
.TP
-\fCQNetworkProtocol::ErrUnknownProtocol\fR - There is no protocol implementation available for the protocol of the URL you are operating on (e.g. if the protocol is http and no http implementation has been registered).
+\fCTQNetworkProtocol::ErrUnknownProtocol\fR - There is no protocol implementation available for the protocol of the URL you are operating on (e.g. if the protocol is http and no http implementation has been registered).
.TP
-\fCQNetworkProtocol::ErrUnsupported\fR - The operation is not supported by the protocol.
+\fCTQNetworkProtocol::ErrUnsupported\fR - The operation is not supported by the protocol.
.TP
-\fCQNetworkProtocol::ErrParse\fR - The URL could not be parsed correctly.
+\fCTQNetworkProtocol::ErrParse\fR - The URL could not be parsed correctly.
.TP
-\fCQNetworkProtocol::ErrLoginIncorrect\fR - You needed to login but the username or password is wrong.
+\fCTQNetworkProtocol::ErrLoginIncorrect\fR - You needed to login but the username or password is wrong.
.TP
-\fCQNetworkProtocol::ErrHostNotFound\fR - The specified host (in the URL) couldn't be found.
+\fCTQNetworkProtocol::ErrHostNotFound\fR - The specified host (in the URL) couldn't be found.
.TP
-\fCQNetworkProtocol::ErrListChildren\fR - An error occurred while listing the children (files).
+\fCTQNetworkProtocol::ErrListChildren\fR - An error occurred while listing the children (files).
.TP
-\fCQNetworkProtocol::ErrMkDir\fR - An error occurred when creating a directory.
+\fCTQNetworkProtocol::ErrMkDir\fR - An error occurred when creating a directory.
.TP
-\fCQNetworkProtocol::ErrRemove\fR - An error occurred when removing a child (file).
+\fCTQNetworkProtocol::ErrRemove\fR - An error occurred when removing a child (file).
.TP
-\fCQNetworkProtocol::ErrRename\fR - An error occurred when renaming a child (file).
+\fCTQNetworkProtocol::ErrRename\fR - An error occurred when renaming a child (file).
.TP
-\fCQNetworkProtocol::ErrGet\fR - An error occurred while getting (retrieving) data.
+\fCTQNetworkProtocol::ErrGet\fR - An error occurred while getting (retrieving) data.
.TP
-\fCQNetworkProtocol::ErrPut\fR - An error occurred while putting (uploading) data.
+\fCTQNetworkProtocol::ErrPut\fR - An error occurred while putting (uploading) data.
.TP
-\fCQNetworkProtocol::ErrFileNotExisting\fR - A file which is needed by the operation doesn't exist.
+\fCTQNetworkProtocol::ErrFileNotExisting\fR - A file which is needed by the operation doesn't exist.
.TP
-\fCQNetworkProtocol::ErrPermissionDenied\fR - Permission for doing the operation has been denied.
+\fCTQNetworkProtocol::ErrPermissionDenied\fR - Permission for doing the operation has been denied.
.PP
You should also use these error codes when implementing custom network protocols. If this is not possible, you can define your own error codes by using integer values that don't conflict with any of these values.
-.SH "QNetworkProtocol::Operation"
-This enum lists the possible operations that a network protocol can support. supportedOperations() returns an int of these that is OR'd together. Also, the type() of a QNetworkOperation is always one of these values.
+.SH "TQNetworkProtocol::Operation"
+This enum lists the possible operations that a network protocol can support. supportedOperations() returns an int of these that is OR'd together. Also, the type() of a TQNetworkOperation is always one of these values.
.TP
-\fCQNetworkProtocol::OpListChildren\fR - List the children of a URL, e.g. of a directory.
+\fCTQNetworkProtocol::OpListChildren\fR - List the children of a URL, e.g. of a directory.
.TP
-\fCQNetworkProtocol::OpMkDir\fR - Create a directory.
+\fCTQNetworkProtocol::OpMkDir\fR - Create a directory.
.TP
-\fCQNetworkProtocol::OpRemove\fR - Remove a child (e.g. a file).
+\fCTQNetworkProtocol::OpRemove\fR - Remove a child (e.g. a file).
.TP
-\fCQNetworkProtocol::OpRename\fR - Rename a child (e.g. a file).
+\fCTQNetworkProtocol::OpRename\fR - Rename a child (e.g. a file).
.TP
-\fCQNetworkProtocol::OpGet\fR - Get data from a location.
+\fCTQNetworkProtocol::OpGet\fR - Get data from a location.
.TP
-\fCQNetworkProtocol::OpPut\fR - Put data to a location.
-.SH "QNetworkProtocol::State"
-This enum contains the state that a QNetworkOperation can have.
+\fCTQNetworkProtocol::OpPut\fR - Put data to a location.
+.SH "TQNetworkProtocol::State"
+This enum contains the state that a TQNetworkOperation can have.
.TP
-\fCQNetworkProtocol::StWaiting\fR - The operation is in the QNetworkProtocol's queue waiting to be prcessed.
+\fCTQNetworkProtocol::StWaiting\fR - The operation is in the TQNetworkProtocol's queue waiting to be prcessed.
.TP
-\fCQNetworkProtocol::StInProgress\fR - The operation is being processed.
+\fCTQNetworkProtocol::StInProgress\fR - The operation is being processed.
.TP
-\fCQNetworkProtocol::StDone\fR - The operation has been processed succesfully.
+\fCTQNetworkProtocol::StDone\fR - The operation has been processed succesfully.
.TP
-\fCQNetworkProtocol::StFailed\fR - The operation has been processed but an error occurred.
+\fCTQNetworkProtocol::StFailed\fR - The operation has been processed but an error occurred.
.TP
-\fCQNetworkProtocol::StStopped\fR - The operation has been processed but has been stopped before it finished, and is waiting to be processed.
+\fCTQNetworkProtocol::StStopped\fR - The operation has been processed but has been stopped before it finished, and is waiting to be processed.
.PP
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QNetworkProtocol::QNetworkProtocol ()"
+.SH "TQNetworkProtocol::TQNetworkProtocol ()"
Constructor of the network protocol base class. Does some initialization and connecting of signals and slots.
-.SH "QNetworkProtocol::~QNetworkProtocol ()\fC [virtual]\fR"
+.SH "TQNetworkProtocol::~TQNetworkProtocol ()\fC [virtual]\fR"
Destructor.
-.SH "void QNetworkProtocol::addOperation ( QNetworkOperation * op )\fC [virtual]\fR"
+.SH "void TQNetworkProtocol::addOperation ( TQNetworkOperation * op )\fC [virtual]\fR"
Adds the operation \fIop\fR to the operation queue. The operation will be processed as soon as possible. This method returns immediately.
-.SH "bool QNetworkProtocol::autoDelete () const"
+.SH "bool TQNetworkProtocol::autoDelete () const"
Returns TRUE if auto-deleting is enabled; otherwise returns FALSE.
.PP
-See also QNetworkProtocol::setAutoDelete().
-.SH "bool QNetworkProtocol::checkConnection ( QNetworkOperation * op )\fC [virtual protected]\fR"
+See also TQNetworkProtocol::setAutoDelete().
+.SH "bool TQNetworkProtocol::checkConnection ( TQNetworkOperation * op )\fC [virtual protected]\fR"
For processing operations the network protocol base class calls this method quite often. This should be reimplemented by new network protocols. It should return TRUE if the connection is OK (open); otherwise it should return FALSE. If the connection is not open the protocol should open it.
.PP
-If the connection can't be opened (e.g. because you already tried but the host couldn't be found), set the state of \fIop\fR to QNetworkProtocol::StFailed and emit the finished() signal with this QNetworkOperation as argument.
+If the connection can't be opened (e.g. because you already tried but the host couldn't be found), set the state of \fIop\fR to TQNetworkProtocol::StFailed and emit the finished() signal with this TQNetworkOperation as argument.
.PP
\fIop\fR is the operation that needs an open connection.
.PP
Example: network/networkprotocol/nntp.cpp.
-.SH "void QNetworkProtocol::clearOperationQueue ()\fC [virtual]\fR"
+.SH "void TQNetworkProtocol::clearOperationQueue ()\fC [virtual]\fR"
Clears the operation queue.
-.SH "void QNetworkProtocol::connectionStateChanged ( int state, const TQString & data )\fC [signal]\fR"
+.SH "void TQNetworkProtocol::connectionStateChanged ( int state, const TQString & data )\fC [signal]\fR"
This signal is emitted whenever the state of the connection of the network protocol is changed. \fIstate\fR describes the new state, which is one of, ConHostFound, ConConnected or ConClosed. \fIdata\fR is a message text.
-.SH "void QNetworkProtocol::createdDirectory ( const QUrlInfo & i, QNetworkOperation * op )\fC [signal]\fR"
+.SH "void TQNetworkProtocol::createdDirectory ( const TQUrlInfo & i, TQNetworkOperation * op )\fC [signal]\fR"
This signal is emitted when mkdir() has been succesful and the directory has been created. \fIi\fR holds the information about the new directory. \fIop\fR is the pointer to the operation object which contains all the information about the operation, including the state, etc. Using op->arg( 0 ), you can get the file name of the new directory.
.PP
-When a protocol emits this signal, QNetworkProtocol is smart enough to let the QUrlOperator, which is used by the network protocol, emit its corresponding signal.
-.SH "void QNetworkProtocol::data ( const TQByteArray & data, QNetworkOperation * op )\fC [signal]\fR"
+When a protocol emits this signal, TQNetworkProtocol is smart enough to let the TQUrlOperator, which is used by the network protocol, emit its corresponding signal.
+.SH "void TQNetworkProtocol::data ( const TQByteArray & data, TQNetworkOperation * op )\fC [signal]\fR"
This signal is emitted when new \fIdata\fR has been received after calling get() or put(). \fIop\fR holds the name of the file from which data is retrieved or uploaded in its first argument, and the (raw) data in its second argument. You can get them with op->arg( 0 ) and op->rawArg( 1 ). \fIop\fR is the pointer to the operation object, which contains all the information about the operation, including the state, etc.
.PP
-When a protocol emits this signal, QNetworkProtocol is smart enough to let the QUrlOperator (which is used by the network protocol) emit its corresponding signal.
-.SH "void QNetworkProtocol::dataTransferProgress ( int bytesDone, int bytesTotal, QNetworkOperation * op )\fC [signal]\fR"
+When a protocol emits this signal, TQNetworkProtocol is smart enough to let the TQUrlOperator (which is used by the network protocol) emit its corresponding signal.
+.SH "void TQNetworkProtocol::dataTransferProgress ( int bytesDone, int bytesTotal, TQNetworkOperation * op )\fC [signal]\fR"
This signal is emitted during the transfer of data (using put() or get()). \fIbytesDone\fR is how many bytes of \fIbytesTotal\fR have been transferred. \fIbytesTotal\fR may be -1, which means that the total number of bytes is not known. \fIop\fR is the pointer to the operation object which contains all the information about the operation, including the state, etc.
.PP
-When a protocol emits this signal, QNetworkProtocol is smart enough to let the QUrlOperator, which is used by the network protocol, emit its corresponding signal.
-.SH "void QNetworkProtocol::finished ( QNetworkOperation * op )\fC [signal]\fR"
+When a protocol emits this signal, TQNetworkProtocol is smart enough to let the TQUrlOperator, which is used by the network protocol, emit its corresponding signal.
+.SH "void TQNetworkProtocol::finished ( TQNetworkOperation * op )\fC [signal]\fR"
This signal is emitted when an operation finishes. This signal is always emitted, for both success and failure. \fIop\fR is the pointer to the operation object which contains all the information about the operation, including the state, etc. Check the state and error code of the operation object to determine whether or not the operation was successful.
.PP
-When a protocol emits this signal, QNetworkProtocol is smart enough to let the QUrlOperator, which is used by the network protocol, emit its corresponding signal.
-.SH "QNetworkProtocol * QNetworkProtocol::getNetworkProtocol ( const TQString & protocol )\fC [static]\fR"
+When a protocol emits this signal, TQNetworkProtocol is smart enough to let the TQUrlOperator, which is used by the network protocol, emit its corresponding signal.
+.SH "TQNetworkProtocol * TQNetworkProtocol::getNetworkProtocol ( const TQString & protocol )\fC [static]\fR"
Static method to get a new instance of the network protocol \fIprotocol\fR. For example, if you need to do some FTP operations, do the following:
.PP
.nf
.br
- QFtp *ftp = QNetworkProtocol::getNetworkProtocol( "ftp" );
+ TQFtp *ftp = TQNetworkProtocol::getNetworkProtocol( "ftp" );
.br
.fi
This returns a pointer to a new instance of an ftp implementation or null if no protocol for ftp was registered. The ownership of the pointer is transferred to you, so you must delete it if you don't need it anymore.
.PP
-Normally you should not work directly with network protocols, so you will not need to call this method yourself. Instead, use QUrlOperator, which makes working with network protocols much more convenient.
+Normally you should not work directly with network protocols, so you will not need to call this method yourself. Instead, use TQUrlOperator, which makes working with network protocols much more convenient.
.PP
-See also QUrlOperator.
-.SH "bool QNetworkProtocol::hasOnlyLocalFileSystem ()\fC [static]\fR"
+See also TQUrlOperator.
+.SH "bool TQNetworkProtocol::hasOnlyLocalFileSystem ()\fC [static]\fR"
Returns TRUE if the only protocol registered is for working on the local filesystem; returns FALSE if other network protocols are also registered.
-.SH "void QNetworkProtocol::itemChanged ( QNetworkOperation * op )\fC [signal]\fR"
+.SH "void TQNetworkProtocol::itemChanged ( TQNetworkOperation * op )\fC [signal]\fR"
This signal is emitted whenever a file which is a child of this URL has been changed, e.g. by successfully calling rename(). \fIop\fR holds the original and the new file names in the first and second arguments, accessible with op->arg( 0 ) and op->arg( 1 ) respectively. \fIop\fR is the pointer to the operation object which contains all the information about the operation, including the state, etc.
.PP
-When a protocol emits this signal, QNetworkProtocol is smart enough to let the QUrlOperator, which is used by the network protocol, emit its corresponding signal.
-.SH "void QNetworkProtocol::newChild ( const QUrlInfo & i, QNetworkOperation * op )\fC [signal]\fR"
-This signal is emitted if a new child (file) has been read. QNetworkProtocol automatically connects it to a slot which creates a list of QUrlInfo objects (with just one QUrlInfo \fIi\fR) and emits the newChildren() signal with this list. \fIop\fR is the pointer to the operation object which contains all the information about the operation that has finished, including the state, etc.
+When a protocol emits this signal, TQNetworkProtocol is smart enough to let the TQUrlOperator, which is used by the network protocol, emit its corresponding signal.
+.SH "void TQNetworkProtocol::newChild ( const TQUrlInfo & i, TQNetworkOperation * op )\fC [signal]\fR"
+This signal is emitted if a new child (file) has been read. TQNetworkProtocol automatically connects it to a slot which creates a list of TQUrlInfo objects (with just one TQUrlInfo \fIi\fR) and emits the newChildren() signal with this list. \fIop\fR is the pointer to the operation object which contains all the information about the operation that has finished, including the state, etc.
.PP
-This is just a convenience signal useful for implementing your own network protocol. In all other cases connect to the newChildren() signal with its list of QUrlInfo objects.
-.SH "void QNetworkProtocol::newChildren ( const TQValueList & i, QNetworkOperation * op )\fC [signal]\fR"
+This is just a convenience signal useful for implementing your own network protocol. In all other cases connect to the newChildren() signal with its list of TQUrlInfo objects.
+.SH "void TQNetworkProtocol::newChildren ( const TQValueList & i, TQNetworkOperation * op )\fC [signal]\fR"
This signal is emitted after listChildren() was called and new children (files) have been read from the list of files. \fIi\fR holds the information about the new children. \fIop\fR is the pointer to the operation object which contains all the information about the operation, including the state, etc.
.PP
-When a protocol emits this signal, QNetworkProtocol is smart enough to let the QUrlOperator, which is used by the network protocol, emit its corresponding signal.
+When a protocol emits this signal, TQNetworkProtocol is smart enough to let the TQUrlOperator, which is used by the network protocol, emit its corresponding signal.
.PP
-When implementing your own network protocol and reading children, you usually don't read one child at once, but rather a list of them. That's why this signal takes a list of QUrlInfo objects. If you prefer to read just one child at a time you can use the convenience signal newChild(), which takes a single QUrlInfo object.
-.SH "void QNetworkProtocol::operationGet ( QNetworkOperation * op )\fC [virtual protected]\fR"
-When implementing a new network protocol, this method should be reimplemented if the protocol supports getting data; this method should then process the QNetworkOperation.
+When implementing your own network protocol and reading children, you usually don't read one child at once, but rather a list of them. That's why this signal takes a list of TQUrlInfo objects. If you prefer to read just one child at a time you can use the convenience signal newChild(), which takes a single TQUrlInfo object.
+.SH "void TQNetworkProtocol::operationGet ( TQNetworkOperation * op )\fC [virtual protected]\fR"
+When implementing a new network protocol, this method should be reimplemented if the protocol supports getting data; this method should then process the TQNetworkOperation.
.PP
When you reimplement this method it's very important that you emit the correct signals at the correct time (especially the finished() signal after processing an operation). Take a look at the TQt Network Documentation which describes in detail how to reimplement this method. You may also want to look at the example implementation in examples/network/networkprotocol/nntp.cpp.
.PP
\fIop\fR is the pointer to the operation object which contains all the information on the operation that has finished, including the state, etc.
.PP
Example: network/networkprotocol/nntp.cpp.
-.SH "QNetworkOperation * QNetworkProtocol::operationInProgress () const"
+.SH "TQNetworkOperation * TQNetworkProtocol::operationInProgress () const"
Returns the operation, which is being processed, or 0 of no operation is being processed at the moment.
-.SH "void QNetworkProtocol::operationListChildren ( QNetworkOperation * op )\fC [virtual protected]\fR"
-When implementing a new network protocol, this method should be reimplemented if the protocol supports listing children (files); this method should then process this QNetworkOperation.
+.SH "void TQNetworkProtocol::operationListChildren ( TQNetworkOperation * op )\fC [virtual protected]\fR"
+When implementing a new network protocol, this method should be reimplemented if the protocol supports listing children (files); this method should then process this TQNetworkOperation.
.PP
When you reimplement this method it's very important that you emit the correct signals at the correct time (especially the finished() signal after processing an operation). Take a look at the TQt Network Documentation which describes in detail how to reimplement this method. You may also want to look at the example implementation in examples/network/networkprotocol/nntp.cpp.
.PP
\fIop\fR is the pointer to the operation object which contains all the information on the operation that has finished, including the state, etc.
.PP
Example: network/networkprotocol/nntp.cpp.
-.SH "void QNetworkProtocol::operationMkDir ( QNetworkOperation * op )\fC [virtual protected]\fR"
-When implementing a new network protocol, this method should be reimplemented if the protocol supports making directories; this method should then process this QNetworkOperation.
+.SH "void TQNetworkProtocol::operationMkDir ( TQNetworkOperation * op )\fC [virtual protected]\fR"
+When implementing a new network protocol, this method should be reimplemented if the protocol supports making directories; this method should then process this TQNetworkOperation.
.PP
When you reimplement this method it's very important that you emit the correct signals at the correct time (especially the finished() signal after processing an operation). Take a look at the TQt Network Documentation which describes in detail how to reimplement this method. You may also want to look at the example implementation in examples/network/networkprotocol/nntp.cpp.
.PP
\fIop\fR is the pointer to the operation object which contains all the information on the operation that has finished, including the state, etc.
-.SH "void QNetworkProtocol::operationPut ( QNetworkOperation * op )\fC [virtual protected]\fR"
-When implementing a new network protocol, this method should be reimplemented if the protocol supports putting (uploading) data; this method should then process the QNetworkOperation.
+.SH "void TQNetworkProtocol::operationPut ( TQNetworkOperation * op )\fC [virtual protected]\fR"
+When implementing a new network protocol, this method should be reimplemented if the protocol supports putting (uploading) data; this method should then process the TQNetworkOperation.
.PP
When you reimplement this method it's very important that you emit the correct signals at the correct time (especially the finished() signal after processing an operation). Take a look at the TQt Network Documentation which describes in detail how to reimplement this method. You may also want to look at the example implementation in examples/network/networkprotocol/nntp.cpp.
.PP
\fIop\fR is the pointer to the operation object which contains all the information on the operation that has finished, including the state, etc.
-.SH "void QNetworkProtocol::operationRemove ( QNetworkOperation * op )\fC [virtual protected]\fR"
-When implementing a new network protocol, this method should be reimplemented if the protocol supports removing children (files); this method should then process this QNetworkOperation.
+.SH "void TQNetworkProtocol::operationRemove ( TQNetworkOperation * op )\fC [virtual protected]\fR"
+When implementing a new network protocol, this method should be reimplemented if the protocol supports removing children (files); this method should then process this TQNetworkOperation.
.PP
When you reimplement this method it's very important that you emit the correct signals at the correct time (especially the finished() signal after processing an operation). Take a look at the TQt Network Documentation which is describes in detail how to reimplement this method. You may also want to look at the example implementation in examples/network/networkprotocol/nntp.cpp.
.PP
\fIop\fR is the pointer to the operation object which contains all the information on the operation that has finished, including the state, etc.
-.SH "void QNetworkProtocol::operationRename ( QNetworkOperation * op )\fC [virtual protected]\fR"
-When implementing a new newtork protocol, this method should be reimplemented if the protocol supports renaming children (files); this method should then process this QNetworkOperation.
+.SH "void TQNetworkProtocol::operationRename ( TQNetworkOperation * op )\fC [virtual protected]\fR"
+When implementing a new newtork protocol, this method should be reimplemented if the protocol supports renaming children (files); this method should then process this TQNetworkOperation.
.PP
When you reimplement this method it's very important that you emit the correct signals at the correct time (especially the finished() signal after processing an operation). Take a look at the TQt Network Documentation which describes in detail how to reimplement this method. You may also want to look at the example implementation in examples/network/networkprotocol/nntp.cpp.
.PP
\fIop\fR is the pointer to the operation object which contains all the information on the operation that has finished, including the state, etc.
-.SH "void QNetworkProtocol::registerNetworkProtocol ( const TQString & protocol, QNetworkProtocolFactoryBase * protocolFactory )\fC [static]\fR"
-Static method to register a network protocol for Qt. For example, if you have an implementation of NNTP (called Nntp) which is derived from QNetworkProtocol, call:
+.SH "void TQNetworkProtocol::registerNetworkProtocol ( const TQString & protocol, TQNetworkProtocolFactoryBase * protocolFactory )\fC [static]\fR"
+Static method to register a network protocol for Qt. For example, if you have an implementation of NNTP (called Nntp) which is derived from TQNetworkProtocol, call:
.PP
.nf
.br
- QNetworkProtocol::registerNetworkProtocol( "nntp", new QNetworkProtocolFactory );
+ TQNetworkProtocol::registerNetworkProtocol( "nntp", new TQNetworkProtocolFactory );
.br
.fi
after which your implementation is registered for future nntp operations.
.PP
The name of the protocol is given in \fIprotocol\fR and a pointer to the protocol factory is given in \fIprotocolFactory\fR.
-.SH "void QNetworkProtocol::removed ( QNetworkOperation * op )\fC [signal]\fR"
+.SH "void TQNetworkProtocol::removed ( TQNetworkOperation * op )\fC [signal]\fR"
This signal is emitted when remove() has been succesful and the file has been removed. \fIop\fR holds the file name of the removed file in the first argument, accessible with op->arg( 0 ). \fIop\fR is the pointer to the operation object which contains all the information about the operation, including the state, etc.
.PP
-When a protocol emits this signal, QNetworkProtocol is smart enough to let the QUrlOperator, which is used by the network protocol, emit its corresponding signal.
-.SH "void QNetworkProtocol::setAutoDelete ( bool b, int i = 10000 )\fC [virtual]\fR"
-Because it's sometimes hard to take care of removing network protocol instances, QNetworkProtocol provides an auto-delete mechanism. If you set \fIb\fR to TRUE, the network protocol instance is removed after it has been inactive for \fIi\fR milliseconds (i.e. \fIi\fR milliseconds after the last operation has been processed). If you set \fIb\fR to FALSE the auto-delete mechanism is switched off.
+When a protocol emits this signal, TQNetworkProtocol is smart enough to let the TQUrlOperator, which is used by the network protocol, emit its corresponding signal.
+.SH "void TQNetworkProtocol::setAutoDelete ( bool b, int i = 10000 )\fC [virtual]\fR"
+Because it's sometimes hard to take care of removing network protocol instances, TQNetworkProtocol provides an auto-delete mechanism. If you set \fIb\fR to TRUE, the network protocol instance is removed after it has been inactive for \fIi\fR milliseconds (i.e. \fIi\fR milliseconds after the last operation has been processed). If you set \fIb\fR to FALSE the auto-delete mechanism is switched off.
.PP
-If you switch on auto-delete, the QNetworkProtocol also deletes its QUrlOperator.
-.SH "void QNetworkProtocol::setUrl ( QUrlOperator * u )\fC [virtual]\fR"
-Sets the QUrlOperator, on which the protocol works, to \fIu\fR.
+If you switch on auto-delete, the TQNetworkProtocol also deletes its TQUrlOperator.
+.SH "void TQNetworkProtocol::setUrl ( TQUrlOperator * u )\fC [virtual]\fR"
+Sets the TQUrlOperator, on which the protocol works, to \fIu\fR.
.PP
-See also QUrlOperator.
-.SH "void QNetworkProtocol::start ( QNetworkOperation * op )\fC [signal]\fR"
+See also TQUrlOperator.
+.SH "void TQNetworkProtocol::start ( TQNetworkOperation * op )\fC [signal]\fR"
Some operations (such as listChildren()) emit this signal when they start processing the operation. \fIop\fR is the pointer to the operation object which contains all the information about the operation, including the state, etc.
.PP
-When a protocol emits this signal, QNetworkProtocol is smart enough to let the QUrlOperator, which is used by the network protocol, emit its corresponding signal.
-.SH "void QNetworkProtocol::stop ()\fC [virtual]\fR"
+When a protocol emits this signal, TQNetworkProtocol is smart enough to let the TQUrlOperator, which is used by the network protocol, emit its corresponding signal.
+.SH "void TQNetworkProtocol::stop ()\fC [virtual]\fR"
Stops the current operation that is being processed and clears all waiting operations.
-.SH "int QNetworkProtocol::supportedOperations () const\fC [virtual]\fR"
-Returns an int that is OR'd together using the enum values of QNetworkProtocol::Operation, which describes which operations are supported by the network protocol. Should be reimplemented by new network protocols.
+.SH "int TQNetworkProtocol::supportedOperations () const\fC [virtual]\fR"
+Returns an int that is OR'd together using the enum values of TQNetworkProtocol::Operation, which describes which operations are supported by the network protocol. Should be reimplemented by new network protocols.
.PP
Example: network/networkprotocol/nntp.cpp.
-.SH "QUrlOperator * QNetworkProtocol::url () const"
-Returns the QUrlOperator on which the protocol works.
+.SH "TQUrlOperator * TQNetworkProtocol::url () const"
+Returns the TQUrlOperator on which the protocol works.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqnetworkprotocol.html
+.BR http://doc.trolltech.com/tqnetworkprotocol.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqnpinstance.3qt b/doc/man/man3/tqnpinstance.3qt
index e48d1a0b7..a17dafec2 100644
--- a/doc/man/man3/tqnpinstance.3qt
+++ b/doc/man/man3/tqnpinstance.3qt
@@ -113,7 +113,7 @@ The QNPInstance is responsible for creating an appropriate QNPWidget window if r
.PP
Note that there is \fIabsolutely no guarantee\fR regarding the order in which functions are called. Sometimes the browser will call newWindow() first, at other times, newStreamCreated() will be called first (assuming the \fC