diff options
author | Slávek Banko <[email protected]> | 2016-04-08 03:06:39 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-04-08 03:06:39 +0200 |
commit | 96603e8acb744f86139b900e45d030ad684b6a4d (patch) | |
tree | bc983a53582ffe8f32e3fa9320eff557f239ea01 /dominoConfig/configData.h | |
parent | 5d3112684ba2b692a07b0328ad308c402276e51e (diff) | |
download | tde-style-domino-96603e8acb744f86139b900e45d030ad684b6a4d.tar.gz tde-style-domino-96603e8acb744f86139b900e45d030ad684b6a4d.zip |
Initial TQt conversion
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'dominoConfig/configData.h')
-rw-r--r-- | dominoConfig/configData.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/dominoConfig/configData.h b/dominoConfig/configData.h index 60478fd..7d81210 100644 --- a/dominoConfig/configData.h +++ b/dominoConfig/configData.h @@ -18,9 +18,9 @@ #ifndef _QEMBED_Config #define _QEMBED_Config -#include <qimage.h> -#include <qdict.h> -static const QRgb tabIndicatorArrow_data[] = { +#include <tqimage.h> +#include <tqdict.h> +static const TQRgb tabIndicatorArrow_data[] = { 0x0,0x0,0x0,0x10000000,0x4e000000,0x10000000,0x0,0x0,0x0,0x0,0x0,0x18000000,0x5f000000,0x66000000, 0x5f000000,0x18000000,0x0,0x0,0x0,0x21000000,0x63000000,0x66000000,0x66000000,0x66000000,0x63000000,0x20000000,0x0,0x28000000, 0x62000000,0x63000000,0x66000000,0x66000000,0x66000000,0x63000000,0x62000000,0x27000000,0x0,0x0,0x0,0x60000000,0x66000000,0x60000000, @@ -34,7 +34,7 @@ static struct ConfigEmbedImage { int width, height, depth; const unsigned char *data; int numColors; - const QRgb *colorTable; + const TQRgb *colorTable; bool alpha; const char *name; } config_embed_image_vec[] = { @@ -42,20 +42,20 @@ static struct ConfigEmbedImage { { 0, 0, 0, 0, 0, 0, 0, 0 } }; -static const QImage& config_findImage( const QString& name ) +static const TQImage& config_findImage( const TQString& name ) { - static QDict<QImage> dict; - QImage* img = dict.find( name ); + static TQDict<TQImage> dict; + TQImage* img = dict.find( name ); if ( !img ) { for ( int i = 0; config_embed_image_vec[i].data; i++ ) { if ( strcmp(config_embed_image_vec[i].name, name.latin1()) == 0 ) { - img = new QImage((uchar*)config_embed_image_vec[i].data, + img = new TQImage((uchar*)config_embed_image_vec[i].data, config_embed_image_vec[i].width, config_embed_image_vec[i].height, config_embed_image_vec[i].depth, - (QRgb*)config_embed_image_vec[i].colorTable, + (TQRgb*)config_embed_image_vec[i].colorTable, config_embed_image_vec[i].numColors, - QImage::BigEndian ); + TQImage::BigEndian ); if ( config_embed_image_vec[i].alpha ) img->setAlphaBuffer( TRUE ); dict.insert( name, img ); @@ -63,7 +63,7 @@ static const QImage& config_findImage( const QString& name ) } } if ( !img ) { - static QImage dummy; + static TQImage dummy; return dummy; } } |