diff options
author | Michele Calgaro <[email protected]> | 2023-09-23 12:42:20 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-23 12:42:20 +0900 |
commit | b35e0845dc9b3c8b9a5e52a682c769f383933fae (patch) | |
tree | e4eeca8f6fe0ca87e774be98eabf89b4c7fca347 /doc/man/man3/tqiconviewitem.3qt | |
parent | 1ba13366a7a377d50b9e8df9044ce11d8209f98c (diff) | |
download | tqt3-b35e0845dc9b3c8b9a5e52a682c769f383933fae.tar.gz tqt3-b35e0845dc9b3c8b9a5e52a682c769f383933fae.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/man/man3/tqiconviewitem.3qt')
-rw-r--r-- | doc/man/man3/tqiconviewitem.3qt | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/doc/man/man3/tqiconviewitem.3qt b/doc/man/man3/tqiconviewitem.3qt index 291ee5c5b..870f53bbd 100644 --- a/doc/man/man3/tqiconviewitem.3qt +++ b/doc/man/man3/tqiconviewitem.3qt @@ -22,22 +22,22 @@ Inherits Qt. .BI "\fBQIconViewItem\fR ( QIconView * parent, QIconViewItem * after )" .br .ti -1c -.BI "\fBQIconViewItem\fR ( QIconView * parent, const QString & text )" +.BI "\fBQIconViewItem\fR ( QIconView * parent, const TQString & text )" .br .ti -1c -.BI "\fBQIconViewItem\fR ( QIconView * parent, QIconViewItem * after, const QString & text )" +.BI "\fBQIconViewItem\fR ( QIconView * parent, QIconViewItem * after, const TQString & text )" .br .ti -1c -.BI "\fBQIconViewItem\fR ( QIconView * parent, const QString & text, const QPixmap & icon )" +.BI "\fBQIconViewItem\fR ( QIconView * parent, const TQString & text, const QPixmap & icon )" .br .ti -1c -.BI "\fBQIconViewItem\fR ( QIconView * parent, QIconViewItem * after, const QString & text, const QPixmap & icon )" +.BI "\fBQIconViewItem\fR ( QIconView * parent, QIconViewItem * after, const TQString & text, const QPixmap & icon )" .br .ti -1c -.BI "\fBQIconViewItem\fR ( QIconView * parent, const QString & text, const QPicture & picture )" +.BI "\fBQIconViewItem\fR ( QIconView * parent, const TQString & text, const QPicture & picture )" .br .ti -1c -.BI "\fBQIconViewItem\fR ( QIconView * parent, QIconViewItem * after, const QString & text, const QPicture & picture )" +.BI "\fBQIconViewItem\fR ( QIconView * parent, QIconViewItem * after, const TQString & text, const QPicture & picture )" .br .ti -1c .BI "virtual \fB~QIconViewItem\fR ()" @@ -52,7 +52,7 @@ Inherits Qt. .BI "virtual void \fBsetDropEnabled\fR ( bool allow )" .br .ti -1c -.BI "virtual QString \fBtext\fR () const" +.BI "virtual TQString \fBtext\fR () const" .br .ti -1c .BI "virtual QPixmap * \fBpixmap\fR () const" @@ -61,7 +61,7 @@ Inherits Qt. .BI "virtual QPicture * \fBpicture\fR () const" .br .ti -1c -.BI "virtual QString \fBkey\fR () const" +.BI "virtual TQString \fBkey\fR () const" .br .ti -1c .BI "bool \fBrenameEnabled\fR () const" @@ -157,7 +157,7 @@ Inherits Qt. .BI "virtual int \fBcompare\fR ( QIconViewItem * i ) const" .br .ti -1c -.BI "virtual void \fBsetText\fR ( const QString & text )" +.BI "virtual void \fBsetText\fR ( const TQString & text )" .br .ti -1c .BI "virtual void \fBsetPixmap\fR ( const QPixmap & icon )" @@ -166,13 +166,13 @@ Inherits Qt. .BI "virtual void \fBsetPicture\fR ( const QPicture & icon )" .br .ti -1c -.BI "virtual void \fBsetText\fR ( const QString & text, bool recalc, bool redraw = TRUE )" +.BI "virtual void \fBsetText\fR ( const TQString & text, bool recalc, bool redraw = TRUE )" .br .ti -1c .BI "virtual void \fBsetPixmap\fR ( const QPixmap & icon, bool recalc, bool redraw = TRUE )" .br .ti -1c -.BI "virtual void \fBsetKey\fR ( const QString & k )" +.BI "virtual void \fBsetKey\fR ( const TQString & k )" .br .ti -1c .BI "virtual int \fBrtti\fR () const" @@ -184,7 +184,7 @@ Inherits Qt. .BI "virtual void \fBremoveRenameBox\fR ()" .br .ti -1c -.BI "virtual void \fBcalcRect\fR ( const QString & text_ = QString::null )" +.BI "virtual void \fBcalcRect\fR ( const TQString & text_ = TQString::null )" .br .ti -1c .BI "virtual void \fBpaintItem\fR ( QPainter * p, const QColorGroup & cg )" @@ -266,19 +266,19 @@ See also Advanced Widgets. 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 QString & text )" +.SH "QIconViewItem::QIconViewItem ( QIconView * 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 QString & text )" +.SH "QIconViewItem::QIconViewItem ( QIconView * parent, QIconViewItem * 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 QString & text, const QPixmap & icon )" +.SH "QIconViewItem::QIconViewItem ( QIconView * 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 QString & text, const QPixmap & icon )" +.SH "QIconViewItem::QIconViewItem ( QIconView * parent, QIconViewItem * 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 QString & text, const QPicture & picture )" +.SH "QIconViewItem::QIconViewItem ( QIconView * 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 QString & text, const QPicture & picture )" +.SH "QIconViewItem::QIconViewItem ( QIconView * parent, QIconViewItem * 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" Destroys the icon view item and tells the parent icon view that the item has been destroyed. @@ -289,14 +289,14 @@ The default implementation always returns FALSE. You must subclass QIconViewItem .PP Examples: .)l fileiconview/qfileiconview.cpp and iconview/simple_dd/main.cpp. -.SH "void QIconViewItem::calcRect ( const QString & text_ = QString::null )\fC [virtual protected]\fR" +.SH "void QIconViewItem::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 QString::null. +\fItext_\fR is an internal parameter which defaults to TQString::null. .SH "int QIconViewItem::compare ( QIconViewItem * 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 QString::localeAwareCompare(). A reimplementation may use different values and a different comparison function. Here is a reimplementation that uses plain Unicode comparison: +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 @@ -310,7 +310,7 @@ The default implementation compares the item keys (key()) using QString::localeA .br .fi .PP -See also key(), QString::localeAwareCompare(), and QString::compare(). +See also key(), TQString::localeAwareCompare(), and TQString::compare(). .SH "bool QIconViewItem::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" @@ -358,7 +358,7 @@ Returns TRUE if the item is selected; otherwise returns FALSE. See also setSelected(). .PP Example: fileiconview/qfileiconview.cpp. -.SH "QString QIconViewItem::key () const\fC [virtual]\fR" +.SH "TQString QIconViewItem::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(). @@ -454,7 +454,7 @@ If \fIallow\fR is TRUE, the icon view lets the user drop something on this icon 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 QString & k )\fC [virtual]\fR" +.SH "void QIconViewItem::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(). @@ -513,13 +513,13 @@ Example: fileiconview/qfileiconview.cpp. 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 QString & text )\fC [virtual]\fR" +.SH "void QIconViewItem::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 QString & text, bool recalc, bool redraw = TRUE )\fC [virtual]\fR" +.SH "void QIconViewItem::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. @@ -531,7 +531,7 @@ Sets the bounding rectangle of the item's text to \fIr\fR. This function is prov See also calcRect(), textRect(), setItemRect(), and setPixmapRect(). .SH "QSize QIconViewItem::size () const" Returns the size of the item. -.SH "QString QIconViewItem::text () const\fC [virtual]\fR" +.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. .PP See also setText(). |