summaryrefslogtreecommitdiffstats
path: root/doc/man/man3
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-09-09 14:57:42 +0900
committerMichele Calgaro <[email protected]>2024-09-12 18:58:18 +0900
commit6f57abfc9cd3acf1d648aee696947ac9216adb71 (patch)
tree4ae374b1ce01d388bca2249c5d903d79a6cb814f /doc/man/man3
parent0582c90a9ed4b965629267713f51c0da7c38b39d (diff)
downloadtqt3-6f57abfc9cd3acf1d648aee696947ac9216adb71.tar.gz
tqt3-6f57abfc9cd3acf1d648aee696947ac9216adb71.zip
Rename remaining ntq[s-z]* related files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/man/man3')
-rw-r--r--doc/man/man3/tqdatastream.3qt4
-rw-r--r--doc/man/man3/tqdatatable.3qt6
-rw-r--r--doc/man/man3/tqeditorfactory.3qt12
-rw-r--r--doc/man/man3/tqevent.3qt4
-rw-r--r--doc/man/man3/tqframe.3qt2
-rw-r--r--doc/man/man3/tqhideevent.3qt2
-rw-r--r--doc/man/man3/tqobject.3qt14
-rw-r--r--doc/man/man3/tqpaintdevice.3qt2
-rw-r--r--doc/man/man3/tqpair.3qt2
-rw-r--r--doc/man/man3/tqrect.3qt2
-rw-r--r--doc/man/man3/tqshowevent.3qt14
-rw-r--r--doc/man/man3/tqsignal.3qt12
-rw-r--r--doc/man/man3/tqsize.3qt2
-rw-r--r--doc/man/man3/tqsound.3qt50
-rw-r--r--doc/man/man3/tqsplashscreen.3qt40
-rw-r--r--doc/man/man3/tqsplitter.3qt86
-rw-r--r--doc/man/man3/tqsqlcursor.3qt10
-rw-r--r--doc/man/man3/tqsqldriver.3qt2
-rw-r--r--doc/man/man3/tqsqleditorfactory.3qt8
-rw-r--r--doc/man/man3/tqsqlfield.3qt24
-rw-r--r--doc/man/man3/tqsqlfieldinfo.3qt18
-rw-r--r--doc/man/man3/tqsqlpropertymap.3qt10
-rw-r--r--doc/man/man3/tqsqlquery.3qt54
-rw-r--r--doc/man/man3/tqsqlrecord.3qt16
-rw-r--r--doc/man/man3/tqsqlresult.3qt6
-rw-r--r--doc/man/man3/tqstyle.3qt4
-rw-r--r--doc/man/man3/tqt.3qt2
-rw-r--r--doc/man/man3/tquuid.3qt118
-rw-r--r--doc/man/man3/tqvaluelistiterator.3qt2
-rw-r--r--doc/man/man3/tqvaluevector.3qt2
-rw-r--r--doc/man/man3/tqvariant.3qt496
-rw-r--r--doc/man/man3/tqwidget.3qt10
32 files changed, 518 insertions, 518 deletions
diff --git a/doc/man/man3/tqdatastream.3qt b/doc/man/man3/tqdatastream.3qt
index 238235b46..b67fae99d 100644
--- a/doc/man/man3/tqdatastream.3qt
+++ b/doc/man/man3/tqdatastream.3qt
@@ -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 TQBrush, TQColor, TQDateTime, TQFont, TQPixmap, TQString, QVariant and many others. For the complete list of all TQt types supporting data streaming see the Format of the TQDataStream 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 TQBrush, TQColor, TQDateTime, TQFont, TQPixmap, TQString, TQVariant 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
@@ -294,7 +294,7 @@ You may wish to read/write your own raw binary data to/from the data stream dire
.PP
A similar pair of functions is readBytes() and writeBytes(). These differ from their \fIraw\fR counterparts as follows: readBytes() reads a TQ_UINT32 which is taken to be the length of the data to be read, then that number of bytes is read into the preallocated char*; writeBytes() writes a TQ_UINT32 containing the length of the data, followed by the data. Notice that any encoding/decoding of the data (apart from the length TQ_UINT32) must be done by you.
.PP
-See also TQTextStream, QVariant, and Input/Output and Networking.
+See also TQTextStream, TQVariant, and Input/Output and Networking.
.SS "Member Type Documentation"
.SH "TQDataStream::ByteOrder"
The byte order used for reading/writing the data.
diff --git a/doc/man/man3/tqdatatable.3qt b/doc/man/man3/tqdatatable.3qt
index fc0da29d5..73cc7cd1b 100644
--- a/doc/man/man3/tqdatatable.3qt
+++ b/doc/man/man3/tqdatatable.3qt
@@ -133,7 +133,7 @@ Inherits TQTable.
.BI "virtual TQString \fBtext\fR ( int row, int col ) const"
.br
.ti -1c
-.BI "QVariant \fBvalue\fR ( int row, int col ) const"
+.BI "TQVariant \fBvalue\fR ( int row, int col ) const"
.br
.ti -1c
.BI "TQSqlRecord * \fBcurrentRecord\fR () const"
@@ -305,7 +305,7 @@ Since the data table can perform edits, it must be able to uniquely identify eve
.PP
TQDataTable creates editors using the default TQSqlEditorFactory. Different editor factories can be used by calling installEditorFactory(). A property map is used to map between the cell's value and the editor. You can use your own property map with installPropertyMap().
.PP
-The contents of a cell is available as a TQString with text() or as a QVariant with value(). The current record is returned by currentRecord(). Use the find() function to search for a string in the table.
+The contents of a cell is available as a TQString with text() or as a TQVariant with value(). The current record is returned by currentRecord(). Use the find() function to search for a string in the table.
.PP
Editing actions can be applied programatically. For example, the insertCurrent() function reads the fields from the current record into the cursor and performs the insert. The updateCurrent() and deleteCurrent() functions perform similarly to update and delete the current record respectively.
.PP
@@ -546,7 +546,7 @@ Returns the text used to represent true values. See the "trueText" property for
For an editable table, issues an update using the cursor's edit buffer. If there is no current cursor or there is no current selection, nothing happens. If confirmEdits() or confirmUpdate() is TRUE, confirmEdit() is called to confirm the update. Returns TRUE if the update succeeded; otherwise returns FALSE.
.PP
The underlying cursor must have a valid primary index to ensure that a unique record is updated within the database otherwise the database may be changed to an inconsistent state.
-.SH "QVariant TQDataTable::value ( int row, int col ) const"
+.SH "TQVariant TQDataTable::value ( int row, int col ) const"
Returns the value in cell \fIrow\fR, \fIcol\fR, or an invalid value if the cell does not exist or has no value.
.SS "Property Documentation"
.SH "bool autoEdit"
diff --git a/doc/man/man3/tqeditorfactory.3qt b/doc/man/man3/tqeditorfactory.3qt
index d12ea7334..418e01471 100644
--- a/doc/man/man3/tqeditorfactory.3qt
+++ b/doc/man/man3/tqeditorfactory.3qt
@@ -7,7 +7,7 @@
.ad l
.nh
.SH NAME
-TQEditorFactory \- Used to create editor widgets for QVariant data types
+TQEditorFactory \- Used to create editor widgets for TQVariant data types
.SH SYNOPSIS
\fC#include <tqeditorfactory.h>\fR
.PP
@@ -24,7 +24,7 @@ Inherited by TQSqlEditorFactory.
.BI "\fB~TQEditorFactory\fR ()"
.br
.ti -1c
-.BI "virtual TQWidget * \fBcreateEditor\fR ( TQWidget * parent, const QVariant & v )"
+.BI "virtual TQWidget * \fBcreateEditor\fR ( TQWidget * parent, const TQVariant & v )"
.br
.in -1c
.SS "Static Public Members"
@@ -37,9 +37,9 @@ Inherited by TQSqlEditorFactory.
.br
.in -1c
.SH DESCRIPTION
-The TQEditorFactory class is used to create editor widgets for QVariant data types.
+The TQEditorFactory class is used to create editor widgets for TQVariant data types.
.PP
-Each editor factory provides the createEditor() function which given a QVariant will create and return a TQWidget that can edit that QVariant. For example if you have a QVariant::String type, a TQLineEdit would be the default editor returned, whereas a QVariant::Int's default editor would be a TQSpinBox.
+Each editor factory provides the createEditor() function which given a TQVariant will create and return a TQWidget that can edit that TQVariant. For example if you have a TQVariant::String type, a TQLineEdit would be the default editor returned, whereas a TQVariant::Int's default editor would be a TQSpinBox.
.PP
If you want to create different editors for fields with the same data type, subclass TQEditorFactory and reimplement the createEditor() function.
.PP
@@ -49,8 +49,8 @@ See also Database Classes.
Constructs an editor factory with parent \fIparent\fR, called \fIname\fR.
.SH "TQEditorFactory::~TQEditorFactory ()"
Destroys the object and frees any allocated resources.
-.SH "TQWidget * TQEditorFactory::createEditor ( TQWidget * parent, const QVariant & v )\fC [virtual]\fR"
-Creates and returns the appropriate editor for the QVariant \fIv\fR. If the QVariant is invalid, 0 is returned. The \fIparent\fR is passed to the appropriate editor's constructor.
+.SH "TQWidget * TQEditorFactory::createEditor ( TQWidget * parent, const TQVariant & v )\fC [virtual]\fR"
+Creates and returns the appropriate editor for the TQVariant \fIv\fR. If the TQVariant is invalid, 0 is returned. The \fIparent\fR is passed to the appropriate editor's constructor.
.PP
Reimplemented in TQSqlEditorFactory.
.SH "TQEditorFactory * TQEditorFactory::defaultFactory ()\fC [static]\fR"
diff --git a/doc/man/man3/tqevent.3qt b/doc/man/man3/tqevent.3qt
index 68f7462bc..f00357f2e 100644
--- a/doc/man/man3/tqevent.3qt
+++ b/doc/man/man3/tqevent.3qt
@@ -13,7 +13,7 @@ TQEvent \- The base class of all event classes. Event objects contain event para
.PP
Inherits Qt.
.PP
-Inherited by TQTimerEvent, TQMouseEvent, QWheelEvent, TQTabletEvent, TQKeyEvent, TQFocusEvent, TQPaintEvent, TQMoveEvent, TQResizeEvent, TQCloseEvent, TQIconDragEvent, QShowEvent, TQHideEvent, TQContextMenuEvent, TQIMEvent, TQDropEvent, TQDragLeaveEvent, TQChildEvent, and TQCustomEvent.
+Inherited by TQTimerEvent, TQMouseEvent, QWheelEvent, TQTabletEvent, TQKeyEvent, TQFocusEvent, TQPaintEvent, TQMoveEvent, TQResizeEvent, TQCloseEvent, TQIconDragEvent, TQShowEvent, TQHideEvent, TQContextMenuEvent, TQIMEvent, TQDropEvent, TQDragLeaveEvent, TQChildEvent, and TQCustomEvent.
.PP
.SS "Public Members"
.in +1c
@@ -87,7 +87,7 @@ This enum type defines the valid event types in Qt. The event types and the spec
.TP
\fCTQEvent::Resize\fR - Widget's size changed, TQResizeEvent.
.TP
-\fCTQEvent::Show\fR - Widget was shown on screen, QShowEvent.
+\fCTQEvent::Show\fR - Widget was shown on screen, TQShowEvent.
.TP
\fCTQEvent::Hide\fR - Widget was hidden, TQHideEvent.
.TP
diff --git a/doc/man/man3/tqframe.3qt b/doc/man/man3/tqframe.3qt
index 397bc1315..6cef09827 100644
--- a/doc/man/man3/tqframe.3qt
+++ b/doc/man/man3/tqframe.3qt
@@ -13,7 +13,7 @@ TQFrame \- The base class of widgets that can have a frame
.PP
Inherits TQWidget.
.PP
-Inherited by TQGroupBox, TQScrollView, TQDockWindow, TQGrid, TQHBox, TQLabel, TQLCDNumber, TQLineEdit, TQMenuBar, TQPopupMenu, TQProgressBar, QSplitter, TQToolBox, and TQWidgetStack.
+Inherited by TQGroupBox, TQScrollView, TQDockWindow, TQGrid, TQHBox, TQLabel, TQLCDNumber, TQLineEdit, TQMenuBar, TQPopupMenu, TQProgressBar, TQSplitter, TQToolBox, and TQWidgetStack.
.PP
.SS "Public Members"
.in +1c
diff --git a/doc/man/man3/tqhideevent.3qt b/doc/man/man3/tqhideevent.3qt
index 7c49593f1..ea197d44a 100644
--- a/doc/man/man3/tqhideevent.3qt
+++ b/doc/man/man3/tqhideevent.3qt
@@ -26,7 +26,7 @@ This event is sent just before TQWidget::hide() returns, and also when a top-lev
.PP
If spontaneous() is TRUE the event originated outside the application, i.e. the user hid the window using the window manager controls, either by iconifying the window or by switching to another virtual desktop where the window isn't visible. The window will become hidden but not withdrawn. If the window was iconified, TQWidget::isMinimized() returns TRUE.
.PP
-See also QShowEvent and Event Classes.
+See also TQShowEvent and Event Classes.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "TQHideEvent::TQHideEvent ()"
Constructs a TQHideEvent.
diff --git a/doc/man/man3/tqobject.3qt b/doc/man/man3/tqobject.3qt
index d32be74fd..8e37f12d5 100644
--- a/doc/man/man3/tqobject.3qt
+++ b/doc/man/man3/tqobject.3qt
@@ -15,7 +15,7 @@ All the functions in this class are reentrant when TQt is built with thread supp
.PP
Inherits Qt.
.PP
--Inherited by TQAccel, TQAccessibleObject, TQAction, QApplication, TQAssistantClient, TQDataPump, TQWidget, TQCanvas, TQStyle, TQClipboard, TQDns, TQLayout, TQDragObject, TQEditorFactory, TQEventLoop, TQFileIconProvider, TQNetworkProtocol, TQNetworkOperation, TQNPInstance, TQObjectCleanupHandler, TQProcess, TQServerSocket, TQSessionManager, TQSignal, TQSignalMapper, TQSocket, TQSocketNotifier, QSound, TQSqlDatabase, TQSqlDriver, TQSqlForm, TQStyleSheet, TQTimer, TQToolTipGroup, TQTranslator, TQUrlOperator, and TQValidator.
+-Inherited by TQAccel, TQAccessibleObject, TQAction, QApplication, TQAssistantClient, TQDataPump, TQWidget, TQCanvas, TQStyle, TQClipboard, TQDns, TQLayout, TQDragObject, TQEditorFactory, TQEventLoop, TQFileIconProvider, TQNetworkProtocol, TQNetworkOperation, TQNPInstance, TQObjectCleanupHandler, TQProcess, TQServerSocket, TQSessionManager, TQSignal, TQSignalMapper, TQSocket, TQSocketNotifier, TQSound, TQSqlDatabase, TQSqlDriver, TQSqlForm, TQStyleSheet, TQTimer, TQToolTipGroup, TQTranslator, TQUrlOperator, and TQValidator.
.PP
.SS "Public Members"
.in +1c
@@ -110,10 +110,10 @@ Inherits Qt.
.BI "void \fBdumpObjectInfo\fR ()"
.br
.ti -1c
-.BI "virtual bool \fBsetProperty\fR ( const char * name, const QVariant & value )"
+.BI "virtual bool \fBsetProperty\fR ( const char * name, const TQVariant & value )"
.br
.ti -1c
-.BI "virtual QVariant \fBproperty\fR ( const char * name ) const"
+.BI "virtual TQVariant \fBproperty\fR ( const char * name ) const"
.br
.ti -1c
.BI "TQObject * \fBparent\fR () const"
@@ -274,7 +274,7 @@ in functions that depend on the state. One notable example is TQWidget::sizeHint
.PP
See also event() and TQChildEvent.
.PP
-Reimplemented in TQMainWindow and QSplitter.
+Reimplemented in TQMainWindow and TQSplitter.
.SH "const TQObjectList * TQObject::children () const"
Returns a list of child objects, or 0 if this object has no children.
.PP
@@ -764,14 +764,14 @@ See also children(), parent(), insertChild(), and removeChild().
Returns a pointer to the parent object.
.PP
See also children().
-.SH "QVariant TQObject::property ( const char * name ) const\fC [virtual]\fR"
+.SH "TQVariant TQObject::property ( const char * name ) const\fC [virtual]\fR"
Returns the value of the object's \fIname\fR property.
.PP
If no such property exists, the returned variant is invalid.
.PP
Information about all available properties are provided through the metaObject().
.PP
-See also setProperty(), QVariant::isValid(), metaObject(), TQMetaObject::propertyNames(), and TQMetaObject::property().
+See also setProperty(), TQVariant::isValid(), metaObject(), TQMetaObject::propertyNames(), and TQMetaObject::property().
.PP
Example: qutlook/centralwidget.cpp.
.SH "TQObjectList * TQObject::queryList ( const char * inheritsClass = 0, const char * objName = 0, bool regexpMatch = TRUE, bool recursiveSearch = TRUE ) const"
@@ -837,7 +837,7 @@ The pointer returned by this function becomes invalid if the sender is destroyed
\fBWarning:\fR This function violates the object-oriented principle of modularity. However, getting access to the sender might be useful when many signals are connected to a single slot. The sender is undefined if the slot is called as a normal C++ function.
.SH "void TQObject::setName ( const char * name )\fC [virtual]\fR"
Sets the object's name to \fIname\fR.
-.SH "bool TQObject::setProperty ( const char * name, const QVariant & value )\fC [virtual]\fR"
+.SH "bool TQObject::setProperty ( const char * name, const TQVariant & value )\fC [virtual]\fR"
Sets the value of the object's \fIname\fR property to \fIvalue\fR.
.PP
Returns TRUE if the operation was successful; otherwise returns FALSE.
diff --git a/doc/man/man3/tqpaintdevice.3qt b/doc/man/man3/tqpaintdevice.3qt
index 0e433dfd7..83db6825c 100644
--- a/doc/man/man3/tqpaintdevice.3qt
+++ b/doc/man/man3/tqpaintdevice.3qt
@@ -204,7 +204,7 @@ Implemented by subclasses that have no direct support for drawing graphics (exte
.SH "TQt::HANDLE TQPaintDevice::handle () const\fC [virtual]\fR"
Returns the window system handle of the paint device, for low-level access. Using this function is not portable.
.PP
-The HANDLE type varies with platform; see tqpaintdevice.h and ntqwindowdefs.h for details.
+The HANDLE type varies with platform; see tqpaintdevice.h and tqwindowdefs.h for details.
.PP
See also x11Display().
.SH "bool TQPaintDevice::isExtDev () const"
diff --git a/doc/man/man3/tqpair.3qt b/doc/man/man3/tqpair.3qt
index 65619588a..f7aa58edb 100644
--- a/doc/man/man3/tqpair.3qt
+++ b/doc/man/man3/tqpair.3qt
@@ -54,7 +54,7 @@ A constructor that takes no arguments
.PP
Note that C++ defaults to field-by-field assignment operators and copy constructors if no explicit version is supplied. In many cases this is sufficient.
.PP
-TQPair uses an STL-like syntax to manipulate and address the objects it contains. See the QTL documentation for more information.
+TQPair uses an STL-like syntax to manipulate and address the objects it contains. See the TQTL documentation for more information.
.PP
Functions that need to return two values can use a TQPair.
.PP
diff --git a/doc/man/man3/tqrect.3qt b/doc/man/man3/tqrect.3qt
index 7b153d5c6..cfaccf0c5 100644
--- a/doc/man/man3/tqrect.3qt
+++ b/doc/man/man3/tqrect.3qt
@@ -229,7 +229,7 @@ The TQRect class defines a rectangle in the plane.
.PP
A rectangle is internally represented as an upper-left corner and a bottom-right corner, but it is normally expressed as an upper-left corner and a size.
.PP
-The coordinate type is QCOORD (defined in ntqwindowdefs.h as \fCint\fR). The minimum value of QCOORD is QCOORD_MIN (-2147483648) and the maximum value is QCOORD_MAX (2147483647).
+The coordinate type is QCOORD (defined in tqwindowdefs.h as \fCint\fR). The minimum value of QCOORD is QCOORD_MIN (-2147483648) and the maximum value is QCOORD_MAX (2147483647).
.PP
Note that the size (width and height) of a rectangle might be different from what you are used to. If the top-left corner and the bottom-right corner are the same, the height and the width of the rectangle will both be 1.
.PP
diff --git a/doc/man/man3/tqshowevent.3qt b/doc/man/man3/tqshowevent.3qt
index 54a1fd36e..b1cc004b9 100644
--- a/doc/man/man3/tqshowevent.3qt
+++ b/doc/man/man3/tqshowevent.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QShowEvent 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQShowEvent 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,7 +7,7 @@
.ad l
.nh
.SH NAME
-QShowEvent \- Event which is sent when a widget is shown
+TQShowEvent \- Event which is sent when a widget is shown
.SH SYNOPSIS
\fC#include <tqevent.h>\fR
.PP
@@ -16,21 +16,21 @@ Inherits TQEvent.
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQShowEvent\fR ()"
+.BI "\fBTQShowEvent\fR ()"
.br
.in -1c
.SH DESCRIPTION
-The QShowEvent class provides an event which is sent when a widget is shown.
+The TQShowEvent class provides an event which is sent when a widget is shown.
.PP
There are two kinds of show events: show events caused by the window system (spontaneous) and internal show events. Spontaneous show events are sent just after the window system shows the window, including after a top-level window has been shown (un-iconified) by the user. Internal show events are delivered just before the widget becomes visible.
.PP
See also TQHideEvent and Event Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QShowEvent::QShowEvent ()"
-Constructs a QShowEvent.
+.SH "TQShowEvent::TQShowEvent ()"
+Constructs a TQShowEvent.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qshowevent.html
+.BR http://doc.trolltech.com/tqshowevent.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/tqsignal.3qt b/doc/man/man3/tqsignal.3qt
index d00d757f9..621f1488e 100644
--- a/doc/man/man3/tqsignal.3qt
+++ b/doc/man/man3/tqsignal.3qt
@@ -31,10 +31,10 @@ Inherits TQObject.
.BI "void \fBactivate\fR ()"
.br
.ti -1c
-.BI "void \fBsetValue\fR ( const QVariant & value )"
+.BI "void \fBsetValue\fR ( const TQVariant & value )"
.br
.ti -1c
-.BI "QVariant \fBvalue\fR () const"
+.BI "TQVariant \fBvalue\fR () const"
.br
.in -1c
.SH DESCRIPTION
@@ -44,7 +44,7 @@ If you want to send signals from a class that does not inherit TQObject, you can
.PP
In general, we recommend inheriting TQObject instead. TQObject provides much more functionality.
.PP
-You can set a single QVariant parameter for the signal with setValue().
+You can set a single TQVariant parameter for the signal with setValue().
.PP
Note that TQObject is a \fIprivate\fR base class of TQSignal, i.e. you cannot call any TQObject member functions from a TQSignal object.
.PP
@@ -125,7 +125,7 @@ Constructs a signal object called \fIname\fR, with the parent object \fIparent\f
.SH "TQSignal::~TQSignal ()"
Destroys the signal. All connections are removed, as is the case with all TQObjects.
.SH "void TQSignal::activate ()"
-Emits the signal. If the platform supports QVariant and a parameter has been set with setValue(), this value is passed in the signal.
+Emits the signal. If the platform supports TQVariant and a parameter has been set with setValue(), this value is passed in the signal.
.SH "bool TQSignal::connect ( const TQObject * receiver, const char * member )"
Connects the signal to \fImember\fR in object \fIreceiver\fR.
.PP
@@ -134,9 +134,9 @@ See also disconnect() and TQObject::connect().
Disonnects the signal from \fImember\fR in object \fIreceiver\fR.
.PP
See also connect() and TQObject::disconnect().
-.SH "void TQSignal::setValue ( const QVariant & value )"
+.SH "void TQSignal::setValue ( const TQVariant & value )"
Sets the signal's parameter to \fIvalue\fR
-.SH "QVariant TQSignal::value () const"
+.SH "TQVariant TQSignal::value () const"
Returns the signal's parameter
.SH "SEE ALSO"
diff --git a/doc/man/man3/tqsize.3qt b/doc/man/man3/tqsize.3qt
index f7c1561a3..0620dd066 100644
--- a/doc/man/man3/tqsize.3qt
+++ b/doc/man/man3/tqsize.3qt
@@ -127,7 +127,7 @@ The TQSize class defines the size of a two-dimensional object.
.PP
A size is specified by a width and a height.
.PP
-The coordinate type is QCOORD (defined in \fC<ntqwindowdefs.h>\fR as \fCint\fR). The minimum value of QCOORD is QCOORD_MIN (-2147483648) and the maximum value is QCOORD_MAX (2147483647).
+The coordinate type is QCOORD (defined in \fC<tqwindowdefs.h>\fR as \fCint\fR). The minimum value of QCOORD is QCOORD_MIN (-2147483648) and the maximum value is QCOORD_MAX (2147483647).
.PP
The size can be set in the constructor and changed with setWidth() and setHeight(), or using operator+=(), operator-=(), operator*=() and operator/=(), etc. You can swap the width and height with transpose(). You can get a size which holds the maximum height and width of two sizes using expandedTo(), and the minimum height and width of two sizes using boundedTo().
.PP
diff --git a/doc/man/man3/tqsound.3qt b/doc/man/man3/tqsound.3qt
index f960c5458..55de15e95 100644
--- a/doc/man/man3/tqsound.3qt
+++ b/doc/man/man3/tqsound.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QSound 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQSound 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
-QSound \- Access to the platform audio facilities
+TQSound \- Access to the platform audio facilities
.SH SYNOPSIS
-\fC#include <ntqsound.h>\fR
+\fC#include <tqsound.h>\fR
.PP
Inherits TQObject.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQSound\fR ( const TQString & filename, TQObject * parent = 0, const char * name = 0 )"
+.BI "\fBTQSound\fR ( const TQString & filename, TQObject * parent = 0, const char * name = 0 )"
.br
.ti -1c
-.BI "\fB~QSound\fR ()"
+.BI "\fB~TQSound\fR ()"
.br
.ti -1c
.BI "int \fBloops\fR () const"
@@ -59,21 +59,21 @@ Inherits TQObject.
.br
.in -1c
.SH DESCRIPTION
-The QSound class provides access to the platform audio facilities.
+The TQSound class provides access to the platform audio facilities.
.PP
Qt provides the most commonly required audio operation in GUI applications: asynchronously playing a sound file. This is most easily accomplished with a single call:
.PP
.nf
.br
- QSound::play("mysounds/bells.wav");
+ TQSound::play("mysounds/bells.wav");
.br
.fi
.PP
-A second API is provided in which a QSound object is created from a sound file and is played later:
+A second API is provided in which a TQSound object is created from a sound file and is played later:
.PP
.nf
.br
- QSound bells("mysounds/bells.wav");
+ TQSound bells("mysounds/bells.wav");
.br
.br
bells.play();
@@ -88,51 +88,51 @@ On X11 the Network Audio System is used if available, otherwise all operations w
.PP
On Macintosh, ironically, we use QT (QuickTime) for sound, this means all QuickTime formats are supported by Qt/Mac.
.PP
-The availability of sound can be tested with QSound::isAvailable().
+The availability of sound can be tested with TQSound::isAvailable().
.PP
See also Multimedia Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QSound::QSound ( const TQString & filename, TQObject * parent = 0, const char * name = 0 )"
-Constructs a QSound that can quickly play the sound in a file named \fIfilename\fR.
+.SH "TQSound::TQSound ( const TQString & filename, TQObject * parent = 0, const char * name = 0 )"
+Constructs a TQSound that can quickly play the sound in a file named \fIfilename\fR.
.PP
This may use more memory than the static \fCplay\fR function.
.PP
The \fIparent\fR and \fIname\fR arguments (default 0) are passed on to the TQObject constructor.
-.SH "QSound::~QSound ()"
+.SH "TQSound::~TQSound ()"
Destroys the sound object. If the sound is not finished playing stop() is called on it.
.PP
See also stop() and isFinished().
-.SH "bool QSound::available ()\fC [static]\fR"
+.SH "bool TQSound::available ()\fC [static]\fR"
Returns TRUE if sound support is available; otherwise returns FALSE.
-.SH "TQString QSound::fileName () const"
+.SH "TQString TQSound::fileName () const"
Returns the filename associated with the sound.
-.SH "bool QSound::isAvailable ()\fC [static]\fR"
+.SH "bool TQSound::isAvailable ()\fC [static]\fR"
Returns TRUE if sound facilities exist on the platform; otherwise returns FALSE. An application may choose either to notify the user if sound is crucial to the application or to operate silently without bothering the user.
.PP
-If no sound is available, all QSound operations work silently and quickly.
-.SH "bool QSound::isFinished () const"
+If no sound is available, all TQSound operations work silently and quickly.
+.SH "bool TQSound::isFinished () const"
Returns TRUE if the sound has finished playing; otherwise returns FALSE.
.PP
\fBWarning:\fR On Windows this function always returns TRUE for unlooped sounds.
-.SH "int QSound::loops () const"
+.SH "int TQSound::loops () const"
Returns the number of times the sound will play.
-.SH "int QSound::loopsRemaining () const"
+.SH "int TQSound::loopsRemaining () const"
Returns the number of times the sound will loop. This value decreases each time the sound loops.
-.SH "void QSound::play ( const TQString & filename )\fC [static]\fR"
+.SH "void TQSound::play ( const TQString & filename )\fC [static]\fR"
Plays the sound in a file called \fIfilename\fR.
.PP
Example: sound/sound.cpp.
-.SH "void QSound::play ()\fC [slot]\fR"
+.SH "void TQSound::play ()\fC [slot]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Starts the sound playing. The function returns immediately. Depending on the platform audio facilities, other sounds may stop or may be mixed with the new sound.
.PP
The sound can be played again at any time, possibly mixing or replacing previous plays of the sound.
-.SH "void QSound::setLoops ( int l )"
+.SH "void TQSound::setLoops ( int l )"
Sets the sound to repeat \fIl\fR times when it is played. Passing the value -1 will cause the sound to loop indefinitely.
.PP
See also loops().
-.SH "void QSound::stop ()\fC [slot]\fR"
+.SH "void TQSound::stop ()\fC [slot]\fR"
Stops the sound playing.
.PP
On Windows the current loop will finish if a sound is played in a loop.
@@ -140,7 +140,7 @@ On Windows the current loop will finish if a sound is played in a loop.
See also play().
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqsound.html
+.BR http://doc.trolltech.com/tqsound.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/tqsplashscreen.3qt b/doc/man/man3/tqsplashscreen.3qt
index b4c40bbab..260f8e321 100644
--- a/doc/man/man3/tqsplashscreen.3qt
+++ b/doc/man/man3/tqsplashscreen.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QSplashScreen 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQSplashScreen 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
-QSplashScreen \- Splash screen that can be shown during application startup
+TQSplashScreen \- Splash screen that can be shown during application startup
.SH SYNOPSIS
-\fC#include <ntqsplashscreen.h>\fR
+\fC#include <tqsplashscreen.h>\fR
.PP
Inherits TQWidget.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQSplashScreen\fR ( const TQPixmap & pixmap = TQPixmap ( ), WFlags f = 0 )"
+.BI "\fBTQSplashScreen\fR ( const TQPixmap & pixmap = TQPixmap ( ), WFlags f = 0 )"
.br
.ti -1c
-.BI "virtual \fB~QSplashScreen\fR ()"
+.BI "virtual \fB~TQSplashScreen\fR ()"
.br
.ti -1c
.BI "void \fBsetPixmap\fR ( const TQPixmap & pixmap )"
@@ -56,7 +56,7 @@ Inherits TQWidget.
.br
.in -1c
.SH DESCRIPTION
-The QSplashScreen widget provides a splash screen that can be shown during application startup.
+The TQSplashScreen widget provides a splash screen that can be shown during application startup.
.PP
A splash screen is a widget that is usually displayed when an application is being started. Splash screens are often used for applications that have long start up times (e.g. database or networking applications that take time to establish connections) to provide the user with feedback that the application is loading.
.PP
@@ -76,7 +76,7 @@ The most common usage is to show a splash screen before the main widget is displ
.br
TQPixmap pixmap( "splash.png" );
.br
- QSplashScreen *splash = new QSplashScreen( pixmap );
+ TQSplashScreen *splash = new TQSplashScreen( pixmap );
.br
splash->show();
.br
@@ -98,7 +98,7 @@ The most common usage is to show a splash screen before the main widget is displ
.br
.fi
.PP
-It is sometimes useful to update the splash screen with messages, for example, announcing connections established or modules loaded as the application starts up. QSplashScreen supports this with the message() function. If you wish to do your own drawing you can get a pointer to the pixmap used in the splash screen with pixmap(). Alternatively, you can subclass QSplashScreen and reimplement drawContents().
+It is sometimes useful to update the splash screen with messages, for example, announcing connections established or modules loaded as the application starts up. TQSplashScreen supports this with the message() function. If you wish to do your own drawing you can get a pointer to the pixmap used in the splash screen with pixmap(). Alternatively, you can subclass TQSplashScreen and reimplement drawContents().
.PP
The user can hide the splash screen by clicking on it with the mouse. Since the splash screen is typically displayed before the event loop has started running, it is necessary to periodically call QApplication::processEvents() to receive the mouse clicks.
.PP
@@ -106,7 +106,7 @@ The user can hide the splash screen by clicking on it with the mouse. Since the
.br
TQPixmap pixmap( "splash.png" );
.br
- QSplashScreen *splash = new QSplashScreen( pixmap );
+ TQSplashScreen *splash = new TQSplashScreen( pixmap );
.br
splash->show();
.br
@@ -126,38 +126,38 @@ The user can hide the splash screen by clicking on it with the mouse. Since the
.PP
See also Miscellaneous Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QSplashScreen::QSplashScreen ( const TQPixmap & pixmap = TQPixmap ( ), WFlags f = 0 )"
+.SH "TQSplashScreen::TQSplashScreen ( const TQPixmap & pixmap = TQPixmap ( ), WFlags f = 0 )"
Construct a splash screen that will display the \fIpixmap\fR.
.PP
There should be no need to set the widget flags, \fIf\fR, except perhaps WDestructiveClose or WStyle_StaysOnTop.
-.SH "QSplashScreen::~QSplashScreen ()\fC [virtual]\fR"
+.SH "TQSplashScreen::~TQSplashScreen ()\fC [virtual]\fR"
Destructor.
-.SH "void QSplashScreen::clear ()\fC [slot]\fR"
+.SH "void TQSplashScreen::clear ()\fC [slot]\fR"
Removes the message being displayed on the splash screen
.PP
See also message().
-.SH "void QSplashScreen::drawContents ( TQPainter * painter )\fC [virtual protected]\fR"
+.SH "void TQSplashScreen::drawContents ( TQPainter * painter )\fC [virtual protected]\fR"
Draw the contents of the splash screen using painter \fIpainter\fR. The default implementation draws the message passed by message(). Reimplement this function if you want to do your own drawing on the splash screen.
-.SH "void QSplashScreen::finish ( TQWidget * mainWin )"
+.SH "void TQSplashScreen::finish ( TQWidget * mainWin )"
Makes the splash screen wait until the widget \fImainWin\fR is displayed before calling close() on itself.
-.SH "void QSplashScreen::message ( const TQString & message, int alignment = AlignLeft, const TQColor & color = black )\fC [slot]\fR"
+.SH "void TQSplashScreen::message ( const TQString & message, int alignment = AlignLeft, const TQColor & color = black )\fC [slot]\fR"
Draws the \fImessage\fR text onto the splash screen with color \fIcolor\fR and aligns the text according to the flags in \fIalignment\fR.
.PP
See also TQt::AlignmentFlags and clear().
-.SH "void QSplashScreen::messageChanged ( const TQString & message )\fC [signal]\fR"
+.SH "void TQSplashScreen::messageChanged ( const TQString & message )\fC [signal]\fR"
This signal is emitted when the message on the splash screen changes. \fImessage\fR is the new message and is a null-string when the message has been removed.
.PP
See also message() and clear().
-.SH "TQPixmap * QSplashScreen::pixmap () const"
+.SH "TQPixmap * TQSplashScreen::pixmap () const"
Returns the pixmap that is used in the splash screen. The image does not have any of the text drawn by message() calls.
-.SH "void QSplashScreen::repaint ()"
+.SH "void TQSplashScreen::repaint ()"
This overrides TQWidget::repaint(). It differs from the standard repaint function in that it also calls QApplication::flush() to ensure the updates are displayed, even when there is no event loop present.
-.SH "void QSplashScreen::setPixmap ( const TQPixmap & pixmap )"
+.SH "void TQSplashScreen::setPixmap ( const TQPixmap & pixmap )"
Sets the pixmap that will be used as the splash screen's image to
\fIpixmap\fR.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqsplashscreen.html
+.BR http://doc.trolltech.com/tqsplashscreen.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/tqsplitter.3qt b/doc/man/man3/tqsplitter.3qt
index a84e01baf..b5b816a85 100644
--- a/doc/man/man3/tqsplitter.3qt
+++ b/doc/man/man3/tqsplitter.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QSplitter 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQSplitter 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
-QSplitter \- Implements a splitter widget
+TQSplitter \- Implements a splitter widget
.SH SYNOPSIS
-\fC#include <ntqsplitter.h>\fR
+\fC#include <tqsplitter.h>\fR
.PP
Inherits TQFrame.
.PP
@@ -25,7 +25,7 @@ Inherits TQFrame.
.BI "\fBQSplitter\fR ( Orientation o, TQWidget * parent = 0, const char * name = 0 )"
.br
.ti -1c
-.BI "\fB~QSplitter\fR ()"
+.BI "\fB~TQSplitter\fR ()"
.br
.ti -1c
.BI "virtual void \fBsetOrientation\fR ( Orientation )"
@@ -115,14 +115,14 @@ Inherits TQFrame.
.SH RELATED FUNCTION DOCUMENTATION
.in +1c
.ti -1c
-.BI "TQTextStream & \fBoperator<<\fR ( TQTextStream & ts, const QSplitter & splitter )"
+.BI "TQTextStream & \fBoperator<<\fR ( TQTextStream & ts, const TQSplitter & splitter )"
.br
.ti -1c
-.BI "TQTextStream & \fBoperator>>\fR ( TQTextStream & ts, QSplitter & splitter )"
+.BI "TQTextStream & \fBoperator>>\fR ( TQTextStream & ts, TQSplitter & splitter )"
.br
.in -1c
.SH DESCRIPTION
-The QSplitter class implements a splitter widget.
+The TQSplitter class implements a splitter widget.
.PP
A splitter lets the user control the size of child widgets by dragging the boundary between the children. Any number of widgets may be controlled by a single splitter.
.PP
@@ -130,7 +130,7 @@ To show a TQListBox, a TQListView and a TQTextEdit side by side:
.PP
.nf
.br
- QSplitter *split = new QSplitter( parent );
+ TQSplitter *split = new TQSplitter( parent );
.br
TQListBox *lb = new TQListBox( split );
.br
@@ -140,11 +140,11 @@ To show a TQListBox, a TQListView and a TQTextEdit side by side:
.br
.fi
.PP
-QSplitter lays out its children horizontally (side by side); you can use setOrientation(QSplitter::Vertical) to lay out the children vertically.
+TQSplitter lays out its children horizontally (side by side); you can use setOrientation(TQSplitter::Vertical) to lay out the children vertically.
.PP
By default, all widgets can be as large or as small as the user wishes, between the minimumSizeHint() (or minimumSize()) and maximumSize() of the widgets. Use setResizeMode() to specify that a widget should keep its size when the splitter is resized, or set the stretch component of the sizePolicy.
.PP
-Although QSplitter normally resizes the children only at the end of a resize operation, if you call setOpaqueResize(TRUE) the widgets are resized as often as possible.
+Although TQSplitter normally resizes the children only at the end of a resize operation, if you call setOpaqueResize(TRUE) the widgets are resized as often as possible.
.PP
The initial distribution of size between the widgets is determined by the initial size of each widget. You can also use setSizes() to set the sizes of all the widgets. The function sizes() returns the sizes set by the user.
.PP
@@ -159,87 +159,87 @@ If you hide() a child its space will be distributed among the other children. It
.PP
See also TQTabBar and Organizers.
.SS "Member Type Documentation"
-.SH "QSplitter::ResizeMode"
-This enum type describes how QSplitter will resize each of its child widgets.
+.SH "TQSplitter::ResizeMode"
+This enum type describes how TQSplitter will resize each of its child widgets.
.TP
\fCQSplitter::Auto\fR - The widget will be resized according to the stretch factors set in its sizePolicy().
.TP
\fCQSplitter::Stretch\fR - The widget will be resized when the splitter itself is resized.
.TP
-\fCQSplitter::KeepSize\fR - QSplitter will try to keep the widget's size unchanged.
+\fCQSplitter::KeepSize\fR - TQSplitter will try to keep the widget's size unchanged.
.TP
-\fCQSplitter::FollowSizeHint\fR - QSplitter will resize the widget when the widget's size hint changes.
+\fCQSplitter::FollowSizeHint\fR - TQSplitter will resize the widget when the widget's size hint changes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QSplitter::QSplitter ( TQWidget * parent = 0, const char * name = 0 )"
+.SH "TQSplitter::TQSplitter ( TQWidget * parent = 0, const char * name = 0 )"
Constructs a horizontal splitter with the \fIparent\fR and \fIname\fR arguments being passed on to the TQFrame constructor.
-.SH "QSplitter::QSplitter ( Orientation o, TQWidget * parent = 0, const char * name = 0 )"
+.SH "TQSplitter::TQSplitter ( Orientation o, TQWidget * parent = 0, const char * name = 0 )"
Constructs a splitter with orientation \fIo\fR with the \fIparent\fR and \fIname\fR arguments being passed on to the TQFrame constructor.
-.SH "QSplitter::~QSplitter ()"
+.SH "TQSplitter::~TQSplitter ()"
Destroys the splitter and any children.
-.SH "int QSplitter::adjustPos ( int pos, int id )\fC [protected]\fR"
+.SH "int TQSplitter::adjustPos ( int pos, int id )\fC [protected]\fR"
Returns the closest legal position to \fIpos\fR of the widget with ID \fIid\fR.
.PP
See also idAfter().
-.SH "void QSplitter::childEvent ( TQChildEvent * c )\fC [virtual protected]\fR"
+.SH "void TQSplitter::childEvent ( TQChildEvent * c )\fC [virtual protected]\fR"
Tells the splitter that the child widget described by \fIc\fR has been inserted or removed.
.PP
Reimplemented from TQObject.
-.SH "bool QSplitter::childrenCollapsible () const"
+.SH "bool TQSplitter::childrenCollapsible () const"
Returns TRUE if child widgets can be resized down to size 0 by the user; otherwise returns FALSE. See the "childrenCollapsible" property for details.
-.SH "void QSplitter::drawSplitter ( TQPainter * p, QCOORD x, QCOORD y, QCOORD w, QCOORD h )\fC [virtual protected]\fR"
+.SH "void TQSplitter::drawSplitter ( TQPainter * p, QCOORD x, QCOORD y, QCOORD w, QCOORD h )\fC [virtual protected]\fR"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Draws the splitter handle in the rectangle described by \fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR using painter \fIp\fR.
.PP
See also TQStyle::drawPrimitive().
-.SH "void QSplitter::getRange ( int id, int * min, int * max )\fC [protected]\fR"
+.SH "void TQSplitter::getRange ( int id, int * min, int * max )\fC [protected]\fR"
Returns the valid range of the splitter with ID \fIid\fR in \fI*min\fR and \fI*max\fR if \fImin\fR and \fImax\fR are not 0.
.PP
See also idAfter().
-.SH "int QSplitter::handleWidth () const"
+.SH "int TQSplitter::handleWidth () const"
Returns the width of the splitter handle. See the "handleWidth" property for details.
-.SH "int QSplitter::idAfter ( TQWidget * w ) const\fC [protected]\fR"
-Returns the ID of the widget to the right of or below the widget \fIw\fR, or 0 if there is no such widget (i.e. it is either not in this QSplitter or \fIw\fR is at the end).
-.SH "void QSplitter::moveSplitter ( QCOORD p, int id )\fC [protected]\fR"
+.SH "int TQSplitter::idAfter ( TQWidget * w ) const\fC [protected]\fR"
+Returns the ID of the widget to the right of or below the widget \fIw\fR, or 0 if there is no such widget (i.e. it is either not in this TQSplitter or \fIw\fR is at the end).
+.SH "void TQSplitter::moveSplitter ( QCOORD p, int id )\fC [protected]\fR"
Moves the left/top edge of the splitter handle with ID \fIid\fR as close as possible to position \fIp\fR, which is the distance from the left (or top) edge of the widget.
.PP
For Arabic, Hebrew and other right-to-left languages the layout is reversed. \fIp\fR is then the distance from the right (or top) edge of the widget.
.PP
See also idAfter().
-.SH "void QSplitter::moveToFirst ( TQWidget * w )"
+.SH "void TQSplitter::moveToFirst ( TQWidget * w )"
Moves widget \fIw\fR to the leftmost/top position.
.PP
Example: splitter/splitter.cpp.
-.SH "void QSplitter::moveToLast ( TQWidget * w )"
+.SH "void TQSplitter::moveToLast ( TQWidget * w )"
Moves widget \fIw\fR to the rightmost/bottom position.
-.SH "bool QSplitter::opaqueResize () const"
+.SH "bool TQSplitter::opaqueResize () const"
Returns TRUE if resizing is opaque; otherwise returns FALSE. See the "opaqueResize" property for details.
-.SH "Orientation QSplitter::orientation () const"
+.SH "Orientation TQSplitter::orientation () const"
Returns the orientation of the splitter. See the "orientation" property for details.
-.SH "void QSplitter::refresh ()"
+.SH "void TQSplitter::refresh ()"
Updates the splitter's state. You should not need to call this function.
-.SH "void QSplitter::setChildrenCollapsible ( bool )"
+.SH "void TQSplitter::setChildrenCollapsible ( bool )"
Sets whether child widgets can be resized down to size 0 by the user. See the "childrenCollapsible" property for details.
-.SH "void QSplitter::setCollapsible ( TQWidget * w, bool collapse )"
+.SH "void TQSplitter::setCollapsible ( TQWidget * w, bool collapse )"
Sets whether the child widget \fIw\fR is collapsible to \fIcollapse\fR.
.PP
By default, children are collapsible, meaning that the user can resize them down to size 0, even if they have a non-zero minimumSize() or minimumSizeHint(). This behavior can be changed on a per-widget basis by calling this function, or globally for all the widgets in the splitter by setting the childrenCollapsible property.
.PP
See also childrenCollapsible.
-.SH "void QSplitter::setHandleWidth ( int )"
+.SH "void TQSplitter::setHandleWidth ( int )"
Sets the width of the splitter handle. See the "handleWidth" property for details.
-.SH "void QSplitter::setOpaqueResize ( bool = TRUE )\fC [virtual]\fR"
+.SH "void TQSplitter::setOpaqueResize ( bool = TRUE )\fC [virtual]\fR"
Sets whether resizing is opaque. See the "opaqueResize" property for details.
-.SH "void QSplitter::setOrientation ( Orientation )\fC [virtual]\fR"
+.SH "void TQSplitter::setOrientation ( Orientation )\fC [virtual]\fR"
Sets the orientation of the splitter. See the "orientation" property for details.
-.SH "void QSplitter::setResizeMode ( TQWidget * w, ResizeMode mode )\fC [virtual]\fR"
+.SH "void TQSplitter::setResizeMode ( TQWidget * w, ResizeMode mode )\fC [virtual]\fR"
Sets resize mode of widget \fIw\fR to \fImode\fR. (The default is Auto.)
.PP
Examples:
.)l fileiconview/mainwindow.cpp, listviews/listviews.cpp, and splitter/splitter.cpp.
-.SH "void QSplitter::setRubberband ( int p )\fC [virtual protected]\fR"
+.SH "void TQSplitter::setRubberband ( int p )\fC [virtual protected]\fR"
Displays a rubber band at position \fIp\fR. If \fIp\fR is negative, the rubber band is removed.
-.SH "void QSplitter::setSizes ( TQValueList<int> list )"
+.SH "void TQSplitter::setSizes ( TQValueList<int> list )"
Sets the size parameters to the values given in the \fIlist\fR. If the splitter is horizontal, the values set the widths of each widget going from left to right. If the splitter is vertical, the values set the heights of each widget going from top to bottom. Extra values in the \fIlist\fR are ignored.
.PP
If \fIlist\fR contains too few values, the result is undefined but the program will still be well-behaved.
@@ -247,7 +247,7 @@ If \fIlist\fR contains too few values, the result is undefined but the program w
Note that the values in \fIlist\fR should be the height/width that the widgets should be resized to.
.PP
See also sizes().
-.SH "TQValueList<int> QSplitter::sizes () const"
+.SH "TQValueList<int> TQSplitter::sizes () const"
Returns a list of the size parameters of all the widgets in this splitter.
.PP
If the splitter's orientation is horizontal, the list is a list of widget widths; if the orientation is vertical, the list is a list of widget heights.
@@ -297,17 +297,17 @@ By default the orientation is horizontal (the widgets are side by side). The pos
.PP
Set this property's value with setOrientation() and get this property's value with orientation().
.SH RELATED FUNCTION DOCUMENTATION
-.SH "TQTextStream & operator<< ( TQTextStream & ts, const QSplitter & splitter )"
+.SH "TQTextStream & operator<< ( TQTextStream & ts, const TQSplitter & splitter )"
Writes the sizes and the hidden state of the widgets in the splitter \fIsplitter\fR to the text stream \fIts\fR.
.PP
See also operator>>(), sizes(), and TQWidget::hidden.
-.SH "TQTextStream & operator>> ( TQTextStream & ts, QSplitter & splitter )"
+.SH "TQTextStream & operator>> ( TQTextStream & ts, TQSplitter & splitter )"
Reads the sizes and the hidden state of the widgets in the splitter \fIsplitter\fR from the text stream \fIts\fR. The sizes must have been previously written by the operator<<() function.
.PP
See also operator<<(), setSizes(), and TQWidget::hide().
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqsplitter.html
+.BR http://doc.trolltech.com/tqsplitter.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/tqsqlcursor.3qt b/doc/man/man3/tqsqlcursor.3qt
index d111c604b..9a243f91c 100644
--- a/doc/man/man3/tqsqlcursor.3qt
+++ b/doc/man/man3/tqsqlcursor.3qt
@@ -156,7 +156,7 @@ Inherited by TQSqlSelectCursor.
.SS "Protected Members"
.in +1c
.ti -1c
-.BI "virtual QVariant \fBcalculateField\fR ( const TQString & name )"
+.BI "virtual TQVariant \fBcalculateField\fR ( const TQString & name )"
.br
.ti -1c
.BI "virtual int \fBupdate\fR ( const TQString & filter, bool invalidate = TRUE )"
@@ -272,8 +272,8 @@ Constructs a copy of \fIother\fR.
Destroys the object and frees any allocated resources.
.SH "void TQSqlCursor::append ( const TQSqlFieldInfo & fieldInfo )\fC [virtual]\fR"
Append a copy of field \fIfieldInfo\fR to the end of the cursor. Note that all references to the cursor edit buffer become invalidated.
-.SH "QVariant TQSqlCursor::calculateField ( const TQString & name )\fC [virtual protected]\fR"
-Protected virtual function which is called whenever a field needs to be calculated. If calculated fields are being used, derived classes must reimplement this function and return the appropriate value for field \fIname\fR. The default implementation returns an invalid QVariant.
+.SH "TQVariant TQSqlCursor::calculateField ( const TQString & name )\fC [virtual protected]\fR"
+Protected virtual function which is called whenever a field needs to be calculated. If calculated fields are being used, derived classes must reimplement this function and return the appropriate value for field \fIname\fR. The default implementation returns an invalid TQVariant.
.PP
See also setCalculated().
.PP
@@ -521,7 +521,7 @@ Selects all fields in the cursor matching the filter index \fIfilter\fR. The dat
.PP
In this example the TQSqlIndex, pk, is used for two different purposes. When used as the filter (first) argument, the field names it contains are used to construct the WHERE clause, each set to the current cursor value, \fCWHERE id=10\fR, in this case. When used as the sort (second) argument the field names it contains are used for the ORDER BY clause, \fCORDER BY id\fR in this example.
.SH "void TQSqlCursor::setCalculated ( const TQString & name, bool calculated )\fC [virtual]\fR"
-Sets field \fIname\fR to \fIcalculated\fR. If the field \fIname\fR does not exist, nothing happens. The value of a calculated field is set by the calculateField() virtual function which you must reimplement (or the field value will be an invalid QVariant). Calculated fields do not appear in generated SQL statements sent to the database.
+Sets field \fIname\fR to \fIcalculated\fR. If the field \fIname\fR does not exist, nothing happens. The value of a calculated field is set by the calculateField() virtual function which you must reimplement (or the field value will be an invalid TQVariant). Calculated fields do not appear in generated SQL statements sent to the database.
.PP
See also calculateField() and TQSqlRecord::setGenerated().
.SH "void TQSqlCursor::setFilter ( const TQString & filter )\fC [virtual]\fR"
@@ -574,7 +574,7 @@ Sets field \fIname\fR's trimmed status to \fItrim\fR. If the field \fIname\fR do
.PP
When a trimmed field of type string or cstring is read from the database any trailing (right-most) spaces are removed.
.PP
-See also isTrimmed() and QVariant.
+See also isTrimmed() and TQVariant.
.SH "TQSqlIndex TQSqlCursor::sort () const"
Returns the current sort, or an empty index if there is no current sort.
.SH "TQString TQSqlCursor::toString ( TQSqlRecord * rec, const TQString & prefix, const TQString & fieldSep, const TQString & sep ) const\fC [virtual protected]\fR"
diff --git a/doc/man/man3/tqsqldriver.3qt b/doc/man/man3/tqsqldriver.3qt
index 00676d2dc..49949955a 100644
--- a/doc/man/man3/tqsqldriver.3qt
+++ b/doc/man/man3/tqsqldriver.3qt
@@ -161,7 +161,7 @@ If \fIfield\fR is bytearray data, and the driver can edit binary fields, the val
For any other field type toString() will be called on its value and the result returned.
.IP
.PP
-See also QVariant::toString().
+See also TQVariant::toString().
.SH "bool TQSqlDriver::hasFeature ( DriverFeature f ) const\fC [pure virtual]\fR"
Returns TRUE if the driver supports feature \fIf\fR; otherwise returns FALSE.
.PP
diff --git a/doc/man/man3/tqsqleditorfactory.3qt b/doc/man/man3/tqsqleditorfactory.3qt
index c468c09f9..feb471f0f 100644
--- a/doc/man/man3/tqsqleditorfactory.3qt
+++ b/doc/man/man3/tqsqleditorfactory.3qt
@@ -22,7 +22,7 @@ Inherits TQEditorFactory.
.BI "\fB~TQSqlEditorFactory\fR ()"
.br
.ti -1c
-.BI "virtual TQWidget * \fBcreateEditor\fR ( TQWidget * parent, const QVariant & variant )"
+.BI "virtual TQWidget * \fBcreateEditor\fR ( TQWidget * parent, const TQVariant & variant )"
.br
.ti -1c
.BI "virtual TQWidget * \fBcreateEditor\fR ( TQWidget * parent, const TQSqlField * field )"
@@ -40,7 +40,7 @@ Inherits TQEditorFactory.
.SH DESCRIPTION
The TQSqlEditorFactory class is used to create the editors used by TQDataTable and TQSqlForm.
.PP
-TQSqlEditorFactory is used by TQDataTable and TQSqlForm to automatically create appropriate editors for a given TQSqlField. For example if the field is a QVariant::String a TQLineEdit would be the default editor, whereas a QVariant::Int's default editor would be a TQSpinBox.
+TQSqlEditorFactory is used by TQDataTable and TQSqlForm to automatically create appropriate editors for a given TQSqlField. For example if the field is a TQVariant::String a TQLineEdit would be the default editor, whereas a TQVariant::Int's default editor would be a TQSpinBox.
.PP
If you want to create different editors for fields with the same data type, subclass TQSqlEditorFactory and reimplement the createEditor() function.
.PP
@@ -50,8 +50,8 @@ See also TQDataTable, TQSqlForm, and Database Classes.
Constructs a SQL editor factory with parent \fIparent\fR, called \fIname\fR.
.SH "TQSqlEditorFactory::~TQSqlEditorFactory ()"
Destroys the object and frees any allocated resources.
-.SH "TQWidget * TQSqlEditorFactory::createEditor ( TQWidget * parent, const QVariant & variant )\fC [virtual]\fR"
-Creates and returns the appropriate editor widget for the QVariant \fIvariant\fR.
+.SH "TQWidget * TQSqlEditorFactory::createEditor ( TQWidget * parent, const TQVariant & variant )\fC [virtual]\fR"
+Creates and returns the appropriate editor widget for the TQVariant \fIvariant\fR.
.PP
The widget that is returned has the parent \fIparent\fR (which may be zero). If \fIvariant\fR is invalid, 0 is returned.
.PP
diff --git a/doc/man/man3/tqsqlfield.3qt b/doc/man/man3/tqsqlfield.3qt
index fb6f2201b..f3e34a9d3 100644
--- a/doc/man/man3/tqsqlfield.3qt
+++ b/doc/man/man3/tqsqlfield.3qt
@@ -14,7 +14,7 @@ TQSqlField \- Manipulates the fields in SQL database tables and views
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBTQSqlField\fR ( const TQString & fieldName = TQString::null, QVariant::Type type = QVariant::Invalid )"
+.BI "\fBTQSqlField\fR ( const TQString & fieldName = TQString::null, TQVariant::Type type = TQVariant::Invalid )"
.br
.ti -1c
.BI "\fBTQSqlField\fR ( const TQSqlField & other )"
@@ -29,10 +29,10 @@ TQSqlField \- Manipulates the fields in SQL database tables and views
.BI "virtual \fB~TQSqlField\fR ()"
.br
.ti -1c
-.BI "virtual void \fBsetValue\fR ( const QVariant & value )"
+.BI "virtual void \fBsetValue\fR ( const TQVariant & value )"
.br
.ti -1c
-.BI "virtual QVariant \fBvalue\fR () const"
+.BI "virtual TQVariant \fBvalue\fR () const"
.br
.ti -1c
.BI "virtual void \fBsetName\fR ( const TQString & name )"
@@ -56,7 +56,7 @@ TQSqlField \- Manipulates the fields in SQL database tables and views
.BI "void \fBclear\fR ( bool nullify = TRUE )"
.br
.ti -1c
-.BI "QVariant::Type \fBtype\fR () const"
+.BI "TQVariant::Type \fBtype\fR () const"
.br
.in -1c
.SH DESCRIPTION
@@ -64,11 +64,11 @@ The TQSqlField class manipulates the fields in SQL database tables and views.
.PP
TQSqlField represents the characteristics of a single column in a database table or view, such as the data type and column name. A field also contains the value of the database column, which can be viewed or changed.
.PP
-Field data values are stored as QVariants. Using an incompatible type is not permitted. For example:
+Field data values are stored as TQVariants. Using an incompatible type is not permitted. For example:
.PP
.nf
.br
- TQSqlField f( "myfield", QVariant::Int );
+ TQSqlField f( "myfield", TQVariant::Int );
.br
f.setValue( TQPixmap() ); // will not work
.br
@@ -78,7 +78,7 @@ However, the field will attempt to cast certain data types to the field data typ
.PP
.nf
.br
- TQSqlField f( "myfield", QVariant::Int );
+ TQSqlField f( "myfield", TQVariant::Int );
.br
f.setValue( TQString("123") ); // casts TQString to int
.br
@@ -112,7 +112,7 @@ In practice we rarely need to extract a pointer to a field at all. The previous
.PP
See also Database Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "TQSqlField::TQSqlField ( const TQString & fieldName = TQString::null, QVariant::Type type = QVariant::Invalid )"
+.SH "TQSqlField::TQSqlField ( const TQString & fieldName = TQString::null, TQVariant::Type type = TQVariant::Invalid )"
Constructs an empty field called \fIfieldName\fR of type \fItype\fR.
.SH "TQSqlField::TQSqlField ( const TQSqlField & other )"
Constructs a copy of \fIother\fR.
@@ -150,7 +150,7 @@ See also isReadOnly() and clear().
Sets the read only flag of the field's value to \fIreadOnly\fR.
.PP
See also setValue().
-.SH "void TQSqlField::setValue ( const QVariant & value )\fC [virtual]\fR"
+.SH "void TQSqlField::setValue ( const TQVariant & value )\fC [virtual]\fR"
Sets the value of the field to \fIvalue\fR. If the field is read-only (isReadOnly() returns TRUE), nothing happens. If the data type of \fIvalue\fR differs from the field's current data type, an attempt is made to cast it to the proper type. This preserves the data type of the field in the case of assignment, e.g. a TQString to an integer data type. For example:
.PP
.nf
@@ -166,10 +166,10 @@ Sets the value of the field to \fIvalue\fR. If the field is read-only (isReadOnl
.fi
.PP
See also isReadOnly().
-.SH "QVariant::Type TQSqlField::type () const"
+.SH "TQVariant::Type TQSqlField::type () const"
Returns the field's type as stored in the database. Note that the actual value might have a different type, Numerical values that are too large to store in a long int or double are usually stored as strings to prevent precision loss.
-.SH "QVariant TQSqlField::value () const\fC [virtual]\fR"
-Returns the value of the field as a QVariant.
+.SH "TQVariant TQSqlField::value () const\fC [virtual]\fR"
+Returns the value of the field as a TQVariant.
.PP
Example: sql/overview/table4/main.cpp.
diff --git a/doc/man/man3/tqsqlfieldinfo.3qt b/doc/man/man3/tqsqlfieldinfo.3qt
index de45e1941..755ffb2fb 100644
--- a/doc/man/man3/tqsqlfieldinfo.3qt
+++ b/doc/man/man3/tqsqlfieldinfo.3qt
@@ -14,7 +14,7 @@ TQSqlFieldInfo \- Stores meta data associated with a SQL field
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBTQSqlFieldInfo\fR ( const TQString & name = TQString::null, QVariant::Type typ = QVariant::Invalid, int required = -1, int len = -1, int prec = -1, const QVariant & defValue = QVariant ( ), int typeID = 0, bool generated = TRUE, bool trim = FALSE, bool calculated = FALSE )"
+.BI "\fBTQSqlFieldInfo\fR ( const TQString & name = TQString::null, TQVariant::Type typ = TQVariant::Invalid, int required = -1, int len = -1, int prec = -1, const TQVariant & defValue = TQVariant ( ), int typeID = 0, bool generated = TRUE, bool trim = FALSE, bool calculated = FALSE )"
.br
.ti -1c
.BI "\fBTQSqlFieldInfo\fR ( const TQSqlFieldInfo & other )"
@@ -38,7 +38,7 @@ TQSqlFieldInfo \- Stores meta data associated with a SQL field
.BI "int \fBisRequired\fR () const"
.br
.ti -1c
-.BI "QVariant::Type \fBtype\fR () const"
+.BI "TQVariant::Type \fBtype\fR () const"
.br
.ti -1c
.BI "int \fBlength\fR () const"
@@ -47,7 +47,7 @@ TQSqlFieldInfo \- Stores meta data associated with a SQL field
.BI "int \fBprecision\fR () const"
.br
.ti -1c
-.BI "QVariant \fBdefaultValue\fR () const"
+.BI "TQVariant \fBdefaultValue\fR () const"
.br
.ti -1c
.BI "TQString \fBname\fR () const"
@@ -83,10 +83,10 @@ All values must be set in the constructor, and may be retrieved using isRequired
.PP
See also Database Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "TQSqlFieldInfo::TQSqlFieldInfo ( const TQString & name = TQString::null, QVariant::Type typ = QVariant::Invalid, int required = -1, int len = -1, int prec = -1, const QVariant & defValue = QVariant ( ), int typeID = 0, bool generated = TRUE, bool trim = FALSE, bool calculated = FALSE )"
+.SH "TQSqlFieldInfo::TQSqlFieldInfo ( const TQString & name = TQString::null, TQVariant::Type typ = TQVariant::Invalid, int required = -1, int len = -1, int prec = -1, const TQVariant & defValue = TQVariant ( ), int typeID = 0, bool generated = TRUE, bool trim = FALSE, bool calculated = FALSE )"
Constructs a TQSqlFieldInfo with the following parameters: <center>.nf
.TS
-l - l. \fIname\fR the name of the field. \fItyp\fR the field's type in a QVariant. \fIrequired\fR greater than 0 if the field is required, 0 if its value can be NULL and less than 0 if it cannot be determined whether the field is required or not. \fIlen\fR the length of the field. Note that for non-character types some databases return either the length in bytes or the number of digits. -1 signifies that the length cannot be determined. \fIprec\fR the precision of the field, or -1 if the field has no precision or it cannot be determined. \fIdefValue\fR the default value that is inserted into the table if none is specified by the user. QVariant() if there is no default value or it cannot be determined. \fItypeID\fR the internal typeID of the database system (only useful for low-level programming). 0 if unknown. \fIgenerated\fR TRUE indicates that this field should be included in auto-generated SQL statments, e.g. in TQSqlCursor. \fItrim\fR TRUE indicates that widgets should remove trailing whitespace from character fields. This does not affect the field value but only its representation inside widgets. \fIcalculated\fR
+l - l. \fIname\fR the name of the field. \fItyp\fR the field's type in a TQVariant. \fIrequired\fR greater than 0 if the field is required, 0 if its value can be NULL and less than 0 if it cannot be determined whether the field is required or not. \fIlen\fR the length of the field. Note that for non-character types some databases return either the length in bytes or the number of digits. -1 signifies that the length cannot be determined. \fIprec\fR the precision of the field, or -1 if the field has no precision or it cannot be determined. \fIdefValue\fR the default value that is inserted into the table if none is specified by the user. TQVariant() if there is no default value or it cannot be determined. \fItypeID\fR the internal typeID of the database system (only useful for low-level programming). 0 if unknown. \fIgenerated\fR TRUE indicates that this field should be included in auto-generated SQL statments, e.g. in TQSqlCursor. \fItrim\fR TRUE indicates that widgets should remove trailing whitespace from character fields. This does not affect the field value but only its representation inside widgets. \fIcalculated\fR
.TE
.fi
</center>
@@ -96,8 +96,8 @@ Constructs a copy of \fIother\fR.
Creates a TQSqlFieldInfo object with the type and the name of the TQSqlField \fIother\fR. If \fIgenerated\fR is TRUE this field will be included in auto-generated SQL statments, e.g. in TQSqlCursor.
.SH "TQSqlFieldInfo::~TQSqlFieldInfo ()\fC [virtual]\fR"
Destroys the object and frees any allocated resources.
-.SH "QVariant TQSqlFieldInfo::defaultValue () const"
-Returns the field's default value or an empty QVariant if the field has no default value or the value couldn't be determined. The default value is the value inserted in the database when it is not explicitly specified by the user.
+.SH "TQVariant TQSqlFieldInfo::defaultValue () const"
+Returns the field's default value or an empty TQVariant if the field has no default value or the value couldn't be determined. The default value is the value inserted in the database when it is not explicitly specified by the user.
.SH "bool TQSqlFieldInfo::isCalculated () const"
Returns TRUE if the field is calculated; otherwise returns FALSE.
.PP
@@ -141,8 +141,8 @@ If \fItrim\fR is TRUE widgets should remove trailing whitespace from character f
See also isTrim().
.SH "TQSqlField TQSqlFieldInfo::toField () const"
Returns an empty TQSqlField based on the information in this TQSqlFieldInfo.
-.SH "QVariant::Type TQSqlFieldInfo::type () const"
-Returns the field's type or QVariant::Invalid if the type is unknown.
+.SH "TQVariant::Type TQSqlFieldInfo::type () const"
+Returns the field's type or TQVariant::Invalid if the type is unknown.
.SH "int TQSqlFieldInfo::typeID () const"
Returns the internal type identifier as returned from the database system. The return value is 0 if the type is unknown.
.PP
diff --git a/doc/man/man3/tqsqlpropertymap.3qt b/doc/man/man3/tqsqlpropertymap.3qt
index cd38334df..9fe2ccc43 100644
--- a/doc/man/man3/tqsqlpropertymap.3qt
+++ b/doc/man/man3/tqsqlpropertymap.3qt
@@ -20,10 +20,10 @@ TQSqlPropertyMap \- Used to map widgets to SQL fields
.BI "virtual \fB~TQSqlPropertyMap\fR ()"
.br
.ti -1c
-.BI "QVariant \fBproperty\fR ( TQWidget * widget )"
+.BI "TQVariant \fBproperty\fR ( TQWidget * widget )"
.br
.ti -1c
-.BI "virtual void \fBsetProperty\fR ( TQWidget * widget, const QVariant & value )"
+.BI "virtual void \fBsetProperty\fR ( TQWidget * widget, const TQVariant & value )"
.br
.ti -1c
.BI "void \fBinsert\fR ( const TQString & classname, const TQString & property )"
@@ -139,11 +139,11 @@ Insert a new classname/property pair, which is used for custom SQL field editors
Example: sql/overview/custom1/main.cpp.
.SH "void TQSqlPropertyMap::installDefaultMap ( TQSqlPropertyMap * map )\fC [static]\fR"
Replaces the global default property map with \fImap\fR. All TQDataTable and TQSqlForm instantiations will use this new map for inserting and extracting values to and from editors. \fITQSqlPropertyMap takes ownership of &#92;a map, and destroys it when it is no longer needed.\fR
-.SH "QVariant TQSqlPropertyMap::property ( TQWidget * widget )"
-Returns the mapped property of \fIwidget\fR as a QVariant.
+.SH "TQVariant TQSqlPropertyMap::property ( TQWidget * widget )"
+Returns the mapped property of \fIwidget\fR as a TQVariant.
.SH "void TQSqlPropertyMap::remove ( const TQString & classname )"
Removes \fIclassname\fR from the map.
-.SH "void TQSqlPropertyMap::setProperty ( TQWidget * widget, const QVariant & value )\fC [virtual]\fR"
+.SH "void TQSqlPropertyMap::setProperty ( TQWidget * widget, const TQVariant & value )\fC [virtual]\fR"
Sets the property of \fIwidget\fR to \fIvalue\fR.
.SH "SEE ALSO"
diff --git a/doc/man/man3/tqsqlquery.3qt b/doc/man/man3/tqsqlquery.3qt
index 731c8243a..d842ee412 100644
--- a/doc/man/man3/tqsqlquery.3qt
+++ b/doc/man/man3/tqsqlquery.3qt
@@ -76,7 +76,7 @@ Inherited by TQSqlCursor.
.BI "virtual bool \fBexec\fR ( const TQString & query )"
.br
.ti -1c
-.BI "virtual QVariant \fBvalue\fR ( int i ) const"
+.BI "virtual TQVariant \fBvalue\fR ( int i ) const"
.br
.ti -1c
.BI "virtual bool \fBseek\fR ( int i, bool relative = FALSE )"
@@ -100,31 +100,31 @@ Inherited by TQSqlCursor.
.BI "bool \fBprepare\fR ( const TQString & query )"
.br
.ti -1c
-.BI "void \fBbindValue\fR ( const TQString & placeholder, const QVariant & val )"
+.BI "void \fBbindValue\fR ( const TQString & placeholder, const TQVariant & val )"
.br
.ti -1c
-.BI "void \fBbindValue\fR ( int pos, const QVariant & val )"
+.BI "void \fBbindValue\fR ( int pos, const TQVariant & val )"
.br
.ti -1c
-.BI "void \fBaddBindValue\fR ( const QVariant & val )"
+.BI "void \fBaddBindValue\fR ( const TQVariant & val )"
.br
.ti -1c
-.BI "void \fBbindValue\fR ( const TQString & placeholder, const QVariant & val, TQSql::ParameterType type )"
+.BI "void \fBbindValue\fR ( const TQString & placeholder, const TQVariant & val, TQSql::ParameterType type )"
.br
.ti -1c
-.BI "void \fBbindValue\fR ( int pos, const QVariant & val, TQSql::ParameterType type )"
+.BI "void \fBbindValue\fR ( int pos, const TQVariant & val, TQSql::ParameterType type )"
.br
.ti -1c
-.BI "void \fBaddBindValue\fR ( const QVariant & val, TQSql::ParameterType type )"
+.BI "void \fBaddBindValue\fR ( const TQVariant & val, TQSql::ParameterType type )"
.br
.ti -1c
-.BI "QVariant \fBboundValue\fR ( const TQString & placeholder ) const"
+.BI "TQVariant \fBboundValue\fR ( const TQString & placeholder ) const"
.br
.ti -1c
-.BI "QVariant \fBboundValue\fR ( int pos ) const"
+.BI "TQVariant \fBboundValue\fR ( int pos ) const"
.br
.ti -1c
-.BI "TQMap<TQString, QVariant> \fBboundValues\fR () const"
+.BI "TQMap<TQString, TQVariant> \fBboundValues\fR () const"
.br
.ti -1c
.BI "TQString \fBexecutedQuery\fR () const"
@@ -158,7 +158,7 @@ last()
.TP
\fC\fRseek(int)
.PP
-These functions allow the programmer to move forward, backward or arbitrarily through the records returned by the query. If you only need to move forward through the results, e.g. using next() or using seek() with a positive offset, you can use setForwardOnly() and save a significant amount of memory overhead. Once an active query is positioned on a valid record, data can be retrieved using value(). All data is transferred from the SQL backend using QVariants.
+These functions allow the programmer to move forward, backward or arbitrarily through the records returned by the query. If you only need to move forward through the results, e.g. using next() or using seek() with a positive offset, you can use setForwardOnly() and save a significant amount of memory overhead. Once an active query is positioned on a valid record, data can be retrieved using value(). All data is transferred from the SQL backend using TQVariants.
.PP
For example:
.PP
@@ -281,7 +281,7 @@ Below we present the same example using each of the four different binding appro
.br
.fi
.PP
-See also TQSqlDatabase, TQSqlCursor, QVariant, and Database Classes.
+See also TQSqlDatabase, TQSqlCursor, TQVariant, and Database Classes.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "TQSqlQuery::TQSqlQuery ( TQSqlResult * r )"
Creates a TQSqlQuery object which uses the TQSqlResult \fIr\fR to communicate with a database.
@@ -297,11 +297,11 @@ See also TQSqlDatabase.
Constructs a copy of \fIother\fR.
.SH "TQSqlQuery::~TQSqlQuery ()\fC [virtual]\fR"
Destroys the object and frees any allocated resources.
-.SH "void TQSqlQuery::addBindValue ( const QVariant & val, TQSql::ParameterType type )"
+.SH "void TQSqlQuery::addBindValue ( const TQVariant & val, TQSql::ParameterType type )"
Adds the value \fIval\fR to the list of values when using positional value binding. The order of the addBindValue() calls determines which placeholder a value will be bound to in the prepared query. If \fItype\fR is TQSql::Out or TQSql::InOut, the placeholder will be overwritten with data from the database after the exec() call.
.PP
See also bindValue(), prepare(), and exec().
-.SH "void TQSqlQuery::addBindValue ( const QVariant & val )"
+.SH "void TQSqlQuery::addBindValue ( const TQVariant & val )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Binds the placeholder with type TQSql::In.
@@ -315,31 +315,31 @@ See also prev(), next(), first(), last(), seek(), isActive(), and isValid().
Example: sql/overview/navigating/main.cpp.
.SH "void TQSqlQuery::beforeSeek ()\fC [virtual protected]\fR"
Protected virtual function called before the internal record pointer is moved to a new record. The default implementation does nothing.
-.SH "void TQSqlQuery::bindValue ( const TQString & placeholder, const QVariant & val, TQSql::ParameterType type )"
+.SH "void TQSqlQuery::bindValue ( const TQString & placeholder, const TQVariant & val, TQSql::ParameterType type )"
Set the placeholder \fIplaceholder\fR to be bound to value \fIval\fR in the prepared statement. Note that the placeholder mark (e.g \fC:\fR) must be included when specifying the placeholder name. If \fItype\fR is TQSql::Out or TQSql::InOut, the placeholder will be overwritten with data from the database after the exec() call.
.PP
See also addBindValue(), prepare(), and exec().
-.SH "void TQSqlQuery::bindValue ( const TQString & placeholder, const QVariant & val )"
+.SH "void TQSqlQuery::bindValue ( const TQString & placeholder, const TQVariant & val )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Binds the placeholder with type TQSql::In.
-.SH "void TQSqlQuery::bindValue ( int pos, const QVariant & val )"
+.SH "void TQSqlQuery::bindValue ( int pos, const TQVariant & val )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Binds the placeholder at position \fIpos\fR with type TQSql::In.
-.SH "void TQSqlQuery::bindValue ( int pos, const QVariant & val, TQSql::ParameterType type )"
+.SH "void TQSqlQuery::bindValue ( int pos, const TQVariant & val, TQSql::ParameterType type )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Set the placeholder in position \fIpos\fR to be bound to value \fIval\fR in the prepared statement. Field numbering starts at 0. If \fItype\fR is TQSql::Out or TQSql::InOut, the placeholder will be overwritten with data from the database after the exec() call.
.PP
See also addBindValue(), prepare(), and exec().
-.SH "QVariant TQSqlQuery::boundValue ( const TQString & placeholder ) const"
+.SH "TQVariant TQSqlQuery::boundValue ( const TQString & placeholder ) const"
Returns the value for the \fIplaceholder\fR.
-.SH "QVariant TQSqlQuery::boundValue ( int pos ) const"
+.SH "TQVariant TQSqlQuery::boundValue ( int pos ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns the value for the placeholder at position \fIpos\fR.
-.SH "TQMap<TQString, QVariant> TQSqlQuery::boundValues () const"
+.SH "TQMap<TQString, TQVariant> TQSqlQuery::boundValues () const"
Returns a map of the bound values.
.PP
The bound values can be examined in the following way:
@@ -352,9 +352,9 @@ The bound values can be examined in the following way:
.br
// Examine the bound values - bound using named binding
.br
- TQMap<TQString, QVariant>::ConstIterator it;
+ TQMap<TQString, TQVariant>::ConstIterator it;
.br
- TQMap<TQString, QVariant> vals = query.boundValues();
+ TQMap<TQString, TQVariant> vals = query.boundValues();
.br
for ( it = vals.begin(); it != vals.end(); ++it )
.br
@@ -365,9 +365,9 @@ The bound values can be examined in the following way:
.br
// Examine the bound values - bound using positional binding
.br
- TQValueList<QVariant>::ConstIterator it;
+ TQValueList<TQVariant>::ConstIterator it;
.br
- TQValueList<QVariant> list = query.boundValues().values();
+ TQValueList<TQVariant> list = query.boundValues().values();
.br
int i = 0;
.br
@@ -529,12 +529,12 @@ To determine the number of rows affected by a non-SELECT statement, use numRowsA
See also isActive(), numRowsAffected(), and TQSqlDriver::hasFeature().
.PP
Example: sql/overview/navigating/main.cpp.
-.SH "QVariant TQSqlQuery::value ( int i ) const\fC [virtual]\fR"
+.SH "TQVariant TQSqlQuery::value ( int i ) const\fC [virtual]\fR"
Returns the value of the \fIi\fR-th field in the query (zero based).
.PP
The fields are numbered from left to right using the text of the \fCSELECT\fR statement, e.g. in \fCSELECT forename, surname FROM people\fR, field 0 is \fCforename\fR and field 1 is \fCsurname\fR. Using \fCSELECT *\fR is not recommended because the order of the fields in the query is undefined.
.PP
-An invalid QVariant is returned if field \fIi\fR does not exist, if the query is inactive, or if the query is positioned on an invalid record.
+An invalid TQVariant is returned if field \fIi\fR does not exist, if the query is inactive, or if the query is positioned on an invalid record.
.PP
See also prev(), next(), first(), last(), seek(), isActive(), and isValid().
.PP
diff --git a/doc/man/man3/tqsqlrecord.3qt b/doc/man/man3/tqsqlrecord.3qt
index c97cce5e1..61f8b37c3 100644
--- a/doc/man/man3/tqsqlrecord.3qt
+++ b/doc/man/man3/tqsqlrecord.3qt
@@ -28,16 +28,16 @@ Inherited by TQSqlCursor and TQSqlIndex.
.BI "virtual \fB~TQSqlRecord\fR ()"
.br
.ti -1c
-.BI "virtual QVariant \fBvalue\fR ( int i ) const"
+.BI "virtual TQVariant \fBvalue\fR ( int i ) const"
.br
.ti -1c
-.BI "virtual QVariant \fBvalue\fR ( const TQString & name ) const"
+.BI "virtual TQVariant \fBvalue\fR ( const TQString & name ) const"
.br
.ti -1c
-.BI "virtual void \fBsetValue\fR ( int i, const QVariant & val )"
+.BI "virtual void \fBsetValue\fR ( int i, const TQVariant & val )"
.br
.ti -1c
-.BI "virtual void \fBsetValue\fR ( const TQString & name, const QVariant & val )"
+.BI "virtual void \fBsetValue\fR ( const TQString & name, const TQVariant & val )"
.br
.ti -1c
.BI "bool \fBisGenerated\fR ( int i ) const"
@@ -209,12 +209,12 @@ Sets the value of field \fIi\fR to NULL. If the field does not exist, nothing ha
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Sets the value of the field called \fIname\fR to NULL. If the field does not exist, nothing happens.
-.SH "void TQSqlRecord::setValue ( int i, const QVariant & val )\fC [virtual]\fR"
+.SH "void TQSqlRecord::setValue ( int i, const TQVariant & val )\fC [virtual]\fR"
Sets the value of the field at position \fIi\fR to \fIval\fR. If the field does not exist, nothing happens.
.PP
Examples:
.)l sql/overview/insert/main.cpp, sql/overview/insert2/main.cpp, sql/overview/subclass5/main.cpp, sql/overview/update/main.cpp, and sql/sqltable/main.cpp.
-.SH "void TQSqlRecord::setValue ( const TQString & name, const QVariant & val )\fC [virtual]\fR"
+.SH "void TQSqlRecord::setValue ( const TQString & name, const TQVariant & val )\fC [virtual]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Sets the value of the field called \fIname\fR to \fIval\fR. If the field does not exist, nothing happens.
@@ -230,13 +230,13 @@ Returns a list of all the record's field names, each having the prefix \fIprefix
Note that fields which have generated set to FALSE are \fInot\fR included. (See isGenerated()). If \fIprefix\fR is supplied, e.g. a table name, all fields are prefixed in the form:
.PP"
\fIprefix\fR.<fieldname>"
-.SH "QVariant TQSqlRecord::value ( int i ) const\fC [virtual]\fR"
+.SH "TQVariant TQSqlRecord::value ( int i ) const\fC [virtual]\fR"
Returns the value of the field located at position \fIi\fR in the record. If field \fIi\fR does not exist the resultant behaviour is undefined.
.PP
This function should be used with TQSqlQuerys. When working with a TQSqlCursor the value(const TQString&) overload which uses field names is more appropriate.
.PP
Example: sql/overview/update/main.cpp.
-.SH "QVariant TQSqlRecord::value ( const TQString & name ) const\fC [virtual]\fR"
+.SH "TQVariant TQSqlRecord::value ( const TQString & name ) const\fC [virtual]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns the value of the field called \fIname\fR in the record. If
diff --git a/doc/man/man3/tqsqlresult.3qt b/doc/man/man3/tqsqlresult.3qt
index 06cd05a44..90f402b59 100644
--- a/doc/man/man3/tqsqlresult.3qt
+++ b/doc/man/man3/tqsqlresult.3qt
@@ -65,7 +65,7 @@ TQSqlResult \- Abstract interface for accessing data from SQL databases
.BI "virtual void \fBsetForwardOnly\fR ( bool forward )"
.br
.ti -1c
-.BI "virtual QVariant \fBdata\fR ( int i ) = 0"
+.BI "virtual TQVariant \fBdata\fR ( int i ) = 0"
.br
.ti -1c
.BI "virtual bool \fBisNull\fR ( int i ) = 0"
@@ -108,8 +108,8 @@ Protected constructor which creates a TQSqlResult using database \fIdb\fR. The o
Destroys the object and frees any allocated resources.
.SH "int TQSqlResult::at () const\fC [protected]\fR"
Returns the current (zero-based) position of the result.
-.SH "QVariant TQSqlResult::data ( int i )\fC [pure virtual protected]\fR"
-Returns the data for field \fIi\fR (zero-based) as a QVariant. This function is only called if the result is in an active state and is positioned on a valid record and \fIi\fR is non-negative. Derived classes must reimplement this function and return the value of field \fIi\fR, or QVariant() if it cannot be determined.
+.SH "TQVariant TQSqlResult::data ( int i )\fC [pure virtual protected]\fR"
+Returns the data for field \fIi\fR (zero-based) as a TQVariant. This function is only called if the result is in an active state and is positioned on a valid record and \fIi\fR is non-negative. Derived classes must reimplement this function and return the value of field \fIi\fR, or TQVariant() if it cannot be determined.
.SH "const TQSqlDriver * TQSqlResult::driver () const\fC [protected]\fR"
Returns the driver associated with the result.
.SH "bool TQSqlResult::fetch ( int i )\fC [pure virtual protected]\fR"
diff --git a/doc/man/man3/tqstyle.3qt b/doc/man/man3/tqstyle.3qt
index d0ed1631f..40c4fd206 100644
--- a/doc/man/man3/tqstyle.3qt
+++ b/doc/man/man3/tqstyle.3qt
@@ -416,7 +416,7 @@ This enum represents the PrimitiveElements of a style. A PrimitiveElement is a c
.TP
\fCTQStyle::PE_DockWindowResizeHandle\fR - resize handle for dock windows.
.TP
-\fCTQStyle::PE_Splitter\fR - splitter handle; see also QSplitter.
+\fCTQStyle::PE_Splitter\fR - splitter handle; see also TQSplitter.
.TP
\fCTQStyle::PE_Panel\fR - generic panel frame; see also TQFrame.
.TP
@@ -988,7 +988,7 @@ The \fIwidget\fR argument is a pointer to a TQWidget or one of its subclasses. T
.PP
<center>.nf
.TS
-l - l. ContentsType Widget Cast Options Notes CT_PushButton (const TQPushButton *) Unused. CT_CheckBox (const TQCheckBox *) Unused. CT_RadioButton (const TQRadioButton *) Unused. CT_ToolButton (const TQToolButton *) Unused. CT_ComboBox (const TQComboBox *) Unused. CT_Splitter (const QSplitter *) Unused. CT_DockWindow (const TQDockWindow *) Unused. CT_ProgressBar (const TQProgressBar *) Unused. CT_PopupMenuItem (const TQPopupMenu *) TQStyleOption ( TQMenuItem *mi )
+l - l. ContentsType Widget Cast Options Notes CT_PushButton (const TQPushButton *) Unused. CT_CheckBox (const TQCheckBox *) Unused. CT_RadioButton (const TQRadioButton *) Unused. CT_ToolButton (const TQToolButton *) Unused. CT_ComboBox (const TQComboBox *) Unused. CT_Splitter (const TQSplitter *) Unused. CT_DockWindow (const TQDockWindow *) Unused. CT_ProgressBar (const TQProgressBar *) Unused. CT_PopupMenuItem (const TQPopupMenu *) TQStyleOption ( TQMenuItem *mi )
.TP
opt.menuItem()
.TE
diff --git a/doc/man/man3/tqt.3qt b/doc/man/man3/tqt.3qt
index 0ad1cca76..9a8716ffe 100644
--- a/doc/man/man3/tqt.3qt
+++ b/doc/man/man3/tqt.3qt
@@ -1434,7 +1434,7 @@ The states are
\fCQt::WV_CE_based\fR
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqt.html
+.BR http://doc.trolltech.com/tqt.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/tquuid.3qt b/doc/man/man3/tquuid.3qt
index 61dfaa2b9..f3c56efc3 100644
--- a/doc/man/man3/tquuid.3qt
+++ b/doc/man/man3/tquuid.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QUuid 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQUuid 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
-QUuid \- Defines a Universally Unique Identifier (UUID)
+TQUuid \- Defines a Universally Unique Identifier (UUID)
.SH SYNOPSIS
All the functions in this class are reentrant when TQt is built with thread support.</p>
.PP
-\fC#include <ntquuid.h>\fR
+\fC#include <tquuid.h>\fR
.PP
.SS "Public Members"
.in +1c
@@ -22,16 +22,16 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "enum \fBVersion\fR { VerUnknown = -1, Time = 1, EmbeddedPOSIX = 2, Name = 3, Random = 4 }"
.br
.ti -1c
-.BI "\fBQUuid\fR ()"
+.BI "\fBTQUuid\fR ()"
.br
.ti -1c
-.BI "\fBQUuid\fR ( uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8 )"
+.BI "\fBTQUuid\fR ( uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8 )"
.br
.ti -1c
-.BI "\fBQUuid\fR ( const QUuid & orig )"
+.BI "\fBTQUuid\fR ( const TQUuid & orig )"
.br
.ti -1c
-.BI "\fBQUuid\fR ( const TQString & text )"
+.BI "\fBTQUuid\fR ( const TQString & text )"
.br
.ti -1c
.BI "TQString \fBtoString\fR () const"
@@ -43,81 +43,81 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "bool \fBisNull\fR () const"
.br
.ti -1c
-.BI "QUuid & \fBoperator=\fR ( const QUuid & uuid )"
+.BI "TQUuid & \fBoperator=\fR ( const TQUuid & uuid )"
.br
.ti -1c
-.BI "bool \fBoperator==\fR ( const QUuid & other ) const"
+.BI "bool \fBoperator==\fR ( const TQUuid & other ) const"
.br
.ti -1c
-.BI "bool \fBoperator!=\fR ( const QUuid & other ) const"
+.BI "bool \fBoperator!=\fR ( const TQUuid & other ) const"
.br
.ti -1c
-.BI "bool \fBoperator<\fR ( const QUuid & other ) const"
+.BI "bool \fBoperator<\fR ( const TQUuid & other ) const"
.br
.ti -1c
-.BI "bool \fBoperator>\fR ( const QUuid & other ) const"
+.BI "bool \fBoperator>\fR ( const TQUuid & other ) const"
.br
.ti -1c
-.BI "QUuid::Variant \fBvariant\fR () const"
+.BI "TQUuid::Variant \fBvariant\fR () const"
.br
.ti -1c
-.BI "QUuid::Version \fBversion\fR () const"
+.BI "TQUuid::Version \fBversion\fR () const"
.br
.in -1c
.SS "Static Public Members"
.in +1c
.ti -1c
-.BI "QUuid \fBcreateUuid\fR ()"
+.BI "TQUuid \fBcreateUuid\fR ()"
.br
.in -1c
.SH RELATED FUNCTION DOCUMENTATION
.in +1c
.ti -1c
-.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QUuid & id )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQUuid & id )"
.br
.ti -1c
-.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, QUuid & id )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQUuid & id )"
.br
.in -1c
.SH DESCRIPTION
-The QUuid class defines a Universally Unique Identifier (UUID).
+The TQUuid class defines a Universally Unique Identifier (UUID).
.PP
For objects or declarations that must be uniquely identified, UUIDs (also known as GUIDs) are widely used in order to assign a fixed and easy to compare value to the object or declaration. The 128-bit value of a UUID is generated by an algorithm that guarantees that the value is unique.
.PP
-In Qt, UUIDs are wrapped by the QUuid struct which provides convenience functions for handling UUIDs. Most platforms provide a tool to generate new UUIDs, for example, uuidgen and guidgen.
+In Qt, UUIDs are wrapped by the TQUuid struct which provides convenience functions for handling UUIDs. Most platforms provide a tool to generate new UUIDs, for example, uuidgen and guidgen.
.PP
-UUIDs generated by QUuid, are based on the Random version of the DCE (Distributed Computing Environment) standard.
+UUIDs generated by TQUuid, are based on the Random version of the DCE (Distributed Computing Environment) standard.
.PP
UUIDs can be constructed from numeric values or from strings, or using the static createUuid() function. They can be converted to a string with toString(). UUIDs have a variant() and a version(), and null UUIDs return TRUE from isNull().
.SS "Member Type Documentation"
-.SH "QUuid::Variant"
+.SH "TQUuid::Variant"
This enum defines the variant of the UUID, which is the scheme which defines the layout of the 128-bits value.
.TP
-\fCQUuid::VarUnknown\fR - Variant is unknown
+\fCTQUuid::VarUnknown\fR - Variant is unknown
.TP
-\fCQUuid::NCS\fR - Reserved for NCS (Network Computing System) backward compatibility
+\fCTQUuid::NCS\fR - Reserved for NCS (Network Computing System) backward compatibility
.TP
-\fCQUuid::DCE\fR - Distributed Computing Environment, the scheme used by QUuid
+\fCTQUuid::DCE\fR - Distributed Computing Environment, the scheme used by TQUuid
.TP
-\fCQUuid::Microsoft\fR - Reserved for Microsoft backward compatibility (GUID)
+\fCTQUuid::Microsoft\fR - Reserved for Microsoft backward compatibility (GUID)
.TP
-\fCQUuid::Reserved\fR - Reserved for future definition
-.SH "QUuid::Version"
+\fCTQUuid::Reserved\fR - Reserved for future definition
+.SH "TQUuid::Version"
This enum defines the version of the UUID.
.TP
-\fCQUuid::VerUnknown\fR - Version is unknown
+\fCTQUuid::VerUnknown\fR - Version is unknown
.TP
-\fCQUuid::Time\fR - Time-based, by using timestamp, clock sequence, and MAC network card address (if available) for the node sections
+\fCTQUuid::Time\fR - Time-based, by using timestamp, clock sequence, and MAC network card address (if available) for the node sections
.TP
-\fCQUuid::EmbeddedPOSIX\fR - DCE Security version, with embedded POSIX UUIDs
+\fCTQUuid::EmbeddedPOSIX\fR - DCE Security version, with embedded POSIX UUIDs
.TP
-\fCQUuid::Name\fR - Name-based, by using values from a name for all sections
+\fCTQUuid::Name\fR - Name-based, by using values from a name for all sections
.TP
-\fCQUuid::Random\fR - Random-based, by using random numbers for all sections
+\fCTQUuid::Random\fR - Random-based, by using random numbers for all sections
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QUuid::QUuid ()"
+.SH "TQUuid::TQUuid ()"
Creates the null UUID {00000000-0000-0000-0000-000000000000}.
-.SH "QUuid::QUuid ( uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8 )"
+.SH "TQUuid::TQUuid ( uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8 )"
Creates a UUID with the value specified by the parameters, \fIl\fR, \fIw1\fR, \fIw2\fR, \fIb1\fR, \fIb2\fR, \fIb3\fR, \fIb4\fR, \fIb5\fR, \fIb6\fR, \fIb7\fR, \fIb8\fR.
.PP
Example:
@@ -126,59 +126,59 @@ Example:
.br
// {67C8770B-44F1-410A-AB9A-F9B5446F13EE}
.br
- QUuid IID_MyInterface( 0x67c8770b, 0x44f1, 0x410a, 0xab, 0x9a, 0xf9, 0xb5, 0x44, 0x6f, 0x13, 0xee )
+ TQUuid IID_MyInterface( 0x67c8770b, 0x44f1, 0x410a, 0xab, 0x9a, 0xf9, 0xb5, 0x44, 0x6f, 0x13, 0xee )
.br
.fi
-.SH "QUuid::QUuid ( const QUuid & orig )"
-Creates a copy of the QUuid \fIorig\fR.
-.SH "QUuid::QUuid ( const TQString & text )"
-Creates a QUuid object from the string \fItext\fR. The function can only convert a string in the format {HHHHHHHH-HHHH-HHHH-HHHH-HHHHHHHHHHHH} (where 'H' stands for a hex digit). If the conversion fails a null UUID is created.
-.SH "QUuid QUuid::createUuid ()\fC [static]\fR"
+.SH "TQUuid::TQUuid ( const TQUuid & orig )"
+Creates a copy of the TQUuid \fIorig\fR.
+.SH "TQUuid::TQUuid ( const TQString & text )"
+Creates a TQUuid object from the string \fItext\fR. The function can only convert a string in the format {HHHHHHHH-HHHH-HHHH-HHHH-HHHHHHHHHHHH} (where 'H' stands for a hex digit). If the conversion fails a null UUID is created.
+.SH "TQUuid TQUuid::createUuid ()\fC [static]\fR"
Returns a new UUID of DCE variant, and Random type. The UUIDs generated are based on the platform specific pseudo-random generator, which is usually not a cryptographic-quality random number generator. Therefore, a UUID is not guaranteed to be unique cross application instances.
.PP
On Windows, the new UUID is extremely likely to be unique on the same or any other system, networked or not.
.PP
See also variant() and version().
-.SH "bool QUuid::isNull () const"
+.SH "bool TQUuid::isNull () const"
Returns TRUE if this is the null UUID {00000000-0000-0000-0000-000000000000}; otherwise returns FALSE.
-.SH "QUuid::operator TQString () const"
+.SH "TQUuid::operator TQString () const"
Returns the string representation of the uuid.
.PP
See also toString().
-.SH "bool QUuid::operator!= ( const QUuid & other ) const"
-Returns TRUE if this QUuid and the \fIother\fR QUuid are different; otherwise returns FALSE.
-.SH "bool QUuid::operator< ( const QUuid & other ) const"
-Returns TRUE if this QUuid is of the same variant, and lexicographically before the \fIother\fR QUuid; otherwise returns FALSE.
+.SH "bool TQUuid::operator!= ( const TQUuid & other ) const"
+Returns TRUE if this TQUuid and the \fIother\fR TQUuid are different; otherwise returns FALSE.
+.SH "bool TQUuid::operator< ( const TQUuid & other ) const"
+Returns TRUE if this TQUuid is of the same variant, and lexicographically before the \fIother\fR TQUuid; otherwise returns FALSE.
.PP
See also variant().
-.SH "QUuid & QUuid::operator= ( const QUuid & uuid )"
-Assigns the value of \fIuuid\fR to this QUuid object.
-.SH "bool QUuid::operator== ( const QUuid & other ) const"
-Returns TRUE if this QUuid and the \fIother\fR QUuid are identical; otherwise returns FALSE.
-.SH "bool QUuid::operator> ( const QUuid & other ) const"
-Returns TRUE if this QUuid is of the same variant, and lexicographically after the \fIother\fR QUuid; otherwise returns FALSE.
+.SH "TQUuid & TQUuid::operator= ( const TQUuid & uuid )"
+Assigns the value of \fIuuid\fR to this TQUuid object.
+.SH "bool TQUuid::operator== ( const TQUuid & other ) const"
+Returns TRUE if this TQUuid and the \fIother\fR TQUuid are identical; otherwise returns FALSE.
+.SH "bool TQUuid::operator> ( const TQUuid & other ) const"
+Returns TRUE if this TQUuid is of the same variant, and lexicographically after the \fIother\fR TQUuid; otherwise returns FALSE.
.PP
See also variant().
-.SH "TQString QUuid::toString () const"
-TQString QUuid::toString() const
+.SH "TQString TQUuid::toString () const"
+TQString TQUuid::toString() const
.PP
Returns the string representation of the uuid.
-.SH "QUuid::Variant QUuid::variant () const"
+.SH "TQUuid::Variant TQUuid::variant () const"
Returns the variant of the UUID. The null UUID is considered to be of an unknown variant.
.PP
See also version().
-.SH "QUuid::Version QUuid::version () const"
+.SH "TQUuid::Version TQUuid::version () const"
Returns the version of the UUID, if the UUID is of the DCE variant; otherwise returns VerUnknown.
.PP
See also variant().
.SH RELATED FUNCTION DOCUMENTATION
-.SH "TQDataStream & operator<< ( TQDataStream & s, const QUuid & id )"
+.SH "TQDataStream & operator<< ( TQDataStream & s, const TQUuid & id )"
Writes the uuid \fIid\fR to the datastream \fIs\fR.
-.SH "TQDataStream & operator>> ( TQDataStream & s, QUuid & id )"
+.SH "TQDataStream & operator>> ( TQDataStream & s, TQUuid & id )"
Reads uuid from from the stream \fIs\fR into \fIid\fR.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntquuid.html
+.BR http://doc.trolltech.com/tquuid.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/tqvaluelistiterator.3qt b/doc/man/man3/tqvaluelistiterator.3qt
index a7345817f..1d9430e2a 100644
--- a/doc/man/man3/tqvaluelistiterator.3qt
+++ b/doc/man/man3/tqvaluelistiterator.3qt
@@ -97,7 +97,7 @@ Example (see TQValueList for the complete code):
.br
.fi
.PP
-TQValueList is highly optimized for performance and memory usage. This means that you must be careful: TQValueList does not know about all its iterators and the iterators don't know to which list they belong. This makes things very fast, but if you're not careful, you can get spectacular bugs. Always make sure iterators are valid before dereferencing them or using them as parameters to generic algorithms in the STL or the QTL.
+TQValueList is highly optimized for performance and memory usage. This means that you must be careful: TQValueList does not know about all its iterators and the iterators don't know to which list they belong. This makes things very fast, but if you're not careful, you can get spectacular bugs. Always make sure iterators are valid before dereferencing them or using them as parameters to generic algorithms in the STL or the TQTL.
.PP
Using an invalid iterator is undefined (your application will probably crash). Many TQt functions return const value lists; to iterate over these you should make a copy and iterate over the copy.
.PP
diff --git a/doc/man/man3/tqvaluevector.3qt b/doc/man/man3/tqvaluevector.3qt
index 476a92749..6cda7d8f1 100644
--- a/doc/man/man3/tqvaluevector.3qt
+++ b/doc/man/man3/tqvaluevector.3qt
@@ -335,7 +335,7 @@ Whenever inserting, removing or referencing elements in a vector, always make su
.br
.fi
.PP
-The iterators provided by vector are random access iterators, therefore you can use them with many generic algorithms, for example, algorithms provided by the STL or the QTL.
+The iterators provided by vector are random access iterators, therefore you can use them with many generic algorithms, for example, algorithms provided by the STL or the TQTL.
.PP
Another way to find an element in the vector is by using the std::find() or tqFind() algorithms. For example:
.PP
diff --git a/doc/man/man3/tqvariant.3qt b/doc/man/man3/tqvariant.3qt
index 339275a40..b2d2b33d5 100644
--- a/doc/man/man3/tqvariant.3qt
+++ b/doc/man/man3/tqvariant.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QVariant 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQVariant 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
-QVariant \- Acts like a union for the most common TQt data types
+TQVariant \- Acts like a union for the most common TQt data types
.SH SYNOPSIS
-\fC#include <ntqvariant.h>\fR
+\fC#include <tqvariant.h>\fR
.PP
.SS "Public Members"
.in +1c
@@ -17,130 +17,130 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "enum \fBType\fR { Invalid, Map, List, String, StringList, Font, Pixmap, Brush, Rect, Size, Color, Palette, ColorGroup, IconSet, Point, Image, Int, UInt, Bool, Double, CString, PointArray, Region, Bitmap, Cursor, SizePolicy, Date, Time, DateTime, ByteArray, BitArray, KeySequence, Pen, LongLong, ULongLong }"
.br
.ti -1c
-.BI "\fBQVariant\fR ()"
+.BI "\fBTQVariant\fR ()"
.br
.ti -1c
-.BI "\fB~QVariant\fR ()"
+.BI "\fB~TQVariant\fR ()"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const QVariant & p )"
+.BI "\fBTQVariant\fR ( const TQVariant & p )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( TQDataStream & s )"
+.BI "\fBTQVariant\fR ( TQDataStream & s )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQString & val )"
+.BI "\fBTQVariant\fR ( const TQString & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQCString & val )"
+.BI "\fBTQVariant\fR ( const TQCString & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const char * val )"
+.BI "\fBTQVariant\fR ( const char * val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQStringList & val )"
+.BI "\fBTQVariant\fR ( const TQStringList & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQFont & val )"
+.BI "\fBTQVariant\fR ( const TQFont & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQPixmap & val )"
+.BI "\fBTQVariant\fR ( const TQPixmap & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQImage & val )"
+.BI "\fBTQVariant\fR ( const TQImage & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQBrush & val )"
+.BI "\fBTQVariant\fR ( const TQBrush & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQPoint & val )"
+.BI "\fBTQVariant\fR ( const TQPoint & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQRect & val )"
+.BI "\fBTQVariant\fR ( const TQRect & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQSize & val )"
+.BI "\fBTQVariant\fR ( const TQSize & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQColor & val )"
+.BI "\fBTQVariant\fR ( const TQColor & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQPalette & val )"
+.BI "\fBTQVariant\fR ( const TQPalette & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQColorGroup & val )"
+.BI "\fBTQVariant\fR ( const TQColorGroup & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQIconSet & val )"
+.BI "\fBTQVariant\fR ( const TQIconSet & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQPointArray & val )"
+.BI "\fBTQVariant\fR ( const TQPointArray & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQRegion & val )"
+.BI "\fBTQVariant\fR ( const TQRegion & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQBitmap & val )"
+.BI "\fBTQVariant\fR ( const TQBitmap & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQCursor & val )"
+.BI "\fBTQVariant\fR ( const TQCursor & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQDate & val )"
+.BI "\fBTQVariant\fR ( const TQDate & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQTime & val )"
+.BI "\fBTQVariant\fR ( const TQTime & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQDateTime & val )"
+.BI "\fBTQVariant\fR ( const TQDateTime & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQByteArray & val )"
+.BI "\fBTQVariant\fR ( const TQByteArray & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQBitArray & val )"
+.BI "\fBTQVariant\fR ( const TQBitArray & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQKeySequence & val )"
+.BI "\fBTQVariant\fR ( const TQKeySequence & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQPen & val )"
+.BI "\fBTQVariant\fR ( const TQPen & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQValueList<QVariant> & val )"
+.BI "\fBTQVariant\fR ( const TQValueList<TQVariant> & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( const TQMap<TQString, QVariant> & val )"
+.BI "\fBTQVariant\fR ( const TQMap<TQString, TQVariant> & val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( int val )"
+.BI "\fBTQVariant\fR ( int val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( uint val )"
+.BI "\fBTQVariant\fR ( uint val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( TQ_LLONG val )"
+.BI "\fBTQVariant\fR ( TQ_LLONG val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( TQ_ULLONG val )"
+.BI "\fBTQVariant\fR ( TQ_ULLONG val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( bool val, int )"
+.BI "\fBTQVariant\fR ( bool val, int )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( double val )"
+.BI "\fBTQVariant\fR ( double val )"
.br
.ti -1c
-.BI "\fBQVariant\fR ( TQSizePolicy val )"
+.BI "\fBTQVariant\fR ( TQSizePolicy val )"
.br
.ti -1c
-.BI "QVariant & \fBoperator=\fR ( const QVariant & variant )"
+.BI "TQVariant & \fBoperator=\fR ( const TQVariant & variant )"
.br
.ti -1c
-.BI "bool \fBoperator==\fR ( const QVariant & v ) const"
+.BI "bool \fBoperator==\fR ( const TQVariant & v ) const"
.br
.ti -1c
-.BI "bool \fBoperator!=\fR ( const QVariant & v ) const"
+.BI "bool \fBoperator!=\fR ( const TQVariant & v ) const"
.br
.ti -1c
.BI "Type \fBtype\fR () const"
@@ -257,10 +257,10 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "double \fBtoDouble\fR ( bool * ok = 0 ) const"
.br
.ti -1c
-.BI "const TQValueList<QVariant> \fBtoList\fR () const"
+.BI "const TQValueList<TQVariant> \fBtoList\fR () const"
.br
.ti -1c
-.BI "const TQMap<TQString, QVariant> \fBtoMap\fR () const"
+.BI "const TQMap<TQString, TQVariant> \fBtoMap\fR () const"
.br
.ti -1c
.BI "TQSizePolicy \fBtoSizePolicy\fR () const"
@@ -272,19 +272,19 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "TQValueListConstIterator<TQString> stringListEnd () const \fI(obsolete)\fR"
.br
.ti -1c
-.BI "TQValueListConstIterator<QVariant> listBegin () const \fI(obsolete)\fR"
+.BI "TQValueListConstIterator<TQVariant> listBegin () const \fI(obsolete)\fR"
.br
.ti -1c
-.BI "TQValueListConstIterator<QVariant> listEnd () const \fI(obsolete)\fR"
+.BI "TQValueListConstIterator<TQVariant> listEnd () const \fI(obsolete)\fR"
.br
.ti -1c
-.BI "TQMapConstIterator<TQString, QVariant> mapBegin () const \fI(obsolete)\fR"
+.BI "TQMapConstIterator<TQString, TQVariant> mapBegin () const \fI(obsolete)\fR"
.br
.ti -1c
-.BI "TQMapConstIterator<TQString, QVariant> mapEnd () const \fI(obsolete)\fR"
+.BI "TQMapConstIterator<TQString, TQVariant> mapEnd () const \fI(obsolete)\fR"
.br
.ti -1c
-.BI "TQMapConstIterator<TQString, QVariant> mapFind ( const TQString & key ) const \fI(obsolete)\fR"
+.BI "TQMapConstIterator<TQString, TQVariant> mapFind ( const TQString & key ) const \fI(obsolete)\fR"
.br
.ti -1c
.BI "TQString & \fBasString\fR ()"
@@ -380,10 +380,10 @@ QVariant \- Acts like a union for the most common TQt data types
.BI "double & \fBasDouble\fR ()"
.br
.ti -1c
-.BI "TQValueList<QVariant> & \fBasList\fR ()"
+.BI "TQValueList<TQVariant> & \fBasList\fR ()"
.br
.ti -1c
-.BI "TQMap<TQString, QVariant> & \fBasMap\fR ()"
+.BI "TQMap<TQString, TQVariant> & \fBasMap\fR ()"
.br
.ti -1c
.BI "TQSizePolicy & \fBasSizePolicy\fR ()"
@@ -399,33 +399,33 @@ QVariant \- Acts like a union for the most common TQt data types
.br
.in -1c
.SH DESCRIPTION
-The QVariant class acts like a union for the most common TQt data types.
+The TQVariant class acts like a union for the most common TQt data types.
.PP
-Because C++ forbids unions from including types that have non-default constructors or destructors, most interesting TQt classes cannot be used in unions. Without QVariant, this would be a problem for TQObject::property() and for database work, etc.
+Because C++ forbids unions from including types that have non-default constructors or destructors, most interesting TQt classes cannot be used in unions. Without TQVariant, this would be a problem for TQObject::property() and for database work, etc.
.PP
-A QVariant object holds a single value of a single type() at a time. (Some type()s are multi-valued, for example a string list.) You can find out what type, T, the variant holds, convert it to a different type using one of the asT() functions, e.g. asSize(), get its value using one of the toT() functions, e.g. toSize(), and check whether the type can be converted to a particular type using canCast().
+A TQVariant object holds a single value of a single type() at a time. (Some type()s are multi-valued, for example a string list.) You can find out what type, T, the variant holds, convert it to a different type using one of the asT() functions, e.g. asSize(), get its value using one of the toT() functions, e.g. toSize(), and check whether the type can be converted to a particular type using canCast().
.PP
The methods named toT() (for any supported T, see the Type documentation for a list) are const. If you ask for the stored type, they return a copy of the stored object. If you ask for a type that can be generated from the stored type, toT() copies and converts and leaves the object itself unchanged. If you ask for a type that cannot be generated from the stored type, the result depends on the type (see the function documentation for details).
.PP
-Note that three data types supported by QVariant are explicitly shared, namely TQImage, TQPointArray, and TQCString, and in these cases the toT() methods return a shallow copy. In almost all cases you must make a deep copy of the returned values before modifying them.
+Note that three data types supported by TQVariant are explicitly shared, namely TQImage, TQPointArray, and TQCString, and in these cases the toT() methods return a shallow copy. In almost all cases you must make a deep copy of the returned values before modifying them.
.PP
The asT() functions are not const. They do conversion like the toT() methods, set the variant to hold the converted value, and return a reference to the new contents of the variant.
.PP
-Here is some example code to demonstrate the use of QVariant:
+Here is some example code to demonstrate the use of TQVariant:
.PP
.nf
.br
TQDataStream out(...);
.br
- QVariant v(123); // The variant now contains an int
+ TQVariant v(123); // The variant now contains an int
.br
int x = v.toInt(); // x = 123
.br
out << v; // Writes a type tag and an int to out
.br
- v = QVariant("hello"); // The variant now contains a TQCString
+ v = TQVariant("hello"); // The variant now contains a TQCString
.br
- v = QVariant(tr("hello"));// The variant now contains a TQString
+ v = TQVariant(tr("hello"));// The variant now contains a TQString
.br
int y = v.toInt(); // y = 0 since v cannot be converted to an int
.br
@@ -447,19 +447,19 @@ Here is some example code to demonstrate the use of QVariant:
.br
v.asInt() += 100; // The variant now hold the value 223.
.br
- v = QVariant( TQStringList() );
+ v = TQVariant( TQStringList() );
.br
v.asStringList().append( "Hello" );
.br
.fi
.PP
-You can even store TQValueList<QVariant>s and TQMap<TQString,QVariant>s in a variant, so you can easily construct arbitrarily complex data structures of arbitrary types. This is very powerful and versatile, but may prove less memory and speed efficient than storing specific types in standard data structures.
+You can even store TQValueList<TQVariant>s and TQMap<TQString,TQVariant>s in a variant, so you can easily construct arbitrarily complex data structures of arbitrary types. This is very powerful and versatile, but may prove less memory and speed efficient than storing specific types in standard data structures.
.PP
-QVariant also supports the notion of NULL values, where you have a defined type with no value set.
+TQVariant also supports the notion of NULL values, where you have a defined type with no value set.
.PP
.nf
.br
- QVariant x, y( TQString() ), z( TQString("") );
+ TQVariant x, y( TQString() ), z( TQString("") );
.br
x.asInt();
.br
@@ -471,269 +471,269 @@ See the Collection Classes.
.PP
See also Miscellaneous Classes and Object Model.
.SS "Member Type Documentation"
-.SH "QVariant::Type"
-This enum type defines the types of variable that a QVariant can contain.
+.SH "TQVariant::Type"
+This enum type defines the types of variable that a TQVariant can contain.
.TP
-\fCQVariant::Invalid\fR - no type
+\fCTQVariant::Invalid\fR - no type
.TP
-\fCQVariant::BitArray\fR - a TQBitArray
+\fCTQVariant::BitArray\fR - a TQBitArray
.TP
-\fCQVariant::ByteArray\fR - a TQByteArray
+\fCTQVariant::ByteArray\fR - a TQByteArray
.TP
-\fCQVariant::Bitmap\fR - a TQBitmap
+\fCTQVariant::Bitmap\fR - a TQBitmap
.TP
-\fCQVariant::Bool\fR - a bool
+\fCTQVariant::Bool\fR - a bool
.TP
-\fCQVariant::Brush\fR - a TQBrush
+\fCTQVariant::Brush\fR - a TQBrush
.TP
-\fCQVariant::Color\fR - a TQColor
+\fCTQVariant::Color\fR - a TQColor
.TP
-\fCQVariant::ColorGroup\fR - a TQColorGroup
+\fCTQVariant::ColorGroup\fR - a TQColorGroup
.TP
-\fCQVariant::Cursor\fR - a TQCursor
+\fCTQVariant::Cursor\fR - a TQCursor
.TP
-\fCQVariant::Date\fR - a TQDate
+\fCTQVariant::Date\fR - a TQDate
.TP
-\fCQVariant::DateTime\fR - a TQDateTime
+\fCTQVariant::DateTime\fR - a TQDateTime
.TP
-\fCQVariant::Double\fR - a double
+\fCTQVariant::Double\fR - a double
.TP
-\fCQVariant::Font\fR - a TQFont
+\fCTQVariant::Font\fR - a TQFont
.TP
-\fCQVariant::IconSet\fR - a TQIconSet
+\fCTQVariant::IconSet\fR - a TQIconSet
.TP
-\fCQVariant::Image\fR - a TQImage
+\fCTQVariant::Image\fR - a TQImage
.TP
-\fCQVariant::Int\fR - an int
+\fCTQVariant::Int\fR - an int
.TP
-\fCQVariant::KeySequence\fR - a TQKeySequence
+\fCTQVariant::KeySequence\fR - a TQKeySequence
.TP
-\fCQVariant::List\fR - a TQValueList<QVariant>
+\fCTQVariant::List\fR - a TQValueList<TQVariant>
.TP
-\fCQVariant::LongLong\fR - a long long
+\fCTQVariant::LongLong\fR - a long long
.TP
-\fCQVariant::ULongLong\fR - an unsigned long long
+\fCTQVariant::ULongLong\fR - an unsigned long long
.TP
-\fCQVariant::Map\fR - a TQMap<TQString,QVariant>
+\fCTQVariant::Map\fR - a TQMap<TQString,TQVariant>
.TP
-\fCQVariant::Palette\fR - a TQPalette
+\fCTQVariant::Palette\fR - a TQPalette
.TP
-\fCQVariant::Pen\fR - a TQPen
+\fCTQVariant::Pen\fR - a TQPen
.TP
-\fCQVariant::Pixmap\fR - a TQPixmap
+\fCTQVariant::Pixmap\fR - a TQPixmap
.TP
-\fCQVariant::Point\fR - a TQPoint
+\fCTQVariant::Point\fR - a TQPoint
.TP
-\fCQVariant::PointArray\fR - a TQPointArray
+\fCTQVariant::PointArray\fR - a TQPointArray
.TP
-\fCQVariant::Rect\fR - a TQRect
+\fCTQVariant::Rect\fR - a TQRect
.TP
-\fCQVariant::Region\fR - a TQRegion
+\fCTQVariant::Region\fR - a TQRegion
.TP
-\fCQVariant::Size\fR - a TQSize
+\fCTQVariant::Size\fR - a TQSize
.TP
-\fCQVariant::SizePolicy\fR - a TQSizePolicy
+\fCTQVariant::SizePolicy\fR - a TQSizePolicy
.TP
-\fCQVariant::String\fR - a TQString
+\fCTQVariant::String\fR - a TQString
.TP
-\fCQVariant::CString\fR - a TQCString
+\fCTQVariant::CString\fR - a TQCString
.TP
-\fCQVariant::StringList\fR - a TQStringList
+\fCTQVariant::StringList\fR - a TQStringList
.TP
-\fCQVariant::Time\fR - a TQTime
+\fCTQVariant::Time\fR - a TQTime
.TP
-\fCQVariant::UInt\fR - an unsigned int
+\fCTQVariant::UInt\fR - an unsigned int
.PP
Note that Qt's definition of bool depends on the compiler. tqglobal.h has the system-dependent definition of bool.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QVariant::QVariant ()"
+.SH "TQVariant::TQVariant ()"
Constructs an invalid variant.
-.SH "QVariant::QVariant ( bool val, int )"
+.SH "TQVariant::TQVariant ( bool val, int )"
Constructs a new variant with a boolean value, \fIval\fR. The integer argument is a dummy, necessary for compatibility with some compilers.
-.SH "QVariant::QVariant ( double val )"
+.SH "TQVariant::TQVariant ( double val )"
Constructs a new variant with a floating point value, \fIval\fR.
-.SH "QVariant::QVariant ( TQSizePolicy val )"
+.SH "TQVariant::TQVariant ( TQSizePolicy val )"
Constructs a new variant with a size policy value, \fIval\fR.
-.SH "QVariant::QVariant ( const QVariant & p )"
+.SH "TQVariant::TQVariant ( const TQVariant & p )"
Constructs a copy of the variant, \fIp\fR, passed as the argument to this constructor. Usually this is a deep copy, but a shallow copy is made if the stored data type is explicitly shared, as e.g. TQImage is.
-.SH "QVariant::QVariant ( TQDataStream & s )"
+.SH "TQVariant::TQVariant ( TQDataStream & s )"
Reads the variant from the data stream, \fIs\fR.
-.SH "QVariant::QVariant ( const TQString & val )"
+.SH "TQVariant::TQVariant ( const TQString & val )"
Constructs a new variant with a string value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQCString & val )"
+.SH "TQVariant::TQVariant ( const TQCString & val )"
Constructs a new variant with a C-string value, \fIval\fR.
.PP
If you want to modify the TQCString after you've passed it to this constructor, we recommend passing a deep copy (see TQCString::copy()).
-.SH "QVariant::QVariant ( const char * val )"
+.SH "TQVariant::TQVariant ( const char * val )"
Constructs a new variant with a C-string value of \fIval\fR if \fIval\fR is non-null. The variant creates a deep copy of \fIval\fR.
.PP
If \fIval\fR is null, the resulting variant has type Invalid.
-.SH "QVariant::QVariant ( const TQStringList & val )"
+.SH "TQVariant::TQVariant ( const TQStringList & val )"
Constructs a new variant with a string list value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQFont & val )"
+.SH "TQVariant::TQVariant ( const TQFont & val )"
Constructs a new variant with a font value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQPixmap & val )"
+.SH "TQVariant::TQVariant ( const TQPixmap & val )"
Constructs a new variant with a pixmap value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQImage & val )"
+.SH "TQVariant::TQVariant ( const TQImage & val )"
Constructs a new variant with an image value, \fIval\fR.
.PP
Because TQImage is explicitly shared, you may need to pass a deep copy to the variant using TQImage::copy(), e.g. if you intend changing the image you've passed later on.
-.SH "QVariant::QVariant ( const TQBrush & val )"
+.SH "TQVariant::TQVariant ( const TQBrush & val )"
Constructs a new variant with a brush value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQPoint & val )"
+.SH "TQVariant::TQVariant ( const TQPoint & val )"
Constructs a new variant with a point value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQRect & val )"
+.SH "TQVariant::TQVariant ( const TQRect & val )"
Constructs a new variant with a rect value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQSize & val )"
+.SH "TQVariant::TQVariant ( const TQSize & val )"
Constructs a new variant with a size value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQColor & val )"
+.SH "TQVariant::TQVariant ( const TQColor & val )"
Constructs a new variant with a color value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQPalette & val )"
+.SH "TQVariant::TQVariant ( const TQPalette & val )"
Constructs a new variant with a color palette value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQColorGroup & val )"
+.SH "TQVariant::TQVariant ( const TQColorGroup & val )"
Constructs a new variant with a color group value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQIconSet & val )"
+.SH "TQVariant::TQVariant ( const TQIconSet & val )"
Constructs a new variant with an icon set value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQPointArray & val )"
+.SH "TQVariant::TQVariant ( const TQPointArray & val )"
Constructs a new variant with a point array value, \fIval\fR.
.PP
Because TQPointArray is explicitly shared, you may need to pass a deep copy to the variant using TQPointArray::copy(), e.g. if you intend changing the point array you've passed later on.
-.SH "QVariant::QVariant ( const TQRegion & val )"
+.SH "TQVariant::TQVariant ( const TQRegion & val )"
Constructs a new variant with a region value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQBitmap & val )"
+.SH "TQVariant::TQVariant ( const TQBitmap & val )"
Constructs a new variant with a bitmap value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQCursor & val )"
+.SH "TQVariant::TQVariant ( const TQCursor & val )"
Constructs a new variant with a cursor value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQDate & val )"
+.SH "TQVariant::TQVariant ( const TQDate & val )"
Constructs a new variant with a date value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQTime & val )"
+.SH "TQVariant::TQVariant ( const TQTime & val )"
Constructs a new variant with a time value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQDateTime & val )"
+.SH "TQVariant::TQVariant ( const TQDateTime & val )"
Constructs a new variant with a date/time value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQByteArray & val )"
+.SH "TQVariant::TQVariant ( const TQByteArray & val )"
Constructs a new variant with a bytearray value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQBitArray & val )"
+.SH "TQVariant::TQVariant ( const TQBitArray & val )"
Constructs a new variant with a bitarray value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQKeySequence & val )"
+.SH "TQVariant::TQVariant ( const TQKeySequence & val )"
Constructs a new variant with a key sequence value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQPen & val )"
+.SH "TQVariant::TQVariant ( const TQPen & val )"
Constructs a new variant with a pen value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQValueList<QVariant> & val )"
+.SH "TQVariant::TQVariant ( const TQValueList<TQVariant> & val )"
Constructs a new variant with a list value, \fIval\fR.
-.SH "QVariant::QVariant ( const TQMap<TQString, QVariant> & val )"
-Constructs a new variant with a map of QVariants, \fIval\fR.
-.SH "QVariant::QVariant ( int val )"
+.SH "TQVariant::TQVariant ( const TQMap<TQString, TQVariant> & val )"
+Constructs a new variant with a map of TQVariants, \fIval\fR.
+.SH "TQVariant::TQVariant ( int val )"
Constructs a new variant with an integer value, \fIval\fR.
-.SH "QVariant::QVariant ( uint val )"
+.SH "TQVariant::TQVariant ( uint val )"
Constructs a new variant with an unsigned integer value, \fIval\fR.
-.SH "QVariant::QVariant ( TQ_LLONG val )"
+.SH "TQVariant::TQVariant ( TQ_LLONG val )"
Constructs a new variant with a long long integer value, \fIval\fR.
-.SH "QVariant::QVariant ( TQ_ULLONG val )"
+.SH "TQVariant::TQVariant ( TQ_ULLONG val )"
Constructs a new variant with an unsigned long long integer value, \fIval\fR.
-.SH "QVariant::~QVariant ()"
-Destroys the QVariant and the contained object.
+.SH "TQVariant::~TQVariant ()"
+Destroys the TQVariant and the contained object.
.PP
-Note that subclasses that reimplement clear() should reimplement the destructor to call clear(). This destructor calls clear(), but because it is the destructor, QVariant::clear() is called rather than a subclass's clear().
-.SH "TQBitArray & QVariant::asBitArray ()"
+Note that subclasses that reimplement clear() should reimplement the destructor to call clear(). This destructor calls clear(), but because it is the destructor, TQVariant::clear() is called rather than a subclass's clear().
+.SH "TQBitArray & TQVariant::asBitArray ()"
Tries to convert the variant to hold a TQBitArray value. If that is not possible then the variant is set to an empty bitarray.
.PP
Returns a reference to the stored bitarray.
.PP
See also toBitArray().
-.SH "TQBitmap & QVariant::asBitmap ()"
+.SH "TQBitmap & TQVariant::asBitmap ()"
Tries to convert the variant to hold a bitmap value. If that is not possible the variant is set to a null bitmap.
.PP
Returns a reference to the stored bitmap.
.PP
See also toBitmap().
-.SH "bool & QVariant::asBool ()"
+.SH "bool & TQVariant::asBool ()"
Returns the variant's value as bool reference.
-.SH "TQBrush & QVariant::asBrush ()"
+.SH "TQBrush & TQVariant::asBrush ()"
Tries to convert the variant to hold a brush value. If that is not possible the variant is set to a default black brush.
.PP
Returns a reference to the stored brush.
.PP
See also toBrush().
-.SH "TQByteArray & QVariant::asByteArray ()"
+.SH "TQByteArray & TQVariant::asByteArray ()"
Tries to convert the variant to hold a TQByteArray value. If that is not possible then the variant is set to an empty bytearray.
.PP
Returns a reference to the stored bytearray.
.PP
See also toByteArray().
-.SH "TQCString & QVariant::asCString ()"
+.SH "TQCString & TQVariant::asCString ()"
Tries to convert the variant to hold a string value. If that is not possible the variant is set to an empty string.
.PP
Returns a reference to the stored string.
.PP
See also toCString().
-.SH "TQColor & QVariant::asColor ()"
+.SH "TQColor & TQVariant::asColor ()"
Tries to convert the variant to hold a TQColor value. If that is not possible the variant is set to an invalid color.
.PP
Returns a reference to the stored color.
.PP
See also toColor() and TQColor::isValid().
-.SH "TQColorGroup & QVariant::asColorGroup ()"
+.SH "TQColorGroup & TQVariant::asColorGroup ()"
Tries to convert the variant to hold a TQColorGroup value. If that is not possible the variant is set to a color group of all black colors.
.PP
Returns a reference to the stored color group.
.PP
See also toColorGroup().
-.SH "TQCursor & QVariant::asCursor ()"
+.SH "TQCursor & TQVariant::asCursor ()"
Tries to convert the variant to hold a TQCursor value. If that is not possible the variant is set to a default arrow cursor.
.PP
Returns a reference to the stored cursor.
.PP
See also toCursor().
-.SH "TQDate & QVariant::asDate ()"
+.SH "TQDate & TQVariant::asDate ()"
Tries to convert the variant to hold a TQDate value. If that is not possible then the variant is set to an invalid date.
.PP
Returns a reference to the stored date.
.PP
See also toDate().
-.SH "TQDateTime & QVariant::asDateTime ()"
+.SH "TQDateTime & TQVariant::asDateTime ()"
Tries to convert the variant to hold a TQDateTime value. If that is not possible then the variant is set to an invalid date/time.
.PP
Returns a reference to the stored date/time.
.PP
See also toDateTime().
-.SH "double & QVariant::asDouble ()"
+.SH "double & TQVariant::asDouble ()"
Returns the variant's value as double reference.
-.SH "TQFont & QVariant::asFont ()"
+.SH "TQFont & TQVariant::asFont ()"
Tries to convert the variant to hold a TQFont. If that is not possible the variant is set to the application's default font.
.PP
Returns a reference to the stored font.
.PP
See also toFont().
-.SH "TQIconSet & QVariant::asIconSet ()"
+.SH "TQIconSet & TQVariant::asIconSet ()"
Tries to convert the variant to hold a TQIconSet value. If that is not possible the variant is set to an empty iconset.
.PP
Returns a reference to the stored iconset.
.PP
See also toIconSet().
-.SH "TQImage & QVariant::asImage ()"
+.SH "TQImage & TQVariant::asImage ()"
Tries to convert the variant to hold an image value. If that is not possible the variant is set to a null image.
.PP
Returns a reference to the stored image.
.PP
See also toImage().
-.SH "int & QVariant::asInt ()"
+.SH "int & TQVariant::asInt ()"
Returns the variant's value as int reference.
-.SH "TQKeySequence & QVariant::asKeySequence ()"
+.SH "TQKeySequence & TQVariant::asKeySequence ()"
Tries to convert the variant to hold a TQKeySequence value. If that is not possible then the variant is set to an empty key sequence.
.PP
Returns a reference to the stored key sequence.
.PP
See also toKeySequence().
-.SH "TQValueList<QVariant> & QVariant::asList ()"
+.SH "TQValueList<TQVariant> & TQVariant::asList ()"
Returns the variant's value as variant list reference.
.PP
Note that if you want to iterate over the list, you should iterate over a copy, e.g.
.PP
.nf
.br
- TQValueList<QVariant> list = myVariant.asList();
+ TQValueList<TQVariant> list = myVariant.asList();
.br
- TQValueList<QVariant>::Iterator it = list.begin();
+ TQValueList<TQVariant>::Iterator it = list.begin();
.br
while( it != list.end() ) {
.br
@@ -744,18 +744,18 @@ Note that if you want to iterate over the list, you should iterate over a copy,
}
.br
.fi
-.SH "TQ_LLONG & QVariant::asLongLong ()"
+.SH "TQ_LLONG & TQVariant::asLongLong ()"
Returns the variant's value as long long reference.
-.SH "TQMap<TQString, QVariant> & QVariant::asMap ()"
+.SH "TQMap<TQString, TQVariant> & TQVariant::asMap ()"
Returns the variant's value as variant map reference.
.PP
Note that if you want to iterate over the map, you should iterate over a copy, e.g.
.PP
.nf
.br
- TQMap<TQString, QVariant> map = myVariant.asMap();
+ TQMap<TQString, TQVariant> map = myVariant.asMap();
.br
- TQMap<TQString, QVariant>::Iterator it = map.begin();
+ TQMap<TQString, TQVariant>::Iterator it = map.begin();
.br
while( it != map.end() ) {
.br
@@ -766,63 +766,63 @@ Note that if you want to iterate over the map, you should iterate over a copy, e
}
.br
.fi
-.SH "TQPalette & QVariant::asPalette ()"
+.SH "TQPalette & TQVariant::asPalette ()"
Tries to convert the variant to hold a TQPalette value. If that is not possible the variant is set to a palette of black colors.
.PP
Returns a reference to the stored palette.
.PP
See also toString().
-.SH "TQPen & QVariant::asPen ()"
+.SH "TQPen & TQVariant::asPen ()"
Tries to convert the variant to hold a TQPen value. If that is not possible then the variant is set to an empty pen.
.PP
Returns a reference to the stored pen.
.PP
See also toPen().
-.SH "TQPixmap & QVariant::asPixmap ()"
+.SH "TQPixmap & TQVariant::asPixmap ()"
Tries to convert the variant to hold a pixmap value. If that is not possible the variant is set to a null pixmap.
.PP
Returns a reference to the stored pixmap.
.PP
See also toPixmap().
-.SH "TQPoint & QVariant::asPoint ()"
+.SH "TQPoint & TQVariant::asPoint ()"
Tries to convert the variant to hold a point value. If that is not possible the variant is set to a (0, 0) point.
.PP
Returns a reference to the stored point.
.PP
See also toPoint().
-.SH "TQPointArray & QVariant::asPointArray ()"
+.SH "TQPointArray & TQVariant::asPointArray ()"
Tries to convert the variant to hold a TQPointArray value. If that is not possible the variant is set to an empty point array.
.PP
Returns a reference to the stored point array.
.PP
See also toPointArray().
-.SH "TQRect & QVariant::asRect ()"
+.SH "TQRect & TQVariant::asRect ()"
Tries to convert the variant to hold a rectangle value. If that is not possible the variant is set to an empty rectangle.
.PP
Returns a reference to the stored rectangle.
.PP
See also toRect().
-.SH "TQRegion & QVariant::asRegion ()"
+.SH "TQRegion & TQVariant::asRegion ()"
Tries to convert the variant to hold a TQRegion value. If that is not possible the variant is set to a null region.
.PP
Returns a reference to the stored region.
.PP
See also toRegion().
-.SH "TQSize & QVariant::asSize ()"
+.SH "TQSize & TQVariant::asSize ()"
Tries to convert the variant to hold a TQSize value. If that is not possible the variant is set to an invalid size.
.PP
Returns a reference to the stored size.
.PP
See also toSize() and TQSize::isValid().
-.SH "TQSizePolicy & QVariant::asSizePolicy ()"
+.SH "TQSizePolicy & TQVariant::asSizePolicy ()"
Tries to convert the variant to hold a TQSizePolicy value. If that fails, the variant is set to an arbitrary (valid) size policy.
-.SH "TQString & QVariant::asString ()"
+.SH "TQString & TQVariant::asString ()"
Tries to convert the variant to hold a string value. If that is not possible the variant is set to an empty string.
.PP
Returns a reference to the stored string.
.PP
See also toString().
-.SH "TQStringList & QVariant::asStringList ()"
+.SH "TQStringList & TQVariant::asStringList ()"
Tries to convert the variant to hold a TQStringList value. If that is not possible the variant is set to an empty string list.
.PP
Returns a reference to the stored string list.
@@ -846,17 +846,17 @@ Note that if you want to iterate over the list, you should iterate over a copy,
.fi
.PP
See also toStringList().
-.SH "TQTime & QVariant::asTime ()"
+.SH "TQTime & TQVariant::asTime ()"
Tries to convert the variant to hold a TQTime value. If that is not possible then the variant is set to an invalid time.
.PP
Returns a reference to the stored time.
.PP
See also toTime().
-.SH "uint & QVariant::asUInt ()"
+.SH "uint & TQVariant::asUInt ()"
Returns the variant's value as unsigned int reference.
-.SH "TQ_ULLONG & QVariant::asULongLong ()"
+.SH "TQ_ULLONG & TQVariant::asULongLong ()"
Returns the variant's value as unsigned long long reference.
-.SH "bool QVariant::canCast ( Type t ) const"
+.SH "bool TQVariant::canCast ( Type t ) const"
Returns TRUE if the variant's type can be cast to the requested type, \fIt\fR. Such casting is done automatically when calling the toInt(), toBool(), ... or asInt(), asBool(), ... methods.
.PP
The following casts are done automatically: <center>.nf
@@ -865,144 +865,144 @@ l - l. Type Automatically Cast To Bool Double, Int, UInt, LongLong, ULongLong, S
.TE
.fi
</center>
-.SH "bool QVariant::cast ( Type t )"
-Casts the variant to the requested type. If the cast cannot be done, the variant is set to the default value of the requested type (e.g. an empty string if the requested type \fIt\fR is QVariant::String, an empty point array if the requested type \fIt\fR is QVariant::PointArray, etc). Returns TRUE if the current type of the variant was successfully cast; otherwise returns FALSE.
+.SH "bool TQVariant::cast ( Type t )"
+Casts the variant to the requested type. If the cast cannot be done, the variant is set to the default value of the requested type (e.g. an empty string if the requested type \fIt\fR is TQVariant::String, an empty point array if the requested type \fIt\fR is TQVariant::PointArray, etc). Returns TRUE if the current type of the variant was successfully cast; otherwise returns FALSE.
.PP
See also canCast().
-.SH "void QVariant::clear ()"
+.SH "void TQVariant::clear ()"
Convert this variant to type Invalid and free up any resources used.
-.SH "bool QVariant::isNull () const"
+.SH "bool TQVariant::isNull () const"
Returns TRUE if this is a NULL variant, FALSE otherwise.
-.SH "bool QVariant::isValid () const"
-Returns TRUE if the storage type of this variant is not QVariant::Invalid; otherwise returns FALSE.
-.SH "TQValueListConstIterator<QVariant> QVariant::listBegin () const"
+.SH "bool TQVariant::isValid () const"
+Returns TRUE if the storage type of this variant is not TQVariant::Invalid; otherwise returns FALSE.
+.SH "TQValueListConstIterator<TQVariant> TQVariant::listBegin () 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 an iterator to the first item in the list if the variant's type is appropriate; otherwise returns a null iterator.
-.SH "TQValueListConstIterator<QVariant> QVariant::listEnd () const"
+.SH "TQValueListConstIterator<TQVariant> TQVariant::listEnd () 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 the end iterator for the list if the variant's type is appropriate; otherwise returns a null iterator.
-.SH "TQMapConstIterator<TQString, QVariant> QVariant::mapBegin () const"
+.SH "TQMapConstIterator<TQString, TQVariant> TQVariant::mapBegin () 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 an iterator to the first item in the map, if the variant's type is appropriate; otherwise returns a null iterator.
-.SH "TQMapConstIterator<TQString, QVariant> QVariant::mapEnd () const"
+.SH "TQMapConstIterator<TQString, TQVariant> TQVariant::mapEnd () 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 the end iterator for the map, if the variant's type is appropriate; otherwise returns a null iterator.
-.SH "TQMapConstIterator<TQString, QVariant> QVariant::mapFind ( const TQString & key ) const"
+.SH "TQMapConstIterator<TQString, TQVariant> TQVariant::mapFind ( const TQString & key ) 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 an iterator to the item in the map with \fIkey\fR as key, if the variant's type is appropriate and \fIkey\fR is a valid key; otherwise returns a null iterator.
-.SH "Type QVariant::nameToType ( const char * name )\fC [static]\fR"
+.SH "Type TQVariant::nameToType ( const char * name )\fC [static]\fR"
Converts the string representation of the storage type given in \fIname\fR, to its enum representation.
.PP
If the string representation cannot be converted to any enum representation, the variant is set to Invalid.
-.SH "bool QVariant::operator!= ( const QVariant & v ) const"
-Compares this QVariant with \fIv\fR and returns TRUE if they are not equal; otherwise returns FALSE.
-.SH "QVariant & QVariant::operator= ( const QVariant & variant )"
+.SH "bool TQVariant::operator!= ( const TQVariant & v ) const"
+Compares this TQVariant with \fIv\fR and returns TRUE if they are not equal; otherwise returns FALSE.
+.SH "TQVariant & TQVariant::operator= ( const TQVariant & variant )"
Assigns the value of the variant \fIvariant\fR to this variant.
.PP
This is a deep copy of the variant, but note that if the variant holds an explicitly shared type such as TQImage, a shallow copy is performed.
-.SH "bool QVariant::operator== ( const QVariant & v ) const"
-Compares this QVariant with \fIv\fR and returns TRUE if they are equal; otherwise returns FALSE.
-.SH "TQValueListConstIterator<TQString> QVariant::stringListBegin () const"
+.SH "bool TQVariant::operator== ( const TQVariant & v ) const"
+Compares this TQVariant with \fIv\fR and returns TRUE if they are equal; otherwise returns FALSE.
+.SH "TQValueListConstIterator<TQString> TQVariant::stringListBegin () 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 an iterator to the first string in the list if the variant's type is StringList; otherwise returns a null iterator.
-.SH "TQValueListConstIterator<TQString> QVariant::stringListEnd () const"
+.SH "TQValueListConstIterator<TQString> TQVariant::stringListEnd () 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 the end iterator for the list if the variant's type is StringList; otherwise returns a null iterator.
-.SH "const TQBitArray QVariant::toBitArray () const"
+.SH "const TQBitArray TQVariant::toBitArray () const"
Returns the variant as a TQBitArray if the variant has type() BitArray; otherwise returns an empty bitarray.
.PP
See also asBitArray().
-.SH "const TQBitmap QVariant::toBitmap () const"
+.SH "const TQBitmap TQVariant::toBitmap () const"
Returns the variant as a TQBitmap if the variant has type() Bitmap; otherwise returns a null TQBitmap.
.PP
See also asBitmap().
-.SH "bool QVariant::toBool () const"
+.SH "bool TQVariant::toBool () const"
Returns the variant as a bool if the variant can be cast to Bool; otherWise returns FALSE.
.PP
Returns TRUE if the variant has a numeric type and its value is non-zero, or if the variant has type String, ByteArray or CString and its lower-case content is not empty, "0" or "false"; otherwise returns FALSE.
.PP
See also asBool() and canCast().
-.SH "const TQBrush QVariant::toBrush () const"
+.SH "const TQBrush TQVariant::toBrush () const"
Returns the variant as a TQBrush if the variant has type() Brush; otherwise returns a default brush (with all black colors).
.PP
See also asBrush().
-.SH "const TQByteArray QVariant::toByteArray () const"
+.SH "const TQByteArray TQVariant::toByteArray () const"
Returns the variant as a TQByteArray if the variant can be cast to a ByteArray; otherwise returns an empty bytearray.
.PP
See also asByteArray() and canCast().
-.SH "const TQCString QVariant::toCString () const"
+.SH "const TQCString TQVariant::toCString () const"
Returns the variant as a TQCString if the variant can be cast to a CString; otherwise returns 0.
.PP
See also asCString() and canCast().
-.SH "const TQColor QVariant::toColor () const"
+.SH "const TQColor TQVariant::toColor () const"
Returns the variant as a TQColor if the variant can be cast to Color; otherwise returns an invalid color.
.PP
See also asColor() and canCast().
-.SH "const TQColorGroup QVariant::toColorGroup () const"
+.SH "const TQColorGroup TQVariant::toColorGroup () const"
Returns the variant as a TQColorGroup if the variant has type() ColorGroup; otherwise returns a completely black color group.
.PP
See also asColorGroup().
-.SH "const TQCursor QVariant::toCursor () const"
+.SH "const TQCursor TQVariant::toCursor () const"
Returns the variant as a TQCursor if the variant has type() Cursor; otherwise returns the default arrow cursor.
.PP
See also asCursor().
-.SH "const TQDate QVariant::toDate () const"
+.SH "const TQDate TQVariant::toDate () const"
Returns the variant as a TQDate if the variant can be cast to Date; otherwise returns an invalid date.
.PP
Note that if the type() is String, CString or ByteArray an invalid date will be returned if the string cannot be parsed as a TQt::ISODate format date.
.PP
See also asDate() and canCast().
-.SH "const TQDateTime QVariant::toDateTime () const"
+.SH "const TQDateTime TQVariant::toDateTime () const"
Returns the variant as a TQDateTime if the variant can be cast to DateTime; otherwise returns an invalid TQDateTime.
.PP
Note that if the type() is String, CString or ByteArray an invalid TQDateTime will be returned if the string cannot be parsed as a TQt::ISODate format date/time.
.PP
See also asDateTime().
-.SH "double QVariant::toDouble ( bool * ok = 0 ) const"
+.SH "double TQVariant::toDouble ( bool * ok = 0 ) const"
Returns the variant as a double if the variant can be cast to Double; otherwise returns 0.0.
.PP
If \fIok\fR is non-null: \fI*ok\fR is set to TRUE if the value could be converted to a double; otherwise \fI*ok\fR is set to FALSE.
.PP
See also asDouble() and canCast().
-.SH "const TQFont QVariant::toFont () const"
+.SH "const TQFont TQVariant::toFont () const"
Returns the variant as a TQFont if the variant can be cast to Font; otherwise returns the application's default font.
.PP
See also asFont() and canCast().
-.SH "const TQIconSet QVariant::toIconSet () const"
+.SH "const TQIconSet TQVariant::toIconSet () const"
Returns the variant as a TQIconSet if the variant has type() IconSet; otherwise returns an icon set of null pixmaps.
.PP
See also asIconSet().
-.SH "const TQImage QVariant::toImage () const"
+.SH "const TQImage TQVariant::toImage () const"
Returns the variant as a TQImage if the variant has type() Image; otherwise returns a null image.
.PP
See also asImage().
-.SH "int QVariant::toInt ( bool * ok = 0 ) const"
+.SH "int TQVariant::toInt ( bool * ok = 0 ) const"
Returns the variant as an int if the variant can be cast to Int; otherwise returns 0.
.PP
If \fIok\fR is non-null: \fI*ok\fR is set to TRUE if the value could be converted to an int; otherwise \fI*ok\fR is set to FALSE.
.PP
See also asInt() and canCast().
-.SH "const TQKeySequence QVariant::toKeySequence () const"
+.SH "const TQKeySequence TQVariant::toKeySequence () const"
Returns the variant as a TQKeySequence if the variant can be cast to a KeySequence; otherwise returns an empty key sequence.
.PP
See also asKeySequence() and canCast().
-.SH "const TQValueList<QVariant> QVariant::toList () const"
-Returns the variant as a TQValueList<QVariant> if the variant has type() List or StringList; otherwise returns an empty list.
+.SH "const TQValueList<TQVariant> TQVariant::toList () const"
+Returns the variant as a TQValueList<TQVariant> if the variant has type() List or StringList; otherwise returns an empty list.
.PP
Note that if you want to iterate over the list, you should iterate over a copy, e.g.
.PP
.nf
.br
- TQValueList<QVariant> list = myVariant.toList();
+ TQValueList<TQVariant> list = myVariant.toList();
.br
- TQValueList<QVariant>::Iterator it = list.begin();
+ TQValueList<TQVariant>::Iterator it = list.begin();
.br
while( it != list.end() ) {
.br
@@ -1015,22 +1015,22 @@ Note that if you want to iterate over the list, you should iterate over a copy,
.fi
.PP
See also asList().
-.SH "TQ_LLONG QVariant::toLongLong ( bool * ok = 0 ) const"
+.SH "TQ_LLONG TQVariant::toLongLong ( bool * ok = 0 ) const"
Returns the variant as a long long int if the variant can be cast to LongLong; otherwise returns 0.
.PP
If \fIok\fR is non-null: \fI*ok\fR is set to TRUE if the value could be converted to an int; otherwise \fI*ok\fR is set to FALSE.
.PP
See also asLongLong() and canCast().
-.SH "const TQMap<TQString, QVariant> QVariant::toMap () const"
-Returns the variant as a TQMap<TQString,QVariant> if the variant has type() Map; otherwise returns an empty map.
+.SH "const TQMap<TQString, TQVariant> TQVariant::toMap () const"
+Returns the variant as a TQMap<TQString,TQVariant> if the variant has type() Map; otherwise returns an empty map.
.PP
Note that if you want to iterate over the map, you should iterate over a copy, e.g.
.PP
.nf
.br
- TQMap<TQString, QVariant> map = myVariant.toMap();
+ TQMap<TQString, TQVariant> map = myVariant.toMap();
.br
- TQMap<TQString, QVariant>::Iterator it = map.begin();
+ TQMap<TQString, TQVariant>::Iterator it = map.begin();
.br
while( it != map.end() ) {
.br
@@ -1043,45 +1043,45 @@ Note that if you want to iterate over the map, you should iterate over a copy, e
.fi
.PP
See also asMap().
-.SH "const TQPalette QVariant::toPalette () const"
+.SH "const TQPalette TQVariant::toPalette () const"
Returns the variant as a TQPalette if the variant has type() Palette; otherwise returns a completely black palette.
.PP
See also asPalette().
-.SH "const TQPen QVariant::toPen () const"
+.SH "const TQPen TQVariant::toPen () const"
Returns the variant as a TQPen if the variant has type() Pen; otherwise returns an empty TQPen.
.PP
See also asPen().
-.SH "const TQPixmap QVariant::toPixmap () const"
+.SH "const TQPixmap TQVariant::toPixmap () const"
Returns the variant as a TQPixmap if the variant has type() Pixmap; otherwise returns a null pixmap.
.PP
See also asPixmap().
-.SH "const TQPoint QVariant::toPoint () const"
+.SH "const TQPoint TQVariant::toPoint () const"
Returns the variant as a TQPoint if the variant has type() Point; otherwise returns a point (0, 0).
.PP
See also asPoint().
-.SH "const TQPointArray QVariant::toPointArray () const"
+.SH "const TQPointArray TQVariant::toPointArray () const"
Returns the variant as a TQPointArray if the variant has type() PointArray; otherwise returns an empty TQPointArray.
.PP
See also asPointArray().
-.SH "const TQRect QVariant::toRect () const"
+.SH "const TQRect TQVariant::toRect () const"
Returns the variant as a TQRect if the variant has type() Rect; otherwise returns an empty rectangle.
.PP
See also asRect().
-.SH "const TQRegion QVariant::toRegion () const"
+.SH "const TQRegion TQVariant::toRegion () const"
Returns the variant as a TQRegion if the variant has type() Region; otherwise returns an empty TQRegion.
.PP
See also asRegion().
-.SH "const TQSize QVariant::toSize () const"
+.SH "const TQSize TQVariant::toSize () const"
Returns the variant as a TQSize if the variant has type() Size; otherwise returns an invalid size.
.PP
See also asSize().
-.SH "TQSizePolicy QVariant::toSizePolicy () const"
+.SH "TQSizePolicy TQVariant::toSizePolicy () const"
Returns the variant as a TQSizePolicy if the variant has type() SizePolicy; otherwise returns an undefined (but legal) size policy.
-.SH "const TQString QVariant::toString () const"
+.SH "const TQString TQVariant::toString () const"
Returns the variant as a TQString if the variant can be cast to String, otherwise returns TQString::null.
.PP
See also asString() and canCast().
-.SH "const TQStringList QVariant::toStringList () const"
+.SH "const TQStringList TQVariant::toStringList () const"
Returns the variant as a TQStringList if the variant has type() StringList or List of a type that can be converted to TQString; otherwise returns an empty list.
.PP
Note that if you want to iterate over the list, you should iterate over a copy, e.g.
@@ -1103,34 +1103,34 @@ Note that if you want to iterate over the list, you should iterate over a copy,
.fi
.PP
See also asStringList().
-.SH "const TQTime QVariant::toTime () const"
+.SH "const TQTime TQVariant::toTime () const"
Returns the variant as a TQTime if the variant can be cast to Time; otherwise returns an invalid date.
.PP
Note that if the type() is String, CString or ByteArray an invalid time will be returned if the string cannot be parsed as a TQt::ISODate format time.
.PP
See also asTime().
-.SH "uint QVariant::toUInt ( bool * ok = 0 ) const"
+.SH "uint TQVariant::toUInt ( bool * ok = 0 ) const"
Returns the variant as an unsigned int if the variant can be cast to UInt; otherwise returns 0.
.PP
If \fIok\fR is non-null: \fI*ok\fR is set to TRUE if the value could be converted to an unsigned int; otherwise \fI*ok\fR is set to FALSE.
.PP
See also asUInt() and canCast().
-.SH "TQ_ULLONG QVariant::toULongLong ( bool * ok = 0 ) const"
+.SH "TQ_ULLONG TQVariant::toULongLong ( bool * ok = 0 ) const"
Returns the variant as as an unsigned long long int if the variant can be cast to ULongLong; otherwise returns 0.
.PP
If \fIok\fR is non-null: \fI*ok\fR is set to TRUE if the value could be converted to an int; otherwise \fI*ok\fR is set to FALSE.
.PP
See also asULongLong() and canCast().
-.SH "Type QVariant::type () const"
+.SH "Type TQVariant::type () const"
Returns the storage type of the value stored in the variant. Usually it's best to test with canCast() whether the variant can deliver the data type you are interested in.
-.SH "const char * QVariant::typeName () const"
-Returns the name of the type stored in the variant. The returned strings describe the C++ datatype used to store the data: for example, "TQFont", "TQString", or "TQValueList<QVariant>". An Invalid variant returns 0.
-.SH "const char * QVariant::typeToName ( Type typ )\fC [static]\fR"
+.SH "const char * TQVariant::typeName () const"
+Returns the name of the type stored in the variant. The returned strings describe the C++ datatype used to store the data: for example, "TQFont", "TQString", or "TQValueList<TQVariant>". An Invalid variant returns 0.
+.SH "const char * TQVariant::typeToName ( Type typ )\fC [static]\fR"
Converts the enum representation of the storage type, \fItyp\fR, to
its string representation.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqvariant.html
+.BR http://doc.trolltech.com/tqvariant.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/tqwidget.3qt b/doc/man/man3/tqwidget.3qt
index 4a91b0e7a..7a5ddc75a 100644
--- a/doc/man/man3/tqwidget.3qt
+++ b/doc/man/man3/tqwidget.3qt
@@ -13,7 +13,7 @@ TQWidget \- The base class of all user interface objects
.PP
Inherits TQObject and TQPaintDevice.
.PP
-Inherited by TQButton, TQFrame, TQDialog, TQComboBox, TQDataBrowser, TQDataView, TQDateTimeEditBase, TQDateTimeEdit, TQDesktopWidget, TQDial, TQDockArea, TQGLWidget, TQHeader, TQMainWindow, TQMotifWidget, TQNPWidget, TQScrollBar, TQSizeGrip, TQSlider, TQSpinBox, QSplashScreen, TQStatusBar, TQTabBar, TQTabWidget, TQWorkspace, and QXtWidget.
+Inherited by TQButton, TQFrame, TQDialog, TQComboBox, TQDataBrowser, TQDataView, TQDateTimeEditBase, TQDateTimeEdit, TQDesktopWidget, TQDial, TQDockArea, TQGLWidget, TQHeader, TQMainWindow, TQMotifWidget, TQNPWidget, TQScrollBar, TQSizeGrip, TQSlider, TQSpinBox, TQSplashScreen, TQStatusBar, TQTabBar, TQTabWidget, TQWorkspace, and QXtWidget.
.PP
.SS "Public Members"
.in +1c
@@ -927,7 +927,7 @@ Inherited by TQButton, TQFrame, TQDialog, TQComboBox, TQDataBrowser, TQDataView,
.BI "virtual void \fBdropEvent\fR ( TQDropEvent * )"
.br
.ti -1c
-.BI "virtual void \fBshowEvent\fR ( QShowEvent * )"
+.BI "virtual void \fBshowEvent\fR ( TQShowEvent * )"
.br
.ti -1c
.BI "virtual void \fBhideEvent\fR ( TQHideEvent * )"
@@ -1389,7 +1389,7 @@ Reimplemented from TQObject.
.SH "TQWidget * TQWidget::find ( WId id )\fC [static]\fR"
Returns a pointer to the widget with window identifer/handle \fIid\fR.
.PP
-The window identifier type depends on the underlying window system, see ntqwindowdefs.h for the actual definition. If there is no widget with this identifier, 0 is returned.
+The window identifier type depends on the underlying window system, see tqwindowdefs.h for the actual definition. If there is no widget with this identifier, 0 is returned.
.SH "TQFocusData * TQWidget::focusData ()\fC [protected]\fR"
Returns the focus data for this widget's top-level widget.
.PP
@@ -2288,12 +2288,12 @@ Examples:
.)l aclock/main.cpp, life/main.cpp, popup/popup.cpp, t1/main.cpp, t3/main.cpp, t4/main.cpp, and toplevel/options.ui.h.
.PP
Reimplemented in TQDialog and TQMenuBar.
-.SH "void TQWidget::showEvent ( QShowEvent * )\fC [virtual protected]\fR"
+.SH "void TQWidget::showEvent ( TQShowEvent * )\fC [virtual protected]\fR"
This event handler can be reimplemented in a subclass to receive widget show events.
.PP
Non-spontaneous show events are sent to widgets immediately before they are shown. The spontaneous show events of top-level widgets are delivered afterwards.
.PP
-See also event() and QShowEvent.
+See also event() and TQShowEvent.
.PP
Example: tqdir/tqdir.cpp.
.SH "void TQWidget::showFullScreen ()\fC [slot]\fR"