summaryrefslogtreecommitdiffstats
path: root/doc/html/qcolor-h.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-13 13:18:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-13 13:18:58 +0900
commit1ba13366a7a377d50b9e8df9044ce11d8209f98c (patch)
tree40765573bcccd42239475344141eb98d2ac5d45e /doc/html/qcolor-h.html
parent926102a455014e6ab308aaced19e32eed7ed4414 (diff)
downloadtqt3-1ba13366a7a377d50b9e8df9044ce11d8209f98c.tar.gz
tqt3-1ba13366a7a377d50b9e8df9044ce11d8209f98c.zip
Replace Q_EXPORT_*/Q_EXTERN defines with TQ_EXPORT_*/TQ_EXTERN
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/qcolor-h.html')
-rw-r--r--doc/html/qcolor-h.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/qcolor-h.html b/doc/html/qcolor-h.html
index ad23b063f..d96b1e190 100644
--- a/doc/html/qcolor-h.html
+++ b/doc/html/qcolor-h.html
@@ -84,32 +84,32 @@ body { background: #ffffff; color: black; }
const TQRgb TQT_RGB_MASK = 0x00ffffff; // masks RGB values
-Q_EXPORT inline int tqRed( TQRgb rgb ) // get red part of RGB
+TQ_EXPORT inline int tqRed( TQRgb rgb ) // get red part of RGB
{ return (int)((rgb &gt;&gt; 16) &amp; 0xff); }
-Q_EXPORT inline int tqGreen( TQRgb rgb ) // get green part of RGB
+TQ_EXPORT inline int tqGreen( TQRgb rgb ) // get green part of RGB
{ return (int)((rgb &gt;&gt; 8) &amp; 0xff); }
-Q_EXPORT inline int tqBlue( TQRgb rgb ) // get blue part of RGB
+TQ_EXPORT inline int tqBlue( TQRgb rgb ) // get blue part of RGB
{ return (int)(rgb &amp; 0xff); }
-Q_EXPORT inline int tqAlpha( TQRgb rgb ) // get alpha part of RGBA
+TQ_EXPORT inline int tqAlpha( TQRgb rgb ) // get alpha part of RGBA
{ return (int)((rgb &gt;&gt; 24) &amp; 0xff); }
-Q_EXPORT inline TQRgb tqRgb( int r, int g, int b )// set RGB value
+TQ_EXPORT inline TQRgb tqRgb( int r, int g, int b )// set RGB value
{ return (0xff &lt;&lt; 24) | ((r &amp; 0xff) &lt;&lt; 16) | ((g &amp; 0xff) &lt;&lt; 8) | (b &amp; 0xff); }
-Q_EXPORT inline TQRgb tqRgba( int r, int g, int b, int a )// set RGBA value
+TQ_EXPORT inline TQRgb tqRgba( int r, int g, int b, int a )// set RGBA value
{ return ((a &amp; 0xff) &lt;&lt; 24) | ((r &amp; 0xff) &lt;&lt; 16) | ((g &amp; 0xff) &lt;&lt; 8) | (b &amp; 0xff); }
-Q_EXPORT inline int tqGray( int r, int g, int b )// convert R,G,B to gray 0..255
+TQ_EXPORT inline int tqGray( int r, int g, int b )// convert R,G,B to gray 0..255
{ return (r*11+g*16+b*5)/32; }
-Q_EXPORT inline int tqGray( TQRgb rgb ) // convert RGB to gray 0..255
+TQ_EXPORT inline int tqGray( TQRgb rgb ) // convert RGB to gray 0..255
{ return tqGray( tqRed(rgb), tqGreen(rgb), tqBlue(rgb) ); }
-class Q_EXPORT TQColor
+class TQ_EXPORT TQColor
{
public:
enum Spec { Rgb, Hsv };
@@ -258,8 +258,8 @@ inline bool TQColor::operator!=( const TQColor &amp;c ) const
*****************************************************************************/
#ifndef TQT_NO_DATASTREAM
-Q_EXPORT TQDataStream &amp;operator&lt;&lt;( TQDataStream &amp;, const TQColor &amp; );
-Q_EXPORT TQDataStream &amp;operator&gt;&gt;( TQDataStream &amp;, TQColor &amp; );
+TQ_EXPORT TQDataStream &amp;operator&lt;&lt;( TQDataStream &amp;, const TQColor &amp; );
+TQ_EXPORT TQDataStream &amp;operator&gt;&gt;( TQDataStream &amp;, TQColor &amp; );
#endif
#endif // TQCOLOR_H