summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqiconset.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqiconset.3qt')
-rw-r--r--doc/man/man3/tqiconset.3qt36
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/man/man3/tqiconset.3qt b/doc/man/man3/tqiconset.3qt
index 7c8f23647..8dbee746b 100644
--- a/doc/man/man3/tqiconset.3qt
+++ b/doc/man/man3/tqiconset.3qt
@@ -26,10 +26,10 @@ TQIconSet \- Set of icons with different styles and sizes
.BI "\fBTQIconSet\fR ()"
.br
.ti -1c
-.BI "\fBTQIconSet\fR ( const QPixmap & pixmap, Size size = Automatic )"
+.BI "\fBTQIconSet\fR ( const TQPixmap & pixmap, Size size = Automatic )"
.br
.ti -1c
-.BI "\fBTQIconSet\fR ( const QPixmap & smallPix, const QPixmap & largePix )"
+.BI "\fBTQIconSet\fR ( const TQPixmap & smallPix, const TQPixmap & largePix )"
.br
.ti -1c
.BI "\fBTQIconSet\fR ( const TQIconSet & other )"
@@ -38,22 +38,22 @@ TQIconSet \- Set of icons with different styles and sizes
.BI "virtual \fB~TQIconSet\fR ()"
.br
.ti -1c
-.BI "void \fBreset\fR ( const QPixmap & pixmap, Size size )"
+.BI "void \fBreset\fR ( const TQPixmap & pixmap, Size size )"
.br
.ti -1c
-.BI "virtual void \fBsetPixmap\fR ( const QPixmap & pixmap, Size size, Mode mode = Normal, State state = Off )"
+.BI "virtual void \fBsetPixmap\fR ( const TQPixmap & pixmap, Size size, Mode mode = Normal, State state = Off )"
.br
.ti -1c
.BI "virtual void \fBsetPixmap\fR ( const TQString & fileName, Size size, Mode mode = Normal, State state = Off )"
.br
.ti -1c
-.BI "QPixmap \fBpixmap\fR ( Size size, Mode mode, State state = Off ) const"
+.BI "TQPixmap \fBpixmap\fR ( Size size, Mode mode, State state = Off ) const"
.br
.ti -1c
-.BI "QPixmap pixmap ( Size size, bool enabled, State state = Off ) const \fI(obsolete)\fR"
+.BI "TQPixmap pixmap ( Size size, bool enabled, State state = Off ) const \fI(obsolete)\fR"
.br
.ti -1c
-.BI "QPixmap \fBpixmap\fR () const"
+.BI "TQPixmap \fBpixmap\fR () const"
.br
.ti -1c
.BI "bool \fBisGenerated\fR ( Size size, Mode mode, State state = Off ) const"
@@ -88,11 +88,11 @@ The TQIconSet class provides a set of icons with different styles and sizes.
.PP
A TQIconSet can generate smaller, larger, active, and disabled pixmaps from the set of icons it is given. Such pixmaps are used by TQToolButton, QHeader, TQPopupMenu, etc. to show an icon representing a particular action.
.PP
-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:
+The simplest use of TQIconSet is to create one from a TQPixmap and then use it, allowing TQt to work out all the required icon styles and sizes. For example:
.PP
.nf
.br
- TQToolButton *but = new TQToolButton( TQIconSet( QPixmap("open.xpm") ), ... );
+ TQToolButton *but = new TQToolButton( TQIconSet( TQPixmap("open.xpm") ), ... );
.br
.fi
.PP
@@ -118,7 +118,7 @@ Provide a method to set a TQIconSet, and when you draw the icon, choose whicheve
.PP
.nf
.br
- void MyWidget::drawIcon( TQPainter* p, QPoint pos )
+ void MyWidget::drawIcon( TQPainter* p, TQPoint pos )
.br
{
.br
@@ -146,7 +146,7 @@ You might also make use of the Active mode, perhaps making your widget Active wh
.PP
</center>
.PP
-See also TQIconFactory, QPixmap, TQMainWindow::usesBigPixmaps, GUI Design Handbook: Iconic Label, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes.
+See also TQIconFactory, TQPixmap, TQMainWindow::usesBigPixmaps, GUI Design Handbook: Iconic Label, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes.
.SS "Member Type Documentation"
.SH "TQIconSet::Mode"
This enum type describes the mode for which a pixmap is intended to be used. The currently defined modes are:
@@ -181,13 +181,13 @@ See also setPixmap() and pixmap().
Constructs a null icon set.
.PP
See also setPixmap() and reset().
-.SH "TQIconSet::TQIconSet ( const QPixmap & pixmap, Size size = Automatic )"
+.SH "TQIconSet::TQIconSet ( const TQPixmap & 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 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 "TQIconSet::TQIconSet ( const QPixmap & smallPix, const QPixmap & largePix )"
+.SH "TQIconSet::TQIconSet ( const TQPixmap & smallPix, const TQPixmap & 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 "TQIconSet::TQIconSet ( const TQIconSet & other )"
Constructs a copy of \fIother\fR. This is very fast.
@@ -217,21 +217,21 @@ Returns TRUE if the icon set is empty; otherwise returns FALSE.
Assigns \fIother\fR to this icon set and returns a reference to this icon set.
.PP
See also detach().
-.SH "QPixmap TQIconSet::pixmap ( Size size, Mode mode, State state = Off ) const"
+.SH "TQPixmap 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 TQIconSet::pixmap ( Size size, bool enabled, State state = Off ) const"
+.SH "TQPixmap 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 TQIconSet::pixmap () const"
+.SH "TQPixmap 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 TQIconSet::reset ( const QPixmap & pixmap, Size size )"
+.SH "void TQIconSet::reset ( const TQPixmap & 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 TQIconSet(\fIpixmap\fR, \fIsize\fR) to this icon set.
@@ -243,7 +243,7 @@ Set the preferred size for all small or large icons that are generated after thi
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 TQIconSet::setPixmap ( const QPixmap & pixmap, Size size, Mode mode = Normal, State state = Off )\fC [virtual]\fR"
+.SH "void TQIconSet::setPixmap ( const TQPixmap & 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, TQIconSet will determine if the pixmap is Small or Large from its pixel size.