diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 13:44:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 13:52:29 +0900 |
commit | e6077c30d14e9d662e8843c554db86c0d366d0b6 (patch) | |
tree | 672319afee32f0316bad258c0e9a1e0dd737bd61 /doc/man | |
parent | 8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde (diff) | |
download | tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.tar.gz tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.zip |
Rename str nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man')
70 files changed, 445 insertions, 445 deletions
diff --git a/doc/man/man3/tqapplication.3qt b/doc/man/man3/tqapplication.3qt index bf39cc926..582175acd 100644 --- a/doc/man/man3/tqapplication.3qt +++ b/doc/man/man3/tqapplication.3qt @@ -337,10 +337,10 @@ Inherits TQObject. .BI "QSize \fBglobalStrut\fR ()" .br .ti -1c -.BI "void \fBsetLibraryPaths\fR ( const QStringList & paths )" +.BI "void \fBsetLibraryPaths\fR ( const TQStringList & paths )" .br .ti -1c -.BI "QStringList \fBlibraryPaths\fR ()" +.BI "TQStringList \fBlibraryPaths\fR ()" .br .ti -1c .BI "void \fBaddLibraryPath\fR ( const TQString & path )" @@ -990,16 +990,16 @@ See also mainWidget(), topLevelWidgets(), TQWidget::isTopLevel, and TQWidget::cl .PP Examples: .)l addressbook/main.cpp, extension/main.cpp, helpviewer/main.cpp, mdi/main.cpp, network/archivesearch/main.cpp, qwerty/main.cpp, and regexptester/main.cpp. -.SH "QStringList QApplication::libraryPaths ()\fC [static]\fR" +.SH "TQStringList QApplication::libraryPaths ()\fC [static]\fR" Returns a list of paths that the application will search when dynamically loading libraries. The installation directory for plugins is the only entry if no paths have been set. The default installation directory for plugins is \fCINSTALL/plugins\fR, where \fCINSTALL\fR is the directory where TQt was installed. The directory of the application executable (NOT the working directory) is also added to the plugin paths. .PP If you want to iterate over the list, you should iterate over a copy, e.g. .PP .nf .br - QStringList list = app.libraryPaths(); + TQStringList list = app.libraryPaths(); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br @@ -1395,7 +1395,7 @@ Example: .fi .PP See also globalStrut(). -.SH "void QApplication::setLibraryPaths ( const QStringList & paths )\fC [static]\fR" +.SH "void QApplication::setLibraryPaths ( const TQStringList & paths )\fC [static]\fR" Sets the list of directories to search when loading libraries to \fIpaths\fR. All existing paths will be deleted and the path list will consist of the paths given in \fIpaths\fR. .PP See also libraryPaths(), addLibraryPath(), removeLibraryPath(), and QLibrary. diff --git a/doc/man/man3/tqassistantclient.3qt b/doc/man/man3/tqassistantclient.3qt index 6f03d2c07..bd734cf5a 100644 --- a/doc/man/man3/tqassistantclient.3qt +++ b/doc/man/man3/tqassistantclient.3qt @@ -25,7 +25,7 @@ Inherits TQObject. .BI "bool \fBisOpen\fR () const" .br .ti -1c -.BI "void \fBsetArguments\fR ( const QStringList & args )" +.BI "void \fBsetArguments\fR ( const TQStringList & args )" .br .in -1c .SS "Public Slots" @@ -101,7 +101,7 @@ Returns TRUE if TQt Assistant is open; otherwise returns FALSE. See the "open" p This function opens TQt Assistant and sets up the client-server communiction between the application and TQt Assistant. If it is already open, this function does nothing. If an error occurs, error() is emitted. .PP See also assistantOpened(). -.SH "void QAssistantClient::setArguments ( const QStringList & args )" +.SH "void QAssistantClient::setArguments ( const TQStringList & args )" Sets the command line arguments used when TQt Assistant is started to \fIargs\fR. .SH "void QAssistantClient::showPage ( const TQString & page )\fC [virtual slot]\fR" Call this function to make TQt Assistant show a particular \fIpage\fR. The \fIpage\fR is a filename (e.g. \fCmyhelpfile.html\fR). See "Adding Documentation to TQt Assistant" in the TQt Assistant manual for further information. diff --git a/doc/man/man3/tqaxbase.3qt b/doc/man/man3/tqaxbase.3qt index e8c6f0a2e..c01d3eb1e 100644 --- a/doc/man/man3/tqaxbase.3qt +++ b/doc/man/man3/tqaxbase.3qt @@ -156,7 +156,7 @@ QAxBase transparently converts between COM data types and the equivalent TQt dat .PP Supported COM datatypes are listed in the first column of following table. The second column is the TQt type that can be used with the TQObject property functions. The third column is the TQt type that is used in the prototype of generated signals and slots for in-parameters, and the last column is the TQt type that is used in the prototype of signals and slots for out-parameters. <center>.nf .TS -l - l. COM type TQt property in-parameter out-parameter VARIANT_BOOL bool bool bool& BSTR TQString const TQString& TQString& char, short, int, long int int int& uchar, ushort, uint, ulong uint uint uint& float, double double double double& DATE QDateTime const QDateTime& QDateTime& CY TQ_LLONG TQ_LLONG TQ_LLONG& OLE_COLOR TQColor const TQColor& TQColor& SAFEARRAY(VARIANT) TQValueList<QVariant> const TQValueList<QVariant>& TQValueList<QVariant>& SAFEARRAY(BYTE) QByteArray const QByteArray& QByteArray& SAFEARRAY(BSTR) QStringList const QStringList& QStringList& VARIANT type-dependent const QVariant& QVariant& IFontDisp* QFont const QFont& QFont& IPictureDisp* QPixmap const QPixmap& QPixmap& IDispatch* QAxObject* (read-only) QAxBase::asVariant() QAxObject* (return value) IUnknown* QAxObject* (read-only) QAxBase::asVariant() QAxObject* (return value) SCODE, DECIMAL \fIunsupported\fR \fIunsupported\fR +l - l. COM type TQt property in-parameter out-parameter VARIANT_BOOL bool bool bool& BSTR TQString const TQString& TQString& char, short, int, long int int int& uchar, ushort, uint, ulong uint uint uint& float, double double double double& DATE QDateTime const QDateTime& QDateTime& CY TQ_LLONG TQ_LLONG TQ_LLONG& OLE_COLOR TQColor const TQColor& TQColor& SAFEARRAY(VARIANT) TQValueList<QVariant> const TQValueList<QVariant>& TQValueList<QVariant>& SAFEARRAY(BYTE) QByteArray const QByteArray& QByteArray& SAFEARRAY(BSTR) TQStringList const TQStringList& TQStringList& VARIANT type-dependent const QVariant& QVariant& IFontDisp* QFont const QFont& QFont& IPictureDisp* QPixmap const QPixmap& QPixmap& IDispatch* QAxObject* (read-only) QAxBase::asVariant() QAxObject* (return value) IUnknown* QAxObject* (read-only) QAxBase::asVariant() QAxObject* (return value) SCODE, DECIMAL \fIunsupported\fR \fIunsupported\fR .TE .fi </center> diff --git a/doc/man/man3/tqaxfactory.3qt b/doc/man/man3/tqaxfactory.3qt index 737fa8fbe..4ce81b59a 100644 --- a/doc/man/man3/tqaxfactory.3qt +++ b/doc/man/man3/tqaxfactory.3qt @@ -22,7 +22,7 @@ This class is part of the \fBQt ActiveQt Extension\fR. .BI "virtual \fB~QAxFactory\fR ()" .br .ti -1c -.BI "virtual QStringList \fBfeatureList\fR () const = 0" +.BI "virtual TQStringList \fBfeatureList\fR () const = 0" .br .ti -1c .BI "virtual TQWidget * \fBcreate\fR ( const TQString & key, TQWidget * parent = 0, const char * name = 0 )" @@ -135,11 +135,11 @@ If you implement your own factory reimplement the pure virtual functions, provid .PP .nf .br - QStringList ActiveQtFactory::featureList() const + TQStringList ActiveQtFactory::featureList() const .br { .br - QStringList list; + TQStringList list; .br list << "ActiveX1"; .br @@ -295,7 +295,7 @@ Reimplement this function to return the name of the super class of \fIkey\fR up The default implementation interprets \fIkey\fR as the class name, and returns the value of the TQ_CLASSINFO entry "ToSuperClass". If no such value is set the null-string is returned, and the functions and properties of all the super classes including TQWidget will be exposed. .PP To only expose the functions and properties of the class itself, reimplement this function to return \fIkey\fR. -.SH "QStringList QAxFactory::featureList () const\fC [pure virtual]\fR" +.SH "TQStringList QAxFactory::featureList () const\fC [pure virtual]\fR" Reimplement this function to return a list of the widgets (class names) supported by this factory. .SH "bool QAxFactory::hasStockEvents ( const TQString & key ) const\fC [virtual]\fR" Reimplement this function to return TRUE if the ActiveX control \fIkey\fR should support the standard ActiveX events diff --git a/doc/man/man3/tqaxscript.3qt b/doc/man/man3/tqaxscript.3qt index 0117f6bda..c339d10ce 100644 --- a/doc/man/man3/tqaxscript.3qt +++ b/doc/man/man3/tqaxscript.3qt @@ -30,7 +30,7 @@ Inherits TQObject. .BI "bool \fBload\fR ( const TQString & code, const TQString & language = TQString::null )" .br .ti -1c -.BI "QStringList \fBfunctions\fR ( FunctionFlags flags = FunctionNames ) const" +.BI "TQStringList \fBfunctions\fR ( FunctionFlags flags = FunctionNames ) const" .br .ti -1c .BI "TQString \fBscriptCode\fR () const" @@ -119,7 +119,7 @@ This is an overloaded member function, provided for convenience. It behaves esse This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP \fIcode\fR, \fIsource\fR, \fIdescription\fR and \fIhelp\fR contain exception information when the script terminated. -.SH "QStringList QAxScript::functions ( FunctionFlags flags = FunctionNames ) const" +.SH "TQStringList QAxScript::functions ( FunctionFlags flags = FunctionNames ) const" Returns a list of all the functions in this script if the respective script engine supports introspection; otherwise returns an empty list. The functions are either provided with full prototypes or only as names, depending on the value of \fIflags\fR. .PP See also QAxScriptEngine::hasIntrospection(). diff --git a/doc/man/man3/tqaxscriptmanager.3qt b/doc/man/man3/tqaxscriptmanager.3qt index 432b5a8e5..bafa492d6 100644 --- a/doc/man/man3/tqaxscriptmanager.3qt +++ b/doc/man/man3/tqaxscriptmanager.3qt @@ -30,10 +30,10 @@ Inherits TQObject. .BI "void \fBaddObject\fR ( TQObject * object )" .br .ti -1c -.BI "QStringList \fBfunctions\fR ( QAxScript::FunctionFlags flags = QAxScript::FunctionNames ) const" +.BI "TQStringList \fBfunctions\fR ( QAxScript::FunctionFlags flags = QAxScript::FunctionNames ) const" .br .ti -1c -.BI "QStringList \fBscriptNames\fR () const" +.BI "TQStringList \fBscriptNames\fR () const" .br .ti -1c .BI "QAxScript * \fBscript\fR ( const TQString & name ) const" @@ -138,7 +138,7 @@ Calls \fIfunction\fR passing \fIarguments\fR as parameters, and returns the resu This signal is emitted when an execution error occured while running \fIscript\fR. .PP \fIcode\fR, \fIdescription\fR, \fIsourcePosition\fR and \fIsourceText\fR contain information about the execution error. -.SH "QStringList QAxScriptManager::functions ( QAxScript::FunctionFlags flags = QAxScript::FunctionNames ) const" +.SH "TQStringList QAxScriptManager::functions ( QAxScript::FunctionFlags flags = QAxScript::FunctionNames ) const" Returns a list with all the functions that are available. Functions provided by script engines that don't support introspection are not included in the list. The functions are either provided with full prototypes or only as names, depending on the value of \fIflags\fR. .SH "QAxScript * QAxScriptManager::load ( const TQString & code, const TQString & name, const TQString & language )" Loads the script source \fIcode\fR using the script engine for \fIlanguage\fR. The script can later be referred to using its \fIname\fR which should not be empty. @@ -168,7 +168,7 @@ Returns the script called \fIname\fR. You can use the returned pointer to call functions directly through QAxScript::call(), to access the script engine directly, or to delete and thus unload the script. .SH "TQString QAxScriptManager::scriptFileFilter ()\fC [static]\fR" Returns a file filter listing all the supported script languages. This filter string is convenient for use with QFileDialog. -.SH "QStringList QAxScriptManager::scriptNames () const" +.SH "TQStringList QAxScriptManager::scriptNames () const" Returns a list with the names of all the scripts. .SH "SEE ALSO" diff --git a/doc/man/man3/tqchar.3qt b/doc/man/man3/tqchar.3qt index 778a3335d..e3786c2f4 100644 --- a/doc/man/man3/tqchar.3qt +++ b/doc/man/man3/tqchar.3qt @@ -11,7 +11,7 @@ TQChar \- Lightweight Unicode character .SH SYNOPSIS Almost all the functions in this class are reentrant when TQt is built with thread support. The exception is \fBdecomposition\fR(). </p> .PP -\fC#include <ntqstring.h>\fR +\fC#include <tqstring.h>\fR .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqcharref.3qt b/doc/man/man3/tqcharref.3qt index 210789e8b..9427f0c8e 100644 --- a/doc/man/man3/tqcharref.3qt +++ b/doc/man/man3/tqcharref.3qt @@ -11,7 +11,7 @@ QCharRef \- Helper class for TQString .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqstring.h>\fR +\fC#include <tqstring.h>\fR .PP .SH DESCRIPTION The QCharRef class is a helper class for TQString. diff --git a/doc/man/man3/tqcolor.3qt b/doc/man/man3/tqcolor.3qt index 74070f00e..34696d4c3 100644 --- a/doc/man/man3/tqcolor.3qt +++ b/doc/man/man3/tqcolor.3qt @@ -134,7 +134,7 @@ TQColor \- Colors based on RGB or HSV values .BI "void \fBcleanup\fR ()" .br .ti -1c -.BI "QStringList \fBcolorNames\fR ()" +.BI "TQStringList \fBcolorNames\fR ()" .br .in -1c .SH RELATED FUNCTION DOCUMENTATION @@ -288,8 +288,8 @@ Returns the B (blue) component of the RGB value. Internal clean up required for TQColor. This function is called from the QApplication destructor. .PP See also initialize(). -.SH "QStringList TQColor::colorNames ()\fC [static]\fR" -Returns a QStringList containing the color names TQt knows about. +.SH "TQStringList TQColor::colorNames ()\fC [static]\fR" +Returns a TQStringList containing the color names TQt knows about. .SH "int TQColor::currentAllocContext ()\fC [static]\fR" Returns the current color allocation context. .PP diff --git a/doc/man/man3/tqcombobox.3qt b/doc/man/man3/tqcombobox.3qt index fb2489592..0a2395bce 100644 --- a/doc/man/man3/tqcombobox.3qt +++ b/doc/man/man3/tqcombobox.3qt @@ -28,13 +28,13 @@ Inherits TQWidget. .BI "int \fBcount\fR () const" .br .ti -1c -.BI "void \fBinsertStringList\fR ( const QStringList & list, int index = -1 )" +.BI "void \fBinsertStringList\fR ( const TQStringList & list, int index = -1 )" .br .ti -1c -.BI "void \fBinsertStrList\fR ( const QStrList & list, int index = -1 )" +.BI "void \fBinsertStrList\fR ( const TQStrList & list, int index = -1 )" .br .ti -1c -.BI "void \fBinsertStrList\fR ( const QStrList * list, int index = -1 )" +.BI "void \fBinsertStrList\fR ( const TQStrList * list, int index = -1 )" .br .ti -1c .BI "void \fBinsertStrList\fR ( const char ** strings, int numStrings = -1, int index = -1 )" @@ -412,19 +412,19 @@ Example: See also insertStringList(). .PP Example: qmag/qmag.cpp. -.SH "void QComboBox::insertStrList ( const QStrList & list, int index = -1 )" +.SH "void QComboBox::insertStrList ( const TQStrList & list, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts the \fIlist\fR of strings at position \fIindex\fR in the combobox. .PP This is only for compatibility since it does not support Unicode strings. See insertStringList(). -.SH "void QComboBox::insertStrList ( const QStrList * list, int index = -1 )" +.SH "void QComboBox::insertStrList ( const TQStrList * list, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts the \fIlist\fR of strings at position \fIindex\fR in the combobox. .PP This is only for compatibility since it does not support Unicode strings. See insertStringList(). -.SH "void QComboBox::insertStringList ( const QStringList & list, int index = -1 )" +.SH "void QComboBox::insertStringList ( const TQStringList & list, int index = -1 )" Inserts the \fIlist\fR of strings at position \fIindex\fR in the combobox. .SH "Policy QComboBox::insertionPolicy () const" Returns the position of the items inserted by the user. See the "insertionPolicy" property for details. diff --git a/doc/man/man3/tqcombotableitem.3qt b/doc/man/man3/tqcombotableitem.3qt index 41e26a4c1..ca4314ea0 100644 --- a/doc/man/man3/tqcombotableitem.3qt +++ b/doc/man/man3/tqcombotableitem.3qt @@ -16,7 +16,7 @@ Inherits QTableItem. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQComboTableItem\fR ( QTable * table, const QStringList & list, bool editable = FALSE )" +.BI "\fBQComboTableItem\fR ( QTable * table, const TQStringList & list, bool editable = FALSE )" .br .ti -1c .BI "\fB~QComboTableItem\fR ()" @@ -46,7 +46,7 @@ Inherits QTableItem. .BI "bool \fBisEditable\fR () const" .br .ti -1c -.BI "virtual void \fBsetStringList\fR ( const QStringList & l )" +.BI "virtual void \fBsetStringList\fR ( const TQStringList & l )" .br .ti -1c .BI "virtual int \fBrtti\fR () const" @@ -57,7 +57,7 @@ The QComboTableItem class provides a means of using comboboxes in QTables. .PP A QComboTableItem is a table item which looks and behaves like a combobox. The advantage of using QComboTableItems rather than real comboboxes is that a QComboTableItem uses far less resources than real comboboxes in QTables. When the cell has the focus it displays a real combobox which the user can interact with. When the cell does not have the focus the cell \fIlooks\fR like a combobox. Only text items (i.e. no pixmaps) may be used in QComboTableItems. .PP -QComboTableItem items have the edit type WhenCurrent (see EditType). The QComboTableItem's list of items is provided by a QStringList passed to the constructor. +QComboTableItem items have the edit type WhenCurrent (see EditType). The QComboTableItem's list of items is provided by a TQStringList passed to the constructor. .PP The list of items may be changed using setStringList(). The current item can be set with setCurrentItem() and retrieved with currentItem(). The text of the current item can be obtained with currentText(), and the text of a particular item can be retrieved with text(). .PP @@ -77,7 +77,7 @@ QComboTableItems can be distinguished from QTableItems and QCheckTableItems usin .PP See also QCheckTableItem, QTableItem, QComboBox, and Advanced Widgets. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QComboTableItem::QComboTableItem ( QTable * table, const QStringList & list, bool editable = FALSE )" +.SH "QComboTableItem::QComboTableItem ( QTable * table, const TQStringList & list, bool editable = FALSE )" Creates a combo table item for the table \fItable\fR. The combobox's list of items is passed in the \fIlist\fR argument. If \fIeditable\fR is TRUE the user may type in new list items; if \fIeditable\fR is FALSE the user may only select from the list of items provided. .PP By default QComboTableItems cannot be replaced by other table items since isReplaceable() returns FALSE by default. @@ -123,7 +123,7 @@ See also currentItem(). If \fIb\fR is TRUE the combo table item can be edited, i.e. the user may enter a new text item themselves. If \fIb\fR is FALSE the user may may only choose one of the existing items. .PP See also isEditable(). -.SH "void QComboTableItem::setStringList ( const QStringList & l )\fC [virtual]\fR" +.SH "void QComboTableItem::setStringList ( const TQStringList & l )\fC [virtual]\fR" Sets the list items of this QComboTableItem to the strings in the string list \fIl\fR. .SH "TQString QComboTableItem::text ( int i ) const" Returns the text of the combo's list item at index \fIi\fR. diff --git a/doc/man/man3/tqconststring.3qt b/doc/man/man3/tqconststring.3qt index 4b1610edf..887f7b76c 100644 --- a/doc/man/man3/tqconststring.3qt +++ b/doc/man/man3/tqconststring.3qt @@ -11,7 +11,7 @@ QConstString \- String objects using constant Unicode data .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqstring.h>\fR +\fC#include <tqstring.h>\fR .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqcstring.3qt b/doc/man/man3/tqcstring.3qt index 60802a2d0..151345889 100644 --- a/doc/man/man3/tqcstring.3qt +++ b/doc/man/man3/tqcstring.3qt @@ -328,7 +328,7 @@ Many operators are overloaded to work with QCStrings. QCString also supports som .PP In QCString the notion of uppercase and lowercase and of which character is greater than or less than another character is locale dependent. This affects functions which support a case insensitive option or which compare or lowercase or uppercase their arguments. Case insensitive operations and comparisons will be accurate if both strings contain only ASCII characters. (If \fC$LC_CTYPE\fR is set, most Unix systems do "the right thing".) Functions that this affects include contains(), find(), findRev(), operator<(), operator<=(), operator>(), operator>=(), lower() and upper(). .PP -This issue does not apply to QStrings since they represent characters using Unicode. </blockquote> +This issue does not apply to TQStrings since they represent characters using Unicode. </blockquote> .PP Performance note: The QCString methods for QRegExp searching are implemented by converting the QCString to a TQString and performing the search on that. This implies a deep copy of the QCString data. If you are going to perform many QRegExp searches on a large QCString, you will get better performance by converting the QCString to a TQString yourself, and then searching in the TQString. .PP diff --git a/doc/man/man3/tqdatabrowser.3qt b/doc/man/man3/tqdatabrowser.3qt index 6171e73ad..7d7e4fe05 100644 --- a/doc/man/man3/tqdatabrowser.3qt +++ b/doc/man/man3/tqdatabrowser.3qt @@ -37,10 +37,10 @@ Inherits TQWidget. .BI "void \fBsetSort\fR ( const TQSqlIndex & sort )" .br .ti -1c -.BI "void \fBsetSort\fR ( const QStringList & sort )" +.BI "void \fBsetSort\fR ( const TQStringList & sort )" .br .ti -1c -.BI "QStringList \fBsort\fR () const" +.BI "TQStringList \fBsort\fR () const" .br .ti -1c .BI "void \fBsetFilter\fR ( const TQString & filter )" @@ -214,7 +214,7 @@ Inherits TQWidget. .BI "bool \fBreadOnly\fR - whether the browser is read-only" .br .ti -1c -.BI "QStringList \fBsort\fR - the data browser's sort" +.BI "TQStringList \fBsort\fR - the data browser's sort" .br .in -1c .SS "Protected Members" @@ -433,7 +433,7 @@ Sets the data browser's filter to \fIfilter\fR. See the "filter" property for de Sets the browser's default form to \fIform\fR. The cursor and all navigation and data manipulation functions that the browser provides become available to the \fIform\fR. .SH "void TQDataBrowser::setReadOnly ( bool active )\fC [virtual]\fR" Sets whether the browser is read-only to \fIactive\fR. See the "readOnly" property for details. -.SH "void TQDataBrowser::setSort ( const QStringList & sort )" +.SH "void TQDataBrowser::setSort ( const TQStringList & sort )" Sets the data browser's sort to \fIsort\fR. See the "sort" property for details. .SH "void TQDataBrowser::setSort ( const TQSqlIndex & sort )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -443,7 +443,7 @@ Sets the data browser's sort to the TQSqlIndex \fIsort\fR. To apply the new sort Sets the default cursor used by the data browser to \fIcursor\fR. If \fIautoDelete\fR is TRUE (the default is FALSE), the data browser takes ownership of the \fIcursor\fR pointer, which will be deleted when the browser is destroyed, or when setSqlCursor() is called again. To activate the \fIcursor\fR use refresh(). The cursor's edit buffer is used in the default form to browse and edit records. .PP See also sqlCursor(), form(), and setForm(). -.SH "QStringList TQDataBrowser::sort () const" +.SH "TQStringList TQDataBrowser::sort () const" Returns the data browser's sort. See the "sort" property for details. .SH "TQSqlCursor * TQDataBrowser::sqlCursor () const" Returns the default cursor used for navigation, or 0 if there is no default cursor. @@ -538,7 +538,7 @@ This property holds whether the browser is read-only. The default is FALSE, i.e. data can be edited. If the data browser is read-only, no database edits will be allowed. .PP Set this property's value with setReadOnly() and get this property's value with isReadOnly(). -.SH "QStringList sort" +.SH "TQStringList sort" This property holds the data browser's sort. .PP The data browser's sort affects the order in which records are viewed in the browser. Call refresh() to apply the new sort. @@ -551,9 +551,9 @@ Note that if you want to iterate over the list, you should iterate over a copy, .PP .nf .br - QStringList list = myDataBrowser.sort(); + TQStringList list = myDataBrowser.sort(); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br diff --git a/doc/man/man3/tqdatatable.3qt b/doc/man/man3/tqdatatable.3qt index 7e20c375d..49b4ecd3d 100644 --- a/doc/man/man3/tqdatatable.3qt +++ b/doc/man/man3/tqdatatable.3qt @@ -70,7 +70,7 @@ Inherits QTable. .BI "TQString \fBfilter\fR () const" .br .ti -1c -.BI "QStringList \fBsort\fR () const" +.BI "TQStringList \fBsort\fR () const" .br .ti -1c .BI "virtual void \fBsetSqlCursor\fR ( TQSqlCursor * cursor = 0, bool autoPopulate = FALSE, bool autoDelete = FALSE )" @@ -115,7 +115,7 @@ Inherits QTable. .BI "virtual void \fBsetFilter\fR ( const TQString & filter )" .br .ti -1c -.BI "virtual void \fBsetSort\fR ( const QStringList & sort )" +.BI "virtual void \fBsetSort\fR ( const TQStringList & sort )" .br .ti -1c .BI "virtual void \fBsetSort\fR ( const TQSqlIndex & sort )" @@ -238,7 +238,7 @@ Inherits QTable. .BI "int \fBnumRows\fR - the number of rows in the table \fI(read " "only" ")\fR" .br .ti -1c -.BI "QStringList \fBsort\fR - the data table's sort" +.BI "TQStringList \fBsort\fR - the data table's sort" .br .ti -1c .BI "TQString \fBtrueText\fR - the text used to represent true values" @@ -504,7 +504,7 @@ Sets the data filter for the data table to \fIfilter\fR. See the "filter" proper Sets the text used to represent NULL values to \fInullText\fR. See the "nullText" property for details. .SH "void TQDataTable::setSize ( TQSqlCursor * sql )\fC [protected]\fR" If the cursor's \fIsql\fR driver supports query sizes, the number of rows in the table is set to the size of the query. Otherwise, the table dynamically resizes itself as it is scrolled. If \fIsql\fR is not active, it is made active by issuing a select() on the cursor using the \fIsql\fR cursor's current filter and current sort. -.SH "void TQDataTable::setSort ( const QStringList & sort )\fC [virtual]\fR" +.SH "void TQDataTable::setSort ( const TQStringList & sort )\fC [virtual]\fR" Sets the data table's sort to \fIsort\fR. See the "sort" property for details. .SH "void TQDataTable::setSort ( const TQSqlIndex & sort )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -518,7 +518,7 @@ Sets \fIcursor\fR as the data source for the table. To force the display of the See also refresh(), readOnly, setAutoDelete(), and TQSqlDriver::nullText(). .SH "void TQDataTable::setTrueText ( const TQString & trueText )\fC [virtual]\fR" Sets the text used to represent true values to \fItrueText\fR. See the "trueText" property for details. -.SH "QStringList TQDataTable::sort () const" +.SH "TQStringList TQDataTable::sort () const" Returns the data table's sort. See the "sort" property for details. .SH "void TQDataTable::sortAscending ( int col )\fC [virtual slot]\fR" Sorts column \fIcol\fR in ascending order. @@ -637,7 +637,7 @@ Get this property's value with numCols(). This property holds the number of rows in the table. .PP Get this property's value with numRows(). -.SH "QStringList sort" +.SH "TQStringList sort" This property holds the data table's sort. .PP The table's sort affects the order in which data records are displayed in the table. To apply a sort, use refresh(). @@ -650,9 +650,9 @@ Note that if you want to iterate over the sort list, you should iterate over a c .PP .nf .br - QStringList list = myDataTable.sort(); + TQStringList list = myDataTable.sort(); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br diff --git a/doc/man/man3/tqdeepcopy.3qt b/doc/man/man3/tqdeepcopy.3qt index d586efdcb..bbfce204b 100644 --- a/doc/man/man3/tqdeepcopy.3qt +++ b/doc/man/man3/tqdeepcopy.3qt @@ -149,7 +149,7 @@ TQMap .TP TQString .TP -TQValueList (including subclasses like QStringList and TQValueStack) +TQValueList (including subclasses like TQStringList and TQValueStack) .TP TQValueVector .PP diff --git a/doc/man/man3/tqdict.3qt b/doc/man/man3/tqdict.3qt index ad391b99c..c14b20f93 100644 --- a/doc/man/man3/tqdict.3qt +++ b/doc/man/man3/tqdict.3qt @@ -91,7 +91,7 @@ QDict is implemented as a template class. Define a template instance QDict<X> to .PP A dictionary is a collection of key-value pairs. The key is a TQString used for insertion, removal and lookup. The value is a pointer. Dictionaries provide very fast insertion and lookup. .PP -If you want to use non-Unicode, plain 8-bit \fCchar*\fR keys, use the QAsciiDict template. A QDict has the same performance as a QAsciiDict. If you want to have a dictionary that maps QStrings to QStrings use TQMap. +If you want to use non-Unicode, plain 8-bit \fCchar*\fR keys, use the QAsciiDict template. A QDict has the same performance as a QAsciiDict. If you want to have a dictionary that maps TQStrings to TQStrings use TQMap. .PP The size() of the dictionary is very important. In order to get good performance, you should use a suitably large prime number. Suitable means equal to or larger than the maximum expected number of dictionary items. Size is set in the constructor but may be changed with resize(). .PP @@ -155,13 +155,13 @@ Example #2: .PP .nf .br - QStringList styleList = QStyleFactory::styles(); + TQStringList styleList = QStyleFactory::styles(); .br styleList.sort(); .br QDict<int> letterDict( 17, FALSE ); .br - for ( QStringList::Iterator it = styleList.begin(); it != styleList.end(); ++it ) { + for ( TQStringList::Iterator it = styleList.begin(); it != styleList.end(); ++it ) { .br TQString styleName = *it; .br diff --git a/doc/man/man3/tqdir.3qt b/doc/man/man3/tqdir.3qt index e28daa8f9..4ba6ebf20 100644 --- a/doc/man/man3/tqdir.3qt +++ b/doc/man/man3/tqdir.3qt @@ -97,16 +97,16 @@ All the functions in this class are reentrant when TQt is built with thread supp .BI "TQString \fBoperator[]\fR ( int index ) const" .br .ti -1c -.BI "virtual QStrList encodedEntryList ( int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const \fI(obsolete)\fR" +.BI "virtual TQStrList encodedEntryList ( int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const \fI(obsolete)\fR" .br .ti -1c -.BI "virtual QStrList encodedEntryList ( const TQString & nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const \fI(obsolete)\fR" +.BI "virtual TQStrList encodedEntryList ( const TQString & nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const \fI(obsolete)\fR" .br .ti -1c -.BI "virtual QStringList \fBentryList\fR ( int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const" +.BI "virtual TQStringList \fBentryList\fR ( int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const" .br .ti -1c -.BI "virtual QStringList \fBentryList\fR ( const TQString & nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const" +.BI "virtual TQStringList \fBentryList\fR ( const TQString & nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const" .br .ti -1c .BI "virtual const QFileInfoList * \fBentryInfoList\fR ( int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const" @@ -187,7 +187,7 @@ All the functions in this class are reentrant when TQt is built with thread supp .BI "TQString \fBrootDirPath\fR ()" .br .ti -1c -.BI "bool \fBmatch\fR ( const QStringList & filters, const TQString & fileName )" +.BI "bool \fBmatch\fR ( const TQStringList & filters, const TQString & fileName )" .br .ti -1c .BI "bool \fBmatch\fR ( const TQString & filter, const TQString & fileName )" @@ -488,13 +488,13 @@ Returns a list of the root directories on this system. On Windows this returns a The returned pointer is owned by Qt. Callers should \fInot\fR delete or modify it. .PP Example: dirview/main.cpp. -.SH "QStrList QDir::encodedEntryList ( int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const\fC [virtual]\fR" +.SH "TQStrList QDir::encodedEntryList ( int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const\fC [virtual]\fR" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP This function is included to easy porting from TQt 1.x to TQt 2.0, it is the same as entryList(), but encodes the filenames as 8-bit strings using QFile::encodedName(). .PP It is more efficient to use entryList(). -.SH "QStrList QDir::encodedEntryList ( const TQString & nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const\fC [virtual]\fR" +.SH "TQStrList QDir::encodedEntryList ( const TQString & nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const\fC [virtual]\fR" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -531,7 +531,7 @@ The returned pointer is a const pointer to a QFileInfoList. The list is owned by Note: QFileInfoList is really a TQPtrList<QFileInfo>. .PP See also entryList(), setNameFilter(), setSorting(), and setFilter(). -.SH "QStringList QDir::entryList ( const TQString & nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const\fC [virtual]\fR" +.SH "TQStringList QDir::entryList ( const TQString & nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const\fC [virtual]\fR" Returns a list of the names of all the files and directories in the directory, ordered in accordance with setSorting() and filtered in accordance with setFilter() and setNameFilter(). .PP The filter and sorting specifications can be overridden using the \fInameFilter\fR, \fIfilterSpec\fR and \fIsortSpec\fR arguments. @@ -541,7 +541,7 @@ Returns an empty list if the directory is unreadable or does not exist. See also entryInfoList(), setNameFilter(), setSorting(), and setFilter(). .PP Example: table/statistics/statistics.cpp. -.SH "QStringList QDir::entryList ( int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const\fC [virtual]\fR" +.SH "TQStringList QDir::entryList ( int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns a list of the names of all the files and directories in the directory, ordered in accordance with setSorting() and filtered in accordance with setFilter() and setNameFilter(). @@ -626,7 +626,7 @@ Returns TRUE if the \fIfileName\fR matches the wildcard (glob) pattern \fIfilter (See QRegExp wildcard matching.) .PP See also QRegExp::match(). -.SH "bool QDir::match ( const QStringList & filters, const TQString & fileName )\fC [static]\fR" +.SH "bool QDir::match ( const TQStringList & filters, const TQString & fileName )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns TRUE if the \fIfileName\fR matches any of the wildcard (glob) patterns in the list of \fIfilters\fR; otherwise returns FALSE. diff --git a/doc/man/man3/tqdns.3qt b/doc/man/man3/tqdns.3qt index 38b3e062c..c205f7612 100644 --- a/doc/man/man3/tqdns.3qt +++ b/doc/man/man3/tqdns.3qt @@ -58,16 +58,16 @@ Inherits TQObject. .BI "TQValueList<Server> \fBservers\fR () const" .br .ti -1c -.BI "QStringList \fBhostNames\fR () const" +.BI "TQStringList \fBhostNames\fR () const" .br .ti -1c -.BI "QStringList \fBtexts\fR () const" +.BI "TQStringList \fBtexts\fR () const" .br .ti -1c .BI "TQString \fBcanonicalName\fR () const" .br .ti -1c -.BI "QStringList \fBqualifiedNames\fR () const" +.BI "TQStringList \fBqualifiedNames\fR () const" .br .in -1c .SS "Signals" @@ -156,16 +156,16 @@ Returns the canonical name for this DNS node. (This works regardless of what rec If the canonical name isn't known, this function returns a null string. .PP The canonical name of a DNS node is its full name, or the full name of the target of its CNAME. For example, if l.trolltech.com is a CNAME to lillian.troll.no, and the search path for QDns is" trolltech.com", then the canonical name for all of "lillian"," l", "lillian.troll.no." and "l.trolltech.com" is" lillian.troll.no.". -.SH "QStringList QDns::hostNames () const" +.SH "TQStringList QDns::hostNames () const" Returns a list of host names if the record type is Ptr. .PP Note that if you want to iterate over the list, you should iterate over a copy, e.g. .PP .nf .br - QStringList list = myDns.hostNames(); + TQStringList list = myDns.hostNames(); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br @@ -212,16 +212,16 @@ Note that if you want to iterate over the list, you should iterate over a copy, .fi .PP Example: network/mail/smtp.cpp. -.SH "QStringList QDns::qualifiedNames () const" +.SH "TQStringList QDns::qualifiedNames () const" Returns a list of the fully qualified names label() maps to. .PP Note that if you want to iterate over the list, you should iterate over a copy, e.g. .PP .nf .br - QStringList list = myDns.qualifiedNames(); + TQStringList list = myDns.qualifiedNames(); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br @@ -284,16 +284,16 @@ Sets this object to query for record type \fIrr\fR records. The DNS lookup is started the next time the application enters the event loop. When the result is found the signal resultsReady() is emitted. .PP See also RecordType. -.SH "QStringList QDns::texts () const" +.SH "TQStringList QDns::texts () const" Returns a list of texts if the record type is Txt. .PP Note that if you want to iterate over the list, you should iterate over a copy, e.g. .PP .nf .br - QStringList list = myDns.texts(); + TQStringList list = myDns.texts(); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br diff --git a/doc/man/man3/tqfile.3qt b/doc/man/man3/tqfile.3qt index 8f900f493..228c4a0b5 100644 --- a/doc/man/man3/tqfile.3qt +++ b/doc/man/man3/tqfile.3qt @@ -135,7 +135,7 @@ Here is a code fragment that uses QTextStream to read a text file line by line. .PP .nf .br - QStringList lines; + TQStringList lines; .br QFile file( "file.txt" ); .br @@ -173,7 +173,7 @@ Writing text is just as easy. The following example shows how to write the data .br QTextStream stream( &file ); .br - for ( QStringList::Iterator it = lines.begin(); it != lines.end(); ++it ) + for ( TQStringList::Iterator it = lines.begin(); it != lines.end(); ++it ) .br stream << *it << "\\n"; .br diff --git a/doc/man/man3/tqfiledialog.3qt b/doc/man/man3/tqfiledialog.3qt index 2f6cb0dcd..1ed351260 100644 --- a/doc/man/man3/tqfiledialog.3qt +++ b/doc/man/man3/tqfiledialog.3qt @@ -43,7 +43,7 @@ Inherits QDialog. .BI "void \fBselectAll\fR ( bool b )" .br .ti -1c -.BI "QStringList \fBselectedFiles\fR () const" +.BI "TQStringList \fBselectedFiles\fR () const" .br .ti -1c .BI "TQString \fBdirPath\fR () const" @@ -136,7 +136,7 @@ Inherits QDialog. .BI "void \fBsetFilters\fR ( const char ** types )" .br .ti -1c -.BI "void \fBsetFilters\fR ( const QStringList & )" +.BI "void \fBsetFilters\fR ( const TQStringList & )" .br .in -1c .SS "Signals" @@ -148,7 +148,7 @@ Inherits QDialog. .BI "void \fBfileSelected\fR ( const TQString & )" .br .ti -1c -.BI "void \fBfilesSelected\fR ( const QStringList & )" +.BI "void \fBfilesSelected\fR ( const TQStringList & )" .br .ti -1c .BI "void \fBdirEntered\fR ( const TQString & )" @@ -169,7 +169,7 @@ Inherits QDialog. .BI "TQString \fBgetExistingDirectory\fR ( const TQString & dir = TQString::null, TQWidget * parent = 0, const char * name = 0, const TQString & caption = TQString::null, bool dirOnly = TRUE, bool resolveSymlinks = TRUE )" .br .ti -1c -.BI "QStringList \fBgetOpenFileNames\fR ( const TQString & filter = TQString::null, const TQString & dir = TQString::null, TQWidget * parent = 0, const char * name = 0, const TQString & caption = TQString::null, TQString * selectedFilter = 0, bool resolveSymlinks = TRUE )" +.BI "TQStringList \fBgetOpenFileNames\fR ( const TQString & filter = TQString::null, const TQString & dir = TQString::null, TQWidget * parent = 0, const char * name = 0, const TQString & caption = TQString::null, TQString * selectedFilter = 0, bool resolveSymlinks = TRUE )" .br .ti -1c .BI "void \fBsetIconProvider\fR ( QFileIconProvider * provider )" @@ -199,7 +199,7 @@ Inherits QDialog. .BI "TQString \fBselectedFile\fR - the name of the selected file \fI(read " "only" ")\fR" .br .ti -1c -.BI "QStringList \fBselectedFiles\fR - the list of selected files \fI(read " "only" ")\fR" +.BI "TQStringList \fBselectedFiles\fR - the list of selected files \fI(read " "only" ")\fR" .br .ti -1c .BI "TQString \fBselectedFilter\fR - the filter which the user has selected in the file dialog \fI(read " "only" ")\fR" @@ -301,7 +301,7 @@ The last important function you will need to use when creating your own file dia .PP In the above example, a modal file dialog is created and shown. If the user clicked OK, then the file they selected is put in \fCfileName\fR. .PP -If you are using the ExistingFiles mode then you will need to use selectedFiles() which will return the selected files in a QStringList. +If you are using the ExistingFiles mode then you will need to use selectedFiles() which will return the selected files in a TQStringList. .PP The dialog's working directory can be set with setDir(). The display of hidden files is controlled with setShowHiddenFiles(). The dialog can be forced to re-read the directory with rereadDir() and re-sort the directory with resortDir(). All the files in the current directory can be selected with selectAll(). .SH "Creating and using preview widgets" @@ -496,7 +496,7 @@ See also fileSelected() and filesSelected(). This signal is emitted when the user selects a file. .PP See also filesSelected(), fileHighlighted(), and selectedFile. -.SH "void QFileDialog::filesSelected ( const QStringList & )\fC [signal]\fR" +.SH "void QFileDialog::filesSelected ( const TQStringList & )\fC [signal]\fR" This signal is emitted when the user selects one or more files in \fIExistingFiles\fR mode. .PP See also fileSelected(), fileHighlighted(), and selectedFiles. @@ -569,12 +569,12 @@ See also getOpenFileNames(), getSaveFileName(), and getExistingDirectory(). .PP Examples: .)l action/application.cpp, addressbook/mainwindow.cpp, application/application.cpp, distributor/distributor.ui.h, network/ftpclient/ftpmainwindow.ui.h, qwerty/qwerty.cpp, and showimg/showimg.cpp. -.SH "QStringList QFileDialog::getOpenFileNames ( const TQString & filter = TQString::null, const TQString & dir = TQString::null, TQWidget * parent = 0, const char * name = 0, const TQString & caption = TQString::null, TQString * selectedFilter = 0, bool resolveSymlinks = TRUE )\fC [static]\fR" +.SH "TQStringList QFileDialog::getOpenFileNames ( const TQString & filter = TQString::null, const TQString & dir = TQString::null, TQWidget * parent = 0, const char * name = 0, const TQString & caption = TQString::null, TQString * selectedFilter = 0, bool resolveSymlinks = TRUE )\fC [static]\fR" This is a convenience static function that will return one or more existing files selected by the user. .PP .nf .br - QStringList files = QFileDialog::getOpenFileNames( + TQStringList files = QFileDialog::getOpenFileNames( .br "Images (*.png *.xpm *.jpg)", .br @@ -602,9 +602,9 @@ Note that if you want to iterate over the list of files, you should iterate over .PP .nf .br - QStringList list = files; + TQStringList list = files; .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br @@ -676,7 +676,7 @@ See also rereadDir(). If \fIb\fR is TRUE then all the files in the current directory are selected; otherwise, they are deselected. .SH "TQString QFileDialog::selectedFile () const" Returns the name of the selected file. See the "selectedFile" property for details. -.SH "QStringList QFileDialog::selectedFiles () const" +.SH "TQStringList QFileDialog::selectedFiles () const" Returns the list of selected files. See the "selectedFiles" property for details. .SH "TQString QFileDialog::selectedFilter () const" Returns the filter which the user has selected in the file dialog. See the "selectedFilter" property for details. @@ -796,7 +796,7 @@ Sets the filters used in the file dialog to \fIfilters\fR. Each group of filters This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP \fItypes\fR must be a null-terminated list of strings. -.SH "void QFileDialog::setFilters ( const QStringList & )\fC [slot]\fR" +.SH "void QFileDialog::setFilters ( const TQStringList & )\fC [slot]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .SH "void QFileDialog::setIconProvider ( QFileIconProvider * provider )\fC [static]\fR" Sets the QFileIconProvider used by the file dialog to \fIprovider\fR. @@ -948,7 +948,7 @@ If a file was selected selectedFile contains the file's name including its absol See also TQString::isEmpty(), selectedFiles, and selectedFilter. .PP Get this property's value with selectedFile(). -.SH "QStringList selectedFiles" +.SH "TQStringList selectedFiles" This property holds the list of selected files. .PP If one or more files are selected, selectedFiles contains their names including their absolute paths. If no files are selected or the mode isn't ExistingFiles selectedFiles is an empty list. @@ -959,9 +959,9 @@ Note that if you want to iterate over the list, you should iterate over a copy, .PP .nf .br - QStringList list = myFileDialog.selectedFiles(); + TQStringList list = myFileDialog.selectedFiles(); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br diff --git a/doc/man/man3/tqfont.3qt b/doc/man/man3/tqfont.3qt index c0964e005..139652271 100644 --- a/doc/man/man3/tqfont.3qt +++ b/doc/man/man3/tqfont.3qt @@ -188,16 +188,16 @@ QFont \- Font used for drawing text .BI "TQString \fBsubstitute\fR ( const TQString & familyName )" .br .ti -1c -.BI "QStringList \fBsubstitutes\fR ( const TQString & familyName )" +.BI "TQStringList \fBsubstitutes\fR ( const TQString & familyName )" .br .ti -1c -.BI "QStringList \fBsubstitutions\fR ()" +.BI "TQStringList \fBsubstitutions\fR ()" .br .ti -1c .BI "void \fBinsertSubstitution\fR ( const TQString & familyName, const TQString & substituteName )" .br .ti -1c -.BI "void \fBinsertSubstitutions\fR ( const TQString & familyName, const QStringList & substituteNames )" +.BI "void \fBinsertSubstitutions\fR ( const TQString & familyName, const TQStringList & substituteNames )" .br .ti -1c .BI "void \fBremoveSubstitution\fR ( const TQString & familyName )" @@ -609,7 +609,7 @@ Inserts the family name \fIsubstituteName\fR into the substitution table for \fI See also insertSubstitutions(), removeSubstitution(), substitutions(), substitute(), and substitutes(). .PP Example: fonts/simple-qfont-demo/viewer.cpp. -.SH "void QFont::insertSubstitutions ( const TQString & familyName, const QStringList & substituteNames )\fC [static]\fR" +.SH "void QFont::insertSubstitutions ( const TQString & familyName, const TQStringList & substituteNames )\fC [static]\fR" Inserts the list of families \fIsubstituteNames\fR into the substitution list for \fIfamilyName\fR. .PP See also insertSubstitution(), removeSubstitution(), substitutions(), and substitute(). @@ -846,7 +846,7 @@ If there is no substitution for \fIfamilyName\fR, \fIfamilyName\fR is returned. To obtain a list of substitutions use substitutes(). .PP See also setFamily(), insertSubstitutions(), insertSubstitution(), and removeSubstitution(). -.SH "QStringList QFont::substitutes ( const TQString & familyName )\fC [static]\fR" +.SH "TQStringList QFont::substitutes ( const TQString & familyName )\fC [static]\fR" Returns a list of family names to be used whenever \fIfamilyName\fR is specified. The lookup is case insensitive. .PP If there is no substitution for \fIfamilyName\fR, an empty list is returned. @@ -854,7 +854,7 @@ If there is no substitution for \fIfamilyName\fR, an empty list is returned. See also substitute(), insertSubstitutions(), insertSubstitution(), and removeSubstitution(). .PP Example: fonts/simple-qfont-demo/viewer.cpp. -.SH "QStringList QFont::substitutions ()\fC [static]\fR" +.SH "TQStringList QFont::substitutions ()\fC [static]\fR" Returns a sorted list of substituted family names. .PP See also insertSubstitution(), removeSubstitution(), and substitute(). diff --git a/doc/man/man3/tqfontdatabase.3qt b/doc/man/man3/tqfontdatabase.3qt index 10cb8b239..54df08dbb 100644 --- a/doc/man/man3/tqfontdatabase.3qt +++ b/doc/man/man3/tqfontdatabase.3qt @@ -17,13 +17,13 @@ QFontDatabase \- Information about the fonts available in the underlying window .BI "\fBQFontDatabase\fR ()" .br .ti -1c -.BI "QStringList \fBfamilies\fR () const" +.BI "TQStringList \fBfamilies\fR () const" .br .ti -1c -.BI "QStringList \fBfamilies\fR ( QFont::Script script ) const" +.BI "TQStringList \fBfamilies\fR ( QFont::Script script ) const" .br .ti -1c -.BI "QStringList \fBstyles\fR ( const TQString & family ) const" +.BI "TQStringList \fBstyles\fR ( const TQString & family ) const" .br .ti -1c .BI "TQValueList<int> \fBpointSizes\fR ( const TQString & family, const TQString & style = TQString::null )" @@ -59,10 +59,10 @@ QFontDatabase \- Information about the fonts available in the underlying window .BI "int \fBweight\fR ( const TQString & family, const TQString & style ) const" .br .ti -1c -.BI "QStringList families ( bool ) const \fI(obsolete)\fR" +.BI "TQStringList families ( bool ) const \fI(obsolete)\fR" .br .ti -1c -.BI "QStringList styles ( const TQString & family, const TQString & ) const \fI(obsolete)\fR" +.BI "TQStringList styles ( const TQString & family, const TQString & ) const \fI(obsolete)\fR" .br .ti -1c .BI "TQValueList<int> pointSizes ( const TQString & family, const TQString & style, const TQString & ) \fI(obsolete)\fR" @@ -141,17 +141,17 @@ int main( int argc, char **argv ) .br QFontDatabase fdb; .br - QStringList families = fdb.families(); + TQStringList families = fdb.families(); .br - for ( QStringList::Iterator f = families.begin(); f != families.end(); ++f ) { + for ( TQStringList::Iterator f = families.begin(); f != families.end(); ++f ) { .br TQString family = *f; .br tqDebug( family ); .br - QStringList styles = fdb.styles( family ); + TQStringList styles = fdb.styles( family ); .br - for ( QStringList::Iterator s = styles.begin(); s != styles.end(); ++s ) { + for ( TQStringList::Iterator s = styles.begin(); s != styles.end(); ++s ) { .br TQString style = *s; .br @@ -191,13 +191,13 @@ Returns TRUE if the font that has family \fIfamily\fR and style \fIstyle\fR is b See also italic() and weight(). .SH "bool QFontDatabase::bold ( const TQString & family, const TQString & style, const TQString & ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "QStringList QFontDatabase::families () const" +.SH "TQStringList QFontDatabase::families () const" Returns a sorted list of the names of the available font families. .PP If a family exists in several foundries, the returned name for that font is in the form "family [foundry]". Examples: .)l "Times [Adobe]", "Times [Cronyx]", "Palatino". -.SH "QStringList QFontDatabase::families ( QFont::Script script ) const" +.SH "TQStringList QFontDatabase::families ( QFont::Script script ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns a sorted list of the available font families which support the Unicode script \fIscript\fR. @@ -205,7 +205,7 @@ Returns a sorted list of the available font families which support the Unicode s If a family exists in several foundries, the returned name for that font is in the form "family [foundry]". Examples: .)l "Times [Adobe]", "Times [Cronyx]", "Palatino". -.SH "QStringList QFontDatabase::families ( bool ) const" +.SH "TQStringList QFontDatabase::families ( bool ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .SH "QFont QFontDatabase::font ( const TQString & family, const TQString & style, int pointSize )" Returns a QFont object that has family \fIfamily\fR, style \fIstyle\fR and point size \fIpointSize\fR. If no matching font could be created, a QFont object that uses the application's default font is returned. @@ -265,9 +265,9 @@ Returns a list of standard font sizes. See also smoothSizes() and pointSizes(). .SH "TQString QFontDatabase::styleString ( const QFont & f )" Returns a string that describes the style of the font \fIf\fR. For example, "Bold Italic", "Bold", "Italic" or "Normal". An empty string may be returned. -.SH "QStringList QFontDatabase::styles ( const TQString & family ) const" +.SH "TQStringList QFontDatabase::styles ( const TQString & family ) const" Returns a list of the styles available for the font family \fIfamily\fR. Some example styles: "Light", "Light Italic", "Bold"," Oblique", "Demi". The list may be empty. -.SH "QStringList QFontDatabase::styles ( const TQString & family, const TQString & ) const" +.SH "TQStringList QFontDatabase::styles ( const TQString & family, const TQString & ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .SH "int QFontDatabase::weight ( const TQString & family, const TQString & style ) const" Returns the weight of the font that has family \fIfamily\fR and style \fIstyle\fR. If there is no such family and style combination, returns -1. diff --git a/doc/man/man3/tqgfxdriverfactory.3qt b/doc/man/man3/tqgfxdriverfactory.3qt index 523a6cf6a..1dd2eb2d6 100644 --- a/doc/man/man3/tqgfxdriverfactory.3qt +++ b/doc/man/man3/tqgfxdriverfactory.3qt @@ -12,7 +12,7 @@ QGfxDriverFactory \- Creates QScreen objects for Qt/Embedded \fC#include <qgfxdriverfactory_qws.h>\fR .PP .SS "Static Public Members" -<li class=fn>QStringList \fBkeys\fR () <li class=fn>QScreen * \fBcreate\fR ( const TQString & key, int displayId ) +<li class=fn>TQStringList \fBkeys\fR () <li class=fn>QScreen * \fBcreate\fR ( const TQString & key, int displayId ) .SH DESCRIPTION The QGfxDriverFactory class creates QScreen objects for Qt/Embedded. .PP @@ -28,7 +28,7 @@ This class is only available in Qt/Embedded. Creates a QScreen object of a type that matches \fIkey\fR, and with the ID, \fIdisplayId\fR. The QScreen object returned may be from a built-in driver, or from a driver plugin. .PP See also keys(). -.SH "QStringList QGfxDriverFactory::keys ()\fC [static]\fR" +.SH "TQStringList QGfxDriverFactory::keys ()\fC [static]\fR" Returns the list of keys this factory can create drivers for. .PP See also create(). diff --git a/doc/man/man3/tqgfxdriverplugin.3qt b/doc/man/man3/tqgfxdriverplugin.3qt index f3edcd028..5aa19276a 100644 --- a/doc/man/man3/tqgfxdriverplugin.3qt +++ b/doc/man/man3/tqgfxdriverplugin.3qt @@ -20,7 +20,7 @@ QGfxDriverPlugin \- Abstract base for Qt/Embedded graphics driver plugins .BI "\fB~QGfxDriverPlugin\fR ()" .br .ti -1c -.BI "virtual QStringList \fBkeys\fR () const = 0" +.BI "virtual TQStringList \fBkeys\fR () const = 0" .br .ti -1c .BI "virtual QScreen * \fBcreate\fR ( const TQString & driver, int displayId ) = 0" @@ -47,7 +47,7 @@ You never have to call this explicitly. TQt destroys a plugin automatically when Creates a driver matching the type specified by \fIdriver\fR, that will use display \fIdisplayId\fR. .PP See also keys(). -.SH "QStringList QGfxDriverPlugin::keys () const\fC [pure virtual]\fR" +.SH "TQStringList QGfxDriverPlugin::keys () const\fC [pure virtual]\fR" Returns the list of graphics drivers this plugin supports. .PP See also create(). diff --git a/doc/man/man3/tqhttpheader.3qt b/doc/man/man3/tqhttpheader.3qt index 4890f33f7..22b86fdd1 100644 --- a/doc/man/man3/tqhttpheader.3qt +++ b/doc/man/man3/tqhttpheader.3qt @@ -40,7 +40,7 @@ Inherited by QHttpResponseHeader and QHttpRequestHeader. .BI "void \fBremoveValue\fR ( const TQString & key )" .br .ti -1c -.BI "QStringList \fBkeys\fR () const" +.BI "TQStringList \fBkeys\fR () const" .br .ti -1c .BI "bool \fBhasKey\fR ( const TQString & key ) const" @@ -139,7 +139,7 @@ See also value(), setValue(), and keys(). Returns TRUE if the HTTP header is valid; otherwise returns FALSE. .PP A QHttpHeader is invalid if it was created by parsing a malformed string. -.SH "QStringList QHttpHeader::keys () const" +.SH "TQStringList QHttpHeader::keys () const" Returns a list of the keys in the HTTP header. .PP See also hasKey(). diff --git a/doc/man/man3/tqimage.3qt b/doc/man/man3/tqimage.3qt index 4e245f6d3..42ba2b561 100644 --- a/doc/man/man3/tqimage.3qt +++ b/doc/man/man3/tqimage.3qt @@ -248,10 +248,10 @@ TQImage \- Hardware-independent pixmap representation with direct access to the .BI "TQValueList<TQImageTextKeyLang> \fBtextList\fR () const" .br .ti -1c -.BI "QStringList \fBtextLanguages\fR () const" +.BI "TQStringList \fBtextLanguages\fR () const" .br .ti -1c -.BI "QStringList \fBtextKeys\fR () const" +.BI "TQStringList \fBtextKeys\fR () const" .br .ti -1c .BI "TQString \fBtext\fR ( const char * key, const char * lang = 0 ) const" @@ -278,16 +278,16 @@ TQImage \- Hardware-independent pixmap representation with direct access to the .BI "const char * \fBimageFormat\fR ( const TQString & fileName )" .br .ti -1c -.BI "QStrList \fBinputFormats\fR ()" +.BI "TQStrList \fBinputFormats\fR ()" .br .ti -1c -.BI "QStrList \fBoutputFormats\fR ()" +.BI "TQStrList \fBoutputFormats\fR ()" .br .ti -1c -.BI "QStringList \fBinputFormatList\fR ()" +.BI "TQStringList \fBinputFormatList\fR ()" .br .ti -1c -.BI "QStringList \fBoutputFormatList\fR ()" +.BI "TQStringList \fBoutputFormatList\fR ()" .br .in -1c .SH RELATED FUNCTION DOCUMENTATION @@ -647,16 +647,16 @@ Returns a string that specifies the image format of the file \fIfileName\fR, or The TQImageIO documentation lists the guaranteed supported image formats, or use TQImage::inputFormats() and TQImage::outputFormats() to get lists that include the installed formats. .PP See also load() and save(). -.SH "QStringList TQImage::inputFormatList ()\fC [static]\fR" +.SH "TQStringList TQImage::inputFormatList ()\fC [static]\fR" Returns a list of image formats that are supported for image input. .PP Note that if you want to iterate over the list, you should iterate over a copy, e.g. .PP .nf .br - QStringList list = myImage.inputFormatList(); + TQStringList list = myImage.inputFormatList(); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br @@ -671,7 +671,7 @@ Note that if you want to iterate over the list, you should iterate over a copy, See also outputFormatList(), inputFormats(), and TQImageIO. .PP Example: showimg/showimg.cpp. -.SH "QStrList TQImage::inputFormats ()\fC [static]\fR" +.SH "TQStrList TQImage::inputFormats ()\fC [static]\fR" Returns a list of image formats that are supported for image input. .PP See also outputFormats(), inputFormatList(), and TQImageIO. @@ -765,16 +765,16 @@ Makes a call to QPixmap::convertToImage(). Returns TRUE if this image and image \fIi\fR have the same contents; otherwise returns FALSE. The comparison can be slow, unless there is some obvious difference, such as different widths, in which case the function will return quickly. .PP See also operator=(). -.SH "QStringList TQImage::outputFormatList ()\fC [static]\fR" +.SH "TQStringList TQImage::outputFormatList ()\fC [static]\fR" Returns a list of image formats that are supported for image output. .PP Note that if you want to iterate over the list, you should iterate over a copy, e.g. .PP .nf .br - QStringList list = myImage.outputFormatList(); + TQStringList list = myImage.outputFormatList(); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br @@ -787,7 +787,7 @@ Note that if you want to iterate over the list, you should iterate over a copy, .fi .PP See also inputFormatList(), outputFormats(), and TQImageIO. -.SH "QStrList TQImage::outputFormats ()\fC [static]\fR" +.SH "TQStrList TQImage::outputFormats ()\fC [static]\fR" Returns a list of image formats that are supported for image output. .PP See also inputFormats(), outputFormatList(), and TQImageIO. @@ -963,16 +963,16 @@ Returns the string recorded for the keyword \fIkey\fR in language \fIlang\fR, or This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the string recorded for the keyword and language \fIkl\fR. -.SH "QStringList TQImage::textKeys () const" +.SH "TQStringList TQImage::textKeys () const" Returns the keywords for which some texts are recorded. .PP Note that if you want to iterate over the list, you should iterate over a copy, e.g. .PP .nf .br - QStringList list = myImage.textKeys(); + TQStringList list = myImage.textKeys(); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br @@ -985,16 +985,16 @@ Note that if you want to iterate over the list, you should iterate over a copy, .fi .PP See also textList(), text(), setText(), and textLanguages(). -.SH "QStringList TQImage::textLanguages () const" +.SH "TQStringList TQImage::textLanguages () const" Returns the language identifiers for which some texts are recorded. .PP Note that if you want to iterate over the list, you should iterate over a copy, e.g. .PP .nf .br - QStringList list = myImage.textLanguages(); + TQStringList list = myImage.textLanguages(); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br diff --git a/doc/man/man3/tqimagedecoder.3qt b/doc/man/man3/tqimagedecoder.3qt index 6401c5950..bc6eee424 100644 --- a/doc/man/man3/tqimagedecoder.3qt +++ b/doc/man/man3/tqimagedecoder.3qt @@ -35,7 +35,7 @@ TQImageDecoder \- Incremental image decoder for all supported image formats .BI "TQImageFormatType * \fBformat\fR ( const char * name )" .br .ti -1c -.BI "QStrList \fBinputFormats\fR ()" +.BI "TQStrList \fBinputFormats\fR ()" .br .ti -1c .BI "void \fBregisterDecoderFactory\fR ( TQImageFormatType * f )" @@ -77,7 +77,7 @@ Call this function to find the name of the format of the given header. The retur Returns 0 if the format is not recognized. .SH "const TQImage & TQImageDecoder::image ()" Returns the image currently being decoded. -.SH "QStrList TQImageDecoder::inputFormats ()\fC [static]\fR" +.SH "TQStrList TQImageDecoder::inputFormats ()\fC [static]\fR" Returns a sorted list of formats for which asynchronous loading is supported. .SH "void TQImageDecoder::registerDecoderFactory ( TQImageFormatType * f )\fC [static]\fR" Registers the new TQImageFormatType \fIf\fR. This is not needed in application code because factories call this themselves. diff --git a/doc/man/man3/tqimageformatplugin.3qt b/doc/man/man3/tqimageformatplugin.3qt index 94334cd03..a19cd8f0c 100644 --- a/doc/man/man3/tqimageformatplugin.3qt +++ b/doc/man/man3/tqimageformatplugin.3qt @@ -20,7 +20,7 @@ TQImageFormatPlugin \- Abstract base for custom image format plugins .BI "\fB~TQImageFormatPlugin\fR ()" .br .ti -1c -.BI "virtual QStringList \fBkeys\fR () const = 0" +.BI "virtual TQStringList \fBkeys\fR () const = 0" .br .ti -1c .BI "virtual bool \fBinstallIOHandler\fR ( const TQString & format ) = 0" @@ -45,7 +45,7 @@ You never have to call this explicitly. TQt destroys a plugin automatically when Installs a TQImageIO image I/O handler for the image format \fIformat\fR. .PP See also keys(). -.SH "QStringList TQImageFormatPlugin::keys () const\fC [pure virtual]\fR" +.SH "TQStringList TQImageFormatPlugin::keys () const\fC [pure virtual]\fR" Returns the list of image formats this plugin supports. .PP See also installIOHandler(). diff --git a/doc/man/man3/tqimageio.3qt b/doc/man/man3/tqimageio.3qt index ac7bac416..327ed5ffd 100644 --- a/doc/man/man3/tqimageio.3qt +++ b/doc/man/man3/tqimageio.3qt @@ -95,10 +95,10 @@ TQImageIO \- Parameters for loading and saving images .BI "const char * \fBimageFormat\fR ( TQIODevice * d )" .br .ti -1c -.BI "QStrList \fBinputFormats\fR ()" +.BI "TQStrList \fBinputFormats\fR ()" .br .ti -1c -.BI "QStrList \fBoutputFormats\fR ()" +.BI "TQStrList \fBoutputFormats\fR ()" .br .ti -1c .BI "void \fBdefineIOHandler\fR ( const char * format, const char * header, const char * flags, image_io_handler readImage, image_io_handler writeImage )" @@ -210,13 +210,13 @@ Returns a string that specifies the image format of the image read from IO devic Make sure that \fId\fR is at the right position in the device (for example, at the beginning of the file). .PP See also TQIODevice::at(). -.SH "QStrList TQImageIO::inputFormats ()\fC [static]\fR" +.SH "TQStrList TQImageIO::inputFormats ()\fC [static]\fR" Returns a sorted list of image formats that are supported for image input. .SH "TQIODevice * TQImageIO::ioDevice () const" Returns the IO device currently set. .PP See also setIODevice(). -.SH "QStrList TQImageIO::outputFormats ()\fC [static]\fR" +.SH "TQStrList TQImageIO::outputFormats ()\fC [static]\fR" Returns a sorted list of image formats that are supported for image output. .PP Example: scribble/scribble.cpp. diff --git a/doc/man/man3/tqinputdialog.3qt b/doc/man/man3/tqinputdialog.3qt index 48add922b..4ea3e4315 100644 --- a/doc/man/man3/tqinputdialog.3qt +++ b/doc/man/man3/tqinputdialog.3qt @@ -14,7 +14,7 @@ QInputDialog \- Simple convenience dialog to get a single value from the user Inherits QDialog. .PP .SS "Static Public Members" -<li class=fn>TQString \fBgetText\fR ( const TQString & caption, const TQString & label, QLineEdit::EchoMode mode = QLineEdit::Normal, const TQString & text = TQString::null, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 ) <li class=fn>int \fBgetInteger\fR ( const TQString & caption, const TQString & label, int value = 0, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 ) <li class=fn>double \fBgetDouble\fR ( const TQString & caption, const TQString & label, double value = 0, double minValue = -2147483647, double maxValue = 2147483647, int decimals = 1, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 ) <li class=fn>TQString \fBgetItem\fR ( const TQString & caption, const TQString & label, const QStringList & list, int current = 0, bool editable = TRUE, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 ) +<li class=fn>TQString \fBgetText\fR ( const TQString & caption, const TQString & label, QLineEdit::EchoMode mode = QLineEdit::Normal, const TQString & text = TQString::null, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 ) <li class=fn>int \fBgetInteger\fR ( const TQString & caption, const TQString & label, int value = 0, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 ) <li class=fn>double \fBgetDouble\fR ( const TQString & caption, const TQString & label, double value = 0, double minValue = -2147483647, double maxValue = 2147483647, int decimals = 1, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 ) <li class=fn>TQString \fBgetItem\fR ( const TQString & caption, const TQString & label, const TQStringList & list, int current = 0, bool editable = TRUE, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 ) .SH DESCRIPTION The QInputDialog class provides a simple convenience dialog to get a single value from the user. .PP @@ -112,7 +112,7 @@ Use this static function like this: } .br .fi -.SH "TQString QInputDialog::getItem ( const TQString & caption, const TQString & label, const QStringList & list, int current = 0, bool editable = TRUE, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR" +.SH "TQString QInputDialog::getItem ( const TQString & caption, const TQString & label, const TQStringList & list, int current = 0, bool editable = TRUE, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR" Static convenience function to let the user select an item from a string list. \fIcaption\fR is the text which is displayed in the title bar of the dialog. \fIlabel\fR is the text which is shown to the user (it should say what should be entered). \fIlist\fR is the string list which is inserted into the combobox, and \fIcurrent\fR is the number of the item which should be the current item. If \fIeditable\fR is TRUE the user can enter their own text; if \fIeditable\fR is FALSE the user may only select one of the existing items. .PP If \fIok\fR is not-null \fI*\fR\fIok\fR will be set to TRUE if the user pressed OK and to FALSE if the user pressed Cancel. The dialog's parent is \fIparent\fR; the dialog is called \fIname\fR. The dialog will be modal. @@ -123,7 +123,7 @@ Use this static function like this: .PP .nf .br - QStringList lst; + TQStringList lst; .br lst << "First" << "Second" << "Third" << "Fourth" << "Fifth"; .br diff --git a/doc/man/man3/tqkbddriverfactory.3qt b/doc/man/man3/tqkbddriverfactory.3qt index 1d4481fc6..3c810e53b 100644 --- a/doc/man/man3/tqkbddriverfactory.3qt +++ b/doc/man/man3/tqkbddriverfactory.3qt @@ -12,7 +12,7 @@ QKbdDriverFactory \- Creates QWSKeyboardHandler objects for Qt/Embedded \fC#include <qkbddriverfactory_qws.h>\fR .PP .SS "Static Public Members" -<li class=fn>QStringList \fBkeys\fR () <li class=fn>QWSKeyboardHandler * \fBcreate\fR ( const TQString & key, const TQString & device ) +<li class=fn>TQStringList \fBkeys\fR () <li class=fn>QWSKeyboardHandler * \fBcreate\fR ( const TQString & key, const TQString & device ) .SH DESCRIPTION The QKbdDriverFactory class creates QWSKeyboardHandler objects for Qt/Embedded. .PP @@ -28,7 +28,7 @@ QKbdDriverFactory::keys() returns a list of valid keys. Creates a QWSKeyboardHandler object that matches \fIkey\fR for device \fIdevice\fR. This is either a built-in driver, or a driver from a driver plugin. .PP See also keys(). -.SH "QStringList QKbdDriverFactory::keys ()\fC [static]\fR" +.SH "TQStringList QKbdDriverFactory::keys ()\fC [static]\fR" Returns the list of keys this factory can create drivers for. .PP See also create(). diff --git a/doc/man/man3/tqkbddriverplugin.3qt b/doc/man/man3/tqkbddriverplugin.3qt index 59c2a8491..56093f377 100644 --- a/doc/man/man3/tqkbddriverplugin.3qt +++ b/doc/man/man3/tqkbddriverplugin.3qt @@ -20,7 +20,7 @@ QKbdDriverPlugin \- Abstract base for Qt/Embedded keyboard driver plugins .BI "\fB~QKbdDriverPlugin\fR ()" .br .ti -1c -.BI "virtual QStringList \fBkeys\fR () const = 0" +.BI "virtual TQStringList \fBkeys\fR () const = 0" .br .ti -1c .BI "virtual QWSKeyboardHandler * \fBcreate\fR ( const TQString & driver, const TQString & device ) = 0" @@ -47,7 +47,7 @@ You never have to call this explicitly. TQt destroys a plugin automatically when Creates a driver matching the type specified by \fIdriver\fR and \fIdevice\fR. .PP See also keys(). -.SH "QStringList QKbdDriverPlugin::keys () const\fC [pure virtual]\fR" +.SH "TQStringList QKbdDriverPlugin::keys () const\fC [pure virtual]\fR" Returns the list of keyboard drivers this plugin supports. .PP See also create(). diff --git a/doc/man/man3/tqlistbox.3qt b/doc/man/man3/tqlistbox.3qt index fe9ca6b35..189313092 100644 --- a/doc/man/man3/tqlistbox.3qt +++ b/doc/man/man3/tqlistbox.3qt @@ -25,13 +25,13 @@ Inherits QScrollView. .BI "uint \fBcount\fR () const" .br .ti -1c -.BI "void \fBinsertStringList\fR ( const QStringList & list, int index = -1 )" +.BI "void \fBinsertStringList\fR ( const TQStringList & list, int index = -1 )" .br .ti -1c -.BI "void \fBinsertStrList\fR ( const QStrList * list, int index = -1 )" +.BI "void \fBinsertStrList\fR ( const TQStrList * list, int index = -1 )" .br .ti -1c -.BI "void \fBinsertStrList\fR ( const QStrList & list, int index = -1 )" +.BI "void \fBinsertStrList\fR ( const TQStrList & list, int index = -1 )" .br .ti -1c .BI "void \fBinsertStrList\fR ( const char ** strings, int numStrings = -1, int index = -1 )" @@ -441,7 +441,7 @@ If the user does not select anything, no signals are emitted and currentItem() r .PP A list box has WheelFocus as a default focusPolicy(), i.e. it can get keyboard focus by tabbing, clicking and through the use of the mouse wheel. .PP -New items can be inserted using insertItem(), insertStrList() or insertStringList(). inSort() is obsolete because this method is quite inefficient. It's preferable to insert the items normally and call sort() afterwards, or to insert a sorted QStringList(). +New items can be inserted using insertItem(), insertStrList() or insertStringList(). inSort() is obsolete because this method is quite inefficient. It's preferable to insert the items normally and call sort() afterwards, or to insert a sorted TQStringList(). .PP By default, vertical and horizontal scroll bars are added and removed as necessary. setHScrollBarMode() and setVScrollBarMode() can be used to change this policy. .PP @@ -696,24 +696,24 @@ Inserts a new list box pixmap item with the pixmap \fIpixmap\fR and the text \fI If \fIindex\fR is negative, \fIpixmap\fR is inserted at the end of the list. .PP See also insertStrList(). -.SH "void QListBox::insertStrList ( const QStrList * list, int index = -1 )" +.SH "void QListBox::insertStrList ( const TQStrList * list, int index = -1 )" Inserts the string list \fIlist\fR into the list at position \fIindex\fR. .PP If \fIindex\fR is negative, \fIlist\fR is inserted at the end of the list. If \fIindex\fR is too large, the operation is ignored. .PP -\fBWarning:\fR This function uses \fCconst char *\fR rather than TQString, so we recommend against using it. It is provided so that legacy code will continue to work, and so that programs that certainly will not need to handle code outside a single 8-bit locale can use it. See insertStringList() which uses real QStrings. +\fBWarning:\fR This function uses \fCconst char *\fR rather than TQString, so we recommend against using it. It is provided so that legacy code will continue to work, and so that programs that certainly will not need to handle code outside a single 8-bit locale can use it. See insertStringList() which uses real TQStrings. .PP \fBWarning:\fR This function is never significantly faster than a loop around insertItem(). .PP See also insertItem() and insertStringList(). -.SH "void QListBox::insertStrList ( const QStrList & list, int index = -1 )" +.SH "void QListBox::insertStrList ( const TQStrList & list, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts the string list \fIlist\fR into the list at position \fIindex\fR. .PP If \fIindex\fR is negative, \fIlist\fR is inserted at the end of the list. If \fIindex\fR is too large, the operation is ignored. .PP -\fBWarning:\fR This function uses \fCconst char *\fR rather than TQString, so we recommend against using it. It is provided so that legacy code will continue to work, and so that programs that certainly will not need to handle code outside a single 8-bit locale can use it. See insertStringList() which uses real QStrings. +\fBWarning:\fR This function uses \fCconst char *\fR rather than TQString, so we recommend against using it. It is provided so that legacy code will continue to work, and so that programs that certainly will not need to handle code outside a single 8-bit locale can use it. See insertStringList() which uses real TQStrings. .PP \fBWarning:\fR This function is never significantly faster than a loop around insertItem(). .PP @@ -725,12 +725,12 @@ Inserts the \fInumStrings\fR strings of the array \fIstrings\fR into the list at .PP If \fIindex\fR is negative, insertStrList() inserts \fIstrings\fR at the end of the list. If \fIindex\fR is too large, the operation is ignored. .PP -\fBWarning:\fR This function uses \fCconst char *\fR rather than TQString, so we recommend against using it. It is provided so that legacy code will continue to work, and so that programs that certainly will not need to handle code outside a single 8-bit locale can use it. See insertStringList() which uses real QStrings. +\fBWarning:\fR This function uses \fCconst char *\fR rather than TQString, so we recommend against using it. It is provided so that legacy code will continue to work, and so that programs that certainly will not need to handle code outside a single 8-bit locale can use it. See insertStringList() which uses real TQStrings. .PP \fBWarning:\fR This function is never significantly faster than a loop around insertItem(). .PP See also insertItem() and insertStringList(). -.SH "void QListBox::insertStringList ( const QStringList & list, int index = -1 )" +.SH "void QListBox::insertStringList ( const TQStringList & list, int index = -1 )" Inserts the string list \fIlist\fR into the list at position \fIindex\fR. .PP If \fIindex\fR is negative, \fIlist\fR is inserted at the end of the list. If \fIindex\fR is too large, the operation is ignored. diff --git a/doc/man/man3/tqmap.3qt b/doc/man/man3/tqmap.3qt index ca3bbdba7..6630c43a5 100644 --- a/doc/man/man3/tqmap.3qt +++ b/doc/man/man3/tqmap.3qt @@ -194,11 +194,11 @@ Example: .PP .nf .br - #include <ntqstring.h> + #include <tqstring.h> .br #include <tqmap.h> .br - #include <ntqstring.h> + #include <tqstring.h> .br .br class Employee diff --git a/doc/man/man3/tqmetaobject.3qt b/doc/man/man3/tqmetaobject.3qt index 714ddefc1..3d2317fe0 100644 --- a/doc/man/man3/tqmetaobject.3qt +++ b/doc/man/man3/tqmetaobject.3qt @@ -32,10 +32,10 @@ QMetaObject \- Meta information about TQt objects .BI "int \fBnumSignals\fR ( bool super = FALSE ) const" .br .ti -1c -.BI "QStrList \fBslotNames\fR ( bool super = FALSE ) const" +.BI "TQStrList \fBslotNames\fR ( bool super = FALSE ) const" .br .ti -1c -.BI "QStrList \fBsignalNames\fR ( bool super = FALSE ) const" +.BI "TQStrList \fBsignalNames\fR ( bool super = FALSE ) const" .br .ti -1c .BI "int \fBnumClassInfo\fR ( bool super = FALSE ) const" @@ -53,7 +53,7 @@ QMetaObject \- Meta information about TQt objects .BI "int \fBfindProperty\fR ( const char * name, bool super = FALSE ) const" .br .ti -1c -.BI "QStrList \fBpropertyNames\fR ( bool super = FALSE ) const" +.BI "TQStrList \fBpropertyNames\fR ( bool super = FALSE ) const" .br .ti -1c .BI "int \fBnumProperties\fR ( bool super = FALSE ) const" @@ -135,17 +135,17 @@ Returns the property meta data for the property at index \fIindex\fR or 0 if no If \fIsuper\fR is TRUE, inherited properties are included. .PP See also propertyNames(). -.SH "QStrList QMetaObject::propertyNames ( bool super = FALSE ) const" +.SH "TQStrList QMetaObject::propertyNames ( bool super = FALSE ) const" Returns a list with the names of all this class's properties. .PP If \fIsuper\fR is TRUE, inherited properties are included. .PP See also property(). -.SH "QStrList QMetaObject::signalNames ( bool super = FALSE ) const" +.SH "TQStrList QMetaObject::signalNames ( bool super = FALSE ) const" Returns a list with the names of all this class's signals. .PP If \fIsuper\fR is TRUE, inherited signals are included. -.SH "QStrList QMetaObject::slotNames ( bool super = FALSE ) const" +.SH "TQStrList QMetaObject::slotNames ( bool super = FALSE ) const" Returns a list with the names of all this class's slots. .PP If \fIsuper\fR is TRUE, inherited slots are included. diff --git a/doc/man/man3/tqmetaproperty.3qt b/doc/man/man3/tqmetaproperty.3qt index 1ea8f6b23..08ec73579 100644 --- a/doc/man/man3/tqmetaproperty.3qt +++ b/doc/man/man3/tqmetaproperty.3qt @@ -29,7 +29,7 @@ QMetaProperty \- Stores meta data about a property .BI "bool \fBisEnumType\fR () const" .br .ti -1c -.BI "QStrList \fBenumKeys\fR () const" +.BI "TQStrList \fBenumKeys\fR () const" .br .ti -1c .BI "int \fBkeyToValue\fR ( const char * key ) const" @@ -38,10 +38,10 @@ QMetaProperty \- Stores meta data about a property .BI "const char * \fBvalueToKey\fR ( int value ) const" .br .ti -1c -.BI "int \fBkeysToValue\fR ( const QStrList & keys ) const" +.BI "int \fBkeysToValue\fR ( const TQStrList & keys ) const" .br .ti -1c -.BI "QStrList \fBvalueToKeys\fR ( int value ) const" +.BI "TQStrList \fBvalueToKeys\fR ( int value ) const" .br .ti -1c .BI "bool \fBdesignable\fR ( TQObject * o = 0 ) const" @@ -73,7 +73,7 @@ See also Object Model. Returns TRUE if the property is designable for object \fIo\fR; otherwise returns FALSE. .PP If no object \fIo\fR is given, the function returns a static approximation. -.SH "QStrList QMetaProperty::enumKeys () const" +.SH "TQStrList QMetaProperty::enumKeys () const" Returns the possible enumeration keys if this property is an enumeration type (or a set type). .PP See also isEnumType(). @@ -91,7 +91,7 @@ Converts the enumeration key \fIkey\fR to its integer value. For set types, use keysToValue(). .PP See also valueToKey(), isSetType(), and keysToValue(). -.SH "int QMetaProperty::keysToValue ( const QStrList & keys ) const" +.SH "int QMetaProperty::keysToValue ( const TQStrList & keys ) const" Converts the list of keys \fIkeys\fR to their combined (OR-ed) integer value. .PP See also isSetType() and valueToKey(). @@ -117,7 +117,7 @@ Converts the enumeration value \fIvalue\fR to its literal key. For set types, use valueToKeys(). .PP See also isSetType() and valueToKeys(). -.SH "QStrList QMetaProperty::valueToKeys ( int value ) const" +.SH "TQStrList QMetaProperty::valueToKeys ( int value ) const" Converts the set value \fIvalue\fR to a list of keys. .PP See also isSetType() and valueToKey(). diff --git a/doc/man/man3/tqmimesourcefactory.3qt b/doc/man/man3/tqmimesourcefactory.3qt index 3a6ca4be9..eb6b2a30e 100644 --- a/doc/man/man3/tqmimesourcefactory.3qt +++ b/doc/man/man3/tqmimesourcefactory.3qt @@ -41,10 +41,10 @@ QMimeSourceFactory \- Extensible provider of mime-typed data .BI "virtual void \fBsetData\fR ( const TQString & abs_name, QMimeSource * data )" .br .ti -1c -.BI "virtual void \fBsetFilePath\fR ( const QStringList & path )" +.BI "virtual void \fBsetFilePath\fR ( const TQStringList & path )" .br .ti -1c -.BI "virtual QStringList \fBfilePath\fR () const" +.BI "virtual TQStringList \fBfilePath\fR () const" .br .ti -1c .BI "void \fBaddFilePath\fR ( const TQString & p )" @@ -172,7 +172,7 @@ See also setDefaultFactory(). .PP Examples: .)l action/application.cpp and application/application.cpp. -.SH "QStringList QMimeSourceFactory::filePath () const\fC [virtual]\fR" +.SH "TQStringList QMimeSourceFactory::filePath () const\fC [virtual]\fR" Returns the currently set search paths. .SH "TQString QMimeSourceFactory::makeAbsolute ( const TQString & abs_or_rel_name, const TQString & context ) const\fC [virtual]\fR" Converts the absolute or relative data item name \fIabs_or_rel_name\fR to an absolute name, interpreted within the context (path) of the data item named \fIcontext\fR (this must be an absolute name). @@ -190,7 +190,7 @@ Sets the default \fIfactory\fR, destroying any previously set mime source provid See also defaultFactory(). .SH "void QMimeSourceFactory::setExtensionType ( const TQString & ext, const char * mimetype )\fC [virtual]\fR" Sets the mime-type to be associated with the file name extension, \fIext\fR to \fImimetype\fR. This determines the mime-type for files found via the paths set by setFilePath(). -.SH "void QMimeSourceFactory::setFilePath ( const QStringList & path )\fC [virtual]\fR" +.SH "void QMimeSourceFactory::setFilePath ( const TQStringList & path )\fC [virtual]\fR" Sets the list of directories that will be searched when named data is requested to the those given in the string list \fIpath\fR. .PP See also filePath(). diff --git a/doc/man/man3/tqmousedriverfactory.3qt b/doc/man/man3/tqmousedriverfactory.3qt index 58c4e7e7c..f33074389 100644 --- a/doc/man/man3/tqmousedriverfactory.3qt +++ b/doc/man/man3/tqmousedriverfactory.3qt @@ -12,7 +12,7 @@ QMouseDriverFactory \- Creates QWSMouseHandler objects for Qt/Embedded \fC#include <qmousedriverfactory_qws.h>\fR .PP .SS "Static Public Members" -<li class=fn>QStringList \fBkeys\fR () <li class=fn>QWSMouseHandler * \fBcreate\fR ( const TQString & key, const TQString & device ) +<li class=fn>TQStringList \fBkeys\fR () <li class=fn>QWSMouseHandler * \fBcreate\fR ( const TQString & key, const TQString & device ) .SH DESCRIPTION The QMouseDriverFactory class creates QWSMouseHandler objects for Qt/Embedded. .PP @@ -28,7 +28,7 @@ QMouseDriverFactory::keys() returns a list of valid keys. Creates a QWSMouseHandler object that matches \fIkey\fR and uses device \fIdevice\fR. This is either a built-in driver, or a driver from a driver plugin. .PP See also keys(). -.SH "QStringList QMouseDriverFactory::keys ()\fC [static]\fR" +.SH "TQStringList QMouseDriverFactory::keys ()\fC [static]\fR" Returns the list of keys this factory can create drivers for. .PP See also create(). diff --git a/doc/man/man3/tqmousedriverplugin.3qt b/doc/man/man3/tqmousedriverplugin.3qt index faea602c6..4bc5acd7e 100644 --- a/doc/man/man3/tqmousedriverplugin.3qt +++ b/doc/man/man3/tqmousedriverplugin.3qt @@ -20,7 +20,7 @@ QMouseDriverPlugin \- Abstract base for Qt/Embedded mouse driver plugins .BI "\fB~QMouseDriverPlugin\fR ()" .br .ti -1c -.BI "virtual QStringList \fBkeys\fR () const = 0" +.BI "virtual TQStringList \fBkeys\fR () const = 0" .br .ti -1c .BI "virtual QWSMouseHandler * \fBcreate\fR ( const TQString & driver, const TQString & device ) = 0" @@ -47,7 +47,7 @@ You never have to call this explicitly. TQt destroys a plugin automatically when Creates a driver matching the type specified by \fIdriver\fR and which uses device \fIdevice\fR. .PP See also keys(). -.SH "QStringList QMouseDriverPlugin::keys () const\fC [pure virtual]\fR" +.SH "TQStringList QMouseDriverPlugin::keys () const\fC [pure virtual]\fR" Returns the list of mouse drivers this plugin supports. .PP See also create(). diff --git a/doc/man/man3/tqprocess.3qt b/doc/man/man3/tqprocess.3qt index 24eb27ca3..d6094baee 100644 --- a/doc/man/man3/tqprocess.3qt +++ b/doc/man/man3/tqprocess.3qt @@ -22,19 +22,19 @@ Inherits TQObject. .BI "\fBQProcess\fR ( const TQString & arg0, TQObject * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fBQProcess\fR ( const QStringList & args, TQObject * parent = 0, const char * name = 0 )" +.BI "\fBQProcess\fR ( const TQStringList & args, TQObject * parent = 0, const char * name = 0 )" .br .ti -1c .BI "\fB~QProcess\fR ()" .br .ti -1c -.BI "QStringList \fBarguments\fR () const" +.BI "TQStringList \fBarguments\fR () const" .br .ti -1c .BI "void \fBclearArguments\fR ()" .br .ti -1c -.BI "virtual void \fBsetArguments\fR ( const QStringList & args )" +.BI "virtual void \fBsetArguments\fR ( const TQStringList & args )" .br .ti -1c .BI "virtual void \fBaddArgument\fR ( const TQString & arg )" @@ -55,13 +55,13 @@ Inherits TQObject. .BI "int \fBcommunication\fR () const" .br .ti -1c -.BI "virtual bool \fBstart\fR ( QStringList * env = 0 )" +.BI "virtual bool \fBstart\fR ( TQStringList * env = 0 )" .br .ti -1c -.BI "virtual bool \fBlaunch\fR ( const TQString & buf, QStringList * env = 0 )" +.BI "virtual bool \fBlaunch\fR ( const TQString & buf, TQStringList * env = 0 )" .br .ti -1c -.BI "virtual bool \fBlaunch\fR ( const QByteArray & buf, QStringList * env = 0 )" +.BI "virtual bool \fBlaunch\fR ( const QByteArray & buf, TQStringList * env = 0 )" .br .ti -1c .BI "bool \fBisRunning\fR () const" @@ -254,7 +254,7 @@ Constructs a QProcess with \fIarg0\fR as the command to be executed. The \fIpare The process is not started. You must call start() or launch() to start the process. .PP See also setArguments(), addArgument(), and start(). -.SH "QProcess::QProcess ( const QStringList & args, TQObject * parent = 0, const char * name = 0 )" +.SH "QProcess::QProcess ( const TQStringList & args, TQObject * parent = 0, const char * name = 0 )" Constructs a QProcess with \fIargs\fR as the arguments of the process. The first element in the list is the command to be executed. The other elements in the list are the arguments to this command. The \fIparent\fR and \fIname\fR parameters are passed to the TQObject constructor. .PP The process is not started. You must call start() or launch() to start the process. @@ -276,16 +276,16 @@ The first element in the list of arguments is the command to be executed; the fo See also arguments() and setArguments(). .PP Example: process/process.cpp. -.SH "QStringList QProcess::arguments () const" +.SH "TQStringList QProcess::arguments () const" Returns the list of arguments that are set for the process. Arguments can be specified with the constructor or with the functions setArguments() and addArgument(). .PP Note that if you want to iterate over the list, you should iterate over a copy, e.g. .PP .nf .br - QStringList list = myProcess.arguments(); + TQStringList list = myProcess.arguments(); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br @@ -348,7 +348,7 @@ This tries to terminate the process the nice way. If the process is still runnin The slot returns immediately: it does not wait until the process has finished. When the process terminates, the processExited() signal is emitted. .PP See also tryTerminate() and processExited(). -.SH "bool QProcess::launch ( const QByteArray & buf, QStringList * env = 0 )\fC [virtual]\fR" +.SH "bool QProcess::launch ( const QByteArray & buf, TQStringList * env = 0 )\fC [virtual]\fR" Runs the process and writes the data \fIbuf\fR to the process's standard input. If all the data is written to standard input, standard input is closed. The command is searched for in the path for executable programs; you can also use an absolute path in the command itself. .PP If \fIenv\fR is null, then the process is started with the same environment as the starting process. If \fIenv\fR is non-null, then the values in the string list are interpreted as environment setttings of the form \fCkey=value\fR and the process is started with these environment settings. For convenience, there is a small exception to this rule under Unix: if \fIenv\fR does not contain any settings for the environment variable \fCLD_LIBRARY_PATH\fR, then this variable is inherited from the starting process. @@ -364,7 +364,7 @@ You can call this function even when a process that was started with this instan The object emits the signal launchFinished() when this function call is finished. If the start was successful, this signal is emitted after all the data has been written to standard input. If the start failed, then this signal is emitted immediately. .PP See also start() and launchFinished(). -.SH "bool QProcess::launch ( const TQString & buf, QStringList * env = 0 )\fC [virtual]\fR" +.SH "bool QProcess::launch ( const TQString & buf, TQStringList * env = 0 )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP The data \fIbuf\fR is written to standard input with writeToStdin() using the TQString::local8Bit() representation of the strings. @@ -432,7 +432,7 @@ Note that this signal is only emitted when there is new data and not when there See also readStdout(), readLineStdout(), and readyReadStderr(). .PP Example: process/process.cpp. -.SH "void QProcess::setArguments ( const QStringList & args )\fC [virtual]\fR" +.SH "void QProcess::setArguments ( const TQStringList & args )\fC [virtual]\fR" Sets \fIargs\fR as the arguments for the process. The first element in the list is the command to be executed. The other elements in the list are the arguments to the command. Any previous arguments are deleted. .PP QProcess does not perform argument substitutions; for example, if you specify "*" or "$DISPLAY", these values are passed to the process literally. If you want to have the same behavior as the shell provides, you must do the substitutions yourself; i.e. instead of specifying a "*" you must specify the list of all the filenames in the current directory, and instead of "$DISPLAY" you must specify the value of the environment variable \fCDISPLAY\fR. @@ -454,7 +454,7 @@ Sets \fIdir\fR as the working directory for processes. This does not affect runn Setting the working directory is especially useful for processes that try to access files with relative paths. .PP See also workingDirectory() and start(). -.SH "bool QProcess::start ( QStringList * env = 0 )\fC [virtual]\fR" +.SH "bool QProcess::start ( TQStringList * env = 0 )\fC [virtual]\fR" Tries to run a process for the command and arguments that were specified with setArguments(), addArgument() or that were specified in the constructor. The command is searched for in the path for executable programs; you can also use an absolute path in the command itself. .PP If \fIenv\fR is null, then the process is started with the same environment as the starting process. If \fIenv\fR is non-null, then the values in the stringlist are interpreted as environment setttings of the form \fCkey=value\fR and the process is started in these environment settings. For convenience, there is a small exception to this rule: under Unix, if \fIenv\fR does not contain any settings for the environment variable \fCLD_LIBRARY_PATH\fR, then this variable is inherited from the starting process; under Windows the same applies for the environment variable \fCPATH\fR. diff --git a/doc/man/man3/tqptrlist.3qt b/doc/man/man3/tqptrlist.3qt index 62f86d03d..3ab8a4c35 100644 --- a/doc/man/man3/tqptrlist.3qt +++ b/doc/man/man3/tqptrlist.3qt @@ -13,7 +13,7 @@ TQPtrList \- Template class that provides a list .PP Inherits TQPtrCollection. .PP -Inherited by TQObjectList and QStrList. +Inherited by TQObjectList and TQStrList. .PP .SS "Public Members" .in +1c @@ -282,7 +282,7 @@ The virtual function compareItems() can be reimplemented to compare two list ite .PP List items are stored as \fCvoid*\fR in an internal QLNode, which also holds pointers to the next and previous list items. The functions currentNode(), removeNode(), and takeNode() operate directly on the QLNode, but they should be used with care. The data component of the node is available through QLNode::getData(). .PP -The QStrList class defined in ntqstrlist.h is a list of \fCchar*\fR. It reimplements newItem(), deleteItem() and compareItems(). (But see QStringList for a list of Unicode QStrings.) +The TQStrList class defined in tqstrlist.h is a list of \fCchar*\fR. It reimplements newItem(), deleteItem() and compareItems(). (But see TQStringList for a list of Unicode TQStrings.) .PP See also TQPtrListIterator, Collection Classes, and Non-GUI Classes. .SH MEMBER FUNCTION DOCUMENTATION diff --git a/doc/man/man3/tqptrlistiterator.3qt b/doc/man/man3/tqptrlistiterator.3qt index d9a4cefe5..c77a3434b 100644 --- a/doc/man/man3/tqptrlistiterator.3qt +++ b/doc/man/man3/tqptrlistiterator.3qt @@ -11,7 +11,7 @@ TQPtrListIterator \- Iterator for TQPtrList collections .SH SYNOPSIS \fC#include <tqptrlist.h>\fR .PP -Inherited by TQObjectListIterator and QStrListIterator. +Inherited by TQObjectListIterator and TQStrListIterator. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqregexp.3qt b/doc/man/man3/tqregexp.3qt index e0aa9815a..f62f432e5 100644 --- a/doc/man/man3/tqregexp.3qt +++ b/doc/man/man3/tqregexp.3qt @@ -88,7 +88,7 @@ All the functions in this class are reentrant when TQt is built with thread supp .BI "int \fBnumCaptures\fR () const" .br .ti -1c -.BI "QStringList \fBcapturedTexts\fR ()" +.BI "TQStringList \fBcapturedTexts\fR ()" .br .ti -1c .BI "TQString \fBcap\fR ( int nth = 0 )" @@ -325,7 +325,7 @@ Both zero-width positive and zero-width negative lookahead assertions (?=pattern .PP Non-capturing parentheses are also supported, with the same (?:pattern) syntax. .PP -See QStringList::split() and QStringList::join() for equivalents to Perl's split and join functions. +See TQStringList::split() and TQStringList::join() for equivalents to Perl's split and join functions. .PP Note: because C++ transforms \'s they must be written \fItwice\fR in code, e.g. \fB\b\fR must be written \fB\\b\fR. .SH "Code Examples" @@ -449,11 +449,11 @@ One common use of regexps is to split lines of delimited data into their compone .br .fi .PP -In this example our input lines have the format company name, web address and country. Unfortunately the regexp is rather long and not very versatile -- the code will break if we add any more fields. A simpler and better solution is to look for the separator, '\\t' in this case, and take the surrounding text. The QStringList split() function can take a separator string or regexp as an argument and split a string accordingly. +In this example our input lines have the format company name, web address and country. Unfortunately the regexp is rather long and not very versatile -- the code will break if we add any more fields. A simpler and better solution is to look for the separator, '\\t' in this case, and take the surrounding text. The TQStringList split() function can take a separator string or regexp as an argument and split a string accordingly. .PP .nf .br - QStringList field = QStringList::split( "\\t", str ); + TQStringList field = TQStringList::split( "\\t", str ); .br .fi .PP @@ -479,7 +479,7 @@ Wildcard matching can be convenient because of its simplicity, but any wildcard .PP QRegExp can match case insensitively using setCaseSensitive(), and can use non-greedy matching, see setMinimal(). By default QRegExp uses full regexps but this can be changed with setWildcard(). Searching can be forward with search() or backward with searchRev(). Captured text can be accessed using capturedTexts() which returns a string list of all captured strings, or using cap() which returns the captured string for the given index. The pos() function takes a match index and returns the position in the string where the match was made (or -1 if there was no match). .PP -See also QRegExpValidator, TQString, QStringList, Miscellaneous Classes, Implicitly and Explicitly Shared Classes, and Non-GUI Classes. +See also QRegExpValidator, TQString, TQStringList, Miscellaneous Classes, Implicitly and Explicitly Shared Classes, and Non-GUI Classes. .PP .SS "Member Type Documentation" .SH "QRegExp::CaretMode" @@ -536,7 +536,7 @@ Some patterns may lead to a number of matches which cannot be determined in adva .br str = "Offsets: 12 14 99 231 7"; .br - QStringList list; + TQStringList list; .br pos = 0; .br @@ -562,7 +562,7 @@ See also capturedTexts(), pos(), exactMatch(), search(), and searchRev(). .PP Examples: .)l network/archivesearch/archivedialog.ui.h and regexptester/regexptester.cpp. -.SH "QStringList QRegExp::capturedTexts ()" +.SH "TQStringList QRegExp::capturedTexts ()" Returns a list of the captured text strings. .PP The first string in the list is the entire matched string. Each subsequent list element contains a string that matched a (capturing) subexpression of the regexp. @@ -575,7 +575,7 @@ For example: .br int pos = rx.search( "Length: 36 inches" ); .br - QStringList list = rx.capturedTexts(); + TQStringList list = rx.capturedTexts(); .br // list is now ( "36 inches", "36", " ", "inches", "es" ) .br @@ -589,7 +589,7 @@ The above example also captures elements that may be present but which we have n .br int pos = rx.search( "Length: 36 inches" ); .br - QStringList list = rx.capturedTexts(); + TQStringList list = rx.capturedTexts(); .br // list is now ( "36 inches", "36", "inches" ) .br @@ -599,9 +599,9 @@ Note that if you want to iterate over the list, you should iterate over a copy, .PP .nf .br - QStringList list = rx.capturedTexts(); + TQStringList list = rx.capturedTexts(); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br @@ -749,7 +749,7 @@ Returns the position of the first match, or -1 if there was no match. .PP The \fIcaretMode\fR parameter can be used to instruct whether \fB^\fR should match at index 0 or at \fIoffset\fR. .PP -You might prefer to use TQString::find(), TQString::contains() or even QStringList::grep(). To replace matches use TQString::replace(). +You might prefer to use TQString::find(), TQString::contains() or even TQStringList::grep(). To replace matches use TQString::replace(). .PP Example: .PP diff --git a/doc/man/man3/tqsessionmanager.3qt b/doc/man/man3/tqsessionmanager.3qt index 9304d41e8..79472a0e6 100644 --- a/doc/man/man3/tqsessionmanager.3qt +++ b/doc/man/man3/tqsessionmanager.3qt @@ -46,22 +46,22 @@ Inherits TQObject. .BI "RestartHint \fBrestartHint\fR () const" .br .ti -1c -.BI "void \fBsetRestartCommand\fR ( const QStringList & command )" +.BI "void \fBsetRestartCommand\fR ( const TQStringList & command )" .br .ti -1c -.BI "QStringList \fBrestartCommand\fR () const" +.BI "TQStringList \fBrestartCommand\fR () const" .br .ti -1c -.BI "void \fBsetDiscardCommand\fR ( const QStringList & )" +.BI "void \fBsetDiscardCommand\fR ( const TQStringList & )" .br .ti -1c -.BI "QStringList \fBdiscardCommand\fR () const" +.BI "TQStringList \fBdiscardCommand\fR () const" .br .ti -1c .BI "void \fBsetManagerProperty\fR ( const TQString & name, const TQString & value )" .br .ti -1c -.BI "void \fBsetManagerProperty\fR ( const TQString & name, const QStringList & value )" +.BI "void \fBsetManagerProperty\fR ( const TQString & name, const TQStringList & value )" .br .ti -1c .BI "bool \fBisPhase2\fR () const" @@ -173,16 +173,16 @@ See also QApplication::commitData(), release(), and cancel(). Tells the session manager to cancel the shutdown process. Applications should not call this function without first asking the user. .PP See also allowsInteraction() and allowsErrorInteraction(). -.SH "QStringList QSessionManager::discardCommand () const" +.SH "TQStringList QSessionManager::discardCommand () const" Returns the currently set discard command. .PP Note that if you want to iterate over the list, you should iterate over a copy, e.g. .PP .nf .br - QStringList list = mySession.discardCommand(); + TQStringList list = mySession.discardCommand(); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br @@ -213,16 +213,16 @@ The two phases are useful for applications such as the X11 window manager that n Note that if another application has requested a second phase it may get called before, simultaneously with, or after your application's second phase. .PP See also isPhase2(). -.SH "QStringList QSessionManager::restartCommand () const" +.SH "TQStringList QSessionManager::restartCommand () const" Returns the currently set restart command. .PP Note that if you want to iterate over the list, you should iterate over a copy, e.g. .PP .nf .br - QStringList list = mySession.restartCommand(); + TQStringList list = mySession.restartCommand(); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br @@ -253,9 +253,9 @@ If the application has been restored from an earlier session, this key is the sa The session key changes with every call of commitData() or saveState(). .PP See also sessionId() and QApplication::sessionKey(). -.SH "void QSessionManager::setDiscardCommand ( const QStringList & )" +.SH "void QSessionManager::setDiscardCommand ( const TQStringList & )" See also discardCommand() and setRestartCommand(). -.SH "void QSessionManager::setManagerProperty ( const TQString & name, const QStringList & value )" +.SH "void QSessionManager::setManagerProperty ( const TQString & name, const TQStringList & value )" Low-level write access to the application's identification and state record are kept in the session manager. .PP The property called \fIname\fR has its value set to the string list \fIvalue\fR. @@ -265,7 +265,7 @@ This is an overloaded member function, provided for convenience. It behaves esse Low-level write access to the application's identification and state records are kept in the session manager. .PP The property called \fIname\fR has its value set to the string \fIvalue\fR. -.SH "void QSessionManager::setRestartCommand ( const QStringList & command )" +.SH "void QSessionManager::setRestartCommand ( const TQStringList & command )" If the session manager is capable of restoring sessions it will execute \fIcommand\fR in order to restore the application. The command defaults to .PP .nf diff --git a/doc/man/man3/tqsettings.3qt b/doc/man/man3/tqsettings.3qt index 7b0dd97f7..76320600f 100644 --- a/doc/man/man3/tqsettings.3qt +++ b/doc/man/man3/tqsettings.3qt @@ -44,22 +44,22 @@ QSettings \- Persistent platform-independent application settings .BI "bool \fBwriteEntry\fR ( const TQString & key, const TQString & value )" .br .ti -1c -.BI "bool \fBwriteEntry\fR ( const TQString & key, const QStringList & value )" +.BI "bool \fBwriteEntry\fR ( const TQString & key, const TQStringList & value )" .br .ti -1c -.BI "bool writeEntry ( const TQString & key, const QStringList & value, const TQChar & separator ) \fI(obsolete)\fR" +.BI "bool writeEntry ( const TQString & key, const TQStringList & value, const TQChar & separator ) \fI(obsolete)\fR" .br .ti -1c -.BI "QStringList \fBentryList\fR ( const TQString & key ) const" +.BI "TQStringList \fBentryList\fR ( const TQString & key ) const" .br .ti -1c -.BI "QStringList \fBsubkeyList\fR ( const TQString & key ) const" +.BI "TQStringList \fBsubkeyList\fR ( const TQString & key ) const" .br .ti -1c -.BI "QStringList \fBreadListEntry\fR ( const TQString & key, bool * ok = 0 ) const" +.BI "TQStringList \fBreadListEntry\fR ( const TQString & key, bool * ok = 0 ) const" .br .ti -1c -.BI "QStringList readListEntry ( const TQString & key, const TQChar & separator, bool * ok = 0 ) const \fI(obsolete)\fR" +.BI "TQStringList readListEntry ( const TQString & key, const TQChar & separator, bool * ok = 0 ) const \fI(obsolete)\fR" .br .ti -1c .BI "TQString \fBreadEntry\fR ( const TQString & key, const TQString & def = TQString::null, bool * ok = 0 ) const" @@ -197,22 +197,22 @@ You can get a list of entry-holding keys by calling entryList(), and a list of k .PP .nf .br - QStringList keys = settings.entryList( "/MyApplication" ); + TQStringList keys = settings.entryList( "/MyApplication" ); .br // keys contains 'background color' and 'foreground color'. .br .br - QStringList keys = settings.entryList( "/MyApplication/recent files" ); + TQStringList keys = settings.entryList( "/MyApplication/recent files" ); .br // keys contains '1', '2' and '3'. .br .br - QStringList subkeys = settings.subkeyList( "/MyApplication" ); + TQStringList subkeys = settings.subkeyList( "/MyApplication" ); .br // subkeys contains 'geometry' and 'recent files' .br .br - QStringList subkeys = settings.subkeyList( "/MyApplication/recent files" ); + TQStringList subkeys = settings.subkeyList( "/MyApplication/recent files" ); .br // subkeys is empty. .br @@ -325,7 +325,7 @@ Undo previous calls to beginGroup(). Note that a single beginGroup("a/b/c") is u settings.endGroup(); .br .fi -.SH "QStringList QSettings::entryList ( const TQString & key ) const" +.SH "TQStringList QSettings::entryList ( const TQString & key ) const" Returns a list of the keys which contain entries under \fIkey\fR. Does \fInot\fR return any keys that contain subkeys. .PP Example settings: @@ -348,7 +348,7 @@ Example settings: .PP .nf .br - QStringList keys = settings.entryList( "/MyCompany/MyApplication" ); + TQStringList keys = settings.entryList( "/MyCompany/MyApplication" ); .br .fi .PP @@ -447,16 +447,16 @@ See also readEntry(), readNumEntry(), readBoolEntry(), writeEntry(), and removeE Reads the entry specified by \fIkey\fR, and returns a TQString, or the default value, \fIdef\fR, if the entry couldn't be read. If \fIok\fR is non-null, *ok is set to TRUE if the key was read, FALSE otherwise. .PP See also readListEntry(), readNumEntry(), readDoubleEntry(), readBoolEntry(), writeEntry(), and removeEntry(). -.SH "QStringList QSettings::readListEntry ( const TQString & key, bool * ok = 0 ) const" +.SH "TQStringList QSettings::readListEntry ( const TQString & key, bool * ok = 0 ) const" Reads the entry specified by \fIkey\fR as a string. If \fIok\fR is not 0, \fI*ok\fR is set to TRUE if the key was read, otherwise \fI*ok\fR is set to FALSE. .PP Note that if you want to iterate over the list, you should iterate over a copy, e.g. .PP .nf .br - QStringList list = mySettings.readListEntry( "recentfiles" ); + TQStringList list = mySettings.readListEntry( "recentfiles" ); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br @@ -468,23 +468,23 @@ Note that if you want to iterate over the list, you should iterate over a copy, .br .fi .PP -See also readEntry(), readDoubleEntry(), readBoolEntry(), writeEntry(), removeEntry(), and QStringList::split(). -.SH "QStringList QSettings::readListEntry ( const TQString & key, const TQChar & separator, bool * ok = 0 ) const" +See also readEntry(), readDoubleEntry(), readBoolEntry(), writeEntry(), removeEntry(), and TQStringList::split(). +.SH "TQStringList QSettings::readListEntry ( const TQString & key, const TQChar & separator, bool * ok = 0 ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP -Reads the entry specified by \fIkey\fR as a string. The \fIseparator\fR is used to create a QStringList by calling QStringList::split(\fIseparator\fR, entry). If \fIok\fR is not 0: \fI*ok\fR is set to TRUE if the key was read, otherwise \fI*ok\fR is set to FALSE. +Reads the entry specified by \fIkey\fR as a string. The \fIseparator\fR is used to create a TQStringList by calling TQStringList::split(\fIseparator\fR, entry). If \fIok\fR is not 0: \fI*ok\fR is set to TRUE if the key was read, otherwise \fI*ok\fR is set to FALSE. .PP -\fBWarning:\fR As the documentation states, QStringList::split() will omit empty strings from the list. Because of this, it is impossible to retrieve identical list data with this function. We recommend using the readListEntry() and writeEntry() overloads that do not take a \fIseparator\fR argument. +\fBWarning:\fR As the documentation states, TQStringList::split() will omit empty strings from the list. Because of this, it is impossible to retrieve identical list data with this function. We recommend using the readListEntry() and writeEntry() overloads that do not take a \fIseparator\fR argument. .PP Note that if you want to iterate over the list, you should iterate over a copy, e.g. .PP .nf .br - QStringList list = mySettings.readListEntry( "size", " " ); + TQStringList list = mySettings.readListEntry( "size", " " ); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br @@ -496,7 +496,7 @@ Note that if you want to iterate over the list, you should iterate over a copy, .br .fi .PP -See also readEntry(), readDoubleEntry(), readBoolEntry(), writeEntry(), removeEntry(), and QStringList::split(). +See also readEntry(), readDoubleEntry(), readBoolEntry(), writeEntry(), removeEntry(), and TQStringList::split(). .SH "int QSettings::readNumEntry ( const TQString & key, int def = 0, bool * ok = 0 ) const" Reads the entry specified by \fIkey\fR, and returns an integer, or the default value, \fIdef\fR, if the entry couldn't be read. If \fIok\fR is non-null, *ok is set to TRUE if the key was read, FALSE otherwise. .PP @@ -523,7 +523,7 @@ The \fIproduct\fR should be the official name of the product. The \fIscope\fR should be QSettings::User for user-specific settings, or QSettings::Global for system-wide settings (generally these will be read-only to many users). .PP Not all information is relevant on all systems. -.SH "QStringList QSettings::subkeyList ( const TQString & key ) const" +.SH "TQStringList QSettings::subkeyList ( const TQString & key ) const" Returns a list of the keys which contain subkeys under \fIkey\fR. Does \fInot\fR return any keys that contain entries. .PP Example settings: @@ -552,7 +552,7 @@ Example settings: .PP .nf .br - QStringList keys = settings.subkeyList( "/MyCompany/MyApplication" ); + TQStringList keys = settings.subkeyList( "/MyCompany/MyApplication" ); .br .fi .PP @@ -607,7 +607,7 @@ Writes the string entry \fIvalue\fR into key \fIkey\fR. The \fIkey\fR is created If an error occurs the settings are left unchanged and FALSE is returned; otherwise TRUE is returned. .PP See also readListEntry(), readNumEntry(), readDoubleEntry(), readBoolEntry(), and removeEntry(). -.SH "bool QSettings::writeEntry ( const TQString & key, const QStringList & value )" +.SH "bool QSettings::writeEntry ( const TQString & key, const TQStringList & value )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Writes the string list entry \fIvalue\fR into key \fIkey\fR. The \fIkey\fR is created if it doesn't exist. Any previous value is overwritten by \fIvalue\fR. @@ -615,18 +615,18 @@ Writes the string list entry \fIvalue\fR into key \fIkey\fR. The \fIkey\fR is cr If an error occurs the settings are left unchanged and FALSE is returned; otherwise returns TRUE. .PP See also readListEntry(), readNumEntry(), readDoubleEntry(), readBoolEntry(), and removeEntry(). -.SH "bool QSettings::writeEntry ( const TQString & key, const QStringList & value, const TQChar & separator )" +.SH "bool QSettings::writeEntry ( const TQString & key, const TQStringList & value, const TQChar & separator )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP -Writes the string list entry \fIvalue\fR into key \fIkey\fR. The \fIkey\fR is created if it doesn't exist. Any previous value is overwritten by \fIvalue\fR. The list is stored as a sequence of strings separated by \fIseparator\fR (using QStringList::join()), so none of the strings in the list should contain the separator. If the list is empty or null the key's value will be an empty string. +Writes the string list entry \fIvalue\fR into key \fIkey\fR. The \fIkey\fR is created if it doesn't exist. Any previous value is overwritten by \fIvalue\fR. The list is stored as a sequence of strings separated by \fIseparator\fR (using TQStringList::join()), so none of the strings in the list should contain the separator. If the list is empty or null the key's value will be an empty string. .PP -\fBWarning:\fR The list should not contain empty or null strings, as readListEntry() will use QStringList::split() to recreate the list. As the documentation states, QStringList::split() will omit empty strings from the list. Because of this, it is impossible to retrieve identical list data that is stored with this function. We recommend using the writeEntry() and readListEntry() overloads that do not take a \fIseparator\fR argument. +\fBWarning:\fR The list should not contain empty or null strings, as readListEntry() will use TQStringList::split() to recreate the list. As the documentation states, TQStringList::split() will omit empty strings from the list. Because of this, it is impossible to retrieve identical list data that is stored with this function. We recommend using the writeEntry() and readListEntry() overloads that do not take a \fIseparator\fR argument. .PP If an error occurs the settings are left unchanged and FALSE is returned; otherwise returns TRUE. .PP -See also readListEntry(), readNumEntry(), readDoubleEntry(), readBoolEntry(), removeEntry(), and QStringList::join(). +See also readListEntry(), readNumEntry(), readDoubleEntry(), readBoolEntry(), removeEntry(), and TQStringList::join(). .SH "SEE ALSO" .BR http://doc.trolltech.com/ntqsettings.html diff --git a/doc/man/man3/tqsqlcursor.3qt b/doc/man/man3/tqsqlcursor.3qt index ad7086483..d111c604b 100644 --- a/doc/man/man3/tqsqlcursor.3qt +++ b/doc/man/man3/tqsqlcursor.3qt @@ -36,7 +36,7 @@ Inherited by TQSqlSelectCursor. .BI "virtual TQSqlIndex \fBprimaryIndex\fR ( bool setFromCursor = TRUE ) const" .br .ti -1c -.BI "virtual TQSqlIndex \fBindex\fR ( const QStringList & fieldNames ) const" +.BI "virtual TQSqlIndex \fBindex\fR ( const TQStringList & fieldNames ) const" .br .ti -1c .BI "TQSqlIndex \fBindex\fR ( const TQString & fieldName ) const" @@ -334,7 +334,7 @@ Returns the current internal edit buffer. If \fIcopy\fR is TRUE (the default is See also primeInsert(), primeUpdate(), and primeDelete(). .SH "TQString TQSqlCursor::filter () const" Returns the current filter, or an empty string if there is no current filter. -.SH "TQSqlIndex TQSqlCursor::index ( const QStringList & fieldNames ) const\fC [virtual]\fR" +.SH "TQSqlIndex TQSqlCursor::index ( const TQStringList & fieldNames ) const\fC [virtual]\fR" Returns an index composed of \fIfieldNames\fR, all in ASCending order. Note that all field names must exist in the cursor, otherwise an empty index is returned. .PP See also TQSqlIndex. diff --git a/doc/man/man3/tqsqldatabase.3qt b/doc/man/man3/tqsqldatabase.3qt index f5b31e03d..ec9d10c66 100644 --- a/doc/man/man3/tqsqldatabase.3qt +++ b/doc/man/man3/tqsqldatabase.3qt @@ -34,10 +34,10 @@ Inherits TQObject. .BI "bool \fBisOpenError\fR () const" .br .ti -1c -.BI "QStringList \fBtables\fR () const" +.BI "TQStringList \fBtables\fR () const" .br .ti -1c -.BI "QStringList \fBtables\fR ( TQSql::TableType type ) const" +.BI "TQStringList \fBtables\fR ( TQSql::TableType type ) const" .br .ti -1c .BI "TQSqlIndex \fBprimaryIndex\fR ( const TQString & tablename ) const" @@ -133,7 +133,7 @@ Inherits TQObject. .BI "bool \fBcontains\fR ( const TQString & connectionName = defaultConnection )" .br .ti -1c -.BI "QStringList \fBdrivers\fR ()" +.BI "TQStringList \fBdrivers\fR ()" .br .ti -1c .BI "void \fBregisterSqlDriver\fR ( const TQString & name, const TQSqlDriverCreatorBase * creator )" @@ -298,16 +298,16 @@ Returns the name of the database. See the "databaseName" property for details. Returns the database driver used to access the database connection. .SH "TQString TQSqlDatabase::driverName () const" Returns the name of the driver used by the database connection. -.SH "QStringList TQSqlDatabase::drivers ()\fC [static]\fR" +.SH "TQStringList TQSqlDatabase::drivers ()\fC [static]\fR" Returns a list of all the available database drivers. .PP Note that if you want to iterate over the list, you should iterate over a copy, e.g. .PP .nf .br - QStringList list = TQSqlDatabase::drivers(); + TQStringList list = TQSqlDatabase::drivers(); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br @@ -420,16 +420,16 @@ Sets the password used to connect to the database to \fIpassword\fR. See the "pa Sets the port used to connect to the database to \fIp\fR. See the "port" property for details. .SH "void TQSqlDatabase::setUserName ( const TQString & name )\fC [virtual]\fR" Sets the user name connected to the database to \fIname\fR. See the "userName" property for details. -.SH "QStringList TQSqlDatabase::tables ( TQSql::TableType type ) const" +.SH "TQStringList TQSqlDatabase::tables ( TQSql::TableType type ) const" Returns a list of the database's tables, system tables and views, as specified by the parameter \fItype\fR. .PP Note that if you want to iterate over the list, you should iterate over a copy, e.g. .PP .nf .br - QStringList list = myDatabase.tables( TQSql::Tables | TQSql::Views ); + TQStringList list = myDatabase.tables( TQSql::Tables | TQSql::Views ); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br @@ -442,7 +442,7 @@ Note that if you want to iterate over the list, you should iterate over a copy, .fi .PP Example: sql/sqltable/main.cpp. -.SH "QStringList TQSqlDatabase::tables () const" +.SH "TQStringList TQSqlDatabase::tables () const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns a list of the database's tables that are visible to the user. To include views or system tables, use the version of this function that takes a table \fCtype\fR parameter. @@ -451,9 +451,9 @@ Note that if you want to iterate over the list, you should iterate over a copy, .PP .nf .br - QStringList list = myDatabase.tables(); + TQStringList list = myDatabase.tables(); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br diff --git a/doc/man/man3/tqsqldriver.3qt b/doc/man/man3/tqsqldriver.3qt index 99c2ecbc0..00676d2dc 100644 --- a/doc/man/man3/tqsqldriver.3qt +++ b/doc/man/man3/tqsqldriver.3qt @@ -40,7 +40,7 @@ Inherits TQObject. .BI "virtual bool \fBrollbackTransaction\fR ()" .br .ti -1c -.BI "virtual QStringList \fBtables\fR ( const TQString & tableType ) const" +.BI "virtual TQStringList \fBtables\fR ( const TQString & tableType ) const" .br .ti -1c .BI "virtual TQSqlIndex \fBprimaryIndex\fR ( const TQString & tableName ) const" @@ -220,7 +220,7 @@ See also open() and setOpenError(). Protected function which sets the open error state of the database to \fIe\fR. Derived classes can use this function to report the status of open(). Note that if \fIe\fR is TRUE the open state of the database is set to closed (i.e. isOpen() returns FALSE). .PP See also open(). -.SH "QStringList TQSqlDriver::tables ( const TQString & tableType ) const\fC [virtual]\fR" +.SH "TQStringList TQSqlDriver::tables ( const TQString & tableType ) const\fC [virtual]\fR" Returns a list of tables in the database. The default implementation returns an empty list. .PP The \fItableType\fR argument describes what types of tables should be returned. Due to binary compatibility, the string contains the value of the enum TQSql::TableTypes as text. An empty string should be treated as TQSql::Tables for downward compatibility. diff --git a/doc/man/man3/tqsqldriverplugin.3qt b/doc/man/man3/tqsqldriverplugin.3qt index 25cbdee34..d68529b69 100644 --- a/doc/man/man3/tqsqldriverplugin.3qt +++ b/doc/man/man3/tqsqldriverplugin.3qt @@ -20,7 +20,7 @@ TQSqlDriverPlugin \- Abstract base for custom TQSqlDriver plugins .BI "\fB~TQSqlDriverPlugin\fR ()" .br .ti -1c -.BI "virtual QStringList \fBkeys\fR () const = 0" +.BI "virtual TQStringList \fBkeys\fR () const = 0" .br .ti -1c .BI "virtual TQSqlDriver * \fBcreate\fR ( const TQString & key ) = 0" @@ -45,7 +45,7 @@ You never have to call this explicitly. TQt destroys a plugin automatically when Creates and returns a TQSqlDriver object for the driver key \fIkey\fR. The driver key is usually the class name of the required driver. .PP See also keys(). -.SH "QStringList TQSqlDriverPlugin::keys () const\fC [pure virtual]\fR" +.SH "TQStringList TQSqlDriverPlugin::keys () const\fC [pure virtual]\fR" Returns the list of drivers (keys) this plugin supports. .PP These keys are usually the class names of the custom drivers that are implemented in the plugin. diff --git a/doc/man/man3/tqsqlindex.3qt b/doc/man/man3/tqsqlindex.3qt index e66ca49cc..0b17a4469 100644 --- a/doc/man/man3/tqsqlindex.3qt +++ b/doc/man/man3/tqsqlindex.3qt @@ -55,7 +55,7 @@ Inherits TQSqlRecord. .SS "Static Public Members" .in +1c .ti -1c -.BI "TQSqlIndex \fBfromStringList\fR ( const QStringList & l, const TQSqlCursor * cursor )" +.BI "TQSqlIndex \fBfromStringList\fR ( const TQStringList & l, const TQSqlCursor * cursor )" .br .in -1c .SH DESCRIPTION @@ -83,7 +83,7 @@ This is an overloaded member function, provided for convenience. It behaves esse Appends the field \fIfield\fR to the list of indexed fields. The field is appended with an ascending sort order, unless \fIdesc\fR is TRUE. .SH "TQString TQSqlIndex::cursorName () const" Returns the name of the cursor which the index is associated with. -.SH "TQSqlIndex TQSqlIndex::fromStringList ( const QStringList & l, const TQSqlCursor * cursor )\fC [static]\fR" +.SH "TQSqlIndex TQSqlIndex::fromStringList ( const TQStringList & l, const TQSqlCursor * cursor )\fC [static]\fR" Returns an index based on the field descriptions in \fIl\fR and the cursor \fIcursor\fR. The field descriptions should be in the same format that toStringList() produces, for example, a surname field in the people table might be in one of these forms: "surname"," surname DESC" or "people.surname ASC". .PP See also toStringList(). diff --git a/doc/man/man3/tqsqlrecord.3qt b/doc/man/man3/tqsqlrecord.3qt index 3d66d0005..c97cce5e1 100644 --- a/doc/man/man3/tqsqlrecord.3qt +++ b/doc/man/man3/tqsqlrecord.3qt @@ -109,7 +109,7 @@ Inherited by TQSqlCursor and TQSqlIndex. .BI "virtual TQString \fBtoString\fR ( const TQString & prefix = TQString::null, const TQString & sep = "","" ) const" .br .ti -1c -.BI "virtual QStringList \fBtoStringList\fR ( const TQString & prefix = TQString::null ) const" +.BI "virtual TQStringList \fBtoStringList\fR ( const TQString & prefix = TQString::null ) const" .br .in -1c .SH DESCRIPTION @@ -224,7 +224,7 @@ Returns a list of all the record's field names as a string separated by \fIsep\f Note that fields which are not generated are \fInot\fR included (see isGenerated()). The returned string is suitable, for example, for generating SQL SELECT statements. If a \fIprefix\fR is specified, e.g. a table name, all fields are prefixed in the form: .PP" \fIprefix\fR.<fieldname>" -.SH "QStringList TQSqlRecord::toStringList ( const TQString & prefix = TQString::null ) const\fC [virtual]\fR" +.SH "TQStringList TQSqlRecord::toStringList ( const TQString & prefix = TQString::null ) const\fC [virtual]\fR" Returns a list of all the record's field names, each having the prefix \fIprefix\fR. .PP 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: diff --git a/doc/man/man3/tqstrilist.3qt b/doc/man/man3/tqstrilist.3qt index 923f99957..9c3edc44e 100644 --- a/doc/man/man3/tqstrilist.3qt +++ b/doc/man/man3/tqstrilist.3qt @@ -1,5 +1,5 @@ '\" t -.TH QStrIList 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQStrIList 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,39 +7,39 @@ .ad l .nh .SH NAME -QStrIList \- Doubly-linked list of char* with case-insensitive comparison +TQStrIList \- Doubly-linked list of char* with case-insensitive comparison .SH SYNOPSIS -\fC#include <ntqstrlist.h>\fR +\fC#include <tqstrlist.h>\fR .PP -Inherits QStrList. +Inherits TQStrList. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQStrIList\fR ( bool deepCopies = TRUE )" +.BI "\fBTQStrIList\fR ( bool deepCopies = TRUE )" .br .ti -1c -.BI "\fB~QStrIList\fR ()" +.BI "\fB~TQStrIList\fR ()" .br .in -1c .SH DESCRIPTION -The QStrIList class provides a doubly-linked list of char* with case-insensitive comparison. +The TQStrIList class provides a doubly-linked list of char* with case-insensitive comparison. .PP This class is a TQPtrList<char> instance (a list of char*). .PP -QStrIList is identical to QStrList except that the virtual compareItems() function is reimplemented to compare strings case-insensitively. The inSort() function inserts strings in a sorted order. In general it is fastest to insert the strings as they come and sort() at the end; inSort() is useful when you just have to add a few extra strings to an already sorted list. +TQStrIList is identical to TQStrList except that the virtual compareItems() function is reimplemented to compare strings case-insensitively. The inSort() function inserts strings in a sorted order. In general it is fastest to insert the strings as they come and sort() at the end; inSort() is useful when you just have to add a few extra strings to an already sorted list. .PP -The QStrListIterator class works for QStrIList. +The TQStrListIterator class works for TQStrIList. .PP -See also QStringList, Collection Classes, and Non-GUI Classes. +See also TQStringList, Collection Classes, and Non-GUI Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QStrIList::QStrIList ( bool deepCopies = TRUE )" +.SH "TQStrIList::TQStrIList ( bool deepCopies = TRUE )" Constructs a list of strings. Will make deep copies of all inserted strings if \fIdeepCopies\fR is TRUE, or use shallow copies if \fIdeepCopies\fR is FALSE. -.SH "QStrIList::~QStrIList ()" +.SH "TQStrIList::~TQStrIList ()" Destroys the list. All strings are removed. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qstrilist.html +.BR http://doc.trolltech.com/tqstrilist.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/tqstring.3qt b/doc/man/man3/tqstring.3qt index 9c49b24b0..596dc4098 100644 --- a/doc/man/man3/tqstring.3qt +++ b/doc/man/man3/tqstring.3qt @@ -11,30 +11,30 @@ TQString \- Abstraction of Unicode text and the classic C '\0'-terminated ch .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqstring.h>\fR +\fC#include <tqstring.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQString\fR ()" +.BI "\fBTQString\fR ()" .br .ti -1c -.BI "\fBQString\fR ( TQChar ch )" +.BI "\fBTQString\fR ( TQChar ch )" .br .ti -1c -.BI "\fBQString\fR ( const TQString & s )" +.BI "\fBTQString\fR ( const TQString & s )" .br .ti -1c -.BI "\fBQString\fR ( const QByteArray & ba )" +.BI "\fBTQString\fR ( const QByteArray & ba )" .br .ti -1c -.BI "\fBQString\fR ( const TQChar * unicode, uint length )" +.BI "\fBTQString\fR ( const TQChar * unicode, uint length )" .br .ti -1c -.BI "\fBQString\fR ( const char * str )" +.BI "\fBTQString\fR ( const char * str )" .br .ti -1c -.BI "\fBQString\fR ( const std::string & str )" +.BI "\fBTQString\fR ( const std::string & str )" .br .ti -1c .BI "\fB~TQString\fR ()" @@ -599,15 +599,15 @@ TQString uses implicit sharing, which makes it very efficient and easy to use. .PP In all of the TQString methods that take \fCconst char *\fR parameters, the \fCconst char *\fR is interpreted as a classic C-style '\0'-terminated ASCII string. It is legal for the \fCconst char *\fR parameter to be 0. If the \fCconst char *\fR is not '\0'-terminated, the results are undefined. Functions that copy classic C strings into a TQString will not copy the terminating '\0' character. The TQChar array of the TQString (as returned by unicode()) is generally not terminated by a '\0'. If you need to pass a TQString to a function that requires a C '\0'-terminated string use latin1(). .PP -A TQString that has not been assigned to anything is \fInull\fR, i.e. both the length and data pointer is 0. A TQString that references the empty string ("", a single '\0' char) is \fIempty\fR. Both null and empty QStrings are legal parameters to the methods. Assigning \fC(const char *) 0\fR to TQString gives a null TQString. For convenience, TQString::null is a null TQString. When sorting, empty strings come first, followed by non-empty strings, followed by null strings. We recommend using \fCif ( !str.isNull() )\fR to check for a non-null string rather than \fCif ( !str )\fR; see operator!() for an explanation. +A TQString that has not been assigned to anything is \fInull\fR, i.e. both the length and data pointer is 0. A TQString that references the empty string ("", a single '\0' char) is \fIempty\fR. Both null and empty TQStrings are legal parameters to the methods. Assigning \fC(const char *) 0\fR to TQString gives a null TQString. For convenience, TQString::null is a null TQString. When sorting, empty strings come first, followed by non-empty strings, followed by null strings. We recommend using \fCif ( !str.isNull() )\fR to check for a non-null string rather than \fCif ( !str )\fR; see operator!() for an explanation. .PP Note that if you find that you are mixing usage of QCString, TQString, and QByteArray, this causes lots of unnecessary copying and might indicate that the true nature of the data you are dealing with is uncertain. If the data is '\0'-terminated 8-bit data, use QCString; if it is unterminated (i.e. contains '\0's) 8-bit data, use QByteArray; if it is text, use TQString. .PP -Lists of strings are handled by the QStringList class. You can split a string into a list of strings using QStringList::split(), and join a list of strings into a single string with an optional separator using QStringList::join(). You can obtain a list of strings from a string list that contain a particular substring or that match a particular regex using QStringList::grep(). +Lists of strings are handled by the TQStringList class. You can split a string into a list of strings using TQStringList::split(), and join a list of strings into a single string with an optional separator using TQStringList::join(). You can obtain a list of strings from a string list that contain a particular substring or that match a particular regex using TQStringList::grep(). .PP \fBNote for C programmers\fR .PP -Due to C++'s type system and the fact that TQString is implicitly shared, QStrings can be treated like ints or other simple base types. For example: +Due to C++'s type system and the fact that TQString is implicitly shared, TQStrings can be treated like ints or other simple base types. For example: .PP .nf .br @@ -659,15 +659,15 @@ See also TQChar, QCString, QByteArray, QConstString, Implicitly and Explicitly S .SS "Member Type Documentation" .SH "TQString::SectionFlags" .TP -\fCQString::SectionDefault\fR - Empty fields are counted, leading and trailing separators are not included, and the separator is compared case sensitively. +\fCTQString::SectionDefault\fR - Empty fields are counted, leading and trailing separators are not included, and the separator is compared case sensitively. .TP -\fCQString::SectionSkipEmpty\fR - Treat empty fields as if they don't exist, i.e. they are not considered as far as \fIstart\fR and \fIend\fR are concerned. +\fCTQString::SectionSkipEmpty\fR - Treat empty fields as if they don't exist, i.e. they are not considered as far as \fIstart\fR and \fIend\fR are concerned. .TP -\fCQString::SectionIncludeLeadingSep\fR - Include the leading separator (if any) in the result string. +\fCTQString::SectionIncludeLeadingSep\fR - Include the leading separator (if any) in the result string. .TP -\fCQString::SectionIncludeTrailingSep\fR - Include the trailing separator (if any) in the result string. +\fCTQString::SectionIncludeTrailingSep\fR - Include the trailing separator (if any) in the result string. .TP -\fCQString::SectionCaseInsensitiveSeps\fR - Compare the separator case-insensitively. +\fCTQString::SectionCaseInsensitiveSeps\fR - Compare the separator case-insensitively. .PP Any of the last four values can be OR-ed together to form a flag. .PP @@ -1879,7 +1879,7 @@ If \fIstart\fR or \fIend\fR is negative, we count fields from the right of the s .br .fi .PP -See also QStringList::split(). +See also TQStringList::split(). .PP Examples: .)l chart/element.cpp and network/ftpclient/ftpmainwindow.ui.h. @@ -1914,7 +1914,7 @@ If \fIstart\fR or \fIend\fR is negative, we count fields from the right of the s .br .fi .PP -See also QStringList::split(). +See also TQStringList::split(). .SH "TQString TQString::section ( const QRegExp & reg, int start, int end = 0xffffffff, int flags = SectionDefault ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP @@ -1948,7 +1948,7 @@ If \fIstart\fR or \fIend\fR is negative, we count fields from the right of the s .PP \fBWarning:\fR Using this QRegExp version is much more expensive than the overloaded string and character versions. .PP -See also QStringList::split() and simplifyWhiteSpace(). +See also TQStringList::split() and simplifyWhiteSpace(). .SH "TQString & TQString::setAscii ( const char * str, int len = -1 )" Sets this string to \fIstr\fR, interpreted as a classic 8-bit ASCII C string. If \fIlen\fR is -1 (the default), then it is set to strlen(str). .PP @@ -2528,7 +2528,7 @@ Reads a string from the stream \fIs\fR into string \fIstr\fR. See also Format of the QDataStream operators .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqstring.html +.BR http://doc.trolltech.com/tqstring.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/tqstringlist.3qt b/doc/man/man3/tqstringlist.3qt index 891227c7a..178fed56a 100644 --- a/doc/man/man3/tqstringlist.3qt +++ b/doc/man/man3/tqstringlist.3qt @@ -1,5 +1,5 @@ '\" t -.TH QStringList 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQStringList 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,30 +7,30 @@ .ad l .nh .SH NAME -QStringList \- List of strings +TQStringList \- List of strings .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqstringlist.h>\fR +\fC#include <tqstringlist.h>\fR .PP Inherits TQValueList<TQString>. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQStringList\fR ()" +.BI "\fBTQStringList\fR ()" .br .ti -1c -.BI "\fBQStringList\fR ( const QStringList & l )" +.BI "\fBTQStringList\fR ( const TQStringList & l )" .br .ti -1c -.BI "\fBQStringList\fR ( const TQValueList<TQString> & l )" +.BI "\fBTQStringList\fR ( const TQValueList<TQString> & l )" .br .ti -1c -.BI "\fBQStringList\fR ( const TQString & i )" +.BI "\fBTQStringList\fR ( const TQString & i )" .br .ti -1c -.BI "\fBQStringList\fR ( const char * i )" +.BI "\fBTQStringList\fR ( const char * i )" .br .ti -1c .BI "void \fBsort\fR ()" @@ -39,45 +39,45 @@ Inherits TQValueList<TQString>. .BI "TQString \fBjoin\fR ( const TQString & sep ) const" .br .ti -1c -.BI "QStringList \fBgrep\fR ( const TQString & str, bool cs = TRUE ) const" +.BI "TQStringList \fBgrep\fR ( const TQString & str, bool cs = TRUE ) const" .br .ti -1c -.BI "QStringList \fBgrep\fR ( const QRegExp & rx ) const" +.BI "TQStringList \fBgrep\fR ( const QRegExp & rx ) const" .br .ti -1c -.BI "QStringList & \fBgres\fR ( const TQString & before, const TQString & after, bool cs = TRUE )" +.BI "TQStringList & \fBgres\fR ( const TQString & before, const TQString & after, bool cs = TRUE )" .br .ti -1c -.BI "QStringList & \fBgres\fR ( const QRegExp & rx, const TQString & after )" +.BI "TQStringList & \fBgres\fR ( const QRegExp & rx, const TQString & after )" .br .in -1c .SS "Static Public Members" .in +1c .ti -1c -.BI "QStringList \fBfromStrList\fR ( const QStrList & ascii )" +.BI "TQStringList \fBfromStrList\fR ( const TQStrList & ascii )" .br .ti -1c -.BI "QStringList \fBsplit\fR ( const TQString & sep, const TQString & str, bool allowEmptyEntries = FALSE )" +.BI "TQStringList \fBsplit\fR ( const TQString & sep, const TQString & str, bool allowEmptyEntries = FALSE )" .br .ti -1c -.BI "QStringList \fBsplit\fR ( const TQChar & sep, const TQString & str, bool allowEmptyEntries = FALSE )" +.BI "TQStringList \fBsplit\fR ( const TQChar & sep, const TQString & str, bool allowEmptyEntries = FALSE )" .br .ti -1c -.BI "QStringList \fBsplit\fR ( const QRegExp & sep, const TQString & str, bool allowEmptyEntries = FALSE )" +.BI "TQStringList \fBsplit\fR ( const QRegExp & sep, const TQString & str, bool allowEmptyEntries = FALSE )" .br .in -1c .SH DESCRIPTION -The QStringList class provides a list of strings. +The TQStringList class provides a list of strings. .PP -It is used to store and manipulate strings that logically belong together. Essentially QStringList is a TQValueList of TQString objects. Unlike QStrList, which stores pointers to characters, QStringList holds real TQString objects. It is the class of choice whenever you work with Unicode strings. QStringList is part of the TQt Template Library. +It is used to store and manipulate strings that logically belong together. Essentially TQStringList is a TQValueList of TQString objects. Unlike TQStrList, which stores pointers to characters, TQStringList holds real TQString objects. It is the class of choice whenever you work with Unicode strings. TQStringList is part of the TQt Template Library. .PP -Like TQString itself, QStringList objects are implicitly shared, so passing them around as value-parameters is both fast and safe. +Like TQString itself, TQStringList objects are implicitly shared, so passing them around as value-parameters is both fast and safe. .PP Strings can be added to a list using append(), operator+=() or operator<<(), e.g. .PP .nf .br - QStringList fonts; + TQStringList fonts; .br fonts.append( "Times" ); .br @@ -89,11 +89,11 @@ Strings can be added to a list using append(), operator+=() or operator<<(), e.g .br .fi .PP -String lists have an iterator, QStringList::Iterator(), e.g. +String lists have an iterator, TQStringList::Iterator(), e.g. .PP .nf .br - for ( QStringList::Iterator it = fonts.begin(); it != fonts.end(); ++it ) { + for ( TQStringList::Iterator it = fonts.begin(); it != fonts.end(); ++it ) { .br cout << *it << ":"; .br @@ -136,7 +136,7 @@ You can sort the list with sort(), and extract a new list which contains only th // Courier, Courier New, Helvetica [Adobe], Helvetica [Cronyx], Times .br .br - QStringList helveticas = fonts.grep( "Helvetica" ); + TQStringList helveticas = fonts.grep( "Helvetica" ); .br cout << helveticas.join( ", " ) << endl; .br @@ -152,7 +152,7 @@ Existing strings can be split into string lists with character, string or regula .br TQString s = "Red\\tGreen\\tBlue"; .br - QStringList colors = QStringList::split( "\\t", s ); + TQStringList colors = TQStringList::split( "\\t", s ); .br cout << colors.join( ", " ) << endl; .br @@ -164,35 +164,35 @@ Existing strings can be split into string lists with character, string or regula .PP See also Implicitly and Explicitly Shared Classes, Text Related Classes, and Non-GUI Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QStringList::QStringList ()" +.SH "TQStringList::TQStringList ()" Creates an empty string list. -.SH "QStringList::QStringList ( const QStringList & l )" -Creates a copy of the list \fIl\fR. This function is very fast because QStringList is implicitly shared. In most situations this acts like a deep copy, for example, if this list or the original one or some other list referencing the same shared data is modified, the modifying list first makes a copy, i.e. copy-on-write. In a threaded environment you may require a real deep copy +.SH "TQStringList::TQStringList ( const TQStringList & l )" +Creates a copy of the list \fIl\fR. This function is very fast because TQStringList is implicitly shared. In most situations this acts like a deep copy, for example, if this list or the original one or some other list referencing the same shared data is modified, the modifying list first makes a copy, i.e. copy-on-write. In a threaded environment you may require a real deep copy . -.SH "QStringList::QStringList ( const TQValueList<TQString> & l )" +.SH "TQStringList::TQStringList ( const TQValueList<TQString> & l )" Constructs a new string list that is a copy of \fIl\fR. -.SH "QStringList::QStringList ( const TQString & i )" +.SH "TQStringList::TQStringList ( const TQString & i )" Constructs a string list consisting of the single string \fIi\fR. Longer lists are easily created as follows: .PP .nf .br - QStringList items; + TQStringList items; .br items << "Buy" << "Sell" << "Update" << "Value"; .br .fi -.SH "QStringList::QStringList ( const char * i )" +.SH "TQStringList::TQStringList ( const char * i )" Constructs a string list consisting of the single Latin-1 string \fIi\fR. -.SH "QStringList QStringList::fromStrList ( const QStrList & ascii )\fC [static]\fR" -Converts from an ASCII-QStrList \fIascii\fR to a QStringList (Unicode). -.SH "QStringList QStringList::grep ( const TQString & str, bool cs = TRUE ) const" +.SH "TQStringList TQStringList::fromStrList ( const TQStrList & ascii )\fC [static]\fR" +Converts from an ASCII-TQStrList \fIascii\fR to a TQStringList (Unicode). +.SH "TQStringList TQStringList::grep ( const TQString & str, bool cs = TRUE ) const" Returns a list of all the strings containing the substring \fIstr\fR. .PP If \fIcs\fR is TRUE, the grep is done case-sensitively; otherwise case is ignored. .PP .nf .br - QStringList list; + TQStringList list; .br list << "Bill Gates" << "John Doe" << "Bill Clinton"; .br @@ -203,13 +203,13 @@ If \fIcs\fR is TRUE, the grep is done case-sensitively; otherwise case is ignore .fi .PP See also TQString::find(). -.SH "QStringList QStringList::grep ( const QRegExp & rx ) const" +.SH "TQStringList TQStringList::grep ( const QRegExp & rx ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns a list of all the strings that match the regular expression \fIrx\fR. .PP See also TQString::find(). -.SH "QStringList & QStringList::gres ( const TQString & before, const TQString & after, bool cs = TRUE )" +.SH "TQStringList & TQStringList::gres ( const TQString & before, const TQString & after, bool cs = TRUE )" Replaces every occurrence of the string \fIbefore\fR in the strings that constitute the string list with the string \fIafter\fR. Returns a reference to the string list. .PP If \fIcs\fR is TRUE, the search is case sensitive; otherwise the search is case insensitive. @@ -218,7 +218,7 @@ Example: .PP .nf .br - QStringList list; + TQStringList list; .br list << "alpha" << "beta" << "gamma" << "epsilon"; .br @@ -229,7 +229,7 @@ Example: .fi .PP See also TQString::replace(). -.SH "QStringList & QStringList::gres ( const QRegExp & rx, const TQString & after )" +.SH "TQStringList & TQStringList::gres ( const QRegExp & rx, const TQString & after )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Replaces every occurrence of the regexp \fIrx\fR in the string with \fIafter\fR. Returns a reference to the string list. @@ -238,7 +238,7 @@ Example: .PP .nf .br - QStringList list; + TQStringList list; .br list << "alpha" << "beta" << "gamma" << "epsilon"; .br @@ -254,7 +254,7 @@ Example: .PP .nf .br - QStringList list; + TQStringList list; .br list << "Bill Clinton" << "Gates, Bill"; .br @@ -265,14 +265,14 @@ Example: .fi .PP See also TQString::replace(). -.SH "TQString QStringList::join ( const TQString & sep ) const" +.SH "TQString TQStringList::join ( const TQString & sep ) const" Joins the string list into a single string with each element separated by the string \fIsep\fR (which can be empty). .PP See also split(). .PP Examples: .)l fileiconview/qfileiconview.cpp and toplevel/options.ui.h. -.SH "void QStringList::sort ()" +.SH "void TQStringList::sort ()" Sorts the list of strings in ascending case-sensitive order. .PP Sorting is very fast. It uses the TQt Template Library's efficient HeapSort implementation that has a time complexity of O(n*log n). @@ -280,7 +280,7 @@ Sorting is very fast. It uses the TQt Template Library's efficient HeapSort impl If you want to sort your strings in an arbitrary order consider using a TQMap. For example you could use a TQMap<TQString,TQString> to create a case-insensitive ordering (e.g. mapping the lowercase text to the text), or a TQMap<int,TQString> to sort the strings by some integer index, etc. .PP Example: themes/themes.cpp. -.SH "QStringList QStringList::split ( const QRegExp & sep, const TQString & str, bool allowEmptyEntries = FALSE )\fC [static]\fR" +.SH "TQStringList TQStringList::split ( const QRegExp & sep, const TQString & str, bool allowEmptyEntries = FALSE )\fC [static]\fR" Splits the string \fIstr\fR into strings wherever the regular expression \fIsep\fR occurs, and returns the list of those strings. .PP If \fIallowEmptyEntries\fR is TRUE, a null string is inserted in the list wherever the separator matches twice without intervening text. @@ -293,7 +293,7 @@ See also join() and TQString::section(). .PP Examples: .)l chart/element.cpp, dirview/dirview.cpp, and network/httpd/httpd.cpp. -.SH "QStringList QStringList::split ( const TQString & sep, const TQString & str, bool allowEmptyEntries = FALSE )\fC [static]\fR" +.SH "TQStringList TQStringList::split ( const TQString & sep, const TQString & str, bool allowEmptyEntries = FALSE )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This version of the function uses a TQString as separator, rather than a regular expression. @@ -303,7 +303,7 @@ If \fIsep\fR is an empty string, the return value is a list of one-character str If \fIallowEmptyEntries\fR is TRUE, a null string is inserted in the list wherever the separator matches twice without intervening text. .PP See also join() and TQString::section(). -.SH "QStringList QStringList::split ( const TQChar & sep, const TQString & str, bool allowEmptyEntries = FALSE )\fC [static]\fR" +.SH "TQStringList TQStringList::split ( const TQChar & sep, const TQString & str, bool allowEmptyEntries = FALSE )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This version of the function uses a TQChar as separator, rather than a regular expression. @@ -311,7 +311,7 @@ This version of the function uses a TQChar as separator, rather than a regular e See also join() and TQString::section(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqstringlist.html +.BR http://doc.trolltech.com/tqstringlist.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/tqstrlist.3qt b/doc/man/man3/tqstrlist.3qt index 2a7928964..3bae180a3 100644 --- a/doc/man/man3/tqstrlist.3qt +++ b/doc/man/man3/tqstrlist.3qt @@ -1,5 +1,5 @@ '\" t -.TH QStrList 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQStrList 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,59 +7,59 @@ .ad l .nh .SH NAME -QStrList \- Doubly-linked list of char* +TQStrList \- Doubly-linked list of char* .SH SYNOPSIS -\fC#include <ntqstrlist.h>\fR +\fC#include <tqstrlist.h>\fR .PP Inherits TQPtrList<char>. .PP -Inherited by QStrIList. +Inherited by TQStrIList. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQStrList\fR ( bool deepCopies = TRUE )" +.BI "\fBTQStrList\fR ( bool deepCopies = TRUE )" .br .ti -1c -.BI "\fBQStrList\fR ( const QStrList & list )" +.BI "\fBTQStrList\fR ( const TQStrList & list )" .br .ti -1c -.BI "\fB~QStrList\fR ()" +.BI "\fB~TQStrList\fR ()" .br .ti -1c -.BI "QStrList & \fBoperator=\fR ( const QStrList & list )" +.BI "TQStrList & \fBoperator=\fR ( const TQStrList & list )" .br .in -1c .SH DESCRIPTION -The QStrList class provides a doubly-linked list of char*. +The TQStrList class provides a doubly-linked list of char*. .PP -If you want a string list of QStrings use QStringList. +If you want a string list of TQStrings use TQStringList. .PP This class is a TQPtrList<char> instance (a list of char*). .PP -QStrList can make deep or shallow copies of the strings that are inserted. +TQStrList can make deep or shallow copies of the strings that are inserted. .PP A deep copy means that memory is allocated for the string and then the string data is copied into that memory. A shallow copy is just a copy of the pointer value and not of the string data itself. .PP The disadvantage of shallow copies is that because a pointer can be deleted only once, the program must put all strings in a central place and know when it is safe to delete them (i.e. when the strings are no longer referenced by other parts of the program). This can make the program more complex. The advantage of shallow copies is that they consume far less memory than deep copies. It is also much faster to copy a pointer (typically 4 or 8 bytes) than to copy string data. .PP -A QStrList that operates on deep copies will, by default, turn on auto-deletion (see setAutoDelete()). Thus, by default QStrList will deallocate any string copies it allocates. +A TQStrList that operates on deep copies will, by default, turn on auto-deletion (see setAutoDelete()). Thus, by default TQStrList will deallocate any string copies it allocates. .PP The virtual compareItems() function is reimplemented and does a case-sensitive string comparison. The inSort() function will insert strings in sorted order. In general it is fastest to insert the strings as they come and sort() at the end; inSort() is useful when you just have to add a few extra strings to an already sorted list. .PP -The QStrListIterator class is an iterator for QStrList. +The TQStrListIterator class is an iterator for TQStrList. .PP See also Collection Classes, Text Related Classes, and Non-GUI Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QStrList::QStrList ( bool deepCopies = TRUE )" +.SH "TQStrList::TQStrList ( bool deepCopies = TRUE )" Constructs an empty list of strings. Will make deep copies of all inserted strings if \fIdeepCopies\fR is TRUE, or use shallow copies if \fIdeepCopies\fR is FALSE. -.SH "QStrList::QStrList ( const QStrList & list )" +.SH "TQStrList::TQStrList ( const TQStrList & list )" Constructs a copy of \fIlist\fR. .PP If \fIlist\fR has deep copies, this list will also get deep copies. Only the pointers are copied (shallow copy) if the other list does not use deep copies. -.SH "QStrList::~QStrList ()" +.SH "TQStrList::~TQStrList ()" Destroys the list. All strings are removed. -.SH "QStrList & QStrList::operator= ( const QStrList & list )" +.SH "TQStrList & TQStrList::operator= ( const TQStrList & list )" Assigns \fIlist\fR to this list and returns a reference to this list. .PP If \fIlist\fR has deep copies, this list will also get deep copies. @@ -67,7 +67,7 @@ Only the pointers are copied (shallow copy) if the other list does not use deep copies. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqstrlist.html +.BR http://doc.trolltech.com/tqstrlist.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/tqstrlistiterator.3qt b/doc/man/man3/tqstrlistiterator.3qt index 68724fd5d..62b042d4e 100644 --- a/doc/man/man3/tqstrlistiterator.3qt +++ b/doc/man/man3/tqstrlistiterator.3qt @@ -1,5 +1,5 @@ '\" t -.TH QStrListIterator 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQStrListIterator 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,21 +7,21 @@ .ad l .nh .SH NAME -QStrListIterator \- Iterator for the QStrList and QStrIList classes +TQStrListIterator \- Iterator for the TQStrList and TQStrIList classes .SH SYNOPSIS -\fC#include <ntqstrlist.h>\fR +\fC#include <tqstrlist.h>\fR .PP Inherits TQPtrListIterator<char>. .PP .SH DESCRIPTION -The QStrListIterator class is an iterator for the QStrList and QStrIList classes. +The TQStrListIterator class is an iterator for the TQStrList and TQStrIList classes. .PP -This class is a TQPtrListIterator<char> instance. It can traverse the strings in the QStrList and QStrIList classes. +This class is a TQPtrListIterator<char> instance. It can traverse the strings in the TQStrList and TQStrIList classes. .PP See also Non-GUI Classes. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qstrlistiterator.html +.BR http://doc.trolltech.com/tqstrlistiterator.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/tqstylefactory.3qt b/doc/man/man3/tqstylefactory.3qt index f2eb9089c..caa2cc05b 100644 --- a/doc/man/man3/tqstylefactory.3qt +++ b/doc/man/man3/tqstylefactory.3qt @@ -12,7 +12,7 @@ QStyleFactory \- Creates QStyle objects \fC#include <ntqstylefactory.h>\fR .PP .SS "Static Public Members" -<li class=fn>QStringList \fBkeys\fR () <li class=fn>QStyle * \fBcreate\fR ( const TQString & key ) +<li class=fn>TQStringList \fBkeys\fR () <li class=fn>QStyle * \fBcreate\fR ( const TQString & key ) .SH DESCRIPTION The QStyleFactory class creates QStyle objects. .PP @@ -28,7 +28,7 @@ Creates a QStyle object that matches \fIkey\fR case-insensitively. This is eithe See also keys(). .PP Example: themes/wood.cpp. -.SH "QStringList QStyleFactory::keys ()\fC [static]\fR" +.SH "TQStringList QStyleFactory::keys ()\fC [static]\fR" Returns the list of keys this factory can create styles for. .PP See also create(). diff --git a/doc/man/man3/tqstyleplugin.3qt b/doc/man/man3/tqstyleplugin.3qt index e7d5e4fb7..306bec483 100644 --- a/doc/man/man3/tqstyleplugin.3qt +++ b/doc/man/man3/tqstyleplugin.3qt @@ -20,7 +20,7 @@ QStylePlugin \- Abstract base for custom QStyle plugins .BI "\fB~QStylePlugin\fR ()" .br .ti -1c -.BI "virtual QStringList \fBkeys\fR () const = 0" +.BI "virtual TQStringList \fBkeys\fR () const = 0" .br .ti -1c .BI "virtual QStyle * \fBcreate\fR ( const TQString & key ) = 0" @@ -45,7 +45,7 @@ You never have to call this explicitly. TQt destroys a plugin automatically when Creates and returns a QStyle object for the style key \fIkey\fR. The style key is usually the class name of the required style. .PP See also keys(). -.SH "QStringList QStylePlugin::keys () const\fC [pure virtual]\fR" +.SH "TQStringList QStylePlugin::keys () const\fC [pure virtual]\fR" Returns the list of style keys this plugin supports. .PP These keys are usually the class names of the custom styles that are implemented in the plugin. diff --git a/doc/man/man3/tqtable.3qt b/doc/man/man3/tqtable.3qt index ea7962d75..62e7f6884 100644 --- a/doc/man/man3/tqtable.3qt +++ b/doc/man/man3/tqtable.3qt @@ -321,10 +321,10 @@ Inherited by TQDataTable. .BI "virtual void \fBeditCell\fR ( int row, int col, bool replace = FALSE )" .br .ti -1c -.BI "void \fBsetRowLabels\fR ( const QStringList & labels )" +.BI "void \fBsetRowLabels\fR ( const TQStringList & labels )" .br .ti -1c -.BI "void \fBsetColumnLabels\fR ( const QStringList & labels )" +.BI "void \fBsetColumnLabels\fR ( const TQStringList & labels )" .br .in -1c .SS "Signals" @@ -1072,7 +1072,7 @@ By default widgets are inserted into a vector with numRows() * numCols() element Cell widgets are created dynamically with the \fCnew\fR operator. The cell widgets are destroyed automatically once the table is destroyed; the table takes ownership of the widget when using setCellWidget. .PP Example: chart/setdataform.cpp. -.SH "void QTable::setColumnLabels ( const QStringList & labels )\fC [slot]\fR" +.SH "void QTable::setColumnLabels ( const TQStringList & labels )\fC [slot]\fR" Sets the section labels of the horizontalHeader() to \fIlabels\fR .SH "void QTable::setColumnMovingEnabled ( bool b )\fC [virtual slot]\fR" Sets whether columns can be moved by the user to \fIb\fR. See the "columnMovingEnabled" property for details. @@ -1150,7 +1150,7 @@ Sets whether the table is read-only to \fIb\fR. See the "readOnly" property for Resizes row \fIrow\fR to be \fIh\fR pixels high. .PP See also rowHeight() and setColumnWidth(). -.SH "void QTable::setRowLabels ( const QStringList & labels )\fC [slot]\fR" +.SH "void QTable::setRowLabels ( const TQStringList & labels )\fC [slot]\fR" Sets the section labels of the verticalHeader() to \fIlabels\fR .SH "void QTable::setRowMovingEnabled ( bool b )\fC [virtual slot]\fR" Sets whether rows can be moved by the user to \fIb\fR. See the "rowMovingEnabled" property for details. diff --git a/doc/man/man3/tqtextcodecplugin.3qt b/doc/man/man3/tqtextcodecplugin.3qt index 8226705cb..a3dfe0932 100644 --- a/doc/man/man3/tqtextcodecplugin.3qt +++ b/doc/man/man3/tqtextcodecplugin.3qt @@ -22,7 +22,7 @@ All the functions in this class are reentrant when TQt is built with thread supp .BI "\fB~QTextCodecPlugin\fR ()" .br .ti -1c -.BI "virtual QStringList \fBnames\fR () const = 0" +.BI "virtual TQStringList \fBnames\fR () const = 0" .br .ti -1c .BI "virtual QTextCodec * \fBcreateForName\fR ( const TQString & name ) = 0" @@ -65,7 +65,7 @@ See also names(). Returns the list of mib enums supported by this plugin. .PP See also createForMib(). -.SH "QStringList QTextCodecPlugin::names () const\fC [pure virtual]\fR" +.SH "TQStringList QTextCodecPlugin::names () const\fC [pure virtual]\fR" Returns the list of mime names supported by this plugin. .PP See also createForName(). diff --git a/doc/man/man3/tquridrag.3qt b/doc/man/man3/tquridrag.3qt index c6144fd22..e538c7b94 100644 --- a/doc/man/man3/tquridrag.3qt +++ b/doc/man/man3/tquridrag.3qt @@ -16,7 +16,7 @@ Inherits QStoredDrag. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQUriDrag\fR ( QStrList uris, TQWidget * dragSource = 0, const char * name = 0 )" +.BI "\fBQUriDrag\fR ( TQStrList uris, TQWidget * dragSource = 0, const char * name = 0 )" .br .ti -1c .BI "\fBQUriDrag\fR ( TQWidget * dragSource = 0, const char * name = 0 )" @@ -25,16 +25,16 @@ Inherits QStoredDrag. .BI "\fB~QUriDrag\fR ()" .br .ti -1c -.BI "void setFilenames ( const QStringList & fnames ) \fI(obsolete)\fR" +.BI "void setFilenames ( const TQStringList & fnames ) \fI(obsolete)\fR" .br .ti -1c -.BI "void \fBsetFileNames\fR ( const QStringList & fnames )" +.BI "void \fBsetFileNames\fR ( const TQStringList & fnames )" .br .ti -1c -.BI "void \fBsetUnicodeUris\fR ( const QStringList & uuris )" +.BI "void \fBsetUnicodeUris\fR ( const TQStringList & uuris )" .br .ti -1c -.BI "virtual void \fBsetUris\fR ( QStrList uris )" +.BI "virtual void \fBsetUris\fR ( TQStrList uris )" .br .in -1c .SS "Static Public Members" @@ -55,13 +55,13 @@ Inherits QStoredDrag. .BI "bool \fBcanDecode\fR ( const QMimeSource * e )" .br .ti -1c -.BI "bool \fBdecode\fR ( const QMimeSource * e, QStrList & l )" +.BI "bool \fBdecode\fR ( const QMimeSource * e, TQStrList & l )" .br .ti -1c -.BI "bool \fBdecodeToUnicodeUris\fR ( const QMimeSource * e, QStringList & l )" +.BI "bool \fBdecodeToUnicodeUris\fR ( const QMimeSource * e, TQStringList & l )" .br .ti -1c -.BI "bool \fBdecodeLocalFiles\fR ( const QMimeSource * e, QStringList & l )" +.BI "bool \fBdecodeLocalFiles\fR ( const QMimeSource * e, TQStringList & l )" .br .in -1c .SH DESCRIPTION @@ -77,7 +77,7 @@ Static functions are provided to convert between filenames and URIs, e.g. uriToL .PP See also Drag And Drop Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QUriDrag::QUriDrag ( QStrList uris, TQWidget * dragSource = 0, const char * name = 0 )" +.SH "QUriDrag::QUriDrag ( TQStrList uris, TQWidget * dragSource = 0, const char * name = 0 )" Constructs an object to drag the list of URIs in \fIuris\fR. The \fIdragSource\fR and \fIname\fR arguments are passed on to QStoredDrag. Note that URIs are always in escaped UTF8 encoding. .SH "QUriDrag::QUriDrag ( TQWidget * dragSource = 0, const char * name = 0 )" Constructs an object to drag. You must call setUris() before you start the drag(). Passes \fIdragSource\fR and \fIname\fR to the QStoredDrag constructor. @@ -85,19 +85,19 @@ Constructs an object to drag. You must call setUris() before you start the drag( Destroys the object. .SH "bool QUriDrag::canDecode ( const QMimeSource * e )\fC [static]\fR" Returns TRUE if decode() would be able to decode \fIe\fR; otherwise returns FALSE. -.SH "bool QUriDrag::decode ( const QMimeSource * e, QStrList & l )\fC [static]\fR" +.SH "bool QUriDrag::decode ( const QMimeSource * e, TQStrList & l )\fC [static]\fR" Decodes URIs from \fIe\fR, placing the result in \fIl\fR (which is first cleared). .PP Returns TRUE if \fIe\fR contained a valid list of URIs; otherwise returns FALSE. .PP Example: dirview/dirview.cpp. -.SH "bool QUriDrag::decodeLocalFiles ( const QMimeSource * e, QStringList & l )\fC [static]\fR" +.SH "bool QUriDrag::decodeLocalFiles ( const QMimeSource * e, TQStringList & l )\fC [static]\fR" Decodes URIs from the mime source event \fIe\fR, converts them to local files if they refer to local files, and places them in \fIl\fR (which is first cleared). .PP Returns TRUE if \fIcontained\fR a valid list of URIs; otherwise returns FALSE. The list will be empty if no URIs were local files. .PP Example: fileiconview/qfileiconview.cpp. -.SH "bool QUriDrag::decodeToUnicodeUris ( const QMimeSource * e, QStringList & l )\fC [static]\fR" +.SH "bool QUriDrag::decodeToUnicodeUris ( const QMimeSource * e, TQStringList & l )\fC [static]\fR" Decodes URIs from the mime source event \fIe\fR, converts them to Unicode URIs (only useful for displaying to humans), placing them in \fIl\fR (which is first cleared). .PP Returns TRUE if \fIcontained\fR a valid list of URIs; otherwise returns FALSE. @@ -105,21 +105,21 @@ Returns TRUE if \fIcontained\fR a valid list of URIs; otherwise returns FALSE. Returns the URI equivalent to the absolute local file \fIfilename\fR. .PP See also uriToLocalFile(). -.SH "void QUriDrag::setFileNames ( const QStringList & fnames )" +.SH "void QUriDrag::setFileNames ( const TQStringList & fnames )" Sets the URIs to be the local-file URIs equivalent to \fIfnames\fR. .PP See also localFileToUri() and setUris(). .PP Example: dirview/dirview.cpp. -.SH "void QUriDrag::setFilenames ( const QStringList & fnames )" +.SH "void QUriDrag::setFilenames ( const TQStringList & fnames )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Use setFileNames() instead (notice the N). -.SH "void QUriDrag::setUnicodeUris ( const QStringList & uuris )" +.SH "void QUriDrag::setUnicodeUris ( const TQStringList & uuris )" Sets the URIs in \fIuuris\fR to be the Unicode URIs (only useful for displaying to humans). .PP See also localFileToUri() and setUris(). -.SH "void QUriDrag::setUris ( QStrList uris )\fC [virtual]\fR" +.SH "void QUriDrag::setUris ( TQStrList uris )\fC [virtual]\fR" Changes the list of \fIuris\fR to be dragged. .PP Note that URIs are always in escaped UTF8 encoding. diff --git a/doc/man/man3/tqurl.3qt b/doc/man/man3/tqurl.3qt index 1b51dfe96..44f0be0ee 100644 --- a/doc/man/man3/tqurl.3qt +++ b/doc/man/man3/tqurl.3qt @@ -210,7 +210,7 @@ QUrl is normally used like this: .PP You can then access and manipulate the various parts of the URL. .PP -To make it easy to work with QUrls and QStrings, QUrl implements the necessary cast and assignment operators so you can do following: +To make it easy to work with QUrls and TQStrings, QUrl implements the necessary cast and assignment operators so you can do following: .PP .nf .br diff --git a/doc/man/man3/tqurloperator.3qt b/doc/man/man3/tqurloperator.3qt index 23d5e38c3..93b86f22e 100644 --- a/doc/man/man3/tqurloperator.3qt +++ b/doc/man/man3/tqurloperator.3qt @@ -52,7 +52,7 @@ Inherits TQObject and QUrl. .BI "virtual TQPtrList<QNetworkOperation> \fBcopy\fR ( const TQString & from, const TQString & to, bool move = FALSE, bool toPath = TRUE )" .br .ti -1c -.BI "virtual void \fBcopy\fR ( const QStringList & files, const TQString & dest, bool move = FALSE )" +.BI "virtual void \fBcopy\fR ( const TQStringList & files, const TQString & dest, bool move = FALSE )" .br .ti -1c .BI "virtual bool \fBisDir\fR ( bool * ok = 0 )" @@ -187,7 +187,7 @@ At the end, finished() (with success or failure) is emitted, so check the state Because a move or copy operation consists of multiple operations (get(), put() and maybe remove()), this function doesn't return a single QNetworkOperation, but rather a list of them. They are in the order: get(), put() and (if applicable) remove(). .PP See also get() and put(). -.SH "void QUrlOperator::copy ( const QStringList & files, const TQString & dest, bool move = FALSE )\fC [virtual]\fR" +.SH "void QUrlOperator::copy ( const TQStringList & files, const TQString & dest, bool move = FALSE )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Copies the \fIfiles\fR to the directory \fIdest\fR. If \fImove\fR is TRUE the files are moved, not copied. \fIdest\fR must point to a directory. diff --git a/doc/man/man3/tqvaluelist.3qt b/doc/man/man3/tqvaluelist.3qt index 4b320eac9..040ecd815 100644 --- a/doc/man/man3/tqvaluelist.3qt +++ b/doc/man/man3/tqvaluelist.3qt @@ -13,7 +13,7 @@ All the functions in this class are reentrant when TQt is built with thread supp .PP \fC#include <tqvaluelist.h>\fR .PP -Inherited by TQCanvasItemList, QStringList, and TQValueStack. +Inherited by TQCanvasItemList, TQStringList, and TQValueStack. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqvaluevector.3qt b/doc/man/man3/tqvaluevector.3qt index fa8ec1dc3..c2e9caefd 100644 --- a/doc/man/man3/tqvaluevector.3qt +++ b/doc/man/man3/tqvaluevector.3qt @@ -210,7 +210,7 @@ Example: .br #include <tqvaluevector.h> .br - #include <ntqstring.h> + #include <tqstring.h> .br #include <stdio.h> .br diff --git a/doc/man/man3/tqvariant.3qt b/doc/man/man3/tqvariant.3qt index 02cdd692f..e197a7fc4 100644 --- a/doc/man/man3/tqvariant.3qt +++ b/doc/man/man3/tqvariant.3qt @@ -38,7 +38,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "\fBQVariant\fR ( const char * val )" .br .ti -1c -.BI "\fBQVariant\fR ( const QStringList & val )" +.BI "\fBQVariant\fR ( const TQStringList & val )" .br .ti -1c .BI "\fBQVariant\fR ( const QFont & val )" @@ -170,7 +170,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "const QCString \fBtoCString\fR () const" .br .ti -1c -.BI "const QStringList \fBtoStringList\fR () const" +.BI "const TQStringList \fBtoStringList\fR () const" .br .ti -1c .BI "const QFont \fBtoFont\fR () const" @@ -293,7 +293,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "QCString & \fBasCString\fR ()" .br .ti -1c -.BI "QStringList & \fBasStringList\fR ()" +.BI "TQStringList & \fBasStringList\fR ()" .br .ti -1c .BI "QFont & \fBasFont\fR ()" @@ -447,7 +447,7 @@ 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( QStringList() ); + v = QVariant( TQStringList() ); .br v.asStringList().append( "Hello" ); .br @@ -538,7 +538,7 @@ This enum type defines the types of variable that a QVariant can contain. .TP \fCQVariant::CString\fR - a QCString .TP -\fCQVariant::StringList\fR - a QStringList +\fCQVariant::StringList\fR - a TQStringList .TP \fCQVariant::Time\fR - a QTime .TP @@ -568,7 +568,7 @@ If you want to modify the QCString after you've passed it to this constructor, w 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 QStringList & val )" +.SH "QVariant::QVariant ( const TQStringList & val )" Constructs a new variant with a string list value, \fIval\fR. .SH "QVariant::QVariant ( const QFont & val )" Constructs a new variant with a font value, \fIval\fR. @@ -822,8 +822,8 @@ Tries to convert the variant to hold a string value. If that is not possible the Returns a reference to the stored string. .PP See also toString(). -.SH "QStringList & QVariant::asStringList ()" -Tries to convert the variant to hold a QStringList value. If that is not possible the variant is set to an empty string list. +.SH "TQStringList & QVariant::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. .PP @@ -831,9 +831,9 @@ Note that if you want to iterate over the list, you should iterate over a copy, .PP .nf .br - QStringList list = myVariant.asStringList(); + TQStringList list = myVariant.asStringList(); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br @@ -1081,16 +1081,16 @@ Returns the variant as a QSizePolicy if the variant has type() SizePolicy; other 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 QStringList QVariant::toStringList () const" -Returns the variant as a QStringList if the variant has type() StringList or List of a type that can be converted to TQString; otherwise returns an empty list. +.SH "const TQStringList QVariant::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. .PP .nf .br - QStringList list = myVariant.toStringList(); + TQStringList list = myVariant.toStringList(); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br diff --git a/doc/man/man3/tqwidgetfactory.3qt b/doc/man/man3/tqwidgetfactory.3qt index b5231a0d3..91ce16128 100644 --- a/doc/man/man3/tqwidgetfactory.3qt +++ b/doc/man/man3/tqwidgetfactory.3qt @@ -38,7 +38,7 @@ TQWidgetFactory \- For the dynamic creation of widgets from TQt Designer .ui fil .BI "void \fBloadImages\fR ( const TQString & dir )" .br .ti -1c -.BI "QStringList \fBwidgets\fR ()" +.BI "TQStringList \fBwidgets\fR ()" .br .ti -1c .BI "bool \fBsupportsWidget\fR ( const TQString & widget )" @@ -106,7 +106,7 @@ where MyWidgetFactory is your TQWidgetFactory subclass. If you use a pixmap collection (which is the default for new projects) rather than saving the pixmaps within the .ui XML file, you must load the pixmap collection. TQWidgetFactory looks in the default QMimeSourceFactory for the pixmaps. Either add it there manually, or call this function and specify the directory where the images can be found, as \fIdir\fR. This is normally the directory called \fCimages\fR in the project's directory. .SH "bool TQWidgetFactory::supportsWidget ( const TQString & widget )\fC [static]\fR" Returns TRUE if the widget factory can create the specified \fIwidget\fR; otherwise returns FALSE. -.SH "QStringList TQWidgetFactory::widgets ()\fC [static]\fR" +.SH "TQStringList TQWidgetFactory::widgets ()\fC [static]\fR" Returns the names of the widgets this factory can create. .SH "SEE ALSO" diff --git a/doc/man/man3/tqwidgetplugin.3qt b/doc/man/man3/tqwidgetplugin.3qt index 062f6b1b7..d39496dc6 100644 --- a/doc/man/man3/tqwidgetplugin.3qt +++ b/doc/man/man3/tqwidgetplugin.3qt @@ -20,7 +20,7 @@ TQWidgetPlugin \- Abstract base for custom TQWidget plugins .BI "\fB~TQWidgetPlugin\fR ()" .br .ti -1c -.BI "virtual QStringList \fBkeys\fR () const = 0" +.BI "virtual TQStringList \fBkeys\fR () const = 0" .br .ti -1c .BI "virtual TQWidget * \fBcreate\fR ( const TQString & key, TQWidget * parent = 0, const char * name = 0 ) = 0" @@ -83,7 +83,7 @@ The default implementation returns TQString::null. Returns TRUE if the custom widget of class \fIkey\fR can contain other widgets, e.g. like QFrame; otherwise returns FALSE. .PP The default implementation returns FALSE. -.SH "QStringList TQWidgetPlugin::keys () const\fC [pure virtual]\fR" +.SH "TQStringList TQWidgetPlugin::keys () const\fC [pure virtual]\fR" Returns the list of widget keys this plugin supports. .PP These keys must be the class names of the custom widgets that are implemented in the plugin. diff --git a/doc/man/man3/tqxmlnamespacesupport.3qt b/doc/man/man3/tqxmlnamespacesupport.3qt index b324ec291..de1851389 100644 --- a/doc/man/man3/tqxmlnamespacesupport.3qt +++ b/doc/man/man3/tqxmlnamespacesupport.3qt @@ -37,10 +37,10 @@ All the functions in this class are reentrant when TQt is built with thread supp .BI "void \fBprocessName\fR ( const TQString & qname, bool isAttribute, TQString & nsuri, TQString & localname ) const" .br .ti -1c -.BI "QStringList \fBprefixes\fR () const" +.BI "TQStringList \fBprefixes\fR () const" .br .ti -1c -.BI "QStringList \fBprefixes\fR ( const TQString & uri ) const" +.BI "TQStringList \fBprefixes\fR ( const TQString & uri ) const" .br .ti -1c .BI "void \fBpushContext\fR ()" @@ -77,7 +77,7 @@ Returns one of the prefixes mapped to the namespace URI \fIuri\fR. If more than one prefix is currently mapped to the same URI, this function makes an arbitrary selection; if you want all of the prefixes, use prefixes() instead. .PP Note: to check for a default prefix, use the uri() function with an argument of "". -.SH "QStringList TQXmlNamespaceSupport::prefixes () const" +.SH "TQStringList TQXmlNamespaceSupport::prefixes () const" Returns a list of all the prefixes currently declared. .PP If there is a default prefix, this function does not return it in the list; check for the default prefix using uri() with an argument of "". @@ -86,9 +86,9 @@ Note that if you want to iterate over the list, you should iterate over a copy, .PP .nf .br - QStringList list = myXmlNamespaceSupport.prefixes(); + TQStringList list = myXmlNamespaceSupport.prefixes(); .br - QStringList::iterator it = list.begin(); + TQStringList::iterator it = list.begin(); .br while ( it != list.end() ) { .br @@ -99,7 +99,7 @@ Note that if you want to iterate over the list, you should iterate over a copy, } .br .fi -.SH "QStringList TQXmlNamespaceSupport::prefixes ( const TQString & uri ) const" +.SH "TQStringList TQXmlNamespaceSupport::prefixes ( const TQString & uri ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns a list of all prefixes currently declared for the namespace URI \fIuri\fR. @@ -112,9 +112,9 @@ Note that if you want to iterate over the list, you should iterate over a copy, .PP .nf .br - QStringList list = myXmlNamespaceSupport.prefixes( "" ); + TQStringList list = myXmlNamespaceSupport.prefixes( "" ); .br - QStringList::Iterator it = list.begin(); + TQStringList::Iterator it = list.begin(); .br while( it != list.end() ) { .br |