summaryrefslogtreecommitdiffstats
path: root/doc/man
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-27 02:13:42 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-27 02:13:42 -0600
commit520c05ef06ce203ad32470730f68402bc7719157 (patch)
tree8d0bb18bbbecb4c837e232848905e5819db84b81 /doc/man
parentb82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff)
downloadtqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz
tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip
Automated update from qt3
Diffstat (limited to 'doc/man')
-rw-r--r--doc/man/man3/qapplication.3qt10
-rw-r--r--doc/man/man3/qcolor.3qt30
-rw-r--r--doc/man/man3/qfile.3qt2
-rw-r--r--doc/man/man3/qglcolormap.3qt2
-rw-r--r--doc/man/man3/qimage.3qt16
-rw-r--r--doc/man/man3/qprogressdialog.3qt2
-rw-r--r--doc/man/man3/qsplashscreen.3qt4
7 files changed, 33 insertions, 33 deletions
diff --git a/doc/man/man3/qapplication.3qt b/doc/man/man3/qapplication.3qt
index 10d6bb92..7b67978e 100644
--- a/doc/man/man3/qapplication.3qt
+++ b/doc/man/man3/qapplication.3qt
@@ -792,12 +792,12 @@ This function is particularly useful for applications with many top-level window
.br
QPopupMenu* file = new QPopupMenu( this );
.br
- file->insertItem( "&Quit", qApp, SLOT(closeAllWindows()), CTRL+Key_Q );
+ file->insertItem( "&Quit", tqApp, SLOT(closeAllWindows()), CTRL+Key_Q );
.br
.br
// when the last window is closed, the application should quit
.br
- connect( qApp, SIGNAL( lastWindowClosed() ), qApp, SLOT( quit() ) );
+ connect( tqApp, SIGNAL( lastWindowClosed() ), tqApp, SLOT( quit() ) );
.br
.fi
.PP
@@ -1047,10 +1047,10 @@ For certain types of events (e.g. mouse and key events), the event will be propa
.PP
There are five different ways that events can be processed; reimplementing this virtual function is just one of them. All five approaches are listed below: <ol type=1>
.TP
-Reimplementing this function. This is very powerful, providing complete control; but only one subclass can be qApp.
+Reimplementing this function. This is very powerful, providing complete control; but only one subclass can be tqApp.
.IP
.TP
-Installing an event filter on qApp. Such an event filter is able to process all events for all widgets, so it's just as powerful as reimplementing notify(); furthermore, it's possible to have more than one application-global event filter. Global event filters even see mouse events for disabled widgets, and if global mouse tracking is enabled, as well as mouse move events for all widgets.
+Installing an event filter on tqApp. Such an event filter is able to process all events for all widgets, so it's just as powerful as reimplementing notify(); furthermore, it's possible to have more than one application-global event filter. Global event filters even see mouse events for disabled widgets, and if global mouse tracking is enabled, as well as mouse move events for all widgets.
.IP
.TP
Reimplementing QObject::event() (as QWidget does). If you do this you get Tab key presses, and you get to see the events before any widget-specific event filters.
@@ -1131,7 +1131,7 @@ Example:
.br
QPushButton *quitButton = new QPushButton( "Quit" );
.br
- connect( quitButton, SIGNAL(clicked()), qApp, SLOT(quit()) );
+ connect( quitButton, SIGNAL(clicked()), tqApp, SLOT(quit()) );
.br
.fi
.PP
diff --git a/doc/man/man3/qcolor.3qt b/doc/man/man3/qcolor.3qt
index 76793dd4..17024287 100644
--- a/doc/man/man3/qcolor.3qt
+++ b/doc/man/man3/qcolor.3qt
@@ -167,7 +167,7 @@ QColor \- Colors based on RGB or HSV values
.BI "int \fBqGray\fR ( int r, int g, int b )"
.br
.ti -1c
-.BI "int \fBqGray\fR ( qRgb rgb )"
+.BI "int \fBqGray\fR ( tqRgb rgb )"
.br
.in -1c
.SH DESCRIPTION
@@ -482,7 +482,7 @@ The return type \fIQRgb\fR is equivalent to \fCunsigned\fR \fCint\fR.
.PP
For an invalid color, the alpha value of the returned color is unspecified.
.PP
-See also setRgb(), hsv(), qRed(), qBlue(), qGreen(), and isValid().
+See also setRgb(), hsv(), tqRed(), tqBlue(), tqGreen(), and isValid().
.SH "void QColor::rgb ( int * r, int * g, int * b ) const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. Use getRgb() instead
.SH "void QColor::setHsv ( int h, int s, int v )"
@@ -531,40 +531,40 @@ See also Format of the QDataStream operators.
Reads a color object, \fIc\fR, from the stream, \fIs\fR.
.PP
See also Format of the QDataStream operators.
-.SH "int qAlpha ( QRgb rgba )"
+.SH "int tqAlpha ( QRgb rgba )"
Returns the alpha component of the RGBA quadruplet \fIrgba\fR.
-.SH "int qBlue ( QRgb rgb )"
+.SH "int tqBlue ( QRgb rgb )"
Returns the blue component of the RGB triplet \fIrgb\fR.
.PP
-See also qRgb() and QColor::blue().
-.SH "int qGray ( int r, int g, int b )"
+See also tqRgb() and QColor::blue().
+.SH "int tqGray ( int r, int g, int b )"
Returns a gray value 0..255 from the (\fIr\fR, \fIg\fR, \fIb\fR) triplet.
.PP
The gray value is calculated using the formula (r*11 + g*16 + b*5)/32.
-.SH "int qGray ( qRgb rgb )"
+.SH "int tqGray ( tqRgb rgb )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns a gray value 0..255 from the given \fIrgb\fR colour.
-.SH "int qGreen ( QRgb rgb )"
+.SH "int tqGreen ( QRgb rgb )"
Returns the green component of the RGB triplet \fIrgb\fR.
.PP
-See also qRgb() and QColor::green().
-.SH "int qRed ( QRgb rgb )"
+See also tqRgb() and QColor::green().
+.SH "int tqRed ( QRgb rgb )"
Returns the red component of the RGB triplet \fIrgb\fR.
.PP
-See also qRgb() and QColor::red().
-.SH "QRgb qRgb ( int r, int g, int b )"
+See also tqRgb() and QColor::red().
+.SH "QRgb tqRgb ( int r, int g, int b )"
Returns the RGB triplet \fI(r,g,b)\fR.
.PP
The return type QRgb is equivalent to \fCunsigned\fR \fCint\fR.
.PP
-See also qRgba(), qRed(), qGreen(), and qBlue().
-.SH "QRgb qRgba ( int r, int g, int b, int a )"
+See also tqRgba(), tqRed(), tqGreen(), and tqBlue().
+.SH "QRgb tqRgba ( int r, int g, int b, int a )"
Returns the RGBA quadruplet \fI(r,g,b,a)\fR.
.PP
The return type QRgba is equivalent to \fCunsigned\fR \fCint\fR.
.PP
-See also qRgb(), qRed(), qGreen(), and qBlue().
+See also tqRgb(), tqRed(), tqGreen(), and tqBlue().
.SH "SEE ALSO"
.BR http://doc.trolltech.com/ntqcolor.html
diff --git a/doc/man/man3/qfile.3qt b/doc/man/man3/qfile.3qt
index 841ef89f..b06be825 100644
--- a/doc/man/man3/qfile.3qt
+++ b/doc/man/man3/qfile.3qt
@@ -258,7 +258,7 @@ The returned strings are not translated with the QObject::tr() or QApplication::
.br
tr("Open failed"),
.br
- tr("Could not open file for reading: %1").arg( qApp->translate("QFile",f.errorString()) )
+ tr("Could not open file for reading: %1").arg( tqApp->translate("QFile",f.errorString()) )
.br
);
.br
diff --git a/doc/man/man3/qglcolormap.3qt b/doc/man/man3/qglcolormap.3qt
index 726f2c8e..a7e0484f 100644
--- a/doc/man/man3/qglcolormap.3qt
+++ b/doc/man/man3/qglcolormap.3qt
@@ -94,7 +94,7 @@ Example of use:
.br
for ( int i = 0; i < colormap.size(); i++ )
.br
- colormap.setEntry( i, qRgb( i, i, i ) );
+ colormap.setEntry( i, tqRgb( i, i, i ) );
.br
.br
widget.setColormap( colormap );
diff --git a/doc/man/man3/qimage.3qt b/doc/man/man3/qimage.3qt
index fe1300d5..ad47abd2 100644
--- a/doc/man/man3/qimage.3qt
+++ b/doc/man/man3/qimage.3qt
@@ -311,7 +311,7 @@ An image has the parameters width, height and depth (bits per pixel, bpp), a col
.PP
32-bpp images encode an RGB value in 24 bits and ignore the color table. The most significant byte is used for the alpha buffer.
.PP
-An entry in the color table is an RGB triplet encoded as a \fCuint\fR. Use the qRed(), qGreen() and qBlue() functions (ntqcolor.h) to access the components, and qRgb to make an RGB triplet (see the QColor class documentation).
+An entry in the color table is an RGB triplet encoded as a \fCuint\fR. Use the tqRed(), tqGreen() and tqBlue() functions (ntqcolor.h) to access the components, and tqRgb to make an RGB triplet (see the QColor class documentation).
.PP
1-bpp (monochrome) images have a color table with a most two colors. There are two different formats: big endian (MSB first) or little endian (LSB first) bit order. To access a single bit you will must do some bit shifts:
.PP
@@ -341,7 +341,7 @@ If this looks complicated, it might be a good idea to convert the 1-bpp image to
.br
// set entry 19 in the color table to yellow
.br
- image.setColor( 19, qRgb(255,255,0) );
+ image.setColor( 19, tqRgb(255,255,0) );
.br
// set 8 bit pixel at (x,y) to value yellow (in color table)
.br
@@ -359,7 +359,7 @@ If this looks complicated, it might be a good idea to convert the 1-bpp image to
.br
uint *p = (uint *)image.scanLine(y) + x;
.br
- *p = qRgb(255,255,0);
+ *p = tqRgb(255,255,0);
.br
.fi
.PP
@@ -503,7 +503,7 @@ See also numBytes() and scanLine().
.SH "QRgb QImage::color ( int i ) const"
Returns the color in the color table at index \fIi\fR. The first color is at index 0.
.PP
-A color value is an RGB triplet. Use the qRed(), qGreen() and qBlue() functions (defined in ntqcolor.h) to get the color value components.
+A color value is an RGB triplet. Use the tqRed(), tqGreen() and tqBlue() functions (defined in ntqcolor.h) to get the color value components.
.PP
See also setColor(), numColors(), and QColor.
.PP
@@ -798,7 +798,7 @@ Returns the color of the pixel at the coordinates (\fIx\fR, \fIy\fR).
.PP
If (\fIx\fR, \fIy\fR) is not on the image, the results are undefined.
.PP
-See also setPixel(), qRed(), qGreen(), qBlue(), and valid().
+See also setPixel(), tqRed(), tqGreen(), tqBlue(), and valid().
.PP
Examples:
.)l canvas/canvas.cpp and qmag/qmag.cpp.
@@ -875,7 +875,7 @@ Returns a pointer to the pixel data at the scanline with index \fIi\fR. The firs
.PP
The scanline data is aligned on a 32-bit boundary.
.PP
-\fBWarning:\fR If you are accessing 32-bpp image data, cast the returned pointer to \fCQRgb*\fR (QRgb has a 32-bit size) and use it to read/write the pixel value. You cannot use the \fCuchar*\fR pointer directly, because the pixel format depends on the byte order on the underlying platform. Hint: use qRed(), qGreen() and qBlue(), etc. (ntqcolor.h) to access the pixels.
+\fBWarning:\fR If you are accessing 32-bpp image data, cast the returned pointer to \fCQRgb*\fR (QRgb has a 32-bit size) and use it to read/write the pixel value. You cannot use the \fCuchar*\fR pointer directly, because the pixel format depends on the byte order on the underlying platform. Hint: use tqRed(), tqGreen() and tqBlue(), etc. (ntqcolor.h) to access the pixels.
.PP
\fBWarning:\fR If you are accessing 16-bpp image data, you must handle endianness yourself. (Qt/Embedded only)
.PP
@@ -897,7 +897,7 @@ See also hasAlphaBuffer() and createAlphaMask().
.SH "void QImage::setColor ( int i, QRgb c )"
Sets a color in the color table at index \fIi\fR to \fIc\fR.
.PP
-A color value is an RGB triplet. Use the qRgb() function (defined in ntqcolor.h) to make RGB triplets.
+A color value is an RGB triplet. Use the tqRgb() function (defined in ntqcolor.h) to make RGB triplets.
.PP
See also color(), setNumColors(), and numColors().
.PP
@@ -922,7 +922,7 @@ If (\fIx\fR, \fIy\fR) is not valid, the result is undefined.
.PP
If the image is a paletted image (depth() <= 8) and \fIindex_or_rgb\fR >= numColors(), the result is undefined.
.PP
-See also pixelIndex(), pixel(), qRgb(), qRgba(), and valid().
+See also pixelIndex(), pixel(), tqRgb(), tqRgba(), and valid().
.SH "void QImage::setText ( const char * key, const char * lang, const QString & s )"
Records string \fIs\fR for the keyword \fIkey\fR. The \fIkey\fR should be a portable keyword recognizable by other software - some suggested values can be found in the PNG specification. \fIs\fR can be any text. \fIlang\fR should specify the language code (see RFC 1766) or 0.
.SH "QSize QImage::size () const"
diff --git a/doc/man/man3/qprogressdialog.3qt b/doc/man/man3/qprogressdialog.3qt
index 89cc713a..2e1dd7cf 100644
--- a/doc/man/man3/qprogressdialog.3qt
+++ b/doc/man/man3/qprogressdialog.3qt
@@ -161,7 +161,7 @@ for ( int i = 0; i < numFiles; i++ ) {
.br
progress.setProgress( i );
.br
- qApp->processEvents();
+ tqApp->processEvents();
.br
.br
if ( progress.wasCanceled() )
diff --git a/doc/man/man3/qsplashscreen.3qt b/doc/man/man3/qsplashscreen.3qt
index c8670868..ef0e7602 100644
--- a/doc/man/man3/qsplashscreen.3qt
+++ b/doc/man/man3/qsplashscreen.3qt
@@ -114,13 +114,13 @@ The user can hide the splash screen by clicking on it with the mouse. Since the
.br
splash->message( "Loaded modules" );
.br
- qApp->processEvents();
+ tqApp->processEvents();
.br
... // Establishing connections
.br
splash->message( "Established connections" );
.br
- qApp->processEvents();
+ tqApp->processEvents();
.br
.fi
.PP