diff options
Diffstat (limited to 'client/clientData.h')
-rw-r--r-- | client/clientData.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/client/clientData.h b/client/clientData.h index d777214..306e55c 100644 --- a/client/clientData.h +++ b/client/clientData.h @@ -18,20 +18,20 @@ #ifndef _QEMBED_CLIENTDATA #define _QEMBED_CLIENTDATA -#include <qimage.h> -#include <qdict.h> -static const QRgb client_bottom_lines_dark_data[] = { +#include <tqimage.h> +#include <tqdict.h> +static const TQRgb client_bottom_lines_dark_data[] = { 0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x44000000,0x44000000,0x44000000,0x44000000, 0x44000000,0x44000000,0x44000000,0x44000000,0x44000000,0x44000000 }; /* Generated by qembed */ -static const QRgb client_bottomLines_data[] = { +static const TQRgb client_bottomLines_data[] = { 0x6000000,0x6000000,0x6000000,0x6000000,0x6000000,0x6000000,0x6000000,0x6000000,0x6000000,0x6000000,0x13000000,0x13000000,0x13000000,0x13000000, 0x13000000,0x13000000,0x13000000,0x13000000,0x13000000,0x13000000 }; -static const QRgb clientButtonContour_data[] = { +static const TQRgb clientButtonContour_data[] = { 0x0,0x0,0x0,0x0,0x2000000,0x9000000,0xe000000,0xf000000,0xf000000,0xe000000,0x9000000,0x2000000,0x0,0x0, 0x0,0x0,0x0,0x0,0x1000000,0x7000000,0x27000000,0x8c000000,0xc4000000,0xc9000000,0xc9000000,0xc4000000,0x8c000000,0x27000000, 0x7000000,0x1000000,0x0,0x0,0x0,0x0,0xa000000,0x64000000,0xca000000,0x6a000000,0x1b000000,0xf000000,0xf000000,0x1b000000, @@ -53,7 +53,7 @@ static const QRgb clientButtonContour_data[] = { 0x0,0x0,0x0,0x0 }; -static const QRgb clientButtonPressed_data[] = { +static const TQRgb clientButtonPressed_data[] = { 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xb151515,0x400b0b0b,0x420d0d0d,0x420d0d0d,0x41090909,0xb151515,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1000000,0x39131313,0x6d010101,0x68000000,0x62000000,0x62000000,0x67000000, @@ -75,7 +75,7 @@ static const QRgb clientButtonPressed_data[] = { 0x0,0x0,0x0,0x0 }; -static const QRgb clientButtonShadow_data[] = { +static const TQRgb clientButtonShadow_data[] = { 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x16fdfdfd,0x52fdfdfd,0x6ffdfdfd,0x6ffdfdfd,0x50fdfdfd,0x16fdfdfd,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xafdfdfd,0x7bfcfcfc,0x78fdfdfd,0x65ffffff,0x6ffdfdfd,0x6ffdfdfd,0x65ffffff, @@ -97,18 +97,18 @@ static const QRgb clientButtonShadow_data[] = { 0x3ffffff,0x0,0x0,0x0 }; -static const QRgb client_close_6x6_data[] = { +static const TQRgb client_close_6x6_data[] = { 0x6c2a2a2a,0x6b2a2a2a,0x0,0x0,0x6b2a2a2a,0x702a2a2a,0x7b2a2a2a,0xd62a2a2a,0x5c2a2a2a,0x792a2a2a,0xd62a2a2a,0x782a2a2a,0x0,0x7b2a2a2a, 0xd62a2a2a,0xd62a2a2a,0x782a2a2a,0x0,0x0,0x7b2a2a2a,0xd62a2a2a,0xd62a2a2a,0x782a2a2a,0x0,0x7b2a2a2a,0xd62a2a2a,0x782a2a2a,0x5e2a2a2a, 0xd62a2a2a,0x782a2a2a,0x6c2a2a2a,0x782a2a2a,0x0,0x0,0x5e2a2a2a,0x6c2a2a2a }; -static const QRgb client_dot_4x4_data[] = { +static const TQRgb client_dot_4x4_data[] = { 0x422a2a2a,0x9b2a2a2a,0x9b2a2a2a,0x422a2a2a,0x9b2a2a2a,0xb02a2a2a,0xb02a2a2a,0x9b2a2a2a,0x9b2a2a2a,0xb02a2a2a,0xb02a2a2a,0x9b2a2a2a,0x422a2a2a,0x9b2a2a2a, 0x9b2a2a2a,0x422a2a2a }; -static const QRgb client_edges_dark_data[] = { +static const TQRgb client_edges_dark_data[] = { 0x0,0x0,0x0,0x34000000,0x35000000,0x35000000,0x34000000,0x0,0x0,0x0,0x0,0x0,0x34000000,0x2b000000, 0xe000000,0xe000000,0x2b000000,0x34000000,0x0,0x0,0x0,0x39000000,0x23000000,0x10000000,0x3000000,0x3000000,0x10000000,0x23000000, 0x39000000,0x0,0x3000000,0x38000000,0x11000000,0x3000000,0x0,0x0,0x3000000,0x11000000,0x38000000,0x3000000,0x34000000,0x2a000000, @@ -120,7 +120,7 @@ static const QRgb client_edges_dark_data[] = { 0x0,0x41000000,0x44000000,0x44000000,0x41000000,0x0,0x0,0x0 }; -static const QRgb client_edges_data[] = { +static const TQRgb client_edges_data[] = { 0x0,0x0,0x0,0x2fffffff,0x31ffffff,0x31ffffff,0x2fffffff,0x0,0x0,0x0,0x0,0x0,0x2effffff,0x25ffffff, 0x11ffffff,0x11ffffff,0x25ffffff,0x2effffff,0x0,0x0,0x0,0x34ffffff,0x1fffffff,0xeffffff,0x3ffffff,0x3ffffff,0xeffffff,0x1fffffff, 0x34ffffff,0x0,0x2ffffff,0x33ffffff,0xeffffff,0x3ffffff,0x0,0x0,0x3ffffff,0xeffffff,0x33ffffff,0x2ffffff,0x2fffffff,0x1fffffff, @@ -132,17 +132,17 @@ static const QRgb client_edges_data[] = { 0x0,0x12000000,0x13000000,0x13000000,0x12000000,0x0,0x0,0x0 }; -static const QRgb client_help_5x8_data[] = { +static const TQRgb client_help_5x8_data[] = { 0x22a2a2a,0x772a2a2a,0xc22a2a2a,0xbd2a2a2a,0x302a2a2a,0x3b2a2a2a,0xd22a2a2a,0x612a2a2a,0x862a2a2a,0xbd2a2a2a,0x22a2a2a,0x22a2a2a,0x0,0x5b2a2a2a, 0xba2a2a2a,0x0,0x0,0x462a2a2a,0xbd2a2a2a,0x3e2a2a2a,0x0,0x0,0xd12a2a2a,0x682a2a2a,0x0,0x0,0x0,0x542a2a2a, 0x2a2a2a2a,0x0,0x0,0x0,0xb82a2a2a,0x5b2a2a2a,0x0,0x0,0x0,0x262a2a2a,0x82a2a2a,0x0 }; -static const QRgb client_line_6x2_data[] = { +static const TQRgb client_line_6x2_data[] = { 0x852a2a2a,0xbe2a2a2a,0xbe2a2a2a,0xbe2a2a2a,0xbe2a2a2a,0x852a2a2a,0x432a2a2a,0x5f2a2a2a,0x5f2a2a2a,0x5f2a2a2a,0x5f2a2a2a,0x432a2a2a }; -static const QRgb client_max_8x8_data[] = { +static const TQRgb client_max_8x8_data[] = { 0x0,0x0,0x0,0x852a2a2a,0x442a2a2a,0x0,0x0,0x0,0x0,0x0,0x0,0xbe2a2a2a,0x602a2a2a,0x0, 0x0,0x0,0x12a2a2a,0x12a2a2a,0x0,0xbe2a2a2a,0x602a2a2a,0x0,0x0,0x0,0x852a2a2a,0xbe2a2a2a,0xbe2a2a2a,0xbe2a2a2a, 0xbe2a2a2a,0xbe2a2a2a,0xbe2a2a2a,0x852a2a2a,0x442a2a2a,0x602a2a2a,0x602a2a2a,0xbe2a2a2a,0x902a2a2a,0x622a2a2a,0x632a2a2a,0x452a2a2a,0x0,0x0, @@ -150,27 +150,27 @@ static const QRgb client_max_8x8_data[] = { 0x0,0x0,0x0,0x852a2a2a,0x442a2a2a,0x0,0x0,0x0 }; -static const QRgb client_right_lines2_data[] = { +static const TQRgb client_right_lines2_data[] = { 0xfffffff,0x24ffffff,0xfffffff,0x24ffffff,0xfffffff,0x24ffffff,0xfffffff,0x24ffffff,0xfffffff,0x24ffffff,0xfffffff,0x24ffffff,0xfffffff,0x24ffffff, 0xfffffff,0x24ffffff,0xfffffff,0x24ffffff,0xfffffff,0x24ffffff }; -static const QRgb client_right_lines_dark_data[] = { +static const TQRgb client_right_lines_dark_data[] = { 0x19000000,0x36000000,0x19000000,0x36000000,0x19000000,0x36000000,0x19000000,0x36000000,0x19000000,0x36000000,0x19000000,0x36000000,0x19000000,0x36000000, 0x19000000,0x36000000,0x19000000,0x36000000,0x19000000,0x36000000 }; -static const QRgb client_topLines2_data[] = { +static const TQRgb client_topLines2_data[] = { 0x39ffffff,0x39ffffff,0x39ffffff,0x39ffffff,0x39ffffff,0x39ffffff,0x39ffffff,0x39ffffff,0x39ffffff,0x39ffffff,0x11ffffff,0x11ffffff,0x11ffffff,0x11ffffff, 0x11ffffff,0x11ffffff,0x11ffffff,0x11ffffff,0x11ffffff,0x11ffffff }; -static const QRgb client_top_lines_dark_data[] = { +static const TQRgb client_top_lines_dark_data[] = { 0x36000000,0x36000000,0x36000000,0x36000000,0x36000000,0x36000000,0x36000000,0x36000000,0x36000000,0x36000000,0x13000000,0x13000000,0x13000000,0x13000000, 0x13000000,0x13000000,0x13000000,0x13000000,0x13000000,0x13000000 }; -static const QRgb client_upArrow_6x8_data[] = { +static const TQRgb client_upArrow_6x8_data[] = { 0x0,0x0,0x492a2a2a,0x142a2a2a,0x0,0x0,0x0,0x4a2a2a2a,0xb92a2a2a,0xa82a2a2a,0x1e2a2a2a,0x0,0x572a2a2a,0xb92a2a2a, 0xb92a2a2a,0xb82a2a2a,0xac2a2a2a,0x1d2a2a2a,0x0,0x0,0xb92a2a2a,0x5c2a2a2a,0x0,0x0,0x0,0x0,0xb92a2a2a,0x5c2a2a2a, 0x0,0x0,0x0,0x0,0xb92a2a2a,0x5c2a2a2a,0x0,0x0,0x0,0x0,0xb92a2a2a,0x5c2a2a2a,0x0,0x0, @@ -182,7 +182,7 @@ static struct EmbedImage { int width, height, depth; const unsigned char *data; int numColors; - const QRgb *colorTable; + const TQRgb *colorTable; bool alpha; const char *name; } embed_image_vec[] = { @@ -206,20 +206,20 @@ static struct EmbedImage { { 0, 0, 0, 0, 0, 0, 0, 0 } }; -static const QImage& qembed_findImage( const QString& name ) +static const TQImage& qembed_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; embed_image_vec[i].data; i++ ) { if ( strcmp(embed_image_vec[i].name, name.latin1()) == 0 ) { - img = new QImage((uchar*)embed_image_vec[i].data, + img = new TQImage((uchar*)embed_image_vec[i].data, embed_image_vec[i].width, embed_image_vec[i].height, embed_image_vec[i].depth, - (QRgb*)embed_image_vec[i].colorTable, + (TQRgb*)embed_image_vec[i].colorTable, embed_image_vec[i].numColors, - QImage::BigEndian ); + TQImage::BigEndian ); if ( embed_image_vec[i].alpha ) img->setAlphaBuffer( TRUE ); dict.insert( name, img ); @@ -227,7 +227,7 @@ static const QImage& qembed_findImage( const QString& name ) } } if ( !img ) { - static QImage dummy; + static TQImage dummy; return dummy; } } |