diff options
author | Michele Calgaro <[email protected]> | 2024-06-06 13:00:12 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-06-06 13:00:12 +0900 |
commit | 8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde (patch) | |
tree | 3427fe04e3116ccbd16fa98e57abd5d118f82353 /doc/html/themes-example.html | |
parent | 0881ed5059c46ce73e8241e6260b82b92f6d0e55 (diff) | |
download | tqt3-8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde.tar.gz tqt3-8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde.zip |
Rename image nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/html/themes-example.html')
-rw-r--r-- | doc/html/themes-example.html | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/doc/html/themes-example.html b/doc/html/themes-example.html index 4f73df27c..834e07a33 100644 --- a/doc/html/themes-example.html +++ b/doc/html/themes-example.html @@ -156,7 +156,7 @@ private: #include "ntqpalette.h" // for now #include "tqwidget.h" #include "ntqlabel.h" -#include "ntqimage.h" +#include "tqimage.h" #include "ntqpushbutton.h" #include "tqwidget.h" #include "ntqrangecontrol.h" @@ -914,69 +914,69 @@ enum { PointUp, PointDown, PointLeft, PointRight }; // we simply create a nice TQColorGroup with a couple of fancy wood // pixmaps here and apply to it all widgets - <a href="ntqimage.html">TQImage</a> img(button_xpm); - <a href="ntqimage.html">TQImage</a> orig = img; -<a name="x208"></a> orig.<a href="ntqimage.html#detach">detach</a>(); + <a href="tqimage.html">TQImage</a> img(button_xpm); + <a href="tqimage.html">TQImage</a> orig = img; +<a name="x208"></a> orig.<a href="tqimage.html#detach">detach</a>(); <a href="ntqpixmap.html">TQPixmap</a> button; <a name="x228"></a> button.<a href="ntqpixmap.html#convertFromImage">convertFromImage</a>(img); int i; -<a name="x209"></a> for (i=0; i<img.<a href="ntqimage.html#numColors">numColors</a>(); i++) { -<a name="x207"></a> TQRgb rgb = img.<a href="ntqimage.html#color">color</a>(i); +<a name="x209"></a> for (i=0; i<img.<a href="tqimage.html#numColors">numColors</a>(); i++) { +<a name="x207"></a> TQRgb rgb = img.<a href="tqimage.html#color">color</a>(i); <a href="ntqcolor.html">TQColor</a> c(rgb); <a name="x192"></a> rgb = c.<a href="ntqcolor.html#dark">dark</a>(120).rgb(); -<a name="x210"></a> img.<a href="ntqimage.html#setColor">setColor</a>(i,rgb); +<a name="x210"></a> img.<a href="tqimage.html#setColor">setColor</a>(i,rgb); } <a href="ntqpixmap.html">TQPixmap</a> mid; mid.<a href="ntqpixmap.html#convertFromImage">convertFromImage</a>(img); img = orig; - img.<a href="ntqimage.html#detach">detach</a>(); - for (i=0; i<img.<a href="ntqimage.html#numColors">numColors</a>(); i++) { - TQRgb rgb = img.<a href="ntqimage.html#color">color</a>(i); + img.<a href="tqimage.html#detach">detach</a>(); + for (i=0; i<img.<a href="tqimage.html#numColors">numColors</a>(); i++) { + TQRgb rgb = img.<a href="tqimage.html#color">color</a>(i); <a href="ntqcolor.html">TQColor</a> c(rgb); <a name="x193"></a> rgb = c.<a href="ntqcolor.html#light">light</a>().rgb(); - img.<a href="ntqimage.html#setColor">setColor</a>(i,rgb); + img.<a href="tqimage.html#setColor">setColor</a>(i,rgb); } <a href="ntqpixmap.html">TQPixmap</a> light; light.<a href="ntqpixmap.html#convertFromImage">convertFromImage</a>(img); img = orig; - img.<a href="ntqimage.html#detach">detach</a>(); - for (i=0; i<img.<a href="ntqimage.html#numColors">numColors</a>(); i++) { - TQRgb rgb = img.<a href="ntqimage.html#color">color</a>(i); + img.<a href="tqimage.html#detach">detach</a>(); + for (i=0; i<img.<a href="tqimage.html#numColors">numColors</a>(); i++) { + TQRgb rgb = img.<a href="tqimage.html#color">color</a>(i); <a href="ntqcolor.html">TQColor</a> c(rgb); rgb = c.<a href="ntqcolor.html#dark">dark</a>(180).rgb(); - img.<a href="ntqimage.html#setColor">setColor</a>(i,rgb); + img.<a href="tqimage.html#setColor">setColor</a>(i,rgb); } <a href="ntqpixmap.html">TQPixmap</a> dark; dark.<a href="ntqpixmap.html#convertFromImage">convertFromImage</a>(img); - <a href="ntqimage.html">TQImage</a> bgimage(polish_xpm); + <a href="tqimage.html">TQImage</a> bgimage(polish_xpm); <a href="ntqpixmap.html">TQPixmap</a> background; background.<a href="ntqpixmap.html#convertFromImage">convertFromImage</a>(bgimage); img = bgimage; - img.<a href="ntqimage.html#detach">detach</a>(); - for (i=0; i<img.<a href="ntqimage.html#numColors">numColors</a>(); i++) { - TQRgb rgb = img.<a href="ntqimage.html#color">color</a>(i); + img.<a href="tqimage.html#detach">detach</a>(); + for (i=0; i<img.<a href="tqimage.html#numColors">numColors</a>(); i++) { + TQRgb rgb = img.<a href="tqimage.html#color">color</a>(i); <a href="ntqcolor.html">TQColor</a> c(rgb); rgb = c.<a href="ntqcolor.html#dark">dark</a>(180).rgb(); - img.<a href="ntqimage.html#setColor">setColor</a>(i,rgb); + img.<a href="tqimage.html#setColor">setColor</a>(i,rgb); } sunkenDark = new <a href="ntqpixmap.html">TQPixmap</a>; sunkenDark-><a href="ntqpixmap.html#convertFromImage">convertFromImage</a>(img); img = bgimage; - img.<a href="ntqimage.html#detach">detach</a>(); - for (i=0; i<img.<a href="ntqimage.html#numColors">numColors</a>(); i++) { - TQRgb rgb = img.<a href="ntqimage.html#color">color</a>(i); + img.<a href="tqimage.html#detach">detach</a>(); + for (i=0; i<img.<a href="tqimage.html#numColors">numColors</a>(); i++) { + TQRgb rgb = img.<a href="tqimage.html#color">color</a>(i); <a href="ntqcolor.html">TQColor</a> c(rgb); rgb = c.<a href="ntqcolor.html#light">light</a>(130).rgb(); - img.<a href="ntqimage.html#setColor">setColor</a>(i,rgb); + img.<a href="tqimage.html#setColor">setColor</a>(i,rgb); } sunkenLight= new <a href="ntqpixmap.html">TQPixmap</a>; sunkenLight-><a href="ntqpixmap.html#convertFromImage">convertFromImage</a>(img); @@ -1652,7 +1652,7 @@ private: #include "ntqpalette.h" // for now #include "tqwidget.h" #include "ntqlabel.h" -#include "ntqimage.h" +#include "tqimage.h" #include "ntqpushbutton.h" #include "tqwidget.h" #include "ntqrangecontrol.h" |