diff options
Diffstat (limited to 'doc/man/man3/tqtoolbox.3qt')
-rw-r--r-- | doc/man/man3/tqtoolbox.3qt | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/doc/man/man3/tqtoolbox.3qt b/doc/man/man3/tqtoolbox.3qt index 4723a440e..0be3aca4a 100644 --- a/doc/man/man3/tqtoolbox.3qt +++ b/doc/man/man3/tqtoolbox.3qt @@ -16,22 +16,22 @@ Inherits QFrame. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQToolBox\fR ( QWidget * parent = 0, const char * name = 0, WFlags f = 0 )" +.BI "\fBQToolBox\fR ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )" .br .ti -1c -.BI "int \fBaddItem\fR ( QWidget * w, const QString & label )" +.BI "int \fBaddItem\fR ( TQWidget * w, const TQString & label )" .br .ti -1c -.BI "int \fBaddItem\fR ( QWidget * item, const QIconSet & iconSet, const QString & label )" +.BI "int \fBaddItem\fR ( TQWidget * item, const QIconSet & iconSet, const TQString & label )" .br .ti -1c -.BI "int \fBinsertItem\fR ( int index, QWidget * item, const QString & label )" +.BI "int \fBinsertItem\fR ( int index, TQWidget * item, const TQString & label )" .br .ti -1c -.BI "int \fBinsertItem\fR ( int index, QWidget * item, const QIconSet & iconSet, const QString & label )" +.BI "int \fBinsertItem\fR ( int index, TQWidget * item, const QIconSet & iconSet, const TQString & label )" .br .ti -1c -.BI "int \fBremoveItem\fR ( QWidget * item )" +.BI "int \fBremoveItem\fR ( TQWidget * item )" .br .ti -1c .BI "void \fBsetItemEnabled\fR ( int index, bool enabled )" @@ -40,10 +40,10 @@ Inherits QFrame. .BI "bool \fBisItemEnabled\fR ( int index ) const" .br .ti -1c -.BI "void \fBsetItemLabel\fR ( int index, const QString & label )" +.BI "void \fBsetItemLabel\fR ( int index, const TQString & label )" .br .ti -1c -.BI "QString \fBitemLabel\fR ( int index ) const" +.BI "TQString \fBitemLabel\fR ( int index ) const" .br .ti -1c .BI "void \fBsetItemIconSet\fR ( int index, const QIconSet & iconSet )" @@ -52,25 +52,25 @@ Inherits QFrame. .BI "QIconSet \fBitemIconSet\fR ( int index ) const" .br .ti -1c -.BI "void \fBsetItemToolTip\fR ( int index, const QString & toolTip )" +.BI "void \fBsetItemToolTip\fR ( int index, const TQString & toolTip )" .br .ti -1c -.BI "QString \fBitemToolTip\fR ( int index ) const" +.BI "TQString \fBitemToolTip\fR ( int index ) const" .br .ti -1c -.BI "QWidget * \fBcurrentItem\fR () const" +.BI "TQWidget * \fBcurrentItem\fR () const" .br .ti -1c -.BI "void \fBsetCurrentItem\fR ( QWidget * item )" +.BI "void \fBsetCurrentItem\fR ( TQWidget * item )" .br .ti -1c .BI "int \fBcurrentIndex\fR () const" .br .ti -1c -.BI "QWidget * \fBitem\fR ( int index ) const" +.BI "TQWidget * \fBitem\fR ( int index ) const" .br .ti -1c -.BI "int \fBindexOf\fR ( QWidget * item ) const" +.BI "int \fBindexOf\fR ( TQWidget * item ) const" .br .ti -1c .BI "int \fBcount\fR () const" @@ -109,7 +109,7 @@ Inherits QFrame. .SH DESCRIPTION The QToolBox class provides a column of tabbed widget items. .PP -A toolbox is a widget that displays a column of tabs one above the other, with the current item displayed below the current tab. Every tab has an index position within the column of tabs. A tab's item is a QWidget. +A toolbox is a widget that displays a column of tabs one above the other, with the current item displayed below the current tab. Every tab has an index position within the column of tabs. A tab's item is a TQWidget. .PP Each item has an itemLabel(), an optional icon, itemIconSet(), an optional itemToolTip(), and a widget. The item's attributes can be changed with setItemLabel(), setItemIconSet() and setItemToolTip(). .PP @@ -121,11 +121,11 @@ The currentChanged() signal is emitted when the current item is changed. .PP See also QTabWidget and Advanced Widgets. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QToolBox::QToolBox ( QWidget * parent = 0, const char * name = 0, WFlags f = 0 )" +.SH "QToolBox::QToolBox ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )" Constructs a toolbox called \fIname\fR with parent \fIparent\fR and flags \fIf\fR. -.SH "int QToolBox::addItem ( QWidget * item, const QIconSet & iconSet, const QString & label )" +.SH "int QToolBox::addItem ( TQWidget * item, const QIconSet & iconSet, const TQString & label )" Adds the widget \fIitem\fR in a new tab at bottom of the toolbox. The new tab's label is set to \fIlabel\fR, and the \fIiconSet\fR is displayed to the left of the \fIlabel\fR. Returns the new tab's index. -.SH "int QToolBox::addItem ( QWidget * w, const QString & label )" +.SH "int QToolBox::addItem ( TQWidget * w, const TQString & label )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Adds the widget \fIw\fR in a new tab at bottom of the toolbox. The new tab's label is set to \fIlabel\fR. Returns the new tab's index. @@ -135,43 +135,43 @@ Returns the number of items contained in the toolbox. See the "count" property f This signal is emitted when the current item changed. The new current item's index is passed in \fIindex\fR, or -1 if there is no current item. .SH "int QToolBox::currentIndex () const" Returns the index of the current item, or -1 if the toolbox is empty. See the "currentIndex" property for details. -.SH "QWidget * QToolBox::currentItem () const" +.SH "TQWidget * QToolBox::currentItem () const" Returns the toolbox's current item, or 0 if the toolbox is empty. -.SH "int QToolBox::indexOf ( QWidget * item ) const" +.SH "int QToolBox::indexOf ( TQWidget * item ) const" Returns the index of item \fIitem\fR, or -1 if the item does not exist. -.SH "int QToolBox::insertItem ( int index, QWidget * item, const QIconSet & iconSet, const QString & label )" +.SH "int QToolBox::insertItem ( int index, TQWidget * item, const QIconSet & iconSet, const TQString & label )" Inserts the widget \fIitem\fR at position \fIindex\fR, or at the bottom of the toolbox if \fIindex\fR is out of range. The new item's label is set to \fIlabel\fR, and the \fIiconSet\fR is displayed to the left of the \fIlabel\fR. Returns the new item's index. -.SH "int QToolBox::insertItem ( int index, QWidget * item, const QString & label )" +.SH "int QToolBox::insertItem ( int index, TQWidget * item, const TQString & label )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts the widget \fIitem\fR at position \fIindex\fR, or at the bottom of the toolbox if \fIindex\fR is out of range. The new item's label is set to \fIlabel\fR. Returns the new item's index. .SH "bool QToolBox::isItemEnabled ( int index ) const" Returns TRUE if the item at position \fIindex\fR is enabled; otherwise returns FALSE. -.SH "QWidget * QToolBox::item ( int index ) const" +.SH "TQWidget * QToolBox::item ( int index ) const" Returns the item at position \fIindex\fR, or 0 if there is no such item. .SH "QIconSet QToolBox::itemIconSet ( int index ) const" Returns the icon of the item at position \fIindex\fR, or a null icon if \fIindex\fR is out of range. .SH "void QToolBox::itemInserted ( int index )\fC [virtual protected]\fR" This virtual handler is called after a new item was added or inserted at position \fIindex\fR. -.SH "QString QToolBox::itemLabel ( int index ) const" +.SH "TQString QToolBox::itemLabel ( int index ) const" Returns the label of the item at position \fIindex\fR, or a null string if \fIindex\fR is out of range. .SH "void QToolBox::itemRemoved ( int index )\fC [virtual protected]\fR" This virtual handler is called after an item was removed from position \fIindex\fR. -.SH "QString QToolBox::itemToolTip ( int index ) const" +.SH "TQString QToolBox::itemToolTip ( int index ) const" Returns the tooltip of the item at position \fIindex\fR, or a null string if \fIindex\fR is out of range. -.SH "int QToolBox::removeItem ( QWidget * item )" +.SH "int QToolBox::removeItem ( TQWidget * item )" Removes the widget \fIitem\fR from the toolbox. Note that the widget is \fInot\fR deleted. Returns the removed widget's index, or -1 if the widget was not in this tool box. .SH "void QToolBox::setCurrentIndex ( int index )\fC [slot]\fR" Sets the index of the current item, or -1 if the toolbox is empty to \fIindex\fR. See the "currentIndex" property for details. -.SH "void QToolBox::setCurrentItem ( QWidget * item )" +.SH "void QToolBox::setCurrentItem ( TQWidget * item )" Sets the current item to be \fIitem\fR. .SH "void QToolBox::setItemEnabled ( int index, bool enabled )" If \fIenabled\fR is TRUE then the item at position \fIindex\fR is enabled; otherwise item \fIindex\fR is disabled. .SH "void QToolBox::setItemIconSet ( int index, const QIconSet & iconSet )" Sets the icon of the item at position \fIindex\fR to \fIiconSet\fR. -.SH "void QToolBox::setItemLabel ( int index, const QString & label )" +.SH "void QToolBox::setItemLabel ( int index, const TQString & label )" Sets the label of the item at position \fIindex\fR to \fIlabel\fR. -.SH "void QToolBox::setItemToolTip ( int index, const QString & toolTip )" +.SH "void QToolBox::setItemToolTip ( int index, const TQString & toolTip )" Sets the tooltip of the item at position \fIindex\fR to \fItoolTip\fR. .SS "Property Documentation" .SH "int count" |