From ccbc1c3572fd0e26480c1432fff55d2909545538 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 8 Jun 2024 14:55:59 +0900 Subject: Rename icon nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/man/man3/tqaction.3qt | 22 +-- doc/man/man3/tqdatatable.3qt | 8 +- doc/man/man3/tqdict.3qt | 2 +- doc/man/man3/tqdragobject.3qt | 2 +- doc/man/man3/tqevent.3qt | 2 +- doc/man/man3/tqgridview.3qt | 2 +- doc/man/man3/tqheader.3qt | 12 +- doc/man/man3/tqicondrag.3qt | 40 ++-- doc/man/man3/tqicondragevent.3qt | 18 +- doc/man/man3/tqicondragitem.3qt | 34 ++-- doc/man/man3/tqiconfactory.3qt | 44 ++--- doc/man/man3/tqiconset.3qt | 134 +++++++------- doc/man/man3/tqiconview.3qt | 384 +++++++++++++++++++-------------------- doc/man/man3/tqiconviewitem.3qt | 218 +++++++++++----------- doc/man/man3/tqlistview.3qt | 8 +- doc/man/man3/tqmainwindow.3qt | 2 +- doc/man/man3/tqmenubar.3qt | 30 +-- doc/man/man3/tqmenudata.3qt | 46 ++--- doc/man/man3/tqmimesource.3qt | 2 +- doc/man/man3/tqpopupmenu.3qt | 42 ++--- doc/man/man3/tqpushbutton.3qt | 16 +- doc/man/man3/tqscrollview.3qt | 2 +- doc/man/man3/tqt.3qt | 4 +- doc/man/man3/tqtab.3qt | 14 +- doc/man/man3/tqtabdialog.3qt | 12 +- doc/man/man3/tqtabwidget.3qt | 20 +- doc/man/man3/tqtoolbox.3qt | 16 +- doc/man/man3/tqtoolbutton.3qt | 18 +- doc/man/man3/tqvariant.3qt | 18 +- doc/man/man3/tqwidgetplugin.3qt | 4 +- 30 files changed, 588 insertions(+), 588 deletions(-) (limited to 'doc/man') diff --git a/doc/man/man3/tqaction.3qt b/doc/man/man3/tqaction.3qt index 7ccc0982e..1d6c29ffe 100644 --- a/doc/man/man3/tqaction.3qt +++ b/doc/man/man3/tqaction.3qt @@ -24,10 +24,10 @@ Inherited by QActionGroup. .BI "\fBQAction\fR ( const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0 )" .br .ti -1c -.BI "\fBQAction\fR ( const QIconSet & icon, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0 )" +.BI "\fBQAction\fR ( const TQIconSet & icon, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0 )" .br .ti -1c -.BI "QAction ( const TQString & text, const QIconSet & icon, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0, bool toggle = FALSE ) \fI(obsolete)\fR" +.BI "QAction ( const TQString & text, const TQIconSet & icon, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0, bool toggle = FALSE ) \fI(obsolete)\fR" .br .ti -1c .BI "QAction ( const TQString & text, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0, bool toggle = FALSE ) \fI(obsolete)\fR" @@ -39,10 +39,10 @@ Inherited by QActionGroup. .BI "\fB~QAction\fR ()" .br .ti -1c -.BI "virtual void \fBsetIconSet\fR ( const QIconSet & )" +.BI "virtual void \fBsetIconSet\fR ( const TQIconSet & )" .br .ti -1c -.BI "QIconSet \fBiconSet\fR () const" +.BI "TQIconSet \fBiconSet\fR () const" .br .ti -1c .BI "virtual void \fBsetText\fR ( const TQString & )" @@ -141,7 +141,7 @@ Inherited by QActionGroup. .BI "bool \fBenabled\fR - whether the action is enabled" .br .ti -1c -.BI "QIconSet \fBiconSet\fR - the action's icon" +.BI "TQIconSet \fBiconSet\fR - the action's icon" .br .ti -1c .BI "TQString \fBmenuText\fR - the action's menu text" @@ -251,7 +251,7 @@ The action uses a stripped version of \fImenuText\fR (e.g. "&Menu Option..." bec Call setToggleAction(TRUE) to make the action a toggle action. .PP \fBWarning:\fR To prevent recursion, don't create an action as a child of a widget that the action is later added to. -.SH "QAction::QAction ( const QIconSet & icon, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0 )" +.SH "QAction::QAction ( const TQIconSet & icon, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0 )" This constructor creates an action with the following properties: the icon or iconset \fIicon\fR, the menu text \fImenuText\fR and keyboard accelerator \fIaccel\fR. It is a child of \fIparent\fR and called \fIname\fR. .PP If \fIparent\fR is a QActionGroup, the action automatically becomes a member of it. @@ -263,7 +263,7 @@ The action uses a stripped version of \fImenuText\fR (e.g. "&Menu Option..." bec Call setToggleAction(TRUE) to make the action a toggle action. .PP \fBWarning:\fR To prevent recursion, don't create an action as a child of a widget that the action is later added to. -.SH "QAction::QAction ( const TQString & text, const QIconSet & icon, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0, bool toggle = FALSE )" +.SH "QAction::QAction ( const TQString & text, const TQIconSet & icon, const TQString & menuText, QKeySequence accel, TQObject * parent, const char * name = 0, bool toggle = FALSE )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP This constructor creates an action with the following properties: the description \fItext\fR, the icon or iconset \fIicon\fR, the menu text \fImenuText\fR and keyboard accelerator \fIaccel\fR. It is a child of \fIparent\fR and called \fIname\fR. If \fItoggle\fR is TRUE the action will be a toggle action, otherwise it will be a command action. @@ -329,7 +329,7 @@ This function is called from the addTo() function when it has created a widget ( This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function is called from the addTo() function when it has created a menu item at the index position \fIindex\fR in the popup menu \fImenu\fR. -.SH "QIconSet QAction::iconSet () const" +.SH "TQIconSet QAction::iconSet () const" Returns the action's icon. See the "iconSet" property for details. .SH "bool QAction::isEnabled () const" Returns TRUE if the action is enabled; otherwise returns FALSE. See the "enabled" property for details. @@ -355,7 +355,7 @@ Disables the action if \fIdisable\fR is TRUE; otherwise enables the action. See the enabled documentation for more information. .SH "void QAction::setEnabled ( bool )\fC [virtual slot]\fR" Sets whether the action is enabled. See the "enabled" property for details. -.SH "void QAction::setIconSet ( const QIconSet & )\fC [virtual]\fR" +.SH "void QAction::setIconSet ( const TQIconSet & )\fC [virtual]\fR" Sets the action's icon. See the "iconSet" property for details. .SH "void QAction::setMenuText ( const TQString & )\fC [virtual]\fR" Sets the action's menu text. See the "menuText" property for details. @@ -427,12 +427,12 @@ Disabled actions can't be chosen by the user. They don't disappear from the menu What's this? help on disabled actions is still available provided the QAction::whatsThis property is set. .PP Set this property's value with setEnabled() and get this property's value with isEnabled(). -.SH "QIconSet iconSet" +.SH "TQIconSet iconSet" This property holds the action's icon. .PP The icon is used as the tool button icon and in the menu to the left of the menu text. There is no default icon. .PP -If a null icon (QIconSet::isNull() is passed into this function, the icon of the action is cleared. +If a null icon (TQIconSet::isNull() is passed into this function, the icon of the action is cleared. .PP (See the action/toggleaction/toggleaction.cpp example.) .PP diff --git a/doc/man/man3/tqdatatable.3qt b/doc/man/man3/tqdatatable.3qt index 49b4ecd3d..8d8fb648b 100644 --- a/doc/man/man3/tqdatatable.3qt +++ b/doc/man/man3/tqdatatable.3qt @@ -25,13 +25,13 @@ Inherits QTable. .BI "\fB~TQDataTable\fR ()" .br .ti -1c -.BI "virtual void \fBaddColumn\fR ( const TQString & fieldName, const TQString & label = TQString::null, int width = -1, const QIconSet & iconset = QIconSet ( ) )" +.BI "virtual void \fBaddColumn\fR ( const TQString & fieldName, const TQString & label = TQString::null, int width = -1, const TQIconSet & iconset = TQIconSet ( ) )" .br .ti -1c .BI "virtual void \fBremoveColumn\fR ( uint col )" .br .ti -1c -.BI "virtual void \fBsetColumn\fR ( uint col, const TQString & fieldName, const TQString & label = TQString::null, int width = -1, const QIconSet & iconset = QIconSet ( ) )" +.BI "virtual void \fBsetColumn\fR ( uint col, const TQString & fieldName, const TQString & label = TQString::null, int width = -1, const TQIconSet & iconset = TQIconSet ( ) )" .br .ti -1c .BI "TQString \fBnullText\fR () const" @@ -338,7 +338,7 @@ If \fIautoPopulate\fR is TRUE (the default is FALSE), columns are automatically If the \fIcursor\fR is read-only, the table also becomes read-only. In addition, the table adopts the cursor's driver's definition for representing NULL values as strings. .SH "TQDataTable::~TQDataTable ()" Destroys the object and frees any allocated resources. -.SH "void TQDataTable::addColumn ( const TQString & fieldName, const TQString & label = TQString::null, int width = -1, const QIconSet & iconset = QIconSet ( ) )\fC [virtual]\fR" +.SH "void TQDataTable::addColumn ( const TQString & fieldName, const TQString & label = TQString::null, int width = -1, const TQIconSet & iconset = TQIconSet ( ) )\fC [virtual]\fR" Adds the next column to be displayed using the field \fIfieldName\fR, column label \fIlabel\fR, width \fIwidth\fR and iconset \fIiconset\fR. .PP If \fIlabel\fR is specified, it is used as the column's header label, otherwise the field's display label is used when setSqlCursor() is called. The \fIiconset\fR is used to set the icon used by the column header; by default there is no icon. @@ -472,7 +472,7 @@ See also setSqlCursor(). Sets the cursor auto-delete flag to \fIenable\fR. If \fIenable\fR is TRUE, the table will automatically delete the cursor specified by setSqlCursor(). If \fIenable\fR is FALSE (the default), the cursor will not be deleted. .SH "void TQDataTable::setAutoEdit ( bool autoEdit )\fC [virtual]\fR" Sets whether the data table automatically applies edits to \fIautoEdit\fR. See the "autoEdit" property for details. -.SH "void TQDataTable::setColumn ( uint col, const TQString & fieldName, const TQString & label = TQString::null, int width = -1, const QIconSet & iconset = QIconSet ( ) )\fC [virtual]\fR" +.SH "void TQDataTable::setColumn ( uint col, const TQString & fieldName, const TQString & label = TQString::null, int width = -1, const TQIconSet & iconset = TQIconSet ( ) )\fC [virtual]\fR" Sets the \fIcol\fR column to display using the field \fIfieldName\fR, column label \fIlabel\fR, width \fIwidth\fR and iconset \fIiconset\fR. .PP If \fIlabel\fR is specified, it is used as the column's header label, otherwise the field's display label is used when setSqlCursor() is called. The \fIiconset\fR is used to set the icon used by the column header; by default there is no icon. diff --git a/doc/man/man3/tqdict.3qt b/doc/man/man3/tqdict.3qt index c14b20f93..ded30babd 100644 --- a/doc/man/man3/tqdict.3qt +++ b/doc/man/man3/tqdict.3qt @@ -191,7 +191,7 @@ Example #2: .br } .br - (void) new QAction( styleName, QIconSet(), styleAccel, parent ); + (void) new QAction( styleName, TQIconSet(), styleAccel, parent ); .br } .br diff --git a/doc/man/man3/tqdragobject.3qt b/doc/man/man3/tqdragobject.3qt index d54533478..4f2d0d337 100644 --- a/doc/man/man3/tqdragobject.3qt +++ b/doc/man/man3/tqdragobject.3qt @@ -13,7 +13,7 @@ QDragObject \- Encapsulates MIME-based data transfer .PP Inherits TQObject and QMimeSource. .PP -Inherited by QStoredDrag, TQTextDrag, TQImageDrag, and QIconDrag. +Inherited by QStoredDrag, TQTextDrag, TQImageDrag, and TQIconDrag. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqevent.3qt b/doc/man/man3/tqevent.3qt index 09f574290..c130c13af 100644 --- a/doc/man/man3/tqevent.3qt +++ b/doc/man/man3/tqevent.3qt @@ -13,7 +13,7 @@ QEvent \- The base class of all event classes. Event objects contain event param .PP Inherits Qt. .PP -Inherited by QTimerEvent, QMouseEvent, QWheelEvent, QTabletEvent, QKeyEvent, QFocusEvent, QPaintEvent, QMoveEvent, QResizeEvent, QCloseEvent, QIconDragEvent, QShowEvent, QHideEvent, QContextMenuEvent, QIMEvent, QDropEvent, QDragLeaveEvent, QChildEvent, and QCustomEvent. +Inherited by QTimerEvent, QMouseEvent, QWheelEvent, QTabletEvent, QKeyEvent, QFocusEvent, QPaintEvent, QMoveEvent, QResizeEvent, QCloseEvent, TQIconDragEvent, QShowEvent, QHideEvent, QContextMenuEvent, QIMEvent, QDropEvent, QDragLeaveEvent, QChildEvent, and QCustomEvent. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqgridview.3qt b/doc/man/man3/tqgridview.3qt index c3fb22682..e170b8b09 100644 --- a/doc/man/man3/tqgridview.3qt +++ b/doc/man/man3/tqgridview.3qt @@ -110,7 +110,7 @@ If you need to monitor changes to the grid's dimensions (i.e. when numRows or nu .PP Note: the row and column indices are always given in the order, row (vertical offset) then column (horizontal offset). This order is the opposite of all pixel operations, which are given in the order x (horizontal offset), y (vertical offset). .PP -QGridView is a very simple abstract class based on QScrollView. It is designed to simplify the task of drawing many cells of the same size in a potentially scrollable canvas. If you need rows and columns with different sizes, use a QTable instead. If you need a simple list of items, use a QListBox. If you need to present hierachical data use a QListView, and if you need random objects at random positions, consider using either a QIconView or a TQCanvas. +QGridView is a very simple abstract class based on QScrollView. It is designed to simplify the task of drawing many cells of the same size in a potentially scrollable canvas. If you need rows and columns with different sizes, use a QTable instead. If you need a simple list of items, use a QListBox. If you need to present hierachical data use a QListView, and if you need random objects at random positions, consider using either a TQIconView or a TQCanvas. .PP See also Abstract Widget Classes. .SH MEMBER FUNCTION DOCUMENTATION diff --git a/doc/man/man3/tqheader.3qt b/doc/man/man3/tqheader.3qt index 0221aca52..09e9c077f 100644 --- a/doc/man/man3/tqheader.3qt +++ b/doc/man/man3/tqheader.3qt @@ -28,7 +28,7 @@ Inherits TQWidget. .BI "int \fBaddLabel\fR ( const TQString & s, int size = -1 )" .br .ti -1c -.BI "int \fBaddLabel\fR ( const QIconSet & iconset, const TQString & s, int size = -1 )" +.BI "int \fBaddLabel\fR ( const TQIconSet & iconset, const TQString & s, int size = -1 )" .br .ti -1c .BI "void \fBremoveLabel\fR ( int section )" @@ -37,13 +37,13 @@ Inherits TQWidget. .BI "virtual void \fBsetLabel\fR ( int section, const TQString & s, int size = -1 )" .br .ti -1c -.BI "virtual void \fBsetLabel\fR ( int section, const QIconSet & iconset, const TQString & s, int size = -1 )" +.BI "virtual void \fBsetLabel\fR ( int section, const TQIconSet & iconset, const TQString & s, int size = -1 )" .br .ti -1c .BI "TQString \fBlabel\fR ( int section ) const" .br .ti -1c -.BI "QIconSet * \fBiconSet\fR ( int section ) const" +.BI "TQIconSet * \fBiconSet\fR ( int section ) const" .br .ti -1c .BI "virtual void \fBsetOrientation\fR ( Orientation )" @@ -275,7 +275,7 @@ Constructs a horizontal header called \fIname\fR, with \fIn\fR sections and pare Destroys the header and all its sections. .SH "int QHeader::addLabel ( const TQString & s, int size = -1 )" Adds a new section with label text \fIs\fR. Returns the index position where the section was added (at the right for horizontal headers, at the bottom for vertical headers). The section's width is set to \fIsize\fR. If \fIsize\fR < 0, an appropriate size for the text \fIs\fR is chosen. -.SH "int QHeader::addLabel ( const QIconSet & iconset, const TQString & s, int size = -1 )" +.SH "int QHeader::addLabel ( const TQIconSet & iconset, const TQString & s, int size = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Adds a new section with iconset \fIiconset\fR and label text \fIs\fR. Returns the index position where the section was added (at the right for horizontal headers, at the bottom for vertical headers). The section's width is set to \fIsize\fR, unless size is negative in which case the size is calculated taking account of the size of the text. @@ -307,7 +307,7 @@ See also pressed() and released(). Returns the number of sections in the header. See the "count" property for details. .SH "int QHeader::headerWidth () const" Returns the total width of all the header columns. -.SH "QIconSet * QHeader::iconSet ( int section ) const" +.SH "TQIconSet * QHeader::iconSet ( int section ) const" Returns the icon set for section \fIsection\fR. If the section does not exist, 0 is returned. .SH "void QHeader::indexChange ( int section, int fromIndex, int toIndex )\fC [signal]\fR" This signal is emitted when the user moves section \fIsection\fR from index position \fIfromIndex\fR, to index position \fItoIndex\fR. @@ -452,7 +452,7 @@ If the section does not exist, nothing happens. .PP Examples: .)l chart/setdataform.cpp and table/small-table-demo/main.cpp. -.SH "void QHeader::setLabel ( int section, const QIconSet & iconset, const TQString & s, int size = -1 )\fC [virtual]\fR" +.SH "void QHeader::setLabel ( int section, const TQIconSet & iconset, const TQString & s, int size = -1 )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the icon for section \fIsection\fR to \fIiconset\fR and the text to \fIs\fR. The section's width is set to \fIsize\fR if \fIsize\fR >= 0; otherwise it is left unchanged. diff --git a/doc/man/man3/tqicondrag.3qt b/doc/man/man3/tqicondrag.3qt index 94d0a4242..26bf7bdef 100644 --- a/doc/man/man3/tqicondrag.3qt +++ b/doc/man/man3/tqicondrag.3qt @@ -1,5 +1,5 @@ '\" t -.TH QIconDrag 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQIconDrag 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,22 +7,22 @@ .ad l .nh .SH NAME -QIconDrag \- Supports drag and drop operations within a QIconView +TQIconDrag \- Supports drag and drop operations within a TQIconView .SH SYNOPSIS -\fC#include \fR +\fC#include \fR .PP Inherits QDragObject. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQIconDrag\fR ( TQWidget * dragSource, const char * name = 0 )" +.BI "\fBTQIconDrag\fR ( TQWidget * dragSource, const char * name = 0 )" .br .ti -1c -.BI "virtual \fB~QIconDrag\fR ()" +.BI "virtual \fB~TQIconDrag\fR ()" .br .ti -1c -.BI "void \fBappend\fR ( const QIconDragItem & i, const QRect & pr, const QRect & tr )" +.BI "void \fBappend\fR ( const TQIconDragItem & i, const QRect & pr, const QRect & tr )" .br .ti -1c .BI "virtual QByteArray \fBencodedData\fR ( const char * mime ) const" @@ -35,35 +35,35 @@ Inherits QDragObject. .br .in -1c .SH DESCRIPTION -The QIconDrag class supports drag and drop operations within a QIconView. +The TQIconDrag class supports drag and drop operations within a TQIconView. .PP -A QIconDrag object is used to maintain information about the positions of dragged items and the data associated with the dragged items. QIconViews are able to use this information to paint the dragged items in the correct positions. Internally QIconDrag stores the data associated with drag items in QIconDragItem objects. +A TQIconDrag object is used to maintain information about the positions of dragged items and the data associated with the dragged items. TQIconViews are able to use this information to paint the dragged items in the correct positions. Internally TQIconDrag stores the data associated with drag items in TQIconDragItem objects. .PP -If you want to use the extended drag-and-drop functionality of QIconView, create a QIconDrag object in a reimplementation of QIconView::dragObject(). Then create a QIconDragItem for each item which should be dragged, set the data it represents with QIconDragItem::setData(), and add each QIconDragItem to the drag object using append(). +If you want to use the extended drag-and-drop functionality of TQIconView, create a TQIconDrag object in a reimplementation of TQIconView::dragObject(). Then create a TQIconDragItem for each item which should be dragged, set the data it represents with TQIconDragItem::setData(), and add each TQIconDragItem to the drag object using append(). .PP -The data in QIconDragItems is stored in a QByteArray and is mime-typed (see QMimeSource and the Drag and Drop overview). If you want to use your own mime-types derive a class from QIconDrag and reimplement format(), encodedData() and canDecode(). +The data in TQIconDragItems is stored in a QByteArray and is mime-typed (see QMimeSource and the Drag and Drop overview). If you want to use your own mime-types derive a class from TQIconDrag and reimplement format(), encodedData() and canDecode(). .PP -The fileiconview example program demonstrates the use of the QIconDrag class including subclassing and reimplementing dragObject(), format(), encodedData() and canDecode(). See the files \fCqt/examples/fileiconview/qfileiconview.h\fR and \fCqt/examples/fileiconview/qfileiconview.cpp\fR. +The fileiconview example program demonstrates the use of the TQIconDrag class including subclassing and reimplementing dragObject(), format(), encodedData() and canDecode(). See the files \fCqt/examples/fileiconview/qfileiconview.h\fR and \fCqt/examples/fileiconview/qfileiconview.cpp\fR. .PP See also QMimeSource::format() and Drag And Drop Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QIconDrag::QIconDrag ( TQWidget * dragSource, const char * name = 0 )" +.SH "TQIconDrag::TQIconDrag ( TQWidget * dragSource, const char * name = 0 )" Constructs a drag object called \fIname\fR, which is a child of \fIdragSource\fR. .PP Note that the drag object will be deleted when \fIdragSource\fR is deleted. -.SH "QIconDrag::~QIconDrag ()\fC [virtual]\fR" +.SH "TQIconDrag::~TQIconDrag ()\fC [virtual]\fR" Destructor. -.SH "void QIconDrag::append ( const QIconDragItem & i, const QRect & pr, const QRect & tr )" -Append the QIconDragItem, \fIi\fR, to the QIconDrag object's list of items. You must also supply the geometry of the pixmap, \fIpr\fR, and the textual caption, \fItr\fR. +.SH "void TQIconDrag::append ( const TQIconDragItem & i, const QRect & pr, const QRect & tr )" +Append the TQIconDragItem, \fIi\fR, to the TQIconDrag object's list of items. You must also supply the geometry of the pixmap, \fIpr\fR, and the textual caption, \fItr\fR. .PP -See also QIconDragItem. +See also TQIconDragItem. .PP Example: fileiconview/qfileiconview.cpp. -.SH "bool QIconDrag::canDecode ( QMimeSource * e )\fC [static]\fR" -Returns TRUE if \fIe\fR can be decoded by the QIconDrag, otherwise return FALSE. +.SH "bool TQIconDrag::canDecode ( QMimeSource * e )\fC [static]\fR" +Returns TRUE if \fIe\fR can be decoded by the TQIconDrag, otherwise return FALSE. .PP Example: fileiconview/qfileiconview.cpp. -.SH "QByteArray QIconDrag::encodedData ( const char * mime ) const\fC [virtual]\fR" +.SH "QByteArray TQIconDrag::encodedData ( const char * mime ) const\fC [virtual]\fR" Returns the encoded data of the drag object if \fImime\fR is application/x-qiconlist. .PP Example: fileiconview/qfileiconview.cpp. @@ -71,7 +71,7 @@ Example: fileiconview/qfileiconview.cpp. Reimplemented from QMimeSource. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qicondrag.html +.BR http://doc.trolltech.com/tqicondrag.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/tqicondragevent.3qt b/doc/man/man3/tqicondragevent.3qt index 2c4769c31..4a9e5cfa7 100644 --- a/doc/man/man3/tqicondragevent.3qt +++ b/doc/man/man3/tqicondragevent.3qt @@ -1,5 +1,5 @@ '\" t -.TH QIconDragEvent 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQIconDragEvent 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,7 +7,7 @@ .ad l .nh .SH NAME -QIconDragEvent \- Signals that a main icon drag has begun +TQIconDragEvent \- Signals that a main icon drag has begun .SH SYNOPSIS \fC#include \fR .PP @@ -16,7 +16,7 @@ Inherits QEvent. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQIconDragEvent\fR ()" +.BI "\fBTQIconDragEvent\fR ()" .br .ti -1c .BI "bool \fBisAccepted\fR () const" @@ -29,17 +29,17 @@ Inherits QEvent. .br .in -1c .SH DESCRIPTION -The QIconDragEvent class signals that a main icon drag has begun. +The TQIconDragEvent class signals that a main icon drag has begun. .PP Icon drag events are sent to widgets when the main icon of a window has been dragged away. On Mac OS X this is fired when the proxy icon of a window is dragged off titlebar, in response to this event is is normal to begin using drag and drop. .PP See also Event Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QIconDragEvent::QIconDragEvent ()" +.SH "TQIconDragEvent::TQIconDragEvent ()" Constructs an icon drag event object with the accept parameter flag set to FALSE. .PP See also accept(). -.SH "void QIconDragEvent::accept ()" +.SH "void TQIconDragEvent::accept ()" Sets the accept flag of the icon drag event object. .PP Setting the accept flag indicates that the receiver of this event has started a drag and drop oeration. @@ -47,7 +47,7 @@ Setting the accept flag indicates that the receiver of this event has started a The accept flag is \fInot\fR set by default. .PP See also ignore() and TQWidget::hide(). -.SH "void QIconDragEvent::ignore ()" +.SH "void TQIconDragEvent::ignore ()" Clears the accept flag of the icon drag object. .PP Clearing the accept flag indicates that the receiver of this event has not handled the icon drag as a result other events can be sent. @@ -55,13 +55,13 @@ Clearing the accept flag indicates that the receiver of this event has not handl The icon drag event is constructed with the accept flag cleared. .PP See also accept(). -.SH "bool QIconDragEvent::isAccepted () const" +.SH "bool TQIconDragEvent::isAccepted () const" Returns TRUE if the receiver of the event has started a drag and drop operation; otherwise returns FALSE. .PP See also accept() and ignore(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qicondragevent.html +.BR http://doc.trolltech.com/tqicondragevent.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/tqicondragitem.3qt b/doc/man/man3/tqicondragitem.3qt index b997445f6..21a1b877c 100644 --- a/doc/man/man3/tqicondragitem.3qt +++ b/doc/man/man3/tqicondragitem.3qt @@ -1,5 +1,5 @@ '\" t -.TH QIconDragItem 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQIconDragItem 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,17 +7,17 @@ .ad l .nh .SH NAME -QIconDragItem \- Encapsulates a drag item +TQIconDragItem \- Encapsulates a drag item .SH SYNOPSIS -\fC#include \fR +\fC#include \fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQIconDragItem\fR ()" +.BI "\fBTQIconDragItem\fR ()" .br .ti -1c -.BI "virtual \fB~QIconDragItem\fR ()" +.BI "virtual \fB~TQIconDragItem\fR ()" .br .ti -1c .BI "virtual QByteArray \fBdata\fR () const" @@ -27,31 +27,31 @@ QIconDragItem \- Encapsulates a drag item .br .in -1c .SH DESCRIPTION -The QIconDragItem class encapsulates a drag item. +The TQIconDragItem class encapsulates a drag item. .PP -The QIconDrag class uses a list of QIconDragItems to support drag and drop operations. +The TQIconDrag class uses a list of TQIconDragItems to support drag and drop operations. .PP -In practice a QIconDragItem object (or an object of a class derived from QIconDragItem) is created for each icon view item which is dragged. Each of these QIconDragItems is stored in a QIconDrag object. +In practice a TQIconDragItem object (or an object of a class derived from TQIconDragItem) is created for each icon view item which is dragged. Each of these TQIconDragItems is stored in a TQIconDrag object. .PP -See QIconView::dragObject() for more information. +See TQIconView::dragObject() for more information. .PP See the fileiconview/qfileiconview.cpp and iconview/simple_dd/main.cpp examples. .PP See also Drag And Drop Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QIconDragItem::QIconDragItem ()" -Constructs a QIconDragItem with no data. -.SH "QIconDragItem::~QIconDragItem ()\fC [virtual]\fR" +.SH "TQIconDragItem::TQIconDragItem ()" +Constructs a TQIconDragItem with no data. +.SH "TQIconDragItem::~TQIconDragItem ()\fC [virtual]\fR" Destructor. -.SH "QByteArray QIconDragItem::data () const\fC [virtual]\fR" -Returns the data contained in the QIconDragItem. -.SH "void QIconDragItem::setData ( const QByteArray & d )\fC [virtual]\fR" -Sets the data for the QIconDragItem to the data stored in the QByteArray \fId\fR. +.SH "QByteArray TQIconDragItem::data () const\fC [virtual]\fR" +Returns the data contained in the TQIconDragItem. +.SH "void TQIconDragItem::setData ( const QByteArray & d )\fC [virtual]\fR" +Sets the data for the TQIconDragItem to the data stored in the QByteArray \fId\fR. .PP Example: fileiconview/qfileiconview.cpp. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qicondragitem.html +.BR http://doc.trolltech.com/tqicondragitem.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/tqiconfactory.3qt b/doc/man/man3/tqiconfactory.3qt index 56b83a7c9..ecaadfb08 100644 --- a/doc/man/man3/tqiconfactory.3qt +++ b/doc/man/man3/tqiconfactory.3qt @@ -1,5 +1,5 @@ '\" t -.TH QIconFactory 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQIconFactory 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,20 +7,20 @@ .ad l .nh .SH NAME -QIconFactory \- Used to create pixmaps for a QIconSet +TQIconFactory \- Used to create pixmaps for a TQIconSet .SH SYNOPSIS -\fC#include \fR +\fC#include \fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQIconFactory\fR ()" +.BI "\fBTQIconFactory\fR ()" .br .ti -1c -.BI "virtual \fB~QIconFactory\fR ()" +.BI "virtual \fB~TQIconFactory\fR ()" .br .ti -1c -.BI "virtual QPixmap * \fBcreatePixmap\fR ( const QIconSet & iconSet, QIconSet::Size size, QIconSet::Mode mode, QIconSet::State state )" +.BI "virtual QPixmap * \fBcreatePixmap\fR ( const TQIconSet & iconSet, TQIconSet::Size size, TQIconSet::Mode mode, TQIconSet::State state )" .br .ti -1c .BI "void \fBsetAutoDelete\fR ( bool autoDelete )" @@ -32,48 +32,48 @@ QIconFactory \- Used to create pixmaps for a QIconSet .SS "Static Public Members" .in +1c .ti -1c -.BI "QIconFactory * \fBdefaultFactory\fR ()" +.BI "TQIconFactory * \fBdefaultFactory\fR ()" .br .ti -1c -.BI "void \fBinstallDefaultFactory\fR ( QIconFactory * factory )" +.BI "void \fBinstallDefaultFactory\fR ( TQIconFactory * factory )" .br .in -1c .SH DESCRIPTION -The QIconFactory class is used to create pixmaps for a QIconSet. +The TQIconFactory class is used to create pixmaps for a TQIconSet. .PP -By reimplementing createPixmap(), you can override QIconSet's default algorithm for computing pixmaps not supplied by the user. +By reimplementing createPixmap(), you can override TQIconSet's default algorithm for computing pixmaps not supplied by the user. .PP -Call setAutoDelete(TRUE) if you want the factory to automatically delete itself when it is no longer needed by QIconSet. +Call setAutoDelete(TRUE) if you want the factory to automatically delete itself when it is no longer needed by TQIconSet. .PP -See also QIconSet and Advanced Widgets. +See also TQIconSet and Advanced Widgets. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QIconFactory::QIconFactory ()" +.SH "TQIconFactory::TQIconFactory ()" Constructs an icon factory. -.SH "QIconFactory::~QIconFactory ()\fC [virtual]\fR" +.SH "TQIconFactory::~TQIconFactory ()\fC [virtual]\fR" Destroys the object and frees any allocated resources. -.SH "bool QIconFactory::autoDelete () const" +.SH "bool TQIconFactory::autoDelete () const" Returns TRUE if auto-deletion is enabled; otherwise returns FALSE. .PP See also setAutoDelete(). -.SH "QPixmap * QIconFactory::createPixmap ( const QIconSet & iconSet, QIconSet::Size size, QIconSet::Mode mode, QIconSet::State state )\fC [virtual]\fR" -Ceates a pixmap for \fIiconSet\fR with a certain \fIsize\fR, \fImode\fR, and \fIstate\fR. Returns 0 if the default QIconSet algorithm should be used to create a pixmap that wasn't supplied by the user. +.SH "QPixmap * TQIconFactory::createPixmap ( const TQIconSet & iconSet, TQIconSet::Size size, TQIconSet::Mode mode, TQIconSet::State state )\fC [virtual]\fR" +Ceates a pixmap for \fIiconSet\fR with a certain \fIsize\fR, \fImode\fR, and \fIstate\fR. Returns 0 if the default TQIconSet algorithm should be used to create a pixmap that wasn't supplied by the user. .PP It is the caller's responsibility to delete the returned pixmap. .PP The default implementation always returns 0. -.SH "QIconFactory * QIconFactory::defaultFactory ()\fC [static]\fR" +.SH "TQIconFactory * TQIconFactory::defaultFactory ()\fC [static]\fR" Returns the default icon factory. .PP See also installDefaultFactory(). -.SH "void QIconFactory::installDefaultFactory ( QIconFactory * factory )\fC [static]\fR" +.SH "void TQIconFactory::installDefaultFactory ( TQIconFactory * factory )\fC [static]\fR" Replaces the default icon factory with \fIfactory\fR. -.SH "void QIconFactory::setAutoDelete ( bool autoDelete )" -If \fIautoDelete\fR is TRUE, sets the icon factory to automatically delete itself when it is no longer referenced by any QIconSet and isn't the default factory. If \fIautoDelete\fR is FALSE (the default) auto-deletion is disabled. +.SH "void TQIconFactory::setAutoDelete ( bool autoDelete )" +If \fIautoDelete\fR is TRUE, sets the icon factory to automatically delete itself when it is no longer referenced by any TQIconSet and isn't the default factory. If \fIautoDelete\fR is FALSE (the default) auto-deletion is disabled. .PP See also autoDelete() and defaultFactory(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qiconfactory.html +.BR http://doc.trolltech.com/tqiconfactory.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/tqiconset.3qt b/doc/man/man3/tqiconset.3qt index 0cf0bc669..8cb5e2634 100644 --- a/doc/man/man3/tqiconset.3qt +++ b/doc/man/man3/tqiconset.3qt @@ -1,5 +1,5 @@ '\" t -.TH QIconSet 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQIconSet 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,9 +7,9 @@ .ad l .nh .SH NAME -QIconSet \- Set of icons with different styles and sizes +TQIconSet \- Set of icons with different styles and sizes .SH SYNOPSIS -\fC#include \fR +\fC#include \fR .PP .SS "Public Members" .in +1c @@ -23,19 +23,19 @@ QIconSet \- Set of icons with different styles and sizes .BI "enum \fBState\fR { On, Off }" .br .ti -1c -.BI "\fBQIconSet\fR ()" +.BI "\fBTQIconSet\fR ()" .br .ti -1c -.BI "\fBQIconSet\fR ( const QPixmap & pixmap, Size size = Automatic )" +.BI "\fBTQIconSet\fR ( const QPixmap & pixmap, Size size = Automatic )" .br .ti -1c -.BI "\fBQIconSet\fR ( const QPixmap & smallPix, const QPixmap & largePix )" +.BI "\fBTQIconSet\fR ( const QPixmap & smallPix, const QPixmap & largePix )" .br .ti -1c -.BI "\fBQIconSet\fR ( const QIconSet & other )" +.BI "\fBTQIconSet\fR ( const TQIconSet & other )" .br .ti -1c -.BI "virtual \fB~QIconSet\fR ()" +.BI "virtual \fB~TQIconSet\fR ()" .br .ti -1c .BI "void \fBreset\fR ( const QPixmap & pixmap, Size size )" @@ -62,7 +62,7 @@ QIconSet \- Set of icons with different styles and sizes .BI "void \fBclearGenerated\fR ()" .br .ti -1c -.BI "void \fBinstallIconFactory\fR ( QIconFactory * factory )" +.BI "void \fBinstallIconFactory\fR ( TQIconFactory * factory )" .br .ti -1c .BI "bool \fBisNull\fR () const" @@ -71,7 +71,7 @@ QIconSet \- Set of icons with different styles and sizes .BI "void \fBdetach\fR ()" .br .ti -1c -.BI "QIconSet & \fBoperator=\fR ( const QIconSet & other )" +.BI "TQIconSet & \fBoperator=\fR ( const TQIconSet & other )" .br .in -1c .SS "Static Public Members" @@ -84,37 +84,37 @@ QIconSet \- Set of icons with different styles and sizes .br .in -1c .SH DESCRIPTION -The QIconSet class provides a set of icons with different styles and sizes. +The TQIconSet class provides a set of icons with different styles and sizes. .PP -A QIconSet can generate smaller, larger, active, and disabled pixmaps from the set of icons it is given. Such pixmaps are used by QToolButton, QHeader, QPopupMenu, etc. to show an icon representing a particular action. +A TQIconSet can generate smaller, larger, active, and disabled pixmaps from the set of icons it is given. Such pixmaps are used by QToolButton, QHeader, QPopupMenu, etc. to show an icon representing a particular action. .PP -The simplest use of QIconSet is to create one from a QPixmap and then use it, allowing TQt to work out all the required icon styles and sizes. For example: +The simplest use of TQIconSet is to create one from a QPixmap and then use it, allowing TQt to work out all the required icon styles and sizes. For example: .PP .nf .br - QToolButton *but = new QToolButton( QIconSet( QPixmap("open.xpm") ), ... ); + QToolButton *but = new QToolButton( TQIconSet( QPixmap("open.xpm") ), ... ); .br .fi .PP -Using whichever pixmaps you specify as a base, QIconSet provides a set of six icons, each with a Size and a Mode: Small Normal, Small Disabled, Small Active, Large Normal, Large Disabled, and Large Active. +Using whichever pixmaps you specify as a base, TQIconSet provides a set of six icons, each with a Size and a Mode: Small Normal, Small Disabled, Small Active, Large Normal, Large Disabled, and Large Active. .PP -An additional set of six icons can be provided for widgets that have an "On" or "Off" state, like checkable menu items or toggleable toolbuttons. If you provide pixmaps for the "On" state, but not for the "Off" state, the QIconSet will provide the "Off" pixmaps. You may specify icons for both states in you wish. +An additional set of six icons can be provided for widgets that have an "On" or "Off" state, like checkable menu items or toggleable toolbuttons. If you provide pixmaps for the "On" state, but not for the "Off" state, the TQIconSet will provide the "Off" pixmaps. You may specify icons for both states in you wish. .PP You can set any of the icons using setPixmap(). .PP -When you retrieve a pixmap using pixmap(Size, Mode, State), QIconSet will return the icon that has been set or previously generated for that size, mode and state combination. If none is available, QIconSet will ask the icon factory. If the icon factory cannot provide any (the default), QIconSet generates a pixmap based on the pixmaps it has been given and returns it. +When you retrieve a pixmap using pixmap(Size, Mode, State), TQIconSet will return the icon that has been set or previously generated for that size, mode and state combination. If none is available, TQIconSet will ask the icon factory. If the icon factory cannot provide any (the default), TQIconSet generates a pixmap based on the pixmaps it has been given and returns it. .PP The Disabled appearance is computed using an algorithm that produces results very similar to those used in Microsoft Windows 95. The Active appearance is identical to the Normal appearance unless you use setPixmap() to set it to something special. .PP -When scaling icons, QIconSet uses smooth scaling, which can partially blend the color component of pixmaps. If the results look poor, the best solution is to supply pixmaps in both large and small sizes. +When scaling icons, TQIconSet uses smooth scaling, which can partially blend the color component of pixmaps. If the results look poor, the best solution is to supply pixmaps in both large and small sizes. .PP You can use the static function setIconSize() to set the preferred size of the generated large/small icons. The default small size is 22 x 22, while the default large size is 32 x 32. These sizes only affect generated icons. .PP -The isGenerated() function returns TRUE if an icon was generated by QIconSet or by a factory; clearGenerated() clears all cached pixmaps. -.SH "Making Classes that Use QIconSet" -If you write your own widgets that have an option to set a small pixmap, consider allowing a QIconSet to be set for that pixmap. The TQt class QToolButton is an example of such a widget. +The isGenerated() function returns TRUE if an icon was generated by TQIconSet or by a factory; clearGenerated() clears all cached pixmaps. +.SH "Making Classes that Use TQIconSet" +If you write your own widgets that have an option to set a small pixmap, consider allowing a TQIconSet to be set for that pixmap. The TQt class QToolButton is an example of such a widget. .PP -Provide a method to set a QIconSet, and when you draw the icon, choose whichever icon is appropriate for the current state of your widget. For example: +Provide a method to set a TQIconSet, and when you draw the icon, choose whichever icon is appropriate for the current state of your widget. For example: .PP .nf .br @@ -124,15 +124,15 @@ Provide a method to set a QIconSet, and when you draw the icon, choose whichever .br p->drawPixmap( pos, icons->pixmap( .br - QIconSet::Small, + TQIconSet::Small, .br - isEnabled() ? QIconSet::Normal : + isEnabled() ? TQIconSet::Normal : .br - QIconSet::Disabled, + TQIconSet::Disabled, .br - isEnabled() ? QIconSet::On : + isEnabled() ? TQIconSet::On : .br - QIconSet::Off)); + TQIconSet::Off)); .br } .br @@ -146,120 +146,120 @@ You might also make use of the Active mode, perhaps making your widget Active wh .PP .PP -See also QIconFactory, QPixmap, QMainWindow::usesBigPixmaps, GUI Design Handbook: Iconic Label, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. +See also TQIconFactory, QPixmap, QMainWindow::usesBigPixmaps, GUI Design Handbook: Iconic Label, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. .SS "Member Type Documentation" -.SH "QIconSet::Mode" +.SH "TQIconSet::Mode" This enum type describes the mode for which a pixmap is intended to be used. The currently defined modes are: .TP -\fCQIconSet::Normal\fR - Display the pixmap when the user is not interacting with the icon, but the functionality represented by the icon is available. +\fCTQIconSet::Normal\fR - Display the pixmap when the user is not interacting with the icon, but the functionality represented by the icon is available. .TP -\fCQIconSet::Disabled\fR - Display the pixmap when the functionality represented by the icon is not available. +\fCTQIconSet::Disabled\fR - Display the pixmap when the functionality represented by the icon is not available. .TP -\fCQIconSet::Active\fR - Display the pixmap when the functionality represented by the icon is available and the user is interacting with the icon, for example, moving the mouse over it or clicking it. -.SH "QIconSet::Size" +\fCTQIconSet::Active\fR - Display the pixmap when the functionality represented by the icon is available and the user is interacting with the icon, for example, moving the mouse over it or clicking it. +.SH "TQIconSet::Size" This enum type describes the size at which a pixmap is intended to be used. The currently defined sizes are: .TP -\fCQIconSet::Automatic\fR - The size of the pixmap is determined from its pixel size. This is a useful default. +\fCTQIconSet::Automatic\fR - The size of the pixmap is determined from its pixel size. This is a useful default. .TP -\fCQIconSet::Small\fR - The pixmap is the smaller of two. +\fCTQIconSet::Small\fR - The pixmap is the smaller of two. .TP -\fCQIconSet::Large\fR - The pixmap is the larger of two. +\fCTQIconSet::Large\fR - The pixmap is the larger of two. .PP -If a Small pixmap is not set by QIconSet::setPixmap(), the Large pixmap will be automatically scaled down to the size of a small pixmap to generate the Small pixmap when required. Similarly, a Small pixmap will be automatically scaled up to generate a Large pixmap. The preferred sizes for large/small generated icons can be set using setIconSize(). +If a Small pixmap is not set by TQIconSet::setPixmap(), the Large pixmap will be automatically scaled down to the size of a small pixmap to generate the Small pixmap when required. Similarly, a Small pixmap will be automatically scaled up to generate a Large pixmap. The preferred sizes for large/small generated icons can be set using setIconSize(). .PP See also setIconSize(), iconSize(), setPixmap(), pixmap(), and QMainWindow::usesBigPixmaps. -.SH "QIconSet::State" +.SH "TQIconSet::State" This enum describes the state for which a pixmap is intended to be used. The \fIstate\fR can be: .TP -\fCQIconSet::Off\fR - Display the pixmap when the widget is in an "off" state +\fCTQIconSet::Off\fR - Display the pixmap when the widget is in an "off" state .TP -\fCQIconSet::On\fR - Display the pixmap when the widget is in an "on" state +\fCTQIconSet::On\fR - Display the pixmap when the widget is in an "on" state .PP See also setPixmap() and pixmap(). .SH MEMBER FUNCTION DOCUMENTATION -.SH "QIconSet::QIconSet ()" +.SH "TQIconSet::TQIconSet ()" Constructs a null icon set. .PP See also setPixmap() and reset(). -.SH "QIconSet::QIconSet ( const QPixmap & pixmap, Size size = Automatic )" +.SH "TQIconSet::TQIconSet ( const QPixmap & pixmap, Size size = Automatic )" Constructs an icon set for which the Normal pixmap is \fIpixmap\fR, which is assumed to be of size \fIsize\fR. .PP -The default for \fIsize\fR is Automatic, which means that QIconSet will determine whether the pixmap is Small or Large from its pixel size. Pixmaps less than the width of a small generated icon are considered to be Small. You can use setIconSize() to set the preferred size of a generated icon. +The default for \fIsize\fR is Automatic, which means that TQIconSet will determine whether the pixmap is Small or Large from its pixel size. Pixmaps less than the width of a small generated icon are considered to be Small. You can use setIconSize() to set the preferred size of a generated icon. .PP See also setIconSize() and reset(). -.SH "QIconSet::QIconSet ( const QPixmap & smallPix, const QPixmap & largePix )" +.SH "TQIconSet::TQIconSet ( const QPixmap & smallPix, const QPixmap & largePix )" Creates an iconset which uses the pixmap \fIsmallPix\fR for for displaying a small icon, and the pixmap \fIlargePix\fR for displaying a large icon. -.SH "QIconSet::QIconSet ( const QIconSet & other )" +.SH "TQIconSet::TQIconSet ( const TQIconSet & other )" Constructs a copy of \fIother\fR. This is very fast. -.SH "QIconSet::~QIconSet ()\fC [virtual]\fR" +.SH "TQIconSet::~TQIconSet ()\fC [virtual]\fR" Destroys the icon set and frees any allocated resources. -.SH "void QIconSet::clearGenerated ()" -Clears all cached pixmaps, including those obtained from an eventual QIconFactory. -.SH "void QIconSet::detach ()" +.SH "void TQIconSet::clearGenerated ()" +Clears all cached pixmaps, including those obtained from an eventual TQIconFactory. +.SH "void TQIconSet::detach ()" Detaches this icon set from others with which it may share data. .PP -You will never need to call this function; other QIconSet functions call it as necessary. -.SH "const QSize & QIconSet::iconSize ( Size which )\fC [static]\fR" +You will never need to call this function; other TQIconSet functions call it as necessary. +.SH "const QSize & TQIconSet::iconSize ( Size which )\fC [static]\fR" If \fIwhich\fR is Small, returns the preferred size of a small generated icon; if \fIwhich\fR is Large, returns the preferred size of a large generated icon. .PP See also setIconSize(). -.SH "void QIconSet::installIconFactory ( QIconFactory * factory )" +.SH "void TQIconSet::installIconFactory ( TQIconFactory * factory )" Installs \fIfactory\fR as the icon factory for this iconset. The icon factory is used to generates pixmaps not set by the user. .PP -If no icon factory is installed, QIconFactory::defaultFactory() is used. -.SH "bool QIconSet::isGenerated ( Size size, Mode mode, State state = Off ) const" +If no icon factory is installed, TQIconFactory::defaultFactory() is used. +.SH "bool TQIconSet::isGenerated ( Size size, Mode mode, State state = Off ) const" Returns TRUE if the pixmap with size \fIsize\fR, mode \fImode\fR and state \fIstate\fR is generated from other pixmaps; otherwise returns FALSE. .PP -A pixmap obtained from a QIconFactory is considered non-generated. -.SH "bool QIconSet::isNull () const" +A pixmap obtained from a TQIconFactory is considered non-generated. +.SH "bool TQIconSet::isNull () const" Returns TRUE if the icon set is empty; otherwise returns FALSE. -.SH "QIconSet & QIconSet::operator= ( const QIconSet & other )" +.SH "TQIconSet & TQIconSet::operator= ( const TQIconSet & other )" Assigns \fIother\fR to this icon set and returns a reference to this icon set. .PP See also detach(). -.SH "QPixmap QIconSet::pixmap ( Size size, Mode mode, State state = Off ) const" +.SH "QPixmap TQIconSet::pixmap ( Size size, Mode mode, State state = Off ) const" Returns a pixmap with size \fIsize\fR, mode \fImode\fR and state \fIstate\fR, generating one if necessary. Generated pixmaps are cached. -.SH "QPixmap QIconSet::pixmap ( Size size, bool enabled, State state = Off ) const" +.SH "QPixmap TQIconSet::pixmap ( Size size, bool enabled, State state = Off ) 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 This is the same as pixmap(\fIsize\fR, \fIenabled\fR, \fIstate\fR). -.SH "QPixmap QIconSet::pixmap () const" +.SH "QPixmap TQIconSet::pixmap () const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the pixmap originally provided to the constructor or to reset(). This is the Normal pixmap of unspecified Size. .PP See also reset(). -.SH "void QIconSet::reset ( const QPixmap & pixmap, Size size )" +.SH "void TQIconSet::reset ( const QPixmap & pixmap, Size size )" Sets this icon set to use pixmap \fIpixmap\fR for the Normal pixmap, assuming it to be of size \fIsize\fR. .PP -This is equivalent to assigning QIconSet(\fIpixmap\fR, \fIsize\fR) to this icon set. +This is equivalent to assigning TQIconSet(\fIpixmap\fR, \fIsize\fR) to this icon set. .PP This function does nothing if \fIpixmap\fR is a null pixmap. -.SH "void QIconSet::setIconSize ( Size which, const QSize & size )\fC [static]\fR" +.SH "void TQIconSet::setIconSize ( Size which, const QSize & size )\fC [static]\fR" Set the preferred size for all small or large icons that are generated after this call. If \fIwhich\fR is Small, sets the preferred size of small generated icons to \fIsize\fR. Similarly, if \fIwhich\fR is Large, sets the preferred size of large generated icons to \fIsize\fR. .PP Note that cached icons will not be regenerated, so it is recommended that you set the preferred icon sizes before generating any icon sets. Also note that the preferred icon sizes will be ignored for icon sets that have been created using both small and large pixmaps. .PP See also iconSize(). -.SH "void QIconSet::setPixmap ( const QPixmap & pixmap, Size size, Mode mode = Normal, State state = Off )\fC [virtual]\fR" +.SH "void TQIconSet::setPixmap ( const QPixmap & pixmap, Size size, Mode mode = Normal, State state = Off )\fC [virtual]\fR" Sets this icon set to provide pixmap \fIpixmap\fR for size \fIsize\fR, mode \fImode\fR and state \fIstate\fR. The icon set may also use \fIpixmap\fR for generating other pixmaps if they are not explicitly set. .PP -The \fIsize\fR can be one of Automatic, Large or Small. If Automatic is used, QIconSet will determine if the pixmap is Small or Large from its pixel size. +The \fIsize\fR can be one of Automatic, Large or Small. If Automatic is used, TQIconSet will determine if the pixmap is Small or Large from its pixel size. .PP Pixmaps less than the width of a small generated icon are considered to be Small. You can use setIconSize() to set the preferred size of a generated icon. .PP This function does nothing if \fIpixmap\fR is a null pixmap. .PP See also reset(). -.SH "void QIconSet::setPixmap ( const TQString & fileName, Size size, Mode mode = Normal, State state = Off )\fC [virtual]\fR" +.SH "void TQIconSet::setPixmap ( const TQString & fileName, Size size, Mode mode = Normal, State state = Off )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP The pixmap is loaded from \fIfileName\fR when it becomes necessary. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqiconset.html +.BR http://doc.trolltech.com/tqiconset.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/tqiconview.3qt b/doc/man/man3/tqiconview.3qt index 73473bfc4..e52c5d7ef 100644 --- a/doc/man/man3/tqiconview.3qt +++ b/doc/man/man3/tqiconview.3qt @@ -1,5 +1,5 @@ '\" t -.TH QIconView 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQIconView 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,9 +7,9 @@ .ad l .nh .SH NAME -QIconView \- Area with movable labelled icons +TQIconView \- Area with movable labelled icons .SH SYNOPSIS -\fC#include \fR +\fC#include \fR .PP Inherits QScrollView. .PP @@ -28,34 +28,34 @@ Inherits QScrollView. .BI "enum \fBItemTextPos\fR { Bottom = 0, Right }" .br .ti -1c -.BI "\fBQIconView\fR ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )" +.BI "\fBTQIconView\fR ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )" .br .ti -1c -.BI "virtual \fB~QIconView\fR ()" +.BI "virtual \fB~TQIconView\fR ()" .br .ti -1c -.BI "virtual void \fBinsertItem\fR ( QIconViewItem * item, QIconViewItem * after = 0L )" +.BI "virtual void \fBinsertItem\fR ( TQIconViewItem * item, TQIconViewItem * after = 0L )" .br .ti -1c -.BI "virtual void \fBtakeItem\fR ( QIconViewItem * item )" +.BI "virtual void \fBtakeItem\fR ( TQIconViewItem * item )" .br .ti -1c -.BI "int \fBindex\fR ( const QIconViewItem * item ) const" +.BI "int \fBindex\fR ( const TQIconViewItem * item ) const" .br .ti -1c -.BI "QIconViewItem * \fBfirstItem\fR () const" +.BI "TQIconViewItem * \fBfirstItem\fR () const" .br .ti -1c -.BI "QIconViewItem * \fBlastItem\fR () const" +.BI "TQIconViewItem * \fBlastItem\fR () const" .br .ti -1c -.BI "QIconViewItem * \fBcurrentItem\fR () const" +.BI "TQIconViewItem * \fBcurrentItem\fR () const" .br .ti -1c -.BI "virtual void \fBsetCurrentItem\fR ( QIconViewItem * item )" +.BI "virtual void \fBsetCurrentItem\fR ( TQIconViewItem * item )" .br .ti -1c -.BI "virtual void \fBsetSelected\fR ( QIconViewItem * item, bool s, bool cb = FALSE )" +.BI "virtual void \fBsetSelected\fR ( TQIconViewItem * item, bool s, bool cb = FALSE )" .br .ti -1c .BI "uint \fBcount\fR () const" @@ -67,10 +67,10 @@ Inherits QScrollView. .BI "SelectionMode \fBselectionMode\fR () const" .br .ti -1c -.BI "QIconViewItem * \fBfindItem\fR ( const QPoint & pos ) const" +.BI "TQIconViewItem * \fBfindItem\fR ( const QPoint & pos ) const" .br .ti -1c -.BI "QIconViewItem * \fBfindItem\fR ( const TQString & text, ComparisonFlags compare = BeginsWith ) const" +.BI "TQIconViewItem * \fBfindItem\fR ( const TQString & text, ComparisonFlags compare = BeginsWith ) const" .br .ti -1c .BI "virtual void \fBselectAll\fR ( bool select )" @@ -82,19 +82,19 @@ Inherits QScrollView. .BI "virtual void \fBinvertSelection\fR ()" .br .ti -1c -.BI "virtual void \fBrepaintItem\fR ( QIconViewItem * item )" +.BI "virtual void \fBrepaintItem\fR ( TQIconViewItem * item )" .br .ti -1c .BI "void \fBrepaintSelectedItems\fR ()" .br .ti -1c -.BI "void \fBensureItemVisible\fR ( QIconViewItem * item )" +.BI "void \fBensureItemVisible\fR ( TQIconViewItem * item )" .br .ti -1c -.BI "QIconViewItem * \fBfindFirstVisibleItem\fR ( const QRect & r ) const" +.BI "TQIconViewItem * \fBfindFirstVisibleItem\fR ( const QRect & r ) const" .br .ti -1c -.BI "QIconViewItem * \fBfindLastVisibleItem\fR ( const QRect & r ) const" +.BI "TQIconViewItem * \fBfindLastVisibleItem\fR ( const QRect & r ) const" .br .ti -1c .BI "virtual void \fBclear\fR ()" @@ -208,61 +208,61 @@ Inherits QScrollView. .BI "void \fBselectionChanged\fR ()" .br .ti -1c -.BI "void \fBselectionChanged\fR ( QIconViewItem * item )" +.BI "void \fBselectionChanged\fR ( TQIconViewItem * item )" .br .ti -1c -.BI "void \fBcurrentChanged\fR ( QIconViewItem * item )" +.BI "void \fBcurrentChanged\fR ( TQIconViewItem * item )" .br .ti -1c -.BI "void \fBclicked\fR ( QIconViewItem * item )" +.BI "void \fBclicked\fR ( TQIconViewItem * item )" .br .ti -1c -.BI "void \fBclicked\fR ( QIconViewItem * item, const QPoint & pos )" +.BI "void \fBclicked\fR ( TQIconViewItem * item, const QPoint & pos )" .br .ti -1c -.BI "void \fBpressed\fR ( QIconViewItem * item )" +.BI "void \fBpressed\fR ( TQIconViewItem * item )" .br .ti -1c -.BI "void \fBpressed\fR ( QIconViewItem * item, const QPoint & pos )" +.BI "void \fBpressed\fR ( TQIconViewItem * item, const QPoint & pos )" .br .ti -1c -.BI "void \fBdoubleClicked\fR ( QIconViewItem * item )" +.BI "void \fBdoubleClicked\fR ( TQIconViewItem * item )" .br .ti -1c -.BI "void \fBreturnPressed\fR ( QIconViewItem * item )" +.BI "void \fBreturnPressed\fR ( TQIconViewItem * item )" .br .ti -1c -.BI "void \fBrightButtonClicked\fR ( QIconViewItem * item, const QPoint & pos )" +.BI "void \fBrightButtonClicked\fR ( TQIconViewItem * item, const QPoint & pos )" .br .ti -1c -.BI "void \fBrightButtonPressed\fR ( QIconViewItem * item, const QPoint & pos )" +.BI "void \fBrightButtonPressed\fR ( TQIconViewItem * item, const QPoint & pos )" .br .ti -1c -.BI "void \fBmouseButtonPressed\fR ( int button, QIconViewItem * item, const QPoint & pos )" +.BI "void \fBmouseButtonPressed\fR ( int button, TQIconViewItem * item, const QPoint & pos )" .br .ti -1c -.BI "void \fBmouseButtonClicked\fR ( int button, QIconViewItem * item, const QPoint & pos )" +.BI "void \fBmouseButtonClicked\fR ( int button, TQIconViewItem * item, const QPoint & pos )" .br .ti -1c -.BI "void \fBcontextMenuRequested\fR ( QIconViewItem * item, const QPoint & pos )" +.BI "void \fBcontextMenuRequested\fR ( TQIconViewItem * item, const QPoint & pos )" .br .ti -1c -.BI "void \fBdropped\fR ( QDropEvent * e, const TQValueList & lst )" +.BI "void \fBdropped\fR ( QDropEvent * e, const TQValueList & lst )" .br .ti -1c .BI "void \fBmoved\fR ()" .br .ti -1c -.BI "void \fBonItem\fR ( QIconViewItem * item )" +.BI "void \fBonItem\fR ( TQIconViewItem * item )" .br .ti -1c .BI "void \fBonViewport\fR ()" .br .ti -1c -.BI "void \fBitemRenamed\fR ( QIconViewItem * item, const TQString & name )" +.BI "void \fBitemRenamed\fR ( TQIconViewItem * item, const TQString & name )" .br .ti -1c -.BI "void \fBitemRenamed\fR ( QIconViewItem * item )" +.BI "void \fBitemRenamed\fR ( TQIconViewItem * item )" .br .in -1c .SS "Properties" @@ -331,16 +331,16 @@ Inherits QScrollView. .BI "virtual void \fBstartDrag\fR ()" .br .ti -1c -.BI "virtual void \fBinsertInGrid\fR ( QIconViewItem * item )" +.BI "virtual void \fBinsertInGrid\fR ( TQIconViewItem * item )" .br .ti -1c .BI "virtual void \fBdrawBackground\fR ( QPainter * p, const QRect & r )" .br .ti -1c -.BI "void \fBemitSelectionChanged\fR ( QIconViewItem * i = 0 )" +.BI "void \fBemitSelectionChanged\fR ( TQIconViewItem * i = 0 )" .br .ti -1c -.BI "QIconViewItem * \fBmakeRowLayout\fR ( QIconViewItem * begin, int & y, bool & changed )" +.BI "TQIconViewItem * \fBmakeRowLayout\fR ( TQIconViewItem * begin, int & y, bool & changed )" .br .in -1c .SS "Protected Slots" @@ -356,23 +356,23 @@ Inherits QScrollView. .br .in -1c .SH DESCRIPTION -The QIconView class provides an area with movable labelled icons. +The TQIconView class provides an area with movable labelled icons. .PP -A QIconView can display and manage a grid or other 2D layout of labelled icons. Each labelled icon is a QIconViewItem. Items (QIconViewItems) can be added or deleted at any time; items can be moved within the QIconView. Single or multiple items can be selected. Items can be renamed in-place. QIconView also supports drag and drop. +A TQIconView can display and manage a grid or other 2D layout of labelled icons. Each labelled icon is a TQIconViewItem. Items (TQIconViewItems) can be added or deleted at any time; items can be moved within the TQIconView. Single or multiple items can be selected. Items can be renamed in-place. TQIconView also supports drag and drop. .PP Each item contains a label string, a pixmap or picture (the icon itself) and optionally a sort key. The sort key is used for sorting the items and defaults to the label string. The label string can be displayed below or to the right of the icon (see ItemTextPos). .PP -The simplest way to create a QIconView is to create a QIconView object and create some QIconViewItems with the QIconView as their parent, set the icon view's geometry and show it. For example: +The simplest way to create a TQIconView is to create a TQIconView object and create some TQIconViewItems with the TQIconView as their parent, set the icon view's geometry and show it. For example: .PP .nf .br - QIconView *iv = new QIconView( this ); + TQIconView *iv = new TQIconView( this ); .br QDir dir( path, "*.xpm" ); .br for ( uint i = 0; i < dir.count(); i++ ) { .br - (void) new QIconViewItem( iv, dir[i], QPixmap( path + dir[i] ) ); + (void) new TQIconViewItem( iv, dir[i], QPixmap( path + dir[i] ) ); .br } .br @@ -382,40 +382,40 @@ The simplest way to create a QIconView is to create a QIconView object and creat .br .fi .PP -The QIconViewItem call passes a pointer to the QIconView we wish to populate, along with the label text and a QPixmap. +The TQIconViewItem call passes a pointer to the TQIconView we wish to populate, along with the label text and a QPixmap. .PP -When an item is inserted the QIconView allocates a position for it. Existing items are rearranged if autoArrange() is TRUE. The default arrangement is LeftToRight -- the QIconView fills up the \fIleft-most\fR column from top to bottom, then moves one column \fIright\fR and fills that from top to bottom and so on. The arrangement can be modified with any of the following approaches: +When an item is inserted the TQIconView allocates a position for it. Existing items are rearranged if autoArrange() is TRUE. The default arrangement is LeftToRight -- the TQIconView fills up the \fIleft-most\fR column from top to bottom, then moves one column \fIright\fR and fills that from top to bottom and so on. The arrangement can be modified with any of the following approaches: .TP Call setArrangement(), e.g. with TopToBottom which will fill the \fItop-most\fR row from left to right, then moves one row \fIdown\fR and fills that row from left to right and so on. .TP -Construct each QIconViewItem using a constructor which allows you to specify which item the new one is to follow. +Construct each TQIconViewItem using a constructor which allows you to specify which item the new one is to follow. .TP Call setSorting() or sort() to sort the items. .PP -The spacing between items is set with setSpacing(). Items can be laid out using a fixed grid using setGridX() and setGridY(); by default the QIconView calculates a grid dynamically. The position of items' label text is set with setItemTextPos(). The text's background can be set with setItemTextBackground(). The maximum width of an item and of its text are set with setMaxItemWidth() and setMaxItemTextLength(). The label text will be word-wrapped if it is too long; this is controlled by setWordWrapIconText(). If the label text is truncated, the user can still see the entire text in a tool tip if they hover the mouse over the item. This is controlled with setShowToolTips(). +The spacing between items is set with setSpacing(). Items can be laid out using a fixed grid using setGridX() and setGridY(); by default the TQIconView calculates a grid dynamically. The position of items' label text is set with setItemTextPos(). The text's background can be set with setItemTextBackground(). The maximum width of an item and of its text are set with setMaxItemWidth() and setMaxItemTextLength(). The label text will be word-wrapped if it is too long; this is controlled by setWordWrapIconText(). If the label text is truncated, the user can still see the entire text in a tool tip if they hover the mouse over the item. This is controlled with setShowToolTips(). .PP -Items which are selectable may be selected depending on the SelectionMode; the default is Single. Because QIconView offers multiple selection it must display keyboard focus and selection state separately. Therefore there are functions to set the selection state of an item (setSelected()) and to select which item displays keyboard focus (setCurrentItem()). When multiple items may be selected the icon view provides a rubberband, too. +Items which are selectable may be selected depending on the SelectionMode; the default is Single. Because TQIconView offers multiple selection it must display keyboard focus and selection state separately. Therefore there are functions to set the selection state of an item (setSelected()) and to select which item displays keyboard focus (setCurrentItem()). When multiple items may be selected the icon view provides a rubberband, too. .PP -When in-place renaming is enabled (it is disabled by default), the user may change the item's label. They do this by selecting the item (single clicking it or navigating to it with the arrow keys), then single clicking it (or pressing F2), and entering their text. If no key has been set with QIconViewItem::setKey() the new text will also serve as the key. (See QIconViewItem::setRenameEnabled().) +When in-place renaming is enabled (it is disabled by default), the user may change the item's label. They do this by selecting the item (single clicking it or navigating to it with the arrow keys), then single clicking it (or pressing F2), and entering their text. If no key has been set with TQIconViewItem::setKey() the new text will also serve as the key. (See TQIconViewItem::setRenameEnabled().) .PP You can control whether users can move items themselves with setItemsMovable(). .PP -Because the internal structure used to store the icon view items is linear, no iterator class is needed to iterate over all the items. Instead we iterate by getting the first item from the \fIicon view\fR and then each subsequent (QIconViewItem::nextItem()) from each \fIitem\fR in turn: +Because the internal structure used to store the icon view items is linear, no iterator class is needed to iterate over all the items. Instead we iterate by getting the first item from the \fIicon view\fR and then each subsequent (TQIconViewItem::nextItem()) from each \fIitem\fR in turn: .PP .nf .br - for ( QIconViewItem *item = iv->firstItem(); item; item = item->nextItem() ) + for ( TQIconViewItem *item = iv->firstItem(); item; item = item->nextItem() ) .br do_something( item ); .br .fi -QIconView also provides currentItem(). You can search for an item using findItem() (searching by position or for label text) and with findFirstVisibleItem() and findLastVisibleItem(). The number of items is returned by count(). An item can be removed from an icon view using takeItem(); to delete an item use \fCdelete\fR. All the items can be deleted with clear(). +TQIconView also provides currentItem(). You can search for an item using findItem() (searching by position or for label text) and with findFirstVisibleItem() and findLastVisibleItem(). The number of items is returned by count(). An item can be removed from an icon view using takeItem(); to delete an item use \fCdelete\fR. All the items can be deleted with clear(). .PP -The QIconView emits a wide range of useful signals, including selectionChanged(), currentChanged(), clicked(), moved() and itemRenamed(). +The TQIconView emits a wide range of useful signals, including selectionChanged(), currentChanged(), clicked(), moved() and itemRenamed(). .SH "Drag and Drop" -QIconView supports the drag and drop of items within the QIconView itself. It also supports the drag and drop of items out of or into the QIconView and drag and drop onto items themselves. The drag and drop of items outside the QIconView can be achieved in a simple way with basic functionality, or in a more sophisticated way which provides more power and control. +TQIconView supports the drag and drop of items within the TQIconView itself. It also supports the drag and drop of items out of or into the TQIconView and drag and drop onto items themselves. The drag and drop of items outside the TQIconView can be achieved in a simple way with basic functionality, or in a more sophisticated way which provides more power and control. .PP -The simple approach to dragging items out of the icon view is to subclass QIconView and reimplement QIconView::dragObject(). +The simple approach to dragging items out of the icon view is to subclass TQIconView and reimplement TQIconView::dragObject(). .PP .nf .br @@ -431,7 +431,7 @@ The simple approach to dragging items out of the icon view is to subclass QIconV .PP In this example we create a TQTextDrag object, (derived from QDragObject), containing the item's label and return it as the drag object. We could just as easily have created a TQImageDrag from the item's pixmap and returned that instead. .PP -QIconViews and their QIconViewItems can also be the targets of drag and drops. To make the QIconView itself able to accept drops connect to the dropped() signal. When a drop occurs this signal will be emitted with a QDragEvent and a TQValueList of QIconDragItems. To make a QIconViewItem into a drop target subclass QIconViewItem and reimplement QIconViewItem::acceptDrop() and QIconViewItem::dropped(). +TQIconViews and their TQIconViewItems can also be the targets of drag and drops. To make the TQIconView itself able to accept drops connect to the dropped() signal. When a drop occurs this signal will be emitted with a QDragEvent and a TQValueList of TQIconDragItems. To make a TQIconViewItem into a drop target subclass TQIconViewItem and reimplement TQIconViewItem::acceptDrop() and TQIconViewItem::dropped(). .PP .nf .br @@ -448,7 +448,7 @@ QIconViews and their QIconViewItems can also be the targets of drag and drops. T } .br .br - void MyIconViewItem::dropped( QDropEvent *evt, const TQValueList& ) + void MyIconViewItem::dropped( QDropEvent *evt, const TQValueList& ) .br { .br @@ -462,17 +462,17 @@ QIconViews and their QIconViewItems can also be the targets of drag and drops. T .br .fi .PP -See iconview/simple_dd/main.h and iconview/simple_dd/main.cpp for a simple drag and drop example which demonstrates drag and drop between a QIconView and a QListBox. +See iconview/simple_dd/main.h and iconview/simple_dd/main.cpp for a simple drag and drop example which demonstrates drag and drop between a TQIconView and a QListBox. .PP If you want to use extended drag-and-drop or have drag shapes drawn you must take a more sophisticated approach. .PP -The first part is starting drags -- you should use a QIconDrag (or a class derived from it) for the drag object. In dragObject() create the drag object, populate it with QIconDragItems and return it. Normally such a drag should offer each selected item's data. So in dragObject() you should iterate over all the items, and create a QIconDragItem for each selected item, and append these items with QIconDrag::append() to the QIconDrag object. You can use QIconDragItem::setData() to set the data of each item that should be dragged. If you want to offer the data in additional mime-types, it's best to use a class derived from QIconDrag, which implements additional encoding and decoding functions. +The first part is starting drags -- you should use a TQIconDrag (or a class derived from it) for the drag object. In dragObject() create the drag object, populate it with TQIconDragItems and return it. Normally such a drag should offer each selected item's data. So in dragObject() you should iterate over all the items, and create a TQIconDragItem for each selected item, and append these items with TQIconDrag::append() to the TQIconDrag object. You can use TQIconDragItem::setData() to set the data of each item that should be dragged. If you want to offer the data in additional mime-types, it's best to use a class derived from TQIconDrag, which implements additional encoding and decoding functions. .PP -When a drag enters the icon view, there is little to do. Simply connect to the dropped() signal and reimplement QIconViewItem::acceptDrop() and QIconViewItem::dropped(). If you've used a QIconDrag (or a subclass of it) the second argument to the dropped signal contains a TQValueList of QIconDragItems -- you can access their data by calling QIconDragItem::data() on each one. +When a drag enters the icon view, there is little to do. Simply connect to the dropped() signal and reimplement TQIconViewItem::acceptDrop() and TQIconViewItem::dropped(). If you've used a TQIconDrag (or a subclass of it) the second argument to the dropped signal contains a TQValueList of TQIconDragItems -- you can access their data by calling TQIconDragItem::data() on each one. .PP For an example implementation of complex drag-and-drop look at the fileiconview example (qt/examples/fileiconview). .PP -See also QIconViewItem::setDragEnabled(), QIconViewItem::setDropEnabled(), QIconViewItem::acceptDrop(), QIconViewItem::dropped(), and Advanced Widgets. +See also TQIconViewItem::setDragEnabled(), TQIconViewItem::setDropEnabled(), TQIconViewItem::acceptDrop(), TQIconViewItem::dropped(), and Advanced Widgets. .PP .ce 1 .B "[Image Omitted]" @@ -482,50 +482,50 @@ See also QIconViewItem::setDragEnabled(), QIconViewItem::setDropEnabled(), QIcon .B "[Image Omitted]" .PP .SS "Member Type Documentation" -.SH "QIconView::Arrangement" +.SH "TQIconView::Arrangement" This enum type determines in which direction the items flow when the view runs out of space. .TP -\fCQIconView::LeftToRight\fR - Items which don't fit into the view cause the viewport to extend vertically (you get a vertical scrollbar). +\fCTQIconView::LeftToRight\fR - Items which don't fit into the view cause the viewport to extend vertically (you get a vertical scrollbar). .TP -\fCQIconView::TopToBottom\fR - Items which don't fit into the view cause the viewport to extend horizontally (you get a horizontal scrollbar). -.SH "QIconView::ItemTextPos" +\fCTQIconView::TopToBottom\fR - Items which don't fit into the view cause the viewport to extend horizontally (you get a horizontal scrollbar). +.SH "TQIconView::ItemTextPos" This enum type specifies the position of the item text in relation to the icon. .TP -\fCQIconView::Bottom\fR - The text is drawn below the icon. +\fCTQIconView::Bottom\fR - The text is drawn below the icon. .TP -\fCQIconView::Right\fR - The text is drawn to the right of the icon. -.SH "QIconView::ResizeMode" -This enum type is used to tell QIconView how it should treat the positions of its icons when the widget is resized. The modes are: +\fCTQIconView::Right\fR - The text is drawn to the right of the icon. +.SH "TQIconView::ResizeMode" +This enum type is used to tell TQIconView how it should treat the positions of its icons when the widget is resized. The modes are: .TP -\fCQIconView::Fixed\fR - The icons' positions are not changed. +\fCTQIconView::Fixed\fR - The icons' positions are not changed. .TP -\fCQIconView::Adjust\fR - The icons' positions are adjusted to be within the new geometry, if possible. -.SH "QIconView::SelectionMode" -This enumerated type is used by QIconView to indicate how it reacts to selection by the user. It has four values: +\fCTQIconView::Adjust\fR - The icons' positions are adjusted to be within the new geometry, if possible. +.SH "TQIconView::SelectionMode" +This enumerated type is used by TQIconView to indicate how it reacts to selection by the user. It has four values: .TP -\fCQIconView::Single\fR - When the user selects an item, any already-selected item becomes unselected and the user cannot unselect the selected item. This means that the user can never clear the selection. (The application programmer can, using QIconView::clearSelection().) +\fCTQIconView::Single\fR - When the user selects an item, any already-selected item becomes unselected and the user cannot unselect the selected item. This means that the user can never clear the selection. (The application programmer can, using TQIconView::clearSelection().) .TP -\fCQIconView::Multi\fR - When the user selects an item, e.g. by navigating to it with the keyboard arrow keys or by clicking it, the selection status of that item is toggled and the other items are left alone. Also, multiple items can be selected by dragging the mouse while the left mouse button stays pressed. +\fCTQIconView::Multi\fR - When the user selects an item, e.g. by navigating to it with the keyboard arrow keys or by clicking it, the selection status of that item is toggled and the other items are left alone. Also, multiple items can be selected by dragging the mouse while the left mouse button stays pressed. .TP -\fCQIconView::Extended\fR - When the user selects an item the selection is cleared and the new item selected. However, if the user presses the Ctrl key when clicking on an item, the clicked item gets toggled and all other items are left untouched. If the user presses the Shift key while clicking on an item, all items between the current item and the clicked item get selected or unselected, depending on the state of the clicked item. Also, multiple items can be selected by dragging the mouse while the left mouse button stays pressed. +\fCTQIconView::Extended\fR - When the user selects an item the selection is cleared and the new item selected. However, if the user presses the Ctrl key when clicking on an item, the clicked item gets toggled and all other items are left untouched. If the user presses the Shift key while clicking on an item, all items between the current item and the clicked item get selected or unselected, depending on the state of the clicked item. Also, multiple items can be selected by dragging the mouse while the left mouse button stays pressed. .TP -\fCQIconView::NoSelection\fR - Items cannot be selected. +\fCTQIconView::NoSelection\fR - Items cannot be selected. .PP To summarise: Single is a real single-selection icon view; Multi a real multi-selection icon view; Extended is an icon view in which users can select multiple items but usually want to select either just one or a range of contiguous items; and NoSelection mode is for an icon view where the user can look but not touch. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QIconView::QIconView ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )" +.SH "TQIconView::TQIconView ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )" Constructs an empty icon view called \fIname\fR, with parent \fIparent\fR and using the widget flags \fIf\fR. -.SH "QIconView::~QIconView ()\fC [virtual]\fR" +.SH "TQIconView::~TQIconView ()\fC [virtual]\fR" Destroys the icon view and deletes all items. -.SH "void QIconView::adjustItems ()\fC [virtual protected slot]\fR" +.SH "void TQIconView::adjustItems ()\fC [virtual protected slot]\fR" Adjusts the positions of the items to the geometry of the icon view. -.SH "void QIconView::arrangeItemsInGrid ( const QSize & grid, bool update = TRUE )\fC [virtual slot]\fR" +.SH "void TQIconView::arrangeItemsInGrid ( const QSize & grid, bool update = TRUE )\fC [virtual slot]\fR" This variant uses \fIgrid\fR instead of (gridX(), gridY()). If \fIgrid\fR is invalid (see QSize::isValid()), arrangeItemsInGrid() calculates a valid grid itself and uses that. .PP If \fIupdate\fR is TRUE (the default) the viewport is repainted. .PP Example: fileiconview/qfileiconview.h. -.SH "void QIconView::arrangeItemsInGrid ( bool update = TRUE )\fC [virtual slot]\fR" +.SH "void TQIconView::arrangeItemsInGrid ( bool update = TRUE )\fC [virtual slot]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Arranges all the items in the grid given by gridX() and gridY(). @@ -534,20 +534,20 @@ Even if sorting() is enabled, the items are not sorted by this function. If you .PP If \fIupdate\fR is TRUE (the default), the viewport is repainted as well. .PP -See also QIconView::gridX, QIconView::gridY, and QIconView::sort(). -.SH "Arrangement QIconView::arrangement () const" +See also TQIconView::gridX, TQIconView::gridY, and TQIconView::sort(). +.SH "Arrangement TQIconView::arrangement () const" Returns the arrangement mode of the icon view. See the "arrangement" property for details. -.SH "bool QIconView::autoArrange () const" +.SH "bool TQIconView::autoArrange () const" Returns TRUE if the icon view rearranges its items when a new item is inserted; otherwise returns FALSE. See the "autoArrange" property for details. -.SH "void QIconView::clear ()\fC [virtual]\fR" +.SH "void TQIconView::clear ()\fC [virtual]\fR" Clears the icon view. All items are deleted. -.SH "void QIconView::clearSelection ()\fC [virtual]\fR" +.SH "void TQIconView::clearSelection ()\fC [virtual]\fR" Unselects all the items. -.SH "void QIconView::clicked ( QIconViewItem * item )\fC [signal]\fR" +.SH "void TQIconView::clicked ( TQIconViewItem * item )\fC [signal]\fR" This signal is emitted when the user clicks any mouse button. If \fIitem\fR is non-null, the cursor is on \fIitem\fR. If \fIitem\fR is null, the mouse cursor isn't on any item. .PP See also mouseButtonClicked(), rightButtonClicked(), and pressed(). -.SH "void QIconView::clicked ( QIconViewItem * item, const QPoint & pos )\fC [signal]\fR" +.SH "void TQIconView::clicked ( TQIconViewItem * item, const QPoint & pos )\fC [signal]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This signal is emitted when the user clicks any mouse button on an icon view item. \fIitem\fR is a pointer to the item that has been clicked. @@ -555,153 +555,153 @@ This signal is emitted when the user clicks any mouse button on an icon view ite \fIpos\fR is the position of the mouse cursor in the global coordinate system (QMouseEvent::globalPos()). (If the click's press and release differ by a pixel or two, \fIpos\fR is the position at release time.) .PP See also mouseButtonClicked(), rightButtonClicked(), and pressed(). -.SH "void QIconView::contextMenuRequested ( QIconViewItem * item, const QPoint & pos )\fC [signal]\fR" +.SH "void TQIconView::contextMenuRequested ( TQIconViewItem * item, const QPoint & pos )\fC [signal]\fR" This signal is emitted when the user invokes a context menu with the right mouse button or with special system keys, with \fIitem\fR being the item under the mouse cursor or the current item, respectively. .PP \fIpos\fR is the position for the context menu in the global coordinate system. -.SH "uint QIconView::count () const" +.SH "uint TQIconView::count () const" Returns the number of items in the icon view. See the "count" property for details. -.SH "void QIconView::currentChanged ( QIconViewItem * item )\fC [signal]\fR" +.SH "void TQIconView::currentChanged ( TQIconViewItem * item )\fC [signal]\fR" This signal is emitted when a new item becomes current. \fIitem\fR is the new current item (or 0 if no item is now current). .PP See also currentItem(). -.SH "QIconViewItem * QIconView::currentItem () const" +.SH "TQIconViewItem * TQIconView::currentItem () const" Returns a pointer to the current item of the icon view, or 0 if no item is current. .PP See also setCurrentItem(), firstItem(), and lastItem(). -.SH "void QIconView::doAutoScroll ()\fC [virtual protected slot]\fR" +.SH "void TQIconView::doAutoScroll ()\fC [virtual protected slot]\fR" Performs autoscrolling when selecting multiple icons with the rubber band. -.SH "void QIconView::doubleClicked ( QIconViewItem * item )\fC [signal]\fR" +.SH "void TQIconView::doubleClicked ( TQIconViewItem * item )\fC [signal]\fR" This signal is emitted when the user double-clicks on \fIitem\fR. -.SH "QDragObject * QIconView::dragObject ()\fC [virtual protected]\fR" +.SH "QDragObject * TQIconView::dragObject ()\fC [virtual protected]\fR" Returns the QDragObject that should be used for drag-and-drop. This function is called by the icon view when starting a drag to get the dragobject that should be used for the drag. Subclasses may reimplement this. .PP -See also QIconDrag. +See also TQIconDrag. .PP Examples: .)l fileiconview/qfileiconview.cpp and iconview/simple_dd/main.cpp. -.SH "void QIconView::drawBackground ( QPainter * p, const QRect & r )\fC [virtual protected]\fR" +.SH "void TQIconView::drawBackground ( QPainter * p, const QRect & r )\fC [virtual protected]\fR" This function is called to draw the rectangle \fIr\fR of the background using the painter \fIp\fR. .PP The default implementation fills \fIr\fR with the viewport's backgroundBrush(). Subclasses may reimplement this to draw custom backgrounds. .PP See also contentsX, contentsY, and drawContents(). -.SH "void QIconView::drawRubber ( QPainter * p )\fC [virtual protected]\fR" +.SH "void TQIconView::drawRubber ( QPainter * p )\fC [virtual protected]\fR" Draws the rubber band using the painter \fIp\fR. -.SH "void QIconView::dropped ( QDropEvent * e, const TQValueList & lst )\fC [signal]\fR" +.SH "void TQIconView::dropped ( QDropEvent * e, const TQValueList & lst )\fC [signal]\fR" This signal is emitted when a drop event occurs in the viewport (but not on any icon) which the icon view itself can't handle. .PP -\fIe\fR provides all the information about the drop. If the drag object of the drop was a QIconDrag, \fIlst\fR contains the list of the dropped items. You can get the data using QIconDragItem::data() on each item. If the \fIlst\fR is empty, i.e. the drag was not a QIconDrag, you have to decode the data in \fIe\fR and work with that. +\fIe\fR provides all the information about the drop. If the drag object of the drop was a TQIconDrag, \fIlst\fR contains the list of the dropped items. You can get the data using TQIconDragItem::data() on each item. If the \fIlst\fR is empty, i.e. the drag was not a TQIconDrag, you have to decode the data in \fIe\fR and work with that. .PP -Note QIconViewItems may be drop targets; if a drop event occurs on an item the item handles the drop. +Note TQIconViewItems may be drop targets; if a drop event occurs on an item the item handles the drop. .PP Examples: .)l iconview/main.cpp and iconview/simple_dd/main.cpp. -.SH "void QIconView::emitSelectionChanged ( QIconViewItem * i = 0 )\fC [protected]\fR" -Emits a signal to indicate selection changes. \fIi\fR is the QIconViewItem that was selected or de-selected. +.SH "void TQIconView::emitSelectionChanged ( TQIconViewItem * i = 0 )\fC [protected]\fR" +Emits a signal to indicate selection changes. \fIi\fR is the TQIconViewItem that was selected or de-selected. .PP \fIYou should never need to call this function.\fR -.SH "void QIconView::ensureItemVisible ( QIconViewItem * item )" +.SH "void TQIconView::ensureItemVisible ( TQIconViewItem * item )" Makes sure that \fIitem\fR is entirely visible. If necessary, ensureItemVisible() scrolls the icon view. .PP See also ensureVisible(). -.SH "QIconViewItem * QIconView::findFirstVisibleItem ( const QRect & r ) const" +.SH "TQIconViewItem * TQIconView::findFirstVisibleItem ( const QRect & r ) const" Finds the first item whose bounding rectangle overlaps \fIr\fR and returns a pointer to that item. \fIr\fR is given in content coordinates. Returns 0 if no item overlaps \fIr\fR. .PP -If you want to find all items that touch \fIr\fR, you will need to use this function and nextItem() in a loop ending at findLastVisibleItem() and test QIconViewItem::rect() for each of these items. +If you want to find all items that touch \fIr\fR, you will need to use this function and nextItem() in a loop ending at findLastVisibleItem() and test TQIconViewItem::rect() for each of these items. .PP -See also findLastVisibleItem() and QIconViewItem::rect(). -.SH "QIconViewItem * QIconView::findItem ( const QPoint & pos ) const" +See also findLastVisibleItem() and TQIconViewItem::rect(). +.SH "TQIconViewItem * TQIconView::findItem ( const QPoint & pos ) const" Returns a pointer to the item that contains point \fIpos\fR, which is given in contents coordinates, or 0 if no item contains point \fIpos\fR. -.SH "QIconViewItem * QIconView::findItem ( const TQString & text, ComparisonFlags compare = BeginsWith ) const" +.SH "TQIconViewItem * TQIconView::findItem ( const TQString & text, ComparisonFlags compare = BeginsWith ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns a pointer to the first item whose text begins with \fItext\fR, or 0 if no such item could be found. Use the \fIcompare\fR flag to control the comparison behaviour. (See TQt::StringComparisonMode.) -.SH "QIconViewItem * QIconView::findLastVisibleItem ( const QRect & r ) const" +.SH "TQIconViewItem * TQIconView::findLastVisibleItem ( const QRect & r ) const" Finds the last item whose bounding rectangle overlaps \fIr\fR and returns a pointer to that item. \fIr\fR is given in content coordinates. Returns 0 if no item overlaps \fIr\fR. .PP See also findFirstVisibleItem(). -.SH "QIconViewItem * QIconView::firstItem () const" +.SH "TQIconViewItem * TQIconView::firstItem () const" Returns a pointer to the first item of the icon view, or 0 if there are no items in the icon view. .PP See also lastItem() and currentItem(). -.SH "int QIconView::gridX () const" +.SH "int TQIconView::gridX () const" Returns the horizontal grid of the icon view. See the "gridX" property for details. -.SH "int QIconView::gridY () const" +.SH "int TQIconView::gridY () const" Returns the vertical grid of the icon view. See the "gridY" property for details. -.SH "int QIconView::index ( const QIconViewItem * item ) const" +.SH "int TQIconView::index ( const TQIconViewItem * item ) const" Returns the index of \fIitem\fR, or -1 if \fIitem\fR doesn't exist in this icon view. -.SH "void QIconView::insertInGrid ( QIconViewItem * item )\fC [virtual protected]\fR" -Inserts the QIconViewItem \fIitem\fR in the icon view's grid. \fIYou should never need to call this function.\fR Instead, insert QIconViewItems by creating them with a pointer to the QIconView that they are to be inserted into. -.SH "void QIconView::insertItem ( QIconViewItem * item, QIconViewItem * after = 0L )\fC [virtual]\fR" +.SH "void TQIconView::insertInGrid ( TQIconViewItem * item )\fC [virtual protected]\fR" +Inserts the TQIconViewItem \fIitem\fR in the icon view's grid. \fIYou should never need to call this function.\fR Instead, insert TQIconViewItems by creating them with a pointer to the TQIconView that they are to be inserted into. +.SH "void TQIconView::insertItem ( TQIconViewItem * item, TQIconViewItem * after = 0L )\fC [virtual]\fR" Inserts the icon view item \fIitem\fR after \fIafter\fR. If \fIafter\fR is 0, \fIitem\fR is appended after the last item. .PP -\fIYou should never need to call this function.\fR Instead create QIconViewItem's and associate them with your icon view like this: +\fIYou should never need to call this function.\fR Instead create TQIconViewItem's and associate them with your icon view like this: .PP .nf .br - (void) new QIconViewItem( myIconview, "The text of the item", aPixmap ); + (void) new TQIconViewItem( myIconview, "The text of the item", aPixmap ); .br .fi -.SH "void QIconView::invertSelection ()\fC [virtual]\fR" +.SH "void TQIconView::invertSelection ()\fC [virtual]\fR" Inverts the selection. Works only in Multi and Extended selection mode. -.SH "bool QIconView::isRenaming () const" +.SH "bool TQIconView::isRenaming () const" Returns TRUE if an iconview item is being renamed; otherwise returns FALSE. -.SH "void QIconView::itemRenamed ( QIconViewItem * item, const TQString & name )\fC [signal]\fR" +.SH "void TQIconView::itemRenamed ( TQIconViewItem * item, const TQString & name )\fC [signal]\fR" This signal is emitted when \fIitem\fR has been renamed to \fIname\fR, usually by in-place renaming. .PP -See also QIconViewItem::setRenameEnabled() and QIconViewItem::rename(). -.SH "void QIconView::itemRenamed ( QIconViewItem * item )\fC [signal]\fR" +See also TQIconViewItem::setRenameEnabled() and TQIconViewItem::rename(). +.SH "void TQIconView::itemRenamed ( TQIconViewItem * item )\fC [signal]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This signal is emitted when \fIitem\fR has been renamed, usually by in-place renaming. .PP -See also QIconViewItem::setRenameEnabled() and QIconViewItem::rename(). -.SH "QBrush QIconView::itemTextBackground () const" +See also TQIconViewItem::setRenameEnabled() and TQIconViewItem::rename(). +.SH "QBrush TQIconView::itemTextBackground () const" Returns the brush to use when drawing the background of an item's text. See the "itemTextBackground" property for details. -.SH "ItemTextPos QIconView::itemTextPos () const" +.SH "ItemTextPos TQIconView::itemTextPos () const" Returns the position where the text of each item is drawn. See the "itemTextPos" property for details. -.SH "bool QIconView::itemsMovable () const" +.SH "bool TQIconView::itemsMovable () const" Returns TRUE if the user is allowed to move items around in the icon view; otherwise returns FALSE. See the "itemsMovable" property for details. -.SH "QIconViewItem * QIconView::lastItem () const" +.SH "TQIconViewItem * TQIconView::lastItem () const" Returns a pointer to the last item of the icon view, or 0 if there are no items in the icon view. .PP See also firstItem() and currentItem(). -.SH "QIconViewItem * QIconView::makeRowLayout ( QIconViewItem * begin, int & y, bool & changed )\fC [protected]\fR" +.SH "TQIconViewItem * TQIconView::makeRowLayout ( TQIconViewItem * begin, int & y, bool & changed )\fC [protected]\fR" Lays out a row of icons (if Arrangement == TopToBottom this is a column). Starts laying out with the item \fIbegin\fR. \fIy\fR is the starting coordinate. Returns the last item of the row (column) and sets the new starting coordinate to \fIy\fR. The \fIchanged\fR parameter is used internally. .PP \fBWarning:\fR This function may be made private in a future version of Qt. We do not recommend calling it. -.SH "int QIconView::maxItemTextLength () const" +.SH "int TQIconView::maxItemTextLength () const" Returns the maximum length (in characters) that an item's text may have. See the "maxItemTextLength" property for details. -.SH "int QIconView::maxItemWidth () const" +.SH "int TQIconView::maxItemWidth () const" Returns the maximum width that an item may have. See the "maxItemWidth" property for details. -.SH "void QIconView::mouseButtonClicked ( int button, QIconViewItem * item, const QPoint & pos )\fC [signal]\fR" +.SH "void TQIconView::mouseButtonClicked ( int button, TQIconViewItem * item, const QPoint & pos )\fC [signal]\fR" This signal is emitted when the user clicks mouse button \fIbutton\fR. If \fIitem\fR is non-null, the cursor is on \fIitem\fR. If \fIitem\fR is null, the mouse cursor isn't on any item. .PP \fIpos\fR is the position of the mouse cursor in the global coordinate system (QMouseEvent::globalPos()). (If the click's press and release differ by a pixel or two, \fIpos\fR is the position at release time.) .PP See also mouseButtonPressed(), rightButtonClicked(), and clicked(). -.SH "void QIconView::mouseButtonPressed ( int button, QIconViewItem * item, const QPoint & pos )\fC [signal]\fR" +.SH "void TQIconView::mouseButtonPressed ( int button, TQIconViewItem * item, const QPoint & pos )\fC [signal]\fR" This signal is emitted when the user presses mouse button \fIbutton\fR. If \fIitem\fR is non-null, the cursor is on \fIitem\fR. If \fIitem\fR is null, the mouse cursor isn't on any item. .PP \fIpos\fR is the position of the mouse cursor in the global coordinate system (QMouseEvent::globalPos()). .PP See also rightButtonClicked() and pressed(). -.SH "void QIconView::moved ()\fC [signal]\fR" +.SH "void TQIconView::moved ()\fC [signal]\fR" This signal is emitted after successfully dropping one (or more) items of the icon view. If the items should be removed, it's best to do so in a slot connected to this signal. .PP Example: iconview/main.cpp. -.SH "void QIconView::onItem ( QIconViewItem * item )\fC [signal]\fR" +.SH "void TQIconView::onItem ( TQIconViewItem * item )\fC [signal]\fR" This signal is emitted when the user moves the mouse cursor onto an \fIitem\fR, similar to the TQWidget::enterEvent() function. -.SH "void QIconView::onViewport ()\fC [signal]\fR" +.SH "void TQIconView::onViewport ()\fC [signal]\fR" This signal is emitted when the user moves the mouse cursor from an item to an empty part of the icon view. .PP See also onItem(). -.SH "void QIconView::pressed ( QIconViewItem * item )\fC [signal]\fR" +.SH "void TQIconView::pressed ( TQIconViewItem * item )\fC [signal]\fR" This signal is emitted when the user presses any mouse button. If \fIitem\fR is non-null, the cursor is on \fIitem\fR. If \fIitem\fR is null, the mouse cursor isn't on any item. .PP See also mouseButtonPressed(), rightButtonPressed(), and clicked(). -.SH "void QIconView::pressed ( QIconViewItem * item, const QPoint & pos )\fC [signal]\fR" +.SH "void TQIconView::pressed ( TQIconViewItem * item, const QPoint & pos )\fC [signal]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This signal is emitted when the user presses any mouse button. If \fIitem\fR is non-null, the cursor is on \fIitem\fR. If \fIitem\fR is null, the mouse cursor isn't on any item. @@ -709,115 +709,115 @@ This signal is emitted when the user presses any mouse button. If \fIitem\fR is \fIpos\fR is the position of the mouse cursor in the global coordinate system (QMouseEvent::globalPos()). (If the click's press and release differ by a pixel or two, \fIpos\fR is the position at release time.) .PP See also mouseButtonPressed(), rightButtonPressed(), and clicked(). -.SH "void QIconView::repaintItem ( QIconViewItem * item )\fC [virtual]\fR" +.SH "void TQIconView::repaintItem ( TQIconViewItem * item )\fC [virtual]\fR" Repaints the \fIitem\fR. -.SH "void QIconView::repaintSelectedItems ()" +.SH "void TQIconView::repaintSelectedItems ()" Repaints the selected items. -.SH "ResizeMode QIconView::resizeMode () const" +.SH "ResizeMode TQIconView::resizeMode () const" Returns the resize mode of the icon view. See the "resizeMode" property for details. -.SH "void QIconView::returnPressed ( QIconViewItem * item )\fC [signal]\fR" +.SH "void TQIconView::returnPressed ( TQIconViewItem * item )\fC [signal]\fR" This signal is emitted if the user presses the Return or Enter key. \fIitem\fR is the currentItem() at the time of the keypress. -.SH "void QIconView::rightButtonClicked ( QIconViewItem * item, const QPoint & pos )\fC [signal]\fR" +.SH "void TQIconView::rightButtonClicked ( TQIconViewItem * item, const QPoint & pos )\fC [signal]\fR" This signal is emitted when the user clicks the right mouse button. If \fIitem\fR is non-null, the cursor is on \fIitem\fR. If \fIitem\fR is null, the mouse cursor isn't on any item. .PP \fIpos\fR is the position of the mouse cursor in the global coordinate system (QMouseEvent::globalPos()). (If the click's press and release differ by a pixel or two, \fIpos\fR is the position at release time.) .PP See also rightButtonPressed(), mouseButtonClicked(), and clicked(). -.SH "void QIconView::rightButtonPressed ( QIconViewItem * item, const QPoint & pos )\fC [signal]\fR" +.SH "void TQIconView::rightButtonPressed ( TQIconViewItem * item, const QPoint & pos )\fC [signal]\fR" This signal is emitted when the user presses the right mouse button. If \fIitem\fR is non-null, the cursor is on \fIitem\fR. If \fIitem\fR is null, the mouse cursor isn't on any item. .PP \fIpos\fR is the position of the mouse cursor in the global coordinate system (QMouseEvent::globalPos()). -.SH "void QIconView::selectAll ( bool select )\fC [virtual]\fR" +.SH "void TQIconView::selectAll ( bool select )\fC [virtual]\fR" In Multi and Extended modes, this function sets all items to be selected if \fIselect\fR is TRUE, and to be unselected if \fIselect\fR is FALSE. .PP In Single and NoSelection modes, this function only changes the selection status of currentItem(). -.SH "void QIconView::selectionChanged ()\fC [signal]\fR" +.SH "void TQIconView::selectionChanged ()\fC [signal]\fR" This signal is emitted when the selection has been changed. It's emitted in each selection mode. -.SH "void QIconView::selectionChanged ( QIconViewItem * item )\fC [signal]\fR" +.SH "void TQIconView::selectionChanged ( TQIconViewItem * item )\fC [signal]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This signal is emitted when the selection changes. \fIitem\fR is the newly selected item. This signal is emitted only in single selection mode. -.SH "SelectionMode QIconView::selectionMode () const" +.SH "SelectionMode TQIconView::selectionMode () const" Returns the selection mode of the icon view. See the "selectionMode" property for details. -.SH "void QIconView::setArrangement ( Arrangement am )\fC [virtual]\fR" +.SH "void TQIconView::setArrangement ( Arrangement am )\fC [virtual]\fR" Sets the arrangement mode of the icon view to \fIam\fR. See the "arrangement" property for details. -.SH "void QIconView::setAutoArrange ( bool b )\fC [virtual]\fR" +.SH "void TQIconView::setAutoArrange ( bool b )\fC [virtual]\fR" Sets whether the icon view rearranges its items when a new item is inserted to \fIb\fR. See the "autoArrange" property for details. -.SH "void QIconView::setCurrentItem ( QIconViewItem * item )\fC [virtual]\fR" +.SH "void TQIconView::setCurrentItem ( TQIconViewItem * item )\fC [virtual]\fR" Makes \fIitem\fR the new current item of the icon view. -.SH "void QIconView::setGridX ( int rx )\fC [virtual]\fR" +.SH "void TQIconView::setGridX ( int rx )\fC [virtual]\fR" Sets the horizontal grid of the icon view to \fIrx\fR. See the "gridX" property for details. -.SH "void QIconView::setGridY ( int ry )\fC [virtual]\fR" +.SH "void TQIconView::setGridY ( int ry )\fC [virtual]\fR" Sets the vertical grid of the icon view to \fIry\fR. See the "gridY" property for details. -.SH "void QIconView::setItemTextBackground ( const QBrush & b )\fC [virtual]\fR" +.SH "void TQIconView::setItemTextBackground ( const QBrush & b )\fC [virtual]\fR" Sets the brush to use when drawing the background of an item's text to \fIb\fR. See the "itemTextBackground" property for details. -.SH "void QIconView::setItemTextPos ( ItemTextPos pos )\fC [virtual]\fR" +.SH "void TQIconView::setItemTextPos ( ItemTextPos pos )\fC [virtual]\fR" Sets the position where the text of each item is drawn to \fIpos\fR. See the "itemTextPos" property for details. -.SH "void QIconView::setItemsMovable ( bool b )\fC [virtual]\fR" +.SH "void TQIconView::setItemsMovable ( bool b )\fC [virtual]\fR" Sets whether the user is allowed to move items around in the icon view to \fIb\fR. See the "itemsMovable" property for details. -.SH "void QIconView::setMaxItemTextLength ( int w )\fC [virtual]\fR" +.SH "void TQIconView::setMaxItemTextLength ( int w )\fC [virtual]\fR" Sets the maximum length (in characters) that an item's text may have to \fIw\fR. See the "maxItemTextLength" property for details. -.SH "void QIconView::setMaxItemWidth ( int w )\fC [virtual]\fR" +.SH "void TQIconView::setMaxItemWidth ( int w )\fC [virtual]\fR" Sets the maximum width that an item may have to \fIw\fR. See the "maxItemWidth" property for details. -.SH "void QIconView::setResizeMode ( ResizeMode am )\fC [virtual]\fR" +.SH "void TQIconView::setResizeMode ( ResizeMode am )\fC [virtual]\fR" Sets the resize mode of the icon view to \fIam\fR. See the "resizeMode" property for details. -.SH "void QIconView::setSelected ( QIconViewItem * item, bool s, bool cb = FALSE )\fC [virtual]\fR" -Selects or unselects \fIitem\fR depending on \fIs\fR, and may also unselect other items, depending on QIconView::selectionMode() and \fIcb\fR. +.SH "void TQIconView::setSelected ( TQIconViewItem * item, bool s, bool cb = FALSE )\fC [virtual]\fR" +Selects or unselects \fIitem\fR depending on \fIs\fR, and may also unselect other items, depending on TQIconView::selectionMode() and \fIcb\fR. .PP If \fIs\fR is FALSE, \fIitem\fR is unselected. .PP -If \fIs\fR is TRUE and QIconView::selectionMode() is Single, \fIitem\fR is selected, and the item which was selected is unselected. +If \fIs\fR is TRUE and TQIconView::selectionMode() is Single, \fIitem\fR is selected, and the item which was selected is unselected. .PP -If \fIs\fR is TRUE and QIconView::selectionMode() is Extended, \fIitem\fR is selected. If \fIcb\fR is TRUE, the selection state of the icon view's other items is left unchanged. If \fIcb\fR is FALSE (the default) all other items are unselected. +If \fIs\fR is TRUE and TQIconView::selectionMode() is Extended, \fIitem\fR is selected. If \fIcb\fR is TRUE, the selection state of the icon view's other items is left unchanged. If \fIcb\fR is FALSE (the default) all other items are unselected. .PP -If \fIs\fR is TRUE and QIconView::selectionMode() is Multi \fIitem\fR is selected. +If \fIs\fR is TRUE and TQIconView::selectionMode() is Multi \fIitem\fR is selected. .PP -Note that \fIcb\fR is used only if QIconView::selectionMode() is Extended. \fIcb\fR defaults to FALSE. +Note that \fIcb\fR is used only if TQIconView::selectionMode() is Extended. \fIcb\fR defaults to FALSE. .PP All items whose selection status is changed repaint themselves. -.SH "void QIconView::setSelectionMode ( SelectionMode m )\fC [virtual]\fR" +.SH "void TQIconView::setSelectionMode ( SelectionMode m )\fC [virtual]\fR" Sets the selection mode of the icon view to \fIm\fR. See the "selectionMode" property for details. -.SH "void QIconView::setShowToolTips ( bool b )\fC [virtual]\fR" +.SH "void TQIconView::setShowToolTips ( bool b )\fC [virtual]\fR" Sets whether the icon view will display a tool tip with the complete text for any truncated item text to \fIb\fR. See the "showToolTips" property for details. -.SH "void QIconView::setSorting ( bool sort, bool ascending = TRUE )" +.SH "void TQIconView::setSorting ( bool sort, bool ascending = TRUE )" If \fIsort\fR is TRUE, this function sets the icon view to sort items when a new item is inserted. If \fIsort\fR is FALSE, the icon view will not be sorted. .PP Note that autoArrange() must be TRUE for sorting to take place. .PP If \fIascending\fR is TRUE (the default), items are sorted in ascending order. If \fIascending\fR is FALSE, items are sorted in descending order. .PP -QIconViewItem::compare() is used to compare pairs of items. The sorting is based on the items' keys; these default to the items' text unless specifically set to something else. +TQIconViewItem::compare() is used to compare pairs of items. The sorting is based on the items' keys; these default to the items' text unless specifically set to something else. .PP -See also QIconView::autoArrange, QIconView::autoArrange, sortDirection, sort(), and QIconViewItem::setKey(). -.SH "void QIconView::setSpacing ( int sp )\fC [virtual]\fR" +See also TQIconView::autoArrange, TQIconView::autoArrange, sortDirection, sort(), and TQIconViewItem::setKey(). +.SH "void TQIconView::setSpacing ( int sp )\fC [virtual]\fR" Sets the space in pixels between icon view items to \fIsp\fR. See the "spacing" property for details. -.SH "void QIconView::setWordWrapIconText ( bool b )\fC [virtual]\fR" +.SH "void TQIconView::setWordWrapIconText ( bool b )\fC [virtual]\fR" Sets whether the item text will be word-wrapped if it is too long to \fIb\fR. See the "wordWrapIconText" property for details. -.SH "bool QIconView::showToolTips () const" +.SH "bool TQIconView::showToolTips () const" Returns TRUE if the icon view will display a tool tip with the complete text for any truncated item text; otherwise returns FALSE. See the "showToolTips" property for details. -.SH "void QIconView::slotUpdate ()\fC [virtual protected slot]\fR" +.SH "void TQIconView::slotUpdate ()\fC [virtual protected slot]\fR" This slot is used for a slightly-delayed update. .PP The icon view is not redrawn immediately after inserting a new item but after a very small delay using a QTimer. This means that when many items are inserted in a loop the icon view is probably redrawn only once at the end of the loop. This makes the insertions both flicker-free and faster. -.SH "void QIconView::sort ( bool ascending = TRUE )\fC [virtual]\fR" +.SH "void TQIconView::sort ( bool ascending = TRUE )\fC [virtual]\fR" Sorts and rearranges all the items in the icon view. If \fIascending\fR is TRUE, the items are sorted in increasing order, otherwise they are sorted in decreasing order. .PP -QIconViewItem::compare() is used to compare pairs of items. The sorting is based on the items' keys; these default to the items' text unless specifically set to something else. +TQIconViewItem::compare() is used to compare pairs of items. The sorting is based on the items' keys; these default to the items' text unless specifically set to something else. .PP Note that this function sets the sort order to \fIascending\fR. .PP -See also QIconViewItem::key(), QIconViewItem::setKey(), QIconViewItem::compare(), QIconView::setSorting(), and QIconView::sortDirection. -.SH "bool QIconView::sortDirection () const" +See also TQIconViewItem::key(), TQIconViewItem::setKey(), TQIconViewItem::compare(), TQIconView::setSorting(), and TQIconView::sortDirection. +.SH "bool TQIconView::sortDirection () const" Returns TRUE if the sort direction for inserting new items is ascending;; otherwise returns FALSE. See the "sortDirection" property for details. -.SH "bool QIconView::sorting () const" +.SH "bool TQIconView::sorting () const" Returns TRUE if the icon view sorts on insertion; otherwise returns FALSE. See the "sorting" property for details. -.SH "int QIconView::spacing () const" +.SH "int TQIconView::spacing () const" Returns the space in pixels between icon view items. See the "spacing" property for details. -.SH "void QIconView::startDrag ()\fC [virtual protected]\fR" +.SH "void TQIconView::startDrag ()\fC [virtual protected]\fR" Starts a drag. -.SH "void QIconView::takeItem ( QIconViewItem * item )\fC [virtual]\fR" -Takes the icon view item \fIitem\fR out of the icon view and causes an update of the screen display. The item is not deleted. You should normally not need to call this function because QIconViewItem::~QIconViewItem() calls it. The normal way to delete an item is to delete it. -.SH "bool QIconView::wordWrapIconText () const" +.SH "void TQIconView::takeItem ( TQIconViewItem * item )\fC [virtual]\fR" +Takes the icon view item \fIitem\fR out of the icon view and causes an update of the screen display. The item is not deleted. You should normally not need to call this function because TQIconViewItem::~TQIconViewItem() calls it. The normal way to delete an item is to delete it. +.SH "bool TQIconView::wordWrapIconText () const" Returns TRUE if the item text will be word-wrapped if it is too long; otherwise returns FALSE. See the "wordWrapIconText" property for details. .SS "Property Documentation" .SH "Arrangement arrangement" @@ -831,7 +831,7 @@ This property holds whether the icon view rearranges its items when a new item i .PP The default is TRUE. .PP -Note that if the icon view is not visible at the time of insertion, QIconView defers all position-related work until it is shown and then calls arrangeItemsInGrid(). +Note that if the icon view is not visible at the time of insertion, TQIconView defers all position-related work until it is shown and then calls arrangeItemsInGrid(). .PP Set this property's value with setAutoArrange() and get this property's value with autoArrange(). .SH "uint count" @@ -841,7 +841,7 @@ Get this property's value with count(). .SH "int gridX" This property holds the horizontal grid of the icon view. .PP -If the value is -1, (the default), QIconView computes suitable column widths based on the icon view's contents. +If the value is -1, (the default), TQIconView computes suitable column widths based on the icon view's contents. .PP Note that setting a grid width overrides setMaxItemWidth(). .PP @@ -849,7 +849,7 @@ Set this property's value with setGridX() and get this property's value with gri .SH "int gridY" This property holds the vertical grid of the icon view. .PP -If the value is -1, (the default), QIconView computes suitable column heights based on the icon view's contents. +If the value is -1, (the default), TQIconView computes suitable column heights based on the icon view's contents. .PP Set this property's value with setGridY() and get this property's value with gridY(). .SH "QBrush itemTextBackground" @@ -881,7 +881,7 @@ This property holds the maximum width that an item may have. .PP The default is 100 pixels. .PP -Note that if the gridX() value is set QIconView will ignore this property. +Note that if the gridX() value is set TQIconView will ignore this property. .PP Set this property's value with setMaxItemWidth() and get this property's value with maxItemWidth(). .SH "ResizeMode resizeMode" @@ -936,7 +936,7 @@ If this property is FALSE, icon text that is too long is truncated, and an ellip Set this property's value with setWordWrapIconText() and get this property's value with wordWrapIconText(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqiconview.html +.BR http://doc.trolltech.com/tqiconview.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/tqiconviewitem.3qt b/doc/man/man3/tqiconviewitem.3qt index d965c7947..4d2d0fd82 100644 --- a/doc/man/man3/tqiconviewitem.3qt +++ b/doc/man/man3/tqiconviewitem.3qt @@ -1,5 +1,5 @@ '\" t -.TH QIconViewItem 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQIconViewItem 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,40 +7,40 @@ .ad l .nh .SH NAME -QIconViewItem \- Single item in a QIconView +TQIconViewItem \- Single item in a TQIconView .SH SYNOPSIS -\fC#include \fR +\fC#include \fR .PP Inherits Qt. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQIconViewItem\fR ( QIconView * parent )" +.BI "\fBTQIconViewItem\fR ( TQIconView * parent )" .br .ti -1c -.BI "\fBQIconViewItem\fR ( QIconView * parent, QIconViewItem * after )" +.BI "\fBTQIconViewItem\fR ( TQIconView * parent, TQIconViewItem * after )" .br .ti -1c -.BI "\fBQIconViewItem\fR ( QIconView * parent, const TQString & text )" +.BI "\fBTQIconViewItem\fR ( TQIconView * parent, const TQString & text )" .br .ti -1c -.BI "\fBQIconViewItem\fR ( QIconView * parent, QIconViewItem * after, const TQString & text )" +.BI "\fBTQIconViewItem\fR ( TQIconView * parent, TQIconViewItem * after, const TQString & text )" .br .ti -1c -.BI "\fBQIconViewItem\fR ( QIconView * parent, const TQString & text, const QPixmap & icon )" +.BI "\fBTQIconViewItem\fR ( TQIconView * parent, const TQString & text, const QPixmap & icon )" .br .ti -1c -.BI "\fBQIconViewItem\fR ( QIconView * parent, QIconViewItem * after, const TQString & text, const QPixmap & icon )" +.BI "\fBTQIconViewItem\fR ( TQIconView * parent, TQIconViewItem * after, const TQString & text, const QPixmap & icon )" .br .ti -1c -.BI "\fBQIconViewItem\fR ( QIconView * parent, const TQString & text, const QPicture & picture )" +.BI "\fBTQIconViewItem\fR ( TQIconView * parent, const TQString & text, const QPicture & picture )" .br .ti -1c -.BI "\fBQIconViewItem\fR ( QIconView * parent, QIconViewItem * after, const TQString & text, const QPicture & picture )" +.BI "\fBTQIconViewItem\fR ( TQIconView * parent, TQIconViewItem * after, const TQString & text, const QPicture & picture )" .br .ti -1c -.BI "virtual \fB~QIconViewItem\fR ()" +.BI "virtual \fB~TQIconViewItem\fR ()" .br .ti -1c .BI "virtual void \fBsetRenameEnabled\fR ( bool allow )" @@ -73,13 +73,13 @@ Inherits Qt. .BI "bool \fBdropEnabled\fR () const" .br .ti -1c -.BI "QIconView * \fBiconView\fR () const" +.BI "TQIconView * \fBiconView\fR () const" .br .ti -1c -.BI "QIconViewItem * \fBprevItem\fR () const" +.BI "TQIconViewItem * \fBprevItem\fR () const" .br .ti -1c -.BI "QIconViewItem * \fBnextItem\fR () const" +.BI "TQIconViewItem * \fBnextItem\fR () const" .br .ti -1c .BI "int \fBindex\fR () const" @@ -154,7 +154,7 @@ Inherits Qt. .BI "void \fBrename\fR ()" .br .ti -1c -.BI "virtual int \fBcompare\fR ( QIconViewItem * i ) const" +.BI "virtual int \fBcompare\fR ( TQIconViewItem * i ) const" .br .ti -1c .BI "virtual void \fBsetText\fR ( const TQString & text )" @@ -193,7 +193,7 @@ Inherits Qt. .BI "virtual void \fBpaintFocus\fR ( QPainter * p, const QColorGroup & cg )" .br .ti -1c -.BI "virtual void \fBdropped\fR ( QDropEvent * e, const TQValueList & lst )" +.BI "virtual void \fBdropped\fR ( QDropEvent * e, const TQValueList & lst )" .br .ti -1c .BI "virtual void \fBdragEntered\fR ()" @@ -212,17 +212,17 @@ Inherits Qt. .br .in -1c .SH DESCRIPTION -The QIconViewItem class provides a single item in a QIconView. +The TQIconViewItem class provides a single item in a TQIconView. .PP -A QIconViewItem contains an icon, a string and optionally a sort key, and can display itself in a QIconView. The class is designed to be very similar to QListView and QListBox in use, both via instantiation and subclassing. +A TQIconViewItem contains an icon, a string and optionally a sort key, and can display itself in a TQIconView. The class is designed to be very similar to QListView and QListBox in use, both via instantiation and subclassing. .PP -The simplest way to create a QIconViewItem and insert it into a QIconView is to construct the item passing the constructor a pointer to the icon view, a string and an icon: +The simplest way to create a TQIconViewItem and insert it into a TQIconView is to construct the item passing the constructor a pointer to the icon view, a string and an icon: .PP .nf .br - (void) new QIconViewItem( + (void) new TQIconViewItem( .br - iconView, // A pointer to a QIconView + iconView, // A pointer to a TQIconView .br "This is the text of the item", .br @@ -234,11 +234,11 @@ By default the text of an icon view item may not be edited by the user but calli .PP When the icon view is deleted all items in it are deleted automatically. .PP -The QIconView::firstItem() and QIconViewItem::nextItem() functions provide a means of iterating over all the items in a QIconView: +The TQIconView::firstItem() and TQIconViewItem::nextItem() functions provide a means of iterating over all the items in a TQIconView: .PP .nf .br - QIconViewItem *item; + TQIconViewItem *item; .br for ( item = iconView->firstItem(); item; item = item->nextItem() ) .br @@ -254,53 +254,53 @@ The text and icon can be set with setText() and setPixmap() and retrieved with t .PP Items may be repositioned with move() and moveBy(). An item's geometry is available from rect(), x(), y(), width(), height(), size(), pos(), textRect() and pixmapRect(). You can also test against the position of a point with contains() and intersects(). .PP -To remove an item from an icon view, just delete the item. The QIconViewItem destructor removes it cleanly from its icon view. +To remove an item from an icon view, just delete the item. The TQIconViewItem destructor removes it cleanly from its icon view. .PP Because the icon view is designed to use drag-and-drop, the icon view item also has functions for drag-and-drop which may be reimplemented. .PP -\fBNote:\fR Pixmaps with individual dimensions larger than 300 pixels may not be displayed properly, depending on the arrangement in use. For example, pixmaps wider than 300 pixels will not be arranged correctly if the icon view uses a QIconView::TopToBottom arrangement, and pixmaps taller than 300 pixels will not be arranged correctly if the icon view uses a QIconView::LeftToRight arrangement. +\fBNote:\fR Pixmaps with individual dimensions larger than 300 pixels may not be displayed properly, depending on the arrangement in use. For example, pixmaps wider than 300 pixels will not be arranged correctly if the icon view uses a TQIconView::TopToBottom arrangement, and pixmaps taller than 300 pixels will not be arranged correctly if the icon view uses a TQIconView::LeftToRight arrangement. .PP See also Advanced Widgets. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QIconViewItem::QIconViewItem ( QIconView * parent )" -Constructs a QIconViewItem and inserts it into icon view \fIparent\fR with no text and a default icon. -.SH "QIconViewItem::QIconViewItem ( QIconView * parent, QIconViewItem * after )" -Constructs a QIconViewItem and inserts it into the icon view \fIparent\fR with no text and a default icon, after the icon view item \fIafter\fR. -.SH "QIconViewItem::QIconViewItem ( QIconView * parent, const TQString & text )" +.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent )" +Constructs a TQIconViewItem and inserts it into icon view \fIparent\fR with no text and a default icon. +.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, TQIconViewItem * after )" +Constructs a TQIconViewItem and inserts it into the icon view \fIparent\fR with no text and a default icon, after the icon view item \fIafter\fR. +.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, const TQString & text )" Constructs an icon view item and inserts it into the icon view \fIparent\fR using \fItext\fR as the text and a default icon. -.SH "QIconViewItem::QIconViewItem ( QIconView * parent, QIconViewItem * after, const TQString & text )" +.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, TQIconViewItem * after, const TQString & text )" Constructs an icon view item and inserts it into the icon view \fIparent\fR using \fItext\fR as the text and a default icon, after the icon view item \fIafter\fR. -.SH "QIconViewItem::QIconViewItem ( QIconView * parent, const TQString & text, const QPixmap & icon )" +.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, const TQString & text, const QPixmap & icon )" Constructs an icon view item and inserts it into the icon view \fIparent\fR using \fItext\fR as the text and \fIicon\fR as the icon. -.SH "QIconViewItem::QIconViewItem ( QIconView * parent, QIconViewItem * after, const TQString & text, const QPixmap & icon )" +.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, TQIconViewItem * after, const TQString & text, const QPixmap & icon )" Constructs an icon view item and inserts it into the icon view \fIparent\fR using \fItext\fR as the text and \fIicon\fR as the icon, after the icon view item \fIafter\fR. .PP See also setPixmap(). -.SH "QIconViewItem::QIconViewItem ( QIconView * parent, const TQString & text, const QPicture & picture )" +.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, const TQString & text, const QPicture & picture )" Constructs an icon view item and inserts it into the icon view \fIparent\fR using \fItext\fR as the text and \fIpicture\fR as the icon. -.SH "QIconViewItem::QIconViewItem ( QIconView * parent, QIconViewItem * after, const TQString & text, const QPicture & picture )" +.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, TQIconViewItem * after, const TQString & text, const QPicture & picture )" Constructs an icon view item and inserts it into the icon view \fIparent\fR using \fItext\fR as the text and \fIpicture\fR as the icon, after the icon view item \fIafter\fR. -.SH "QIconViewItem::~QIconViewItem ()\fC [virtual]\fR" +.SH "TQIconViewItem::~TQIconViewItem ()\fC [virtual]\fR" Destroys the icon view item and tells the parent icon view that the item has been destroyed. -.SH "bool QIconViewItem::acceptDrop ( const QMimeSource * mime ) const\fC [virtual]\fR" +.SH "bool TQIconViewItem::acceptDrop ( const QMimeSource * mime ) const\fC [virtual]\fR" Returns TRUE if you can drop things with a QMimeSource of \fImime\fR onto this item; otherwise returns FALSE. .PP -The default implementation always returns FALSE. You must subclass QIconViewItem and reimplement acceptDrop() to accept drops. +The default implementation always returns FALSE. You must subclass TQIconViewItem and reimplement acceptDrop() to accept drops. .PP Examples: .)l fileiconview/qfileiconview.cpp and iconview/simple_dd/main.cpp. -.SH "void QIconViewItem::calcRect ( const TQString & text_ = TQString::null )\fC [virtual protected]\fR" +.SH "void TQIconViewItem::calcRect ( const TQString & text_ = TQString::null )\fC [virtual protected]\fR" This virtual function is responsible for calculating the rectangles returned by rect(), textRect() and pixmapRect(). setRect(), setTextRect() and setPixmapRect() are provided mainly for reimplementations of this function. .PP \fItext_\fR is an internal parameter which defaults to TQString::null. -.SH "int QIconViewItem::compare ( QIconViewItem * i ) const\fC [virtual]\fR" +.SH "int TQIconViewItem::compare ( TQIconViewItem * i ) const\fC [virtual]\fR" Compares this icon view item to \fIi\fR. Returns -1 if this item is less than \fIi\fR, 0 if they are equal, and 1 if this icon view item is greater than \fIi\fR. .PP The default implementation compares the item keys (key()) using TQString::localeAwareCompare(). A reimplementation may use different values and a different comparison function. Here is a reimplementation that uses plain Unicode comparison: .PP .nf .br - int MyIconViewItem::compare( QIconViewItem *i ) const + int MyIconViewItem::compare( TQIconViewItem *i ) const .br { .br @@ -311,79 +311,79 @@ The default implementation compares the item keys (key()) using TQString::locale .fi .PP See also key(), TQString::localeAwareCompare(), and TQString::compare(). -.SH "bool QIconViewItem::contains ( const QPoint & pnt ) const" +.SH "bool TQIconViewItem::contains ( const QPoint & pnt ) const" Returns TRUE if the item contains the point \fIpnt\fR (in contents coordinates); otherwise returns FALSE. -.SH "bool QIconViewItem::dragEnabled () const" +.SH "bool TQIconViewItem::dragEnabled () const" Returns TRUE if the user is allowed to drag the icon view item; otherwise returns FALSE. .PP See also setDragEnabled(). -.SH "void QIconViewItem::dragEntered ()\fC [virtual protected]\fR" +.SH "void TQIconViewItem::dragEntered ()\fC [virtual protected]\fR" This function is called when a drag enters the item's bounding rectangle. .PP The default implementation does nothing; subclasses may reimplement this function. .PP Example: fileiconview/qfileiconview.cpp. -.SH "void QIconViewItem::dragLeft ()\fC [virtual protected]\fR" +.SH "void TQIconViewItem::dragLeft ()\fC [virtual protected]\fR" This function is called when a drag leaves the item's bounding rectangle. .PP The default implementation does nothing; subclasses may reimplement this function. .PP Example: fileiconview/qfileiconview.cpp. -.SH "bool QIconViewItem::dropEnabled () const" +.SH "bool TQIconViewItem::dropEnabled () const" Returns TRUE if the user is allowed to drop something onto the item; otherwise returns FALSE. .PP See also setDropEnabled(). -.SH "void QIconViewItem::dropped ( QDropEvent * e, const TQValueList & lst )\fC [virtual protected]\fR" -This function is called when something is dropped on the item. \fIe\fR provides all the information about the drop. If the drag object of the drop was a QIconDrag, \fIlst\fR contains the list of the dropped items. You can get the data by calling QIconDragItem::data() on each item. If the \fIlst\fR is empty, i.e. the drag was not a QIconDrag, you must decode the data in \fIe\fR and work with that. +.SH "void TQIconViewItem::dropped ( QDropEvent * e, const TQValueList & lst )\fC [virtual protected]\fR" +This function is called when something is dropped on the item. \fIe\fR provides all the information about the drop. If the drag object of the drop was a TQIconDrag, \fIlst\fR contains the list of the dropped items. You can get the data by calling TQIconDragItem::data() on each item. If the \fIlst\fR is empty, i.e. the drag was not a TQIconDrag, you must decode the data in \fIe\fR and work with that. .PP The default implementation does nothing; subclasses may reimplement this function. .PP Examples: .)l fileiconview/qfileiconview.cpp and iconview/simple_dd/main.cpp. -.SH "int QIconViewItem::height () const" +.SH "int TQIconViewItem::height () const" Returns the height of the item. -.SH "QIconView * QIconViewItem::iconView () const" +.SH "TQIconView * TQIconViewItem::iconView () const" Returns a pointer to this item's icon view parent. -.SH "int QIconViewItem::index () const" +.SH "int TQIconViewItem::index () const" Returns the index of this item in the icon view, or -1 if an error occurred. -.SH "bool QIconViewItem::intersects ( const QRect & r ) const" +.SH "bool TQIconViewItem::intersects ( const QRect & r ) const" Returns TRUE if the item intersects the rectangle \fIr\fR (in contents coordinates); otherwise returns FALSE. -.SH "bool QIconViewItem::isSelectable () const" +.SH "bool TQIconViewItem::isSelectable () const" Returns TRUE if the item is selectable; otherwise returns FALSE. .PP See also setSelectable(). -.SH "bool QIconViewItem::isSelected () const" +.SH "bool TQIconViewItem::isSelected () const" Returns TRUE if the item is selected; otherwise returns FALSE. .PP See also setSelected(). .PP Example: fileiconview/qfileiconview.cpp. -.SH "TQString QIconViewItem::key () const\fC [virtual]\fR" +.SH "TQString TQIconViewItem::key () const\fC [virtual]\fR" Returns the key of the icon view item or text() if no key has been explicitly set. .PP See also setKey() and compare(). -.SH "bool QIconViewItem::move ( int x, int y )\fC [virtual]\fR" +.SH "bool TQIconViewItem::move ( int x, int y )\fC [virtual]\fR" Moves the item to position (\fIx\fR, \fIy\fR) in the icon view (these are contents coordinates). -.SH "bool QIconViewItem::move ( const QPoint & pnt )\fC [virtual]\fR" +.SH "bool TQIconViewItem::move ( const QPoint & pnt )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Moves the item to the point \fIpnt\fR. -.SH "void QIconViewItem::moveBy ( int dx, int dy )\fC [virtual]\fR" +.SH "void TQIconViewItem::moveBy ( int dx, int dy )\fC [virtual]\fR" Moves the item \fIdx\fR pixels in the x-direction and \fIdy\fR pixels in the y-direction. -.SH "void QIconViewItem::moveBy ( const QPoint & pnt )\fC [virtual]\fR" +.SH "void TQIconViewItem::moveBy ( const QPoint & pnt )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Moves the item by the x, y values in point \fIpnt\fR. -.SH "QIconViewItem * QIconViewItem::nextItem () const" +.SH "TQIconViewItem * TQIconViewItem::nextItem () const" Returns a pointer to the next item, or 0 if this is the last item in the icon view. .PP -To find the first item use QIconView::firstItem(). +To find the first item use TQIconView::firstItem(). .PP Example: .PP .nf .br - QIconViewItem *item; + TQIconViewItem *item; .br for ( item = iconView->firstItem(); item; item = item->nextItem() ) .br @@ -394,83 +394,83 @@ Example: See also prevItem(). .PP Example: fileiconview/qfileiconview.cpp. -.SH "void QIconViewItem::paintFocus ( QPainter * p, const QColorGroup & cg )\fC [virtual protected]\fR" +.SH "void TQIconViewItem::paintFocus ( QPainter * p, const QColorGroup & cg )\fC [virtual protected]\fR" Paints the focus rectangle of the item using the painter \fIp\fR and the color group \fIcg\fR. -.SH "void QIconViewItem::paintItem ( QPainter * p, const QColorGroup & cg )\fC [virtual protected]\fR" -Paints the item using the painter \fIp\fR and the color group \fIcg\fR. If you want the item to be drawn with a different font or color, reimplement this function, change the values of the color group or the painter's font, and then call the QIconViewItem::paintItem() with the changed values. +.SH "void TQIconViewItem::paintItem ( QPainter * p, const QColorGroup & cg )\fC [virtual protected]\fR" +Paints the item using the painter \fIp\fR and the color group \fIcg\fR. If you want the item to be drawn with a different font or color, reimplement this function, change the values of the color group or the painter's font, and then call the TQIconViewItem::paintItem() with the changed values. .PP Example: fileiconview/qfileiconview.cpp. -.SH "QPicture * QIconViewItem::picture () const\fC [virtual]\fR" -Returns the icon of the icon view item if it is a picture, or 0 if it is a pixmap. In the latter case use pixmap() instead. Normally you set the picture of the item with setPicture(), but sometimes it's inconvenient to call setPicture() for every item. So you can subclass QIconViewItem, reimplement this function and return a pointer to the item's picture. If you do this, you \fImust\fR call calcRect() manually each time the size of this picture changes. +.SH "QPicture * TQIconViewItem::picture () const\fC [virtual]\fR" +Returns the icon of the icon view item if it is a picture, or 0 if it is a pixmap. In the latter case use pixmap() instead. Normally you set the picture of the item with setPicture(), but sometimes it's inconvenient to call setPicture() for every item. So you can subclass TQIconViewItem, reimplement this function and return a pointer to the item's picture. If you do this, you \fImust\fR call calcRect() manually each time the size of this picture changes. .PP See also setPicture(). -.SH "QPixmap * QIconViewItem::pixmap () const\fC [virtual]\fR" -Returns the icon of the icon view item if it is a pixmap, or 0 if it is a picture. In the latter case use picture() instead. Normally you set the pixmap of the item with setPixmap(), but sometimes it's inconvenient to call setPixmap() for every item. So you can subclass QIconViewItem, reimplement this function and return a pointer to the item's pixmap. If you do this, you \fImust\fR call calcRect() manually each time the size of this pixmap changes. +.SH "QPixmap * TQIconViewItem::pixmap () const\fC [virtual]\fR" +Returns the icon of the icon view item if it is a pixmap, or 0 if it is a picture. In the latter case use picture() instead. Normally you set the pixmap of the item with setPixmap(), but sometimes it's inconvenient to call setPixmap() for every item. So you can subclass TQIconViewItem, reimplement this function and return a pointer to the item's pixmap. If you do this, you \fImust\fR call calcRect() manually each time the size of this pixmap changes. .PP See also setPixmap(). .PP Example: fileiconview/qfileiconview.cpp. -.SH "QRect QIconViewItem::pixmapRect ( bool relative = TRUE ) const" +.SH "QRect TQIconViewItem::pixmapRect ( bool relative = TRUE ) const" Returns the bounding rectangle of the item's icon. .PP If \fIrelative\fR is TRUE, (the default), the rectangle is relative to the origin of the item's rectangle. If \fIrelative\fR is FALSE, the returned rectangle is relative to the origin of the icon view's contents coordinate system. .PP Example: fileiconview/qfileiconview.cpp. -.SH "QPoint QIconViewItem::pos () const" +.SH "QPoint TQIconViewItem::pos () const" Returns the position of the item (in contents coordinates). -.SH "QIconViewItem * QIconViewItem::prevItem () const" +.SH "TQIconViewItem * TQIconViewItem::prevItem () const" Returns a pointer to the previous item, or 0 if this is the first item in the icon view. .PP -See also nextItem() and QIconView::firstItem(). -.SH "QRect QIconViewItem::rect () const" +See also nextItem() and TQIconView::firstItem(). +.SH "QRect TQIconViewItem::rect () const" Returns the bounding rectangle of the item (in contents coordinates). -.SH "void QIconViewItem::removeRenameBox ()\fC [virtual protected]\fR" +.SH "void TQIconViewItem::removeRenameBox ()\fC [virtual protected]\fR" Removes the editbox that is used for in-place renaming. -.SH "void QIconViewItem::rename ()" +.SH "void TQIconViewItem::rename ()" Starts in-place renaming of an icon, if allowed. .PP -This function sets up the icon view so that the user can edit the item text, and then returns. When the user is done, setText() will be called and QIconView::itemRenamed() will be emitted (unless the user canceled, e.g. by pressing the Escape key). +This function sets up the icon view so that the user can edit the item text, and then returns. When the user is done, setText() will be called and TQIconView::itemRenamed() will be emitted (unless the user canceled, e.g. by pressing the Escape key). .PP See also setRenameEnabled(). .PP Example: fileiconview/qfileiconview.cpp. -.SH "bool QIconViewItem::renameEnabled () const" +.SH "bool TQIconViewItem::renameEnabled () const" Returns TRUE if the item can be renamed by the user with in-place renaming; otherwise returns FALSE. .PP See also setRenameEnabled(). .PP Example: fileiconview/qfileiconview.cpp. -.SH "void QIconViewItem::repaint ()\fC [virtual]\fR" +.SH "void TQIconViewItem::repaint ()\fC [virtual]\fR" Repaints the item. -.SH "int QIconViewItem::rtti () const\fC [virtual]\fR" +.SH "int TQIconViewItem::rtti () const\fC [virtual]\fR" Returns 0. .PP Make your derived classes return their own values for rtti(), so that you can distinguish between icon view item types. You should use values greater than 1000, preferably a large random number, to allow for extensions to this class. -.SH "void QIconViewItem::setDragEnabled ( bool allow )\fC [virtual]\fR" +.SH "void TQIconViewItem::setDragEnabled ( bool allow )\fC [virtual]\fR" If \fIallow\fR is TRUE, the icon view permits the user to drag the icon view item either to another position within the icon view or to somewhere outside of it. If \fIallow\fR is FALSE, the item cannot be dragged. -.SH "void QIconViewItem::setDropEnabled ( bool allow )\fC [virtual]\fR" +.SH "void TQIconViewItem::setDropEnabled ( bool allow )\fC [virtual]\fR" If \fIallow\fR is TRUE, the icon view lets the user drop something on this icon view item. -.SH "void QIconViewItem::setItemRect ( const QRect & r )\fC [protected]\fR" +.SH "void TQIconViewItem::setItemRect ( const QRect & r )\fC [protected]\fR" Sets the bounding rectangle of the whole item to \fIr\fR. This function is provided for subclasses which reimplement calcRect(), so that they can set the calculated rectangle. \fIAny other use is discouraged.\fR .PP See also calcRect(), textRect(), setTextRect(), pixmapRect(), and setPixmapRect(). -.SH "void QIconViewItem::setKey ( const TQString & k )\fC [virtual]\fR" +.SH "void TQIconViewItem::setKey ( const TQString & k )\fC [virtual]\fR" Sets \fIk\fR as the sort key of the icon view item. By default text() is used for sorting. .PP See also compare(). .PP Example: fileiconview/qfileiconview.cpp. -.SH "void QIconViewItem::setPicture ( const QPicture & icon )\fC [virtual]\fR" +.SH "void TQIconViewItem::setPicture ( const QPicture & icon )\fC [virtual]\fR" Sets \fIicon\fR as the item's icon in the icon view. This function might be a no-op if you reimplement picture(). .PP See also picture(). -.SH "void QIconViewItem::setPixmap ( const QPixmap & icon )\fC [virtual]\fR" +.SH "void TQIconViewItem::setPixmap ( const QPixmap & icon )\fC [virtual]\fR" Sets \fIicon\fR as the item's icon in the icon view. This function might be a no-op if you reimplement pixmap(). .PP \fBNote:\fR Pixmaps with individual dimensions larger than 300 pixels may not be displayed properly, depending on the arrangement in use. See the main class documentation for details. .PP See also pixmap(). -.SH "void QIconViewItem::setPixmap ( const QPixmap & icon, bool recalc, bool redraw = TRUE )\fC [virtual]\fR" +.SH "void TQIconViewItem::setPixmap ( const QPixmap & icon, bool recalc, bool redraw = TRUE )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets \fIicon\fR as the item's icon in the icon view. If \fIrecalc\fR is TRUE, the icon view's layout is recalculated. If \fIredraw\fR is TRUE (the default), the icon view is repainted. @@ -478,80 +478,80 @@ Sets \fIicon\fR as the item's icon in the icon view. If \fIrecalc\fR is TRUE, th \fBNote:\fR Pixmaps with individual dimensions larger than 300 pixels may not be displayed properly, depending on the arrangement in use. See the main class documentation for details. .PP See also pixmap(). -.SH "void QIconViewItem::setPixmapRect ( const QRect & r )\fC [protected]\fR" +.SH "void TQIconViewItem::setPixmapRect ( const QRect & r )\fC [protected]\fR" Sets the bounding rectangle of the item's icon to \fIr\fR. This function is provided for subclasses which reimplement calcRect(), so that they can set the calculated rectangle. \fIAny other use is discouraged.\fR .PP See also calcRect(), pixmapRect(), setItemRect(), and setTextRect(). -.SH "void QIconViewItem::setRenameEnabled ( bool allow )\fC [virtual]\fR" +.SH "void TQIconViewItem::setRenameEnabled ( bool allow )\fC [virtual]\fR" If \fIallow\fR is TRUE, the user can rename the icon view item by clicking on the text (or pressing F2) while the item is selected (in-place renaming). If \fIallow\fR is FALSE, in-place renaming is not possible. .PP Examples: .)l fileiconview/qfileiconview.cpp, iconview/main.cpp, and iconview/simple_dd/main.cpp. -.SH "void QIconViewItem::setSelectable ( bool enable )\fC [virtual]\fR" +.SH "void TQIconViewItem::setSelectable ( bool enable )\fC [virtual]\fR" Sets this item to be selectable if \fIenable\fR is TRUE (the default) or unselectable if \fIenable\fR is FALSE. .PP The user is unable to select a non-selectable item using either the keyboard or the mouse. (The application programmer can select an item in code regardless of this setting.) .PP See also isSelectable(). -.SH "void QIconViewItem::setSelected ( bool s, bool cb )\fC [virtual]\fR" -Selects or unselects the item, depending on \fIs\fR; it may also unselect other items, depending on QIconView::selectionMode() and \fIcb\fR. +.SH "void TQIconViewItem::setSelected ( bool s, bool cb )\fC [virtual]\fR" +Selects or unselects the item, depending on \fIs\fR; it may also unselect other items, depending on TQIconView::selectionMode() and \fIcb\fR. .PP If \fIs\fR is FALSE, the item is unselected. .PP -If \fIs\fR is TRUE and QIconView::selectionMode() is \fCSingle\fR, the item is selected and the item previously selected is unselected. +If \fIs\fR is TRUE and TQIconView::selectionMode() is \fCSingle\fR, the item is selected and the item previously selected is unselected. .PP -If \fIs\fR is TRUE and QIconView::selectionMode() is \fCExtended\fR, the item is selected. If \fIcb\fR is TRUE, the selection state of the other items is left unchanged. If \fIcb\fR is FALSE (the default) all other items are unselected. +If \fIs\fR is TRUE and TQIconView::selectionMode() is \fCExtended\fR, the item is selected. If \fIcb\fR is TRUE, the selection state of the other items is left unchanged. If \fIcb\fR is FALSE (the default) all other items are unselected. .PP -If \fIs\fR is TRUE and QIconView::selectionMode() is \fCMulti\fR, the item is selected. +If \fIs\fR is TRUE and TQIconView::selectionMode() is \fCMulti\fR, the item is selected. .PP -Note that \fIcb\fR is used only if QIconView::selectionMode() is \fCExtended\fR; cb defaults to FALSE. +Note that \fIcb\fR is used only if TQIconView::selectionMode() is \fCExtended\fR; cb defaults to FALSE. .PP All items whose selection status changes repaint themselves. .PP Example: fileiconview/qfileiconview.cpp. -.SH "void QIconViewItem::setSelected ( bool s )\fC [virtual]\fR" +.SH "void TQIconViewItem::setSelected ( bool s )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This variant is equivalent to calling the other variant with \fIcb\fR set to FALSE. -.SH "void QIconViewItem::setText ( const TQString & text )\fC [virtual]\fR" +.SH "void TQIconViewItem::setText ( const TQString & text )\fC [virtual]\fR" Sets \fItext\fR as the text of the icon view item. This function might be a no-op if you reimplement text(). .PP See also text(). .PP Example: fileiconview/qfileiconview.cpp. -.SH "void QIconViewItem::setText ( const TQString & text, bool recalc, bool redraw = TRUE )\fC [virtual]\fR" +.SH "void TQIconViewItem::setText ( const TQString & text, bool recalc, bool redraw = TRUE )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets \fItext\fR as the text of the icon view item. If \fIrecalc\fR is TRUE, the icon view's layout is recalculated. If \fIredraw\fR is TRUE (the default), the icon view is repainted. .PP See also text(). -.SH "void QIconViewItem::setTextRect ( const QRect & r )\fC [protected]\fR" +.SH "void TQIconViewItem::setTextRect ( const QRect & r )\fC [protected]\fR" Sets the bounding rectangle of the item's text to \fIr\fR. This function is provided for subclasses which reimplement calcRect(), so that they can set the calculated rectangle. \fIAny other use is discouraged.\fR .PP See also calcRect(), textRect(), setItemRect(), and setPixmapRect(). -.SH "QSize QIconViewItem::size () const" +.SH "QSize TQIconViewItem::size () const" Returns the size of the item. -.SH "TQString QIconViewItem::text () const\fC [virtual]\fR" -Returns the text of the icon view item. Normally you set the text of the item with setText(), but sometimes it's inconvenient to call setText() for every item; so you can subclass QIconViewItem, reimplement this function, and return the text of the item. If you do this, you must call calcRect() manually each time the text (and therefore its size) changes. +.SH "TQString TQIconViewItem::text () const\fC [virtual]\fR" +Returns the text of the icon view item. Normally you set the text of the item with setText(), but sometimes it's inconvenient to call setText() for every item; so you can subclass TQIconViewItem, reimplement this function, and return the text of the item. If you do this, you must call calcRect() manually each time the text (and therefore its size) changes. .PP See also setText(). .PP Example: fileiconview/qfileiconview.cpp. -.SH "QRect QIconViewItem::textRect ( bool relative = TRUE ) const" +.SH "QRect TQIconViewItem::textRect ( bool relative = TRUE ) const" Returns the bounding rectangle of the item's text. .PP If \fIrelative\fR is TRUE, (the default), the returned rectangle is relative to the origin of the item's rectangle. If \fIrelative\fR is FALSE, the returned rectangle is relative to the origin of the icon view's contents coordinate system. .PP Example: fileiconview/qfileiconview.cpp. -.SH "int QIconViewItem::width () const" +.SH "int TQIconViewItem::width () const" Returns the width of the item. -.SH "int QIconViewItem::x () const" +.SH "int TQIconViewItem::x () const" Returns the x-coordinate of the item (in contents coordinates). -.SH "int QIconViewItem::y () const" +.SH "int TQIconViewItem::y () const" Returns the y-coordinate of the item (in contents coordinates). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qiconviewitem.html +.BR http://doc.trolltech.com/tqiconviewitem.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/tqlistview.3qt b/doc/man/man3/tqlistview.3qt index 737d4d28d..c55052abb 100644 --- a/doc/man/man3/tqlistview.3qt +++ b/doc/man/man3/tqlistview.3qt @@ -43,7 +43,7 @@ Inherits QScrollView. .BI "virtual int \fBaddColumn\fR ( const TQString & label, int width = -1 )" .br .ti -1c -.BI "virtual int \fBaddColumn\fR ( const QIconSet & iconset, const TQString & label, int width = -1 )" +.BI "virtual int \fBaddColumn\fR ( const TQIconSet & iconset, const TQString & label, int width = -1 )" .br .ti -1c .BI "virtual void \fBremoveColumn\fR ( int index )" @@ -52,7 +52,7 @@ Inherits QScrollView. .BI "virtual void \fBsetColumnText\fR ( int column, const TQString & label )" .br .ti -1c -.BI "virtual void \fBsetColumnText\fR ( int column, const QIconSet & iconset, const TQString & label )" +.BI "virtual void \fBsetColumnText\fR ( int column, const TQIconSet & iconset, const TQString & label )" .br .ti -1c .BI "TQString \fBcolumnText\fR ( int c ) const" @@ -532,7 +532,7 @@ See also setColumnText(), setColumnWidth(), and setColumnWidthMode(). .PP Examples: .)l addressbook/centralwidget.cpp, checklists/checklists.cpp, dirview/main.cpp, fileiconview/mainwindow.cpp, listviews/listviews.cpp, and qdir/qdir.cpp. -.SH "int QListView::addColumn ( const QIconSet & iconset, const TQString & label, int width = -1 )\fC [virtual]\fR" +.SH "int QListView::addColumn ( const TQIconSet & iconset, const TQString & label, int width = -1 )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Adds a \fIwidth\fR pixels wide new column with the header \fIlabel\fR and the \fIiconset\fR to the list view, and returns the index of the column. @@ -882,7 +882,7 @@ Example: listviews/listviews.cpp. Sets the heading of column \fIcolumn\fR to \fIlabel\fR. .PP See also columnText(). -.SH "void QListView::setColumnText ( int column, const QIconSet & iconset, const TQString & label )\fC [virtual]\fR" +.SH "void QListView::setColumnText ( int column, const TQIconSet & iconset, const TQString & label )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the heading of column \fIcolumn\fR to \fIiconset\fR and \fIlabel\fR. diff --git a/doc/man/man3/tqmainwindow.3qt b/doc/man/man3/tqmainwindow.3qt index 0d7f189ec..c1cdc40fc 100644 --- a/doc/man/man3/tqmainwindow.3qt +++ b/doc/man/man3/tqmainwindow.3qt @@ -380,7 +380,7 @@ Some functions change the appearance of a QMainWindow globally: .TP QDockWindow::setHorizontalStretchable() and QDockWindow::setVerticalStretchable() are used to make specific dock windows or toolbars stretchable. .TP -setUsesBigPixmaps() is used to set whether tool buttons should draw small or large pixmaps (see QIconSet for more information). +setUsesBigPixmaps() is used to set whether tool buttons should draw small or large pixmaps (see TQIconSet for more information). .TP setUsesTextLabel() is used to set whether tool buttons should display a textual label in addition to pixmaps (see QToolButton for more information). .PP diff --git a/doc/man/man3/tqmenubar.3qt b/doc/man/man3/tqmenubar.3qt index 42289d798..75c597585 100644 --- a/doc/man/man3/tqmenubar.3qt +++ b/doc/man/man3/tqmenubar.3qt @@ -61,43 +61,43 @@ Inherits QFrame and QMenuData. .BI "int \fBinsertItem\fR ( const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const TQString & text, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const TQString & text, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const TQString & text, QPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const TQString & text, QPopupMenu * popup, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, QPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const QPixmap & pixmap, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const QPixmap & pixmap, QPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const QPixmap & pixmap, QPopupMenu * popup, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, QPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( TQWidget * widget, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, QCustomMenuItem * custom, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, QCustomMenuItem * custom, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( QCustomMenuItem * custom, int id = -1, int index = -1 )" @@ -316,7 +316,7 @@ If you need to translate accelerators, use tr() with the text and accelerator. ( .PP In the example above, pressing Ctrl+O or selecting "Open" from the menu activates the myView->open() function. .PP -Some insert functions take a QIconSet parameter to specify the little menu item icon. Note that you can always pass a QPixmap object instead. +Some insert functions take a TQIconSet parameter to specify the little menu item icon. Note that you can always pass a QPixmap object instead. .PP The \fIid\fR specifies the identification number associated with the menu item. Note that only positive values are valid, as a negative value will make TQt select a unique id for the item. .PP @@ -334,7 +334,7 @@ See also removeItem(), changeItem(), setAccel(), connectItem(), QAccel, and ntqn .PP Examples: .)l addressbook/mainwindow.cpp, canvas/canvas.cpp, menu/menu.cpp, qwerty/qwerty.cpp, scrollview/scrollview.cpp, showimg/showimg.cpp, and sound/sound.cpp. -.SH "int QMenuData::insertItem ( const QIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, text \fItext\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The menu item is connected it to the \fIreceiver\fR's \fImember\fR slot. The icon will be displayed to the left of the text in the item. @@ -352,7 +352,7 @@ To look best when being highlighted as a menu item, the pixmap should provide a Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. The item is connected to the \fImember\fR slot in the \fIreceiver\fR object. @@ -370,7 +370,7 @@ Inserts a menu item with text \fItext\fR, optional id \fIid\fR, and optional \fI Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, const TQString & text, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const TQString & text, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, text \fItext\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the text in the item. @@ -388,7 +388,7 @@ The \fIpopup\fR must be deleted by the programmer or by its parent widget. It is Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, const TQString & text, QPopupMenu * popup, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const TQString & text, QPopupMenu * popup, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, text \fItext\fR, submenu \fIpopup\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the text in the item. @@ -408,7 +408,7 @@ To look best when being highlighted as a menu item, the pixmap should provide a Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. @@ -426,7 +426,7 @@ The \fIpopup\fR must be deleted by the programmer or by its parent widget. It is Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, const QPixmap & pixmap, QPopupMenu * popup, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, QPopupMenu * popup, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR submenu \fIpopup\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. @@ -464,7 +464,7 @@ If the widget is focus-enabled it will get focus when the user traverses the pop Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, QCustomMenuItem * custom, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, QCustomMenuItem * custom, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a custom menu item \fIcustom\fR with an \fIicon\fR and with optional id \fIid\fR, and optional \fIindex\fR position. diff --git a/doc/man/man3/tqmenudata.3qt b/doc/man/man3/tqmenudata.3qt index cbc1f5277..6c71fdf0b 100644 --- a/doc/man/man3/tqmenudata.3qt +++ b/doc/man/man3/tqmenudata.3qt @@ -28,43 +28,43 @@ Inherited by QMenuBar and QPopupMenu. .BI "int \fBinsertItem\fR ( const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const TQString & text, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const TQString & text, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const TQString & text, QPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const TQString & text, QPopupMenu * popup, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, QPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const QPixmap & pixmap, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const QPixmap & pixmap, QPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const QPixmap & pixmap, QPopupMenu * popup, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, QPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( TQWidget * widget, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, QCustomMenuItem * custom, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, QCustomMenuItem * custom, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( QCustomMenuItem * custom, int id = -1, int index = -1 )" @@ -88,7 +88,7 @@ Inherited by QMenuBar and QPopupMenu. .BI "void \fBsetAccel\fR ( const QKeySequence & key, int id )" .br .ti -1c -.BI "QIconSet * \fBiconSet\fR ( int id ) const" +.BI "TQIconSet * \fBiconSet\fR ( int id ) const" .br .ti -1c .BI "TQString \fBtext\fR ( int id ) const" @@ -109,10 +109,10 @@ Inherited by QMenuBar and QPopupMenu. .BI "void \fBchangeItem\fR ( int id, const QPixmap & pixmap )" .br .ti -1c -.BI "void \fBchangeItem\fR ( int id, const QIconSet & icon, const TQString & text )" +.BI "void \fBchangeItem\fR ( int id, const TQIconSet & icon, const TQString & text )" .br .ti -1c -.BI "void \fBchangeItem\fR ( int id, const QIconSet & icon, const QPixmap & pixmap )" +.BI "void \fBchangeItem\fR ( int id, const TQIconSet & icon, const QPixmap & pixmap )" .br .ti -1c .BI "void changeItem ( const TQString & text, int id ) \fI(obsolete)\fR" @@ -121,7 +121,7 @@ Inherited by QMenuBar and QPopupMenu. .BI "void changeItem ( const QPixmap & pixmap, int id ) \fI(obsolete)\fR" .br .ti -1c -.BI "void changeItem ( const QIconSet & icon, const TQString & text, int id ) \fI(obsolete)\fR" +.BI "void changeItem ( const TQIconSet & icon, const TQString & text, int id ) \fI(obsolete)\fR" .br .ti -1c .BI "bool \fBisItemActive\fR ( int id ) const" @@ -232,13 +232,13 @@ This is an overloaded member function, provided for convenience. It behaves esse Changes the pixmap of the menu item \fIid\fR to the pixmap \fIpixmap\fR. If the item has an icon, the icon is unchanged. .PP See also pixmap(). -.SH "void QMenuData::changeItem ( int id, const QIconSet & icon, const TQString & text )" +.SH "void QMenuData::changeItem ( int id, const TQIconSet & icon, const TQString & text )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Changes the iconset and text of the menu item \fIid\fR to the \fIicon\fR and \fItext\fR respectively. .PP See also pixmap(). -.SH "void QMenuData::changeItem ( int id, const QIconSet & icon, const QPixmap & pixmap )" +.SH "void QMenuData::changeItem ( int id, const TQIconSet & icon, const QPixmap & pixmap )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Changes the iconset and pixmap of the menu item \fIid\fR to \fIicon\fR and \fIpixmap\fR respectively. @@ -256,7 +256,7 @@ See also text(). Changes the pixmap of the menu item \fIid\fR. If the item has an icon, the icon remains unchanged. .PP See also pixmap(). -.SH "void QMenuData::changeItem ( const QIconSet & icon, const TQString & text, int id )" +.SH "void QMenuData::changeItem ( const TQIconSet & icon, const TQString & text, int id )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Changes the icon and text of the menu item \fIid\fR. @@ -301,7 +301,7 @@ Returns the menu item with identifier \fIid\fR, or 0 if there is no item with th Note that QMenuItem is an internal class, and that you should not need to call this function. Use the higher level functions like text(), pixmap() and changeItem() to get and modify menu item attributes instead. .PP See also indexOf(). -.SH "QIconSet * QMenuData::iconSet ( int id ) const" +.SH "TQIconSet * QMenuData::iconSet ( int id ) const" Returns the icon set that has been set for menu item \fIid\fR, or 0 if no icon set has been set. .PP See also changeItem(), text(), and pixmap(). @@ -356,7 +356,7 @@ If you need to translate accelerators, use tr() with the text and accelerator. ( .PP In the example above, pressing Ctrl+O or selecting "Open" from the menu activates the myView->open() function. .PP -Some insert functions take a QIconSet parameter to specify the little menu item icon. Note that you can always pass a QPixmap object instead. +Some insert functions take a TQIconSet parameter to specify the little menu item icon. Note that you can always pass a QPixmap object instead. .PP The \fIid\fR specifies the identification number associated with the menu item. Note that only positive values are valid, as a negative value will make TQt select a unique id for the item. .PP @@ -374,7 +374,7 @@ See also removeItem(), changeItem(), setAccel(), connectItem(), QAccel, and ntqn .PP Examples: .)l addressbook/mainwindow.cpp, canvas/canvas.cpp, menu/menu.cpp, qwerty/qwerty.cpp, scrollview/scrollview.cpp, showimg/showimg.cpp, and sound/sound.cpp. -.SH "int QMenuData::insertItem ( const QIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, text \fItext\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The menu item is connected it to the \fIreceiver\fR's \fImember\fR slot. The icon will be displayed to the left of the text in the item. @@ -392,7 +392,7 @@ To look best when being highlighted as a menu item, the pixmap should provide a Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. The item is connected to the \fImember\fR slot in the \fIreceiver\fR object. @@ -410,7 +410,7 @@ Inserts a menu item with text \fItext\fR, optional id \fIid\fR, and optional \fI Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, const TQString & text, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const TQString & text, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, text \fItext\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the text in the item. @@ -428,7 +428,7 @@ The \fIpopup\fR must be deleted by the programmer or by its parent widget. It is Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, const TQString & text, QPopupMenu * popup, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const TQString & text, QPopupMenu * popup, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, text \fItext\fR, submenu \fIpopup\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the text in the item. @@ -448,7 +448,7 @@ To look best when being highlighted as a menu item, the pixmap should provide a Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. @@ -466,7 +466,7 @@ The \fIpopup\fR must be deleted by the programmer or by its parent widget. It is Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, const QPixmap & pixmap, QPopupMenu * popup, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, QPopupMenu * popup, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR submenu \fIpopup\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. @@ -504,7 +504,7 @@ If the widget is focus-enabled it will get focus when the user traverses the pop Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, QCustomMenuItem * custom, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, QCustomMenuItem * custom, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a custom menu item \fIcustom\fR with an \fIicon\fR and with optional id \fIid\fR, and optional \fIindex\fR position. diff --git a/doc/man/man3/tqmimesource.3qt b/doc/man/man3/tqmimesource.3qt index 8263cdb69..566c9df61 100644 --- a/doc/man/man3/tqmimesource.3qt +++ b/doc/man/man3/tqmimesource.3qt @@ -52,7 +52,7 @@ Returns the encoded data of this object in the specified MIME format. .PP Subclasses must reimplement this function. .PP -Reimplemented in QStoredDrag, QDropEvent, and QIconDrag. +Reimplemented in QStoredDrag, QDropEvent, and TQIconDrag. .SH "const char * QMimeSource::format ( int i = 0 ) const\fC [pure virtual]\fR" Returns the \fIi\fR-th supported MIME format, or 0. .PP diff --git a/doc/man/man3/tqpopupmenu.3qt b/doc/man/man3/tqpopupmenu.3qt index 05df91223..b51ca54a2 100644 --- a/doc/man/man3/tqpopupmenu.3qt +++ b/doc/man/man3/tqpopupmenu.3qt @@ -73,43 +73,43 @@ Inherits QFrame and QMenuData. .BI "int \fBinsertItem\fR ( const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const TQString & text, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const TQString & text, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const TQString & text, QPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const TQString & text, QPopupMenu * popup, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, QPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const QPixmap & pixmap, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const QPixmap & pixmap, QPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, const QPixmap & pixmap, QPopupMenu * popup, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, QPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( TQWidget * widget, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QIconSet & icon, QCustomMenuItem * custom, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, QCustomMenuItem * custom, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( QCustomMenuItem * custom, int id = -1, int index = -1 )" @@ -133,7 +133,7 @@ Inherits QFrame and QMenuData. .BI "void \fBsetAccel\fR ( const QKeySequence & key, int id )" .br .ti -1c -.BI "QIconSet * \fBiconSet\fR ( int id ) const" +.BI "TQIconSet * \fBiconSet\fR ( int id ) const" .br .ti -1c .BI "TQString \fBtext\fR ( int id ) const" @@ -154,10 +154,10 @@ Inherits QFrame and QMenuData. .BI "void \fBchangeItem\fR ( int id, const QPixmap & pixmap )" .br .ti -1c -.BI "void \fBchangeItem\fR ( int id, const QIconSet & icon, const TQString & text )" +.BI "void \fBchangeItem\fR ( int id, const TQIconSet & icon, const TQString & text )" .br .ti -1c -.BI "void \fBchangeItem\fR ( int id, const QIconSet & icon, const QPixmap & pixmap )" +.BI "void \fBchangeItem\fR ( int id, const TQIconSet & icon, const QPixmap & pixmap )" .br .ti -1c .BI "bool \fBisItemEnabled\fR ( int id ) const" @@ -289,13 +289,13 @@ This is an overloaded member function, provided for convenience. It behaves esse Changes the pixmap of the menu item \fIid\fR to the pixmap \fIpixmap\fR. If the item has an icon, the icon is unchanged. .PP See also pixmap(). -.SH "void QMenuData::changeItem ( int id, const QIconSet & icon, const TQString & text )" +.SH "void QMenuData::changeItem ( int id, const TQIconSet & icon, const TQString & text )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Changes the iconset and text of the menu item \fIid\fR to the \fIicon\fR and \fItext\fR respectively. .PP See also pixmap(). -.SH "void QMenuData::changeItem ( int id, const QIconSet & icon, const QPixmap & pixmap )" +.SH "void QMenuData::changeItem ( int id, const TQIconSet & icon, const QPixmap & pixmap )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Changes the iconset and pixmap of the menu item \fIid\fR to \fIicon\fR and \fIpixmap\fR respectively. @@ -389,7 +389,7 @@ See also popup() and sizeHint. This signal is emitted when a menu item is highlighted; \fIid\fR is the id of the highlighted item. .PP See also activated() and QMenuData::insertItem(). -.SH "QIconSet * QMenuData::iconSet ( int id ) const" +.SH "TQIconSet * QMenuData::iconSet ( int id ) const" Returns the icon set that has been set for menu item \fIid\fR, or 0 if no icon set has been set. .PP See also changeItem(), text(), and pixmap(). @@ -444,7 +444,7 @@ If you need to translate accelerators, use tr() with the text and accelerator. ( .PP In the example above, pressing Ctrl+O or selecting "Open" from the menu activates the myView->open() function. .PP -Some insert functions take a QIconSet parameter to specify the little menu item icon. Note that you can always pass a QPixmap object instead. +Some insert functions take a TQIconSet parameter to specify the little menu item icon. Note that you can always pass a QPixmap object instead. .PP The \fIid\fR specifies the identification number associated with the menu item. Note that only positive values are valid, as a negative value will make TQt select a unique id for the item. .PP @@ -462,7 +462,7 @@ See also removeItem(), changeItem(), setAccel(), connectItem(), QAccel, and ntqn .PP Examples: .)l addressbook/mainwindow.cpp, canvas/canvas.cpp, menu/menu.cpp, qwerty/qwerty.cpp, scrollview/scrollview.cpp, showimg/showimg.cpp, and sound/sound.cpp. -.SH "int QMenuData::insertItem ( const QIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, text \fItext\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The menu item is connected it to the \fIreceiver\fR's \fImember\fR slot. The icon will be displayed to the left of the text in the item. @@ -480,7 +480,7 @@ To look best when being highlighted as a menu item, the pixmap should provide a Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. The item is connected to the \fImember\fR slot in the \fIreceiver\fR object. @@ -498,7 +498,7 @@ Inserts a menu item with text \fItext\fR, optional id \fIid\fR, and optional \fI Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, const TQString & text, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const TQString & text, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, text \fItext\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the text in the item. @@ -516,7 +516,7 @@ The \fIpopup\fR must be deleted by the programmer or by its parent widget. It is Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, const TQString & text, QPopupMenu * popup, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const TQString & text, QPopupMenu * popup, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, text \fItext\fR, submenu \fIpopup\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the text in the item. @@ -536,7 +536,7 @@ To look best when being highlighted as a menu item, the pixmap should provide a Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. @@ -554,7 +554,7 @@ The \fIpopup\fR must be deleted by the programmer or by its parent widget. It is Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, const QPixmap & pixmap, QPopupMenu * popup, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, QPopupMenu * popup, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR submenu \fIpopup\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. @@ -592,7 +592,7 @@ If the widget is focus-enabled it will get focus when the user traverses the pop Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(). -.SH "int QMenuData::insertItem ( const QIconSet & icon, QCustomMenuItem * custom, int id = -1, int index = -1 )" +.SH "int QMenuData::insertItem ( const TQIconSet & icon, QCustomMenuItem * custom, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a custom menu item \fIcustom\fR with an \fIicon\fR and with optional id \fIid\fR, and optional \fIindex\fR position. diff --git a/doc/man/man3/tqpushbutton.3qt b/doc/man/man3/tqpushbutton.3qt index d84fe3530..aefb21929 100644 --- a/doc/man/man3/tqpushbutton.3qt +++ b/doc/man/man3/tqpushbutton.3qt @@ -22,7 +22,7 @@ Inherits QButton. .BI "\fBQPushButton\fR ( const TQString & text, TQWidget * parent, const char * name = 0 )" .br .ti -1c -.BI "\fBQPushButton\fR ( const QIconSet & icon, const TQString & text, TQWidget * parent, const char * name = 0 )" +.BI "\fBQPushButton\fR ( const TQIconSet & icon, const TQString & text, TQWidget * parent, const char * name = 0 )" .br .ti -1c .BI "\fB~QPushButton\fR ()" @@ -55,10 +55,10 @@ Inherits QButton. .BI "QPopupMenu * \fBpopup\fR () const" .br .ti -1c -.BI "void \fBsetIconSet\fR ( const QIconSet & )" +.BI "void \fBsetIconSet\fR ( const TQIconSet & )" .br .ti -1c -.BI "QIconSet * \fBiconSet\fR () const" +.BI "TQIconSet * \fBiconSet\fR () const" .br .ti -1c .BI "void \fBsetFlat\fR ( bool )" @@ -154,7 +154,7 @@ Inherits QButton. .BI "bool \fBflat\fR - whether the border is disabled" .br .ti -1c -.BI "QIconSet \fBiconSet\fR - the icon set on the push button" +.BI "TQIconSet \fBiconSet\fR - the icon set on the push button" .br .ti -1c .BI "bool menuButton - whether the push button has a menu button on it \fI(read " "only" ")\fR \fI(obsolete)\fR" @@ -227,7 +227,7 @@ Constructs a push button with no text. The \fIparent\fR and \fIname\fR arguments are sent on to the TQWidget constructor. .SH "QPushButton::QPushButton ( const TQString & text, TQWidget * parent, const char * name = 0 )" Constructs a push button called \fIname\fR with the parent \fIparent\fR and the text \fItext\fR. -.SH "QPushButton::QPushButton ( const QIconSet & icon, const TQString & text, TQWidget * parent, const char * name = 0 )" +.SH "QPushButton::QPushButton ( const TQIconSet & icon, const TQString & text, TQWidget * parent, const char * name = 0 )" Constructs a push button with an \fIicon\fR and a \fItext\fR. .PP Note that you can also pass a QPixmap object as an icon (thanks to the implicit type conversion provided by C++). @@ -258,7 +258,7 @@ Returns the group that this button belongs to. If the button is not a member of any QButtonGroup, this function returns 0. .PP See also QButtonGroup. -.SH "QIconSet * QPushButton::iconSet () const" +.SH "TQIconSet * QPushButton::iconSet () const" Returns the icon set on the push button. See the "iconSet" property for details. .SH "bool QPushButton::isDefault () const" Returns TRUE if the push button is the default button; otherwise returns FALSE. See the "default" property for details. @@ -303,7 +303,7 @@ Sets whether the push button is the default button to \fIdef\fR. See the "defaul Sets whether the button is pressed. See the "down" property for details. .SH "void QPushButton::setFlat ( bool )" Sets whether the border is disabled. See the "flat" property for details. -.SH "void QPushButton::setIconSet ( const QIconSet & )" +.SH "void QPushButton::setIconSet ( const TQIconSet & )" Sets the icon set on the push button. See the "iconSet" property for details. .SH "void QPushButton::setIsMenuButton ( bool enable )\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. @@ -395,7 +395,7 @@ This property holds whether the border is disabled. This property's default is FALSE. .PP Set this property's value with setFlat() and get this property's value with isFlat(). -.SH "QIconSet iconSet" +.SH "TQIconSet iconSet" This property holds the icon set on the push button. .PP This property will return 0 if the push button has no iconset. diff --git a/doc/man/man3/tqscrollview.3qt b/doc/man/man3/tqscrollview.3qt index aee662c84..07eb4e2a3 100644 --- a/doc/man/man3/tqscrollview.3qt +++ b/doc/man/man3/tqscrollview.3qt @@ -13,7 +13,7 @@ QScrollView \- Scrolling area with on-demand scroll bars .PP Inherits QFrame. .PP -Inherited by TQCanvasView, QTable, QGridView, QIconView, QListBox, QListView, and TQTextEdit. +Inherited by TQCanvasView, QTable, QGridView, TQIconView, QListBox, QListView, and TQTextEdit. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqt.3qt b/doc/man/man3/tqt.3qt index 46022863f..7bfd60fb1 100644 --- a/doc/man/man3/tqt.3qt +++ b/doc/man/man3/tqt.3qt @@ -11,7 +11,7 @@ Qt \- Namespace for miscellaneous identifiers that need to be global-like .SH SYNOPSIS \fC#include \fR .PP -Inherited by TQObject, QPixmap, QBrush, TQCanvasItem, QCursor, QPainter, QEvent, QIconViewItem, QKeySequence, QListViewItem, QCustomMenuItem, QPen, QStyleSheetItem, QSyntaxHighlighter, QTab, QTableItem, QThread, QToolTip, and QWhatsThis. +Inherited by TQObject, QPixmap, QBrush, TQCanvasItem, QCursor, QPainter, QEvent, TQIconViewItem, QKeySequence, QListViewItem, QCustomMenuItem, QPen, QStyleSheetItem, QSyntaxHighlighter, QTab, QTableItem, QThread, QToolTip, and QWhatsThis. .PP .SS "Public Members" .in +1c @@ -1176,7 +1176,7 @@ This enum describes how the items in a widget are sorted. .TP \fCQt::Descending\fR - The items are sorted descending e.g. starts with 'ZZZ' ends with 'AAA' in Latin-1 locales .SH "TQt::StringComparisonMode" -This enum type is used to set the string comparison mode when searching for an item. It is used by QListBox, QListView and QIconView, for example. We'll refer to the string being searched as the 'target' string. +This enum type is used to set the string comparison mode when searching for an item. It is used by QListBox, QListView and TQIconView, for example. We'll refer to the string being searched as the 'target' string. .TP \fCQt::CaseSensitive\fR - The strings must match case sensitively. .TP diff --git a/doc/man/man3/tqtab.3qt b/doc/man/man3/tqtab.3qt index e53c0dd7d..a72656ca5 100644 --- a/doc/man/man3/tqtab.3qt +++ b/doc/man/man3/tqtab.3qt @@ -25,7 +25,7 @@ Inherits Qt. .BI "\fBQTab\fR ( const TQString & text )" .br .ti -1c -.BI "\fBQTab\fR ( const QIconSet & icon, const TQString & text = TQString::null )" +.BI "\fBQTab\fR ( const TQIconSet & icon, const TQString & text = TQString::null )" .br .ti -1c .BI "void \fBsetText\fR ( const TQString & text )" @@ -34,10 +34,10 @@ Inherits Qt. .BI "TQString \fBtext\fR () const" .br .ti -1c -.BI "void \fBsetIconSet\fR ( const QIconSet & icon )" +.BI "void \fBsetIconSet\fR ( const TQIconSet & icon )" .br .ti -1c -.BI "QIconSet * \fBiconSet\fR () const" +.BI "TQIconSet * \fBiconSet\fR () const" .br .ti -1c .BI "void \fBsetRect\fR ( const QRect & rect )" @@ -69,12 +69,12 @@ See also QTabBar and Advanced Widgets. Constructs an empty tab. All fields are set to empty. .SH "QTab::QTab ( const TQString & text )" Constructs a tab with the text \fItext\fR. -.SH "QTab::QTab ( const QIconSet & icon, const TQString & text = TQString::null )" +.SH "QTab::QTab ( const TQIconSet & icon, const TQString & text = TQString::null )" Constructs a tab with an \fIicon\fR and the text, \fItext\fR. .SH "QTab::~QTab ()\fC [virtual]\fR" Destroys the tab and frees up all allocated resources. -.SH "QIconSet * QTab::iconSet () const" -Return the QIconSet of the QTab. +.SH "TQIconSet * QTab::iconSet () const" +Return the TQIconSet of the QTab. .SH "int QTab::identifier () const" Return the QTab's identifier. .SH "bool QTab::isEnabled () const" @@ -83,7 +83,7 @@ Returns TRUE if the QTab is enabled; otherwise returns FALSE. Return the QRect for the QTab. .SH "void QTab::setEnabled ( bool enable )" If \fIenable\fR is TRUE enable the QTab, otherwise disable it. -.SH "void QTab::setIconSet ( const QIconSet & icon )" +.SH "void QTab::setIconSet ( const TQIconSet & icon )" Sets the tab's iconset to \fIicon\fR .SH "void QTab::setIdentifier ( int i )" Set the identifier for the QTab to \fIi\fR. Each QTab's identifier within a QTabBar must be unique. diff --git a/doc/man/man3/tqtabdialog.3qt b/doc/man/man3/tqtabdialog.3qt index cad20b82c..653085d56 100644 --- a/doc/man/man3/tqtabdialog.3qt +++ b/doc/man/man3/tqtabdialog.3qt @@ -28,7 +28,7 @@ Inherits QDialog. .BI "void \fBaddTab\fR ( TQWidget * child, const TQString & label )" .br .ti -1c -.BI "void \fBaddTab\fR ( TQWidget * child, const QIconSet & iconset, const TQString & label )" +.BI "void \fBaddTab\fR ( TQWidget * child, const TQIconSet & iconset, const TQString & label )" .br .ti -1c .BI "void \fBaddTab\fR ( TQWidget * child, QTab * tab )" @@ -37,7 +37,7 @@ Inherits QDialog. .BI "void \fBinsertTab\fR ( TQWidget * child, const TQString & label, int index = -1 )" .br .ti -1c -.BI "void \fBinsertTab\fR ( TQWidget * child, const QIconSet & iconset, const TQString & label, int index = -1 )" +.BI "void \fBinsertTab\fR ( TQWidget * child, const TQIconSet & iconset, const TQString & label, int index = -1 )" .br .ti -1c .BI "void \fBinsertTab\fR ( TQWidget * child, QTab * tab, int index = -1 )" @@ -46,7 +46,7 @@ Inherits QDialog. .BI "void \fBchangeTab\fR ( TQWidget * w, const TQString & label )" .br .ti -1c -.BI "void \fBchangeTab\fR ( TQWidget * w, const QIconSet & iconset, const TQString & label )" +.BI "void \fBchangeTab\fR ( TQWidget * w, const TQIconSet & iconset, const TQString & label )" .br .ti -1c .BI "bool \fBisTabEnabled\fR ( TQWidget * w ) const" @@ -221,7 +221,7 @@ If the tab's \fIlabel\fR contains an ampersand, the letter following the ampersa If you call addTab() after show() the screen will flicker and the user may be confused. .PP See also insertTab(). -.SH "void QTabDialog::addTab ( TQWidget * child, const QIconSet & iconset, const TQString & label )" +.SH "void QTabDialog::addTab ( TQWidget * child, const TQIconSet & iconset, const TQString & label )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This version of the function shows the \fIiconset\fR as well as the \fIlabel\fR on the tab of \fIchild\fR. @@ -243,7 +243,7 @@ This signal is emitted when the Cancel button is clicked. It is automatically co The Cancel button should not change the application's state at all, so you should generally not need to connect it to any slot. .PP See also applyButtonPressed(), defaultButtonPressed(), and setCancelButton(). -.SH "void QTabDialog::changeTab ( TQWidget * w, const QIconSet & iconset, const TQString & label )" +.SH "void QTabDialog::changeTab ( TQWidget * w, const TQIconSet & iconset, const TQString & label )" Changes tab page \fIw\fR's iconset to \fIiconset\fR and label to \fIlabel\fR. .SH "void QTabDialog::changeTab ( TQWidget * w, const TQString & label )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -297,7 +297,7 @@ If \fIindex\fR is not specified, the tab is simply added. Otherwise it is insert If you call insertTab() after show(), the screen will flicker and the user may be confused. .PP See also addTab(). -.SH "void QTabDialog::insertTab ( TQWidget * child, const QIconSet & iconset, const TQString & label, int index = -1 )" +.SH "void QTabDialog::insertTab ( TQWidget * child, const TQIconSet & iconset, const TQString & label, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This version of the function shows the \fIiconset\fR as well as the \fIlabel\fR on the tab of \fIchild\fR. diff --git a/doc/man/man3/tqtabwidget.3qt b/doc/man/man3/tqtabwidget.3qt index 7cab09f1c..90133905a 100644 --- a/doc/man/man3/tqtabwidget.3qt +++ b/doc/man/man3/tqtabwidget.3qt @@ -22,7 +22,7 @@ Inherits TQWidget. .BI "virtual void \fBaddTab\fR ( TQWidget * child, const TQString & label )" .br .ti -1c -.BI "virtual void \fBaddTab\fR ( TQWidget * child, const QIconSet & iconset, const TQString & label )" +.BI "virtual void \fBaddTab\fR ( TQWidget * child, const TQIconSet & iconset, const TQString & label )" .br .ti -1c .BI "virtual void \fBaddTab\fR ( TQWidget * child, QTab * tab )" @@ -31,7 +31,7 @@ Inherits TQWidget. .BI "virtual void \fBinsertTab\fR ( TQWidget * child, const TQString & label, int index = -1 )" .br .ti -1c -.BI "virtual void \fBinsertTab\fR ( TQWidget * child, const QIconSet & iconset, const TQString & label, int index = -1 )" +.BI "virtual void \fBinsertTab\fR ( TQWidget * child, const TQIconSet & iconset, const TQString & label, int index = -1 )" .br .ti -1c .BI "virtual void \fBinsertTab\fR ( TQWidget * child, QTab * tab, int index = -1 )" @@ -40,7 +40,7 @@ Inherits TQWidget. .BI "void \fBchangeTab\fR ( TQWidget * w, const TQString & label )" .br .ti -1c -.BI "void \fBchangeTab\fR ( TQWidget * w, const QIconSet & iconset, const TQString & label )" +.BI "void \fBchangeTab\fR ( TQWidget * w, const TQIconSet & iconset, const TQString & label )" .br .ti -1c .BI "bool \fBisTabEnabled\fR ( TQWidget * w ) const" @@ -61,10 +61,10 @@ Inherits TQWidget. .BI "void \fBsetTabLabel\fR ( TQWidget * w, const TQString & l )" .br .ti -1c -.BI "QIconSet \fBtabIconSet\fR ( TQWidget * w ) const" +.BI "TQIconSet \fBtabIconSet\fR ( TQWidget * w ) const" .br .ti -1c -.BI "void \fBsetTabIconSet\fR ( TQWidget * w, const QIconSet & iconset )" +.BI "void \fBsetTabIconSet\fR ( TQWidget * w, const TQIconSet & iconset )" .br .ti -1c .BI "void \fBremoveTabToolTip\fR ( TQWidget * w )" @@ -234,7 +234,7 @@ See also insertTab(). .PP Examples: .)l addressbook/centralwidget.cpp and themes/themes.cpp. -.SH "void QTabWidget::addTab ( TQWidget * child, const QIconSet & iconset, const TQString & label )\fC [virtual]\fR" +.SH "void QTabWidget::addTab ( TQWidget * child, const TQIconSet & iconset, const TQString & label )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Adds another tab and page to the tab view. @@ -246,7 +246,7 @@ This is an overloaded member function, provided for convenience. It behaves esse This is a low-level function for adding tabs. It is useful if you are using setTabBar() to set a QTabBar subclass with an overridden QTabBar::paint() function for a subclass of QTab. The \fIchild\fR is the new page and \fItab\fR is the tab to put the \fIchild\fR on. .SH "void QTabWidget::changeTab ( TQWidget * w, const TQString & label )" Defines a new \fIlabel\fR for page \fIw\fR's tab. -.SH "void QTabWidget::changeTab ( TQWidget * w, const QIconSet & iconset, const TQString & label )" +.SH "void QTabWidget::changeTab ( TQWidget * w, const TQIconSet & iconset, const TQString & label )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Defines a new \fIiconset\fR and a new \fIlabel\fR for page \fIw\fR's tab. @@ -276,7 +276,7 @@ If \fIindex\fR is not specified, the tab is simply appended. Otherwise it is ins If you call insertTab() after show(), the screen will flicker and the user may be confused. .PP See also addTab(). -.SH "void QTabWidget::insertTab ( TQWidget * child, const QIconSet & iconset, const TQString & label, int index = -1 )\fC [virtual]\fR" +.SH "void QTabWidget::insertTab ( TQWidget * child, const TQIconSet & iconset, const TQString & label, int index = -1 )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts another tab and page to the tab view. @@ -326,7 +326,7 @@ QTabWidget uses TQWidget::setEnabled() internally, rather than keeping a separat Note that even a disabled tab/page may be visible. If the page is visible already, QTabWidget will not hide it; if all the pages are disabled, QTabWidget will show one of them. .PP See also isTabEnabled() and TQWidget::enabled. -.SH "void QTabWidget::setTabIconSet ( TQWidget * w, const QIconSet & iconset )" +.SH "void QTabWidget::setTabIconSet ( TQWidget * w, const TQIconSet & iconset )" Sets the iconset for page \fIw\fR to \fIiconset\fR. .SH "void QTabWidget::setTabLabel ( TQWidget * w, const TQString & l )" Sets the tab label for page \fIw\fR to \fIl\fR @@ -348,7 +348,7 @@ See also QTabBar::currentTab. Returns the current QTabBar. .PP See also setTabBar(). -.SH "QIconSet QTabWidget::tabIconSet ( TQWidget * w ) const" +.SH "TQIconSet QTabWidget::tabIconSet ( TQWidget * w ) const" Returns the iconset of page \fIw\fR or a null iconset if \fIw\fR is not a tab page or does not have an iconset. .SH "TQString QTabWidget::tabLabel ( TQWidget * w ) const" Returns the label text for the tab on page \fIw\fR. diff --git a/doc/man/man3/tqtoolbox.3qt b/doc/man/man3/tqtoolbox.3qt index 0be3aca4a..9d86bf88f 100644 --- a/doc/man/man3/tqtoolbox.3qt +++ b/doc/man/man3/tqtoolbox.3qt @@ -22,13 +22,13 @@ Inherits QFrame. .BI "int \fBaddItem\fR ( TQWidget * w, const TQString & label )" .br .ti -1c -.BI "int \fBaddItem\fR ( TQWidget * item, const QIconSet & iconSet, const TQString & label )" +.BI "int \fBaddItem\fR ( TQWidget * item, const TQIconSet & iconSet, const TQString & label )" .br .ti -1c .BI "int \fBinsertItem\fR ( int index, TQWidget * item, const TQString & label )" .br .ti -1c -.BI "int \fBinsertItem\fR ( int index, TQWidget * item, const QIconSet & iconSet, const TQString & label )" +.BI "int \fBinsertItem\fR ( int index, TQWidget * item, const TQIconSet & iconSet, const TQString & label )" .br .ti -1c .BI "int \fBremoveItem\fR ( TQWidget * item )" @@ -46,10 +46,10 @@ Inherits QFrame. .BI "TQString \fBitemLabel\fR ( int index ) const" .br .ti -1c -.BI "void \fBsetItemIconSet\fR ( int index, const QIconSet & iconSet )" +.BI "void \fBsetItemIconSet\fR ( int index, const TQIconSet & iconSet )" .br .ti -1c -.BI "QIconSet \fBitemIconSet\fR ( int index ) const" +.BI "TQIconSet \fBitemIconSet\fR ( int index ) const" .br .ti -1c .BI "void \fBsetItemToolTip\fR ( int index, const TQString & toolTip )" @@ -123,7 +123,7 @@ See also QTabWidget and Advanced Widgets. .SH MEMBER FUNCTION DOCUMENTATION .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 ( TQWidget * item, const QIconSet & iconSet, const TQString & label )" +.SH "int QToolBox::addItem ( TQWidget * item, const TQIconSet & 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 ( TQWidget * w, const TQString & label )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -139,7 +139,7 @@ Returns the index of the current item, or -1 if the toolbox is empty. See the "c Returns the toolbox's current item, or 0 if the toolbox is empty. .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, TQWidget * item, const QIconSet & iconSet, const TQString & label )" +.SH "int QToolBox::insertItem ( int index, TQWidget * item, const TQIconSet & 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, TQWidget * item, const TQString & label )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -149,7 +149,7 @@ Inserts the widget \fIitem\fR at position \fIindex\fR, or at the bottom of the t Returns TRUE if the item at position \fIindex\fR is enabled; otherwise returns FALSE. .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" +.SH "TQIconSet 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. @@ -167,7 +167,7 @@ Sets the index of the current item, or -1 if the toolbox is empty to \fIindex\fR 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 )" +.SH "void QToolBox::setItemIconSet ( int index, const TQIconSet & iconSet )" Sets the icon of the item at position \fIindex\fR to \fIiconSet\fR. .SH "void QToolBox::setItemLabel ( int index, const TQString & label )" Sets the label of the item at position \fIindex\fR to \fIlabel\fR. diff --git a/doc/man/man3/tqtoolbutton.3qt b/doc/man/man3/tqtoolbutton.3qt index f02b675f8..1b5bb76c0 100644 --- a/doc/man/man3/tqtoolbutton.3qt +++ b/doc/man/man3/tqtoolbutton.3qt @@ -22,7 +22,7 @@ Inherits QButton. .BI "\fBQToolButton\fR ( TQWidget * parent, const char * name = 0 )" .br .ti -1c -.BI "\fBQToolButton\fR ( const QIconSet & iconSet, const TQString & textLabel, const TQString & grouptext, TQObject * receiver, const char * slot, QToolBar * parent, const char * name = 0 )" +.BI "\fBQToolButton\fR ( const TQIconSet & iconSet, const TQString & textLabel, const TQString & grouptext, TQObject * receiver, const char * slot, QToolBar * parent, const char * name = 0 )" .br .ti -1c .BI "\fBQToolButton\fR ( ArrowType type, TQWidget * parent, const char * name = 0 )" @@ -31,10 +31,10 @@ Inherits QButton. .BI "\fB~QToolButton\fR ()" .br .ti -1c -.BI "virtual void \fBsetIconSet\fR ( const QIconSet & )" +.BI "virtual void \fBsetIconSet\fR ( const TQIconSet & )" .br .ti -1c -.BI "QIconSet \fBiconSet\fR () const" +.BI "TQIconSet \fBiconSet\fR () const" .br .ti -1c .BI "bool \fBusesBigPixmap\fR () const" @@ -106,7 +106,7 @@ Inherits QButton. .BI "BackgroundMode \fBbackgroundMode\fR - the toolbutton's background mode \fI(read " "only" ")\fR" .br .ti -1c -.BI "QIconSet \fBiconSet\fR - the icon set providing the icon shown on the button" +.BI "TQIconSet \fBiconSet\fR - the icon set providing the icon shown on the button" .br .ti -1c .BI "bool \fBon\fR - whether this tool button is on" @@ -146,7 +146,7 @@ A tool button is a special button that provides quick-access to specific command .PP QToolButton supports auto-raising. In auto-raise mode, the button draws a 3D frame only when the mouse points at it. The feature is automatically turned on when a button is used inside a QToolBar. Change it with setAutoRaise(). .PP -A tool button's icon is set as QIconSet. This makes it possible to specify different pixmaps for the disabled and active state. The disabled pixmap is used when the button's functionality is not available. The active pixmap is displayed when the button is auto-raised because the mouse pointer is hovering over it. +A tool button's icon is set as TQIconSet. This makes it possible to specify different pixmaps for the disabled and active state. The disabled pixmap is used when the button's functionality is not available. The active pixmap is displayed when the button is auto-raised because the mouse pointer is hovering over it. .PP The button's look and dimension is adjustable with setUsesBigPixmap() and setUsesTextLabel(). When used inside a QToolBar in a QMainWindow, the button automatically adjusts to QMainWindow's settings (see QMainWindow::setUsesTextLabel() and QMainWindow::setUsesBigPixmaps()). The pixmap set on a QToolButton will be set to 22x22 if it is bigger than this size. If usesBigPixmap() is TRUE, then the pixmap will be set to 32x32. .PP @@ -169,7 +169,7 @@ The position of the tool button's textLabel in relation to the tool button's ico .SH MEMBER FUNCTION DOCUMENTATION .SH "QToolButton::QToolButton ( TQWidget * parent, const char * name = 0 )" Constructs an empty tool button called \fIname\fR, with parent \fIparent\fR. -.SH "QToolButton::QToolButton ( const QIconSet & iconSet, const TQString & textLabel, const TQString & grouptext, TQObject * receiver, const char * slot, QToolBar * parent, const char * name = 0 )" +.SH "QToolButton::QToolButton ( const TQIconSet & iconSet, const TQString & textLabel, const TQString & grouptext, TQObject * receiver, const char * slot, QToolBar * parent, const char * name = 0 )" Constructs a tool button called \fIname\fR, that is a child of \fIparent\fR (which must be a QToolBar). .PP The tool button will display \fIiconSet\fR, with its text label and tool tip set to \fItextLabel\fR and its status bar message set to \fIgrouptext\fR. It will be connected to the \fIslot\fR in object \fIreceiver\fR. @@ -183,7 +183,7 @@ The \fIparent\fR and \fIname\fR arguments are sent to the TQWidget constructor. Destroys the object and frees any allocated resources. .SH "bool QToolButton::autoRaise () const" Returns TRUE if auto-raising is enabled; otherwise returns FALSE. See the "autoRaise" property for details. -.SH "QIconSet QToolButton::iconSet () const" +.SH "TQIconSet QToolButton::iconSet () const" Returns the icon set providing the icon shown on the button. See the "iconSet" property for details. .SH "void QToolButton::openPopup ()" Opens (pops up) the associated popup menu. If there is no such menu, this function does nothing. This function does not return until the popup menu has been closed by the user. @@ -195,7 +195,7 @@ See also setPopup(). Returns the time delay between pressing the button and the appearance of the associated popup menu in milliseconds. See the "popupDelay" property for details. .SH "void QToolButton::setAutoRaise ( bool enable )" Sets whether auto-raising is enabled to \fIenable\fR. See the "autoRaise" property for details. -.SH "void QToolButton::setIconSet ( const QIconSet & )\fC [virtual]\fR" +.SH "void QToolButton::setIconSet ( const TQIconSet & )\fC [virtual]\fR" Sets the icon set providing the icon shown on the button. See the "iconSet" property for details. .SH "void QToolButton::setOn ( bool enable )\fC [virtual slot]\fR" Sets whether this tool button is on to \fIenable\fR. See the "on" property for details. @@ -254,7 +254,7 @@ This property holds the toolbutton's background mode. Get this property with backgroundMode(). .PP See also TQWidget::backgroundMode. -.SH "QIconSet iconSet" +.SH "TQIconSet iconSet" This property holds the icon set providing the icon shown on the button. .PP Setting this property sets QToolButton::pixmap to a null pixmap. There is no default iconset. diff --git a/doc/man/man3/tqvariant.3qt b/doc/man/man3/tqvariant.3qt index e197a7fc4..a46e3567d 100644 --- a/doc/man/man3/tqvariant.3qt +++ b/doc/man/man3/tqvariant.3qt @@ -71,7 +71,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "\fBQVariant\fR ( const QColorGroup & val )" .br .ti -1c -.BI "\fBQVariant\fR ( const QIconSet & val )" +.BI "\fBQVariant\fR ( const TQIconSet & val )" .br .ti -1c .BI "\fBQVariant\fR ( const QPointArray & val )" @@ -203,7 +203,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "const QColorGroup \fBtoColorGroup\fR () const" .br .ti -1c -.BI "const QIconSet \fBtoIconSet\fR () const" +.BI "const TQIconSet \fBtoIconSet\fR () const" .br .ti -1c .BI "const QPointArray \fBtoPointArray\fR () const" @@ -326,7 +326,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "QColorGroup & \fBasColorGroup\fR ()" .br .ti -1c -.BI "QIconSet & \fBasIconSet\fR ()" +.BI "TQIconSet & \fBasIconSet\fR ()" .br .ti -1c .BI "QPointArray & \fBasPointArray\fR ()" @@ -500,7 +500,7 @@ This enum type defines the types of variable that a QVariant can contain. .TP \fCQVariant::Font\fR - a QFont .TP -\fCQVariant::IconSet\fR - a QIconSet +\fCQVariant::IconSet\fR - a TQIconSet .TP \fCQVariant::Image\fR - a TQImage .TP @@ -592,7 +592,7 @@ Constructs a new variant with a color value, \fIval\fR. Constructs a new variant with a color palette value, \fIval\fR. .SH "QVariant::QVariant ( const QColorGroup & val )" Constructs a new variant with a color group value, \fIval\fR. -.SH "QVariant::QVariant ( const QIconSet & val )" +.SH "QVariant::QVariant ( const TQIconSet & val )" Constructs a new variant with an icon set value, \fIval\fR. .SH "QVariant::QVariant ( const QPointArray & val )" Constructs a new variant with a point array value, \fIval\fR. @@ -704,8 +704,8 @@ Tries to convert the variant to hold a QFont. If that is not possible the varian Returns a reference to the stored font. .PP See also toFont(). -.SH "QIconSet & QVariant::asIconSet ()" -Tries to convert the variant to hold a QIconSet value. If that is not possible the variant is set to an empty iconset. +.SH "TQIconSet & QVariant::asIconSet ()" +Tries to convert the variant to hold a TQIconSet value. If that is not possible the variant is set to an empty iconset. .PP Returns a reference to the stored iconset. .PP @@ -975,8 +975,8 @@ See also asDouble() and canCast(). Returns the variant as a QFont if the variant can be cast to Font; otherwise returns the application's default font. .PP See also asFont() and canCast(). -.SH "const QIconSet QVariant::toIconSet () const" -Returns the variant as a QIconSet if the variant has type() IconSet; otherwise returns an icon set of null pixmaps. +.SH "const TQIconSet QVariant::toIconSet () const" +Returns the variant as a TQIconSet if the variant has type() IconSet; otherwise returns an icon set of null pixmaps. .PP See also asIconSet(). .SH "const TQImage QVariant::toImage () const" diff --git a/doc/man/man3/tqwidgetplugin.3qt b/doc/man/man3/tqwidgetplugin.3qt index d39496dc6..f250240ce 100644 --- a/doc/man/man3/tqwidgetplugin.3qt +++ b/doc/man/man3/tqwidgetplugin.3qt @@ -29,7 +29,7 @@ TQWidgetPlugin \- Abstract base for custom TQWidget plugins .BI "virtual TQString \fBgroup\fR ( const TQString & key ) const" .br .ti -1c -.BI "virtual QIconSet \fBiconSet\fR ( const TQString & key ) const" +.BI "virtual TQIconSet \fBiconSet\fR ( const TQString & key ) const" .br .ti -1c .BI "virtual TQString \fBincludeFile\fR ( const TQString & key ) const" @@ -71,7 +71,7 @@ See also keys(). Returns the group (toolbar name) that the custom widget of class \fIkey\fR should be part of when \fIQt Designer\fR loads it. .PP The default implementation returns TQString::null. -.SH "QIconSet TQWidgetPlugin::iconSet ( const TQString & key ) const\fC [virtual]\fR" +.SH "TQIconSet TQWidgetPlugin::iconSet ( const TQString & key ) const\fC [virtual]\fR" Returns the iconset that \fIQt Designer\fR should use to represent the custom widget of class \fIkey\fR in the toolbar. .PP The default implementation returns an null iconset. -- cgit v1.2.1