diff options
Diffstat (limited to 'doc/man/man3/tqglcolormap.3qt')
-rw-r--r-- | doc/man/man3/tqglcolormap.3qt | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/doc/man/man3/tqglcolormap.3qt b/doc/man/man3/tqglcolormap.3qt index 6f787708f..7604e1579 100644 --- a/doc/man/man3/tqglcolormap.3qt +++ b/doc/man/man3/tqglcolormap.3qt @@ -35,25 +35,25 @@ QGLColormap \- Used for installing custom colormaps into QGLWidgets .BI "void \fBdetach\fR ()" .br .ti -1c -.BI "void \fBsetEntries\fR ( int count, const QRgb * colors, int base = 0 )" +.BI "void \fBsetEntries\fR ( int count, const TQRgb * colors, int base = 0 )" .br .ti -1c -.BI "void \fBsetEntry\fR ( int idx, QRgb color )" +.BI "void \fBsetEntry\fR ( int idx, TQRgb color )" .br .ti -1c -.BI "void \fBsetEntry\fR ( int idx, const QColor & color )" +.BI "void \fBsetEntry\fR ( int idx, const TQColor & color )" .br .ti -1c -.BI "QRgb \fBentryRgb\fR ( int idx ) const" +.BI "TQRgb \fBentryRgb\fR ( int idx ) const" .br .ti -1c -.BI "QColor \fBentryColor\fR ( int idx ) const" +.BI "TQColor \fBentryColor\fR ( int idx ) const" .br .ti -1c -.BI "int \fBfind\fR ( QRgb color ) const" +.BI "int \fBfind\fR ( TQRgb color ) const" .br .ti -1c -.BI "int \fBfindNearest\fR ( QRgb color ) const" +.BI "int \fBfindNearest\fR ( TQRgb color ) const" .br .in -1c .SH DESCRIPTION @@ -117,23 +117,23 @@ Construct a shallow copy of \fImap\fR. Dereferences the QGLColormap and deletes it if this was the last reference to it. .SH "void QGLColormap::detach ()" Detaches this QGLColormap from the shared block. -.SH "QColor QGLColormap::entryColor ( int idx ) const" -Returns the QRgb value in the colorcell with index \fIidx\fR. -.SH "QRgb QGLColormap::entryRgb ( int idx ) const" -Returns the QRgb value in the colorcell with index \fIidx\fR. -.SH "int QGLColormap::find ( QRgb color ) const" +.SH "TQColor QGLColormap::entryColor ( int idx ) const" +Returns the TQRgb value in the colorcell with index \fIidx\fR. +.SH "TQRgb QGLColormap::entryRgb ( int idx ) const" +Returns the TQRgb value in the colorcell with index \fIidx\fR. +.SH "int QGLColormap::find ( TQRgb color ) const" Returns the index of the color \fIcolor\fR. If \fIcolor\fR is not in the map, -1 is returned. -.SH "int QGLColormap::findNearest ( QRgb color ) const" +.SH "int QGLColormap::findNearest ( TQRgb color ) const" Returns the index of the color that is the closest match to color \fIcolor\fR. .SH "bool QGLColormap::isEmpty () const" Returns TRUE if the colormap is empty; otherwise returns FALSE. A colormap with no color values set is considered to be empty. .SH "QGLColormap & QGLColormap::operator= ( const QGLColormap & map )" Assign a shallow copy of \fImap\fR to this QGLColormap. -.SH "void QGLColormap::setEntries ( int count, const QRgb * colors, int base = 0 )" +.SH "void QGLColormap::setEntries ( int count, const TQRgb * colors, int base = 0 )" Set an array of cells in this colormap. \fIcount\fR is the number of colors that should be set, \fIcolors\fR is the array of colors, and \fIbase\fR is the starting index. -.SH "void QGLColormap::setEntry ( int idx, QRgb color )" +.SH "void QGLColormap::setEntry ( int idx, TQRgb color )" Set cell at index \fIidx\fR in the colormap to color \fIcolor\fR. -.SH "void QGLColormap::setEntry ( int idx, const QColor & color )" +.SH "void QGLColormap::setEntry ( int idx, const TQColor & color )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Set the cell with index \fIidx\fR in the colormap to color \fIcolor\fR. |