Initial TQt conversion

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 9 years ago
parent 5d3112684b
commit 96603e8acb

@ -18,20 +18,20 @@
#ifndef _QEMBED_CLIENTDATA #ifndef _QEMBED_CLIENTDATA
#define _QEMBED_CLIENTDATA #define _QEMBED_CLIENTDATA
#include <qimage.h> #include <tqimage.h>
#include <qdict.h> #include <tqdict.h>
static const QRgb client_bottom_lines_dark_data[] = { static const TQRgb client_bottom_lines_dark_data[] = {
0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x44000000,0x44000000,0x44000000,0x44000000, 0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x44000000,0x44000000,0x44000000,0x44000000,
0x44000000,0x44000000,0x44000000,0x44000000,0x44000000,0x44000000 0x44000000,0x44000000,0x44000000,0x44000000,0x44000000,0x44000000
}; };
/* Generated by qembed */ /* 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, 0x6000000,0x6000000,0x6000000,0x6000000,0x6000000,0x6000000,0x6000000,0x6000000,0x6000000,0x6000000,0x13000000,0x13000000,0x13000000,0x13000000,
0x13000000,0x13000000,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,0x2000000,0x9000000,0xe000000,0xf000000,0xf000000,0xe000000,0x9000000,0x2000000,0x0,0x0,
0x0,0x0,0x0,0x0,0x1000000,0x7000000,0x27000000,0x8c000000,0xc4000000,0xc9000000,0xc9000000,0xc4000000,0x8c000000,0x27000000, 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, 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 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,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,0xb151515,0x400b0b0b,0x420d0d0d,0x420d0d0d,0x41090909,0xb151515,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1000000,0x39131313,0x6d010101,0x68000000,0x62000000,0x62000000,0x67000000, 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 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,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,0x16fdfdfd,0x52fdfdfd,0x6ffdfdfd,0x6ffdfdfd,0x50fdfdfd,0x16fdfdfd,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xafdfdfd,0x7bfcfcfc,0x78fdfdfd,0x65ffffff,0x6ffdfdfd,0x6ffdfdfd,0x65ffffff, 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 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, 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,0xd62a2a2a,0x782a2a2a,0x0,0x0,0x7b2a2a2a,0xd62a2a2a,0xd62a2a2a,0x782a2a2a,0x0,0x7b2a2a2a,0xd62a2a2a,0x782a2a2a,0x5e2a2a2a,
0xd62a2a2a,0x782a2a2a,0x6c2a2a2a,0x782a2a2a,0x0,0x0,0x5e2a2a2a,0x6c2a2a2a 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, 0x422a2a2a,0x9b2a2a2a,0x9b2a2a2a,0x422a2a2a,0x9b2a2a2a,0xb02a2a2a,0xb02a2a2a,0x9b2a2a2a,0x9b2a2a2a,0xb02a2a2a,0xb02a2a2a,0x9b2a2a2a,0x422a2a2a,0x9b2a2a2a,
0x9b2a2a2a,0x422a2a2a 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, 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, 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, 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 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, 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, 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, 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 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, 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, 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 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 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,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, 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, 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 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,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,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, 0x39ffffff,0x39ffffff,0x39ffffff,0x39ffffff,0x39ffffff,0x39ffffff,0x39ffffff,0x39ffffff,0x39ffffff,0x39ffffff,0x11ffffff,0x11ffffff,0x11ffffff,0x11ffffff,
0x11ffffff,0x11ffffff,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, 0x36000000,0x36000000,0x36000000,0x36000000,0x36000000,0x36000000,0x36000000,0x36000000,0x36000000,0x36000000,0x13000000,0x13000000,0x13000000,0x13000000,
0x13000000,0x13000000,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, 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, 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, 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; int width, height, depth;
const unsigned char *data; const unsigned char *data;
int numColors; int numColors;
const QRgb *colorTable; const TQRgb *colorTable;
bool alpha; bool alpha;
const char *name; const char *name;
} embed_image_vec[] = { } embed_image_vec[] = {
@ -206,20 +206,20 @@ static struct EmbedImage {
{ 0, 0, 0, 0, 0, 0, 0, 0 } { 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; static TQDict<TQImage> dict;
QImage* img = dict.find( name ); TQImage* img = dict.find( name );
if ( !img ) { if ( !img ) {
for ( int i = 0; embed_image_vec[i].data; i++ ) { for ( int i = 0; embed_image_vec[i].data; i++ ) {
if ( strcmp(embed_image_vec[i].name, name.latin1()) == 0 ) { 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].width,
embed_image_vec[i].height, embed_image_vec[i].height,
embed_image_vec[i].depth, embed_image_vec[i].depth,
(QRgb*)embed_image_vec[i].colorTable, (TQRgb*)embed_image_vec[i].colorTable,
embed_image_vec[i].numColors, embed_image_vec[i].numColors,
QImage::BigEndian ); TQImage::BigEndian );
if ( embed_image_vec[i].alpha ) if ( embed_image_vec[i].alpha )
img->setAlphaBuffer( TRUE ); img->setAlphaBuffer( TRUE );
dict.insert( name, img ); dict.insert( name, img );
@ -227,7 +227,7 @@ static const QImage& qembed_findImage( const QString& name )
} }
} }
if ( !img ) { if ( !img ) {
static QImage dummy; static TQImage dummy;
return dummy; return dummy;
} }
} }

@ -23,15 +23,15 @@
#include "config.h" #include "config.h"
#include <kglobal.h> #include <kglobal.h>
#include <klocale.h> #include <klocale.h>
#include <qvbox.h> #include <tqvbox.h>
#include <qlayout.h> #include <tqlayout.h>
#include <qlabel.h> #include <tqlabel.h>
#include <qgroupbox.h> #include <tqgroupbox.h>
#include <qsettings.h> #include <tqsettings.h>
extern "C" extern "C"
{ {
KDE_EXPORT QObject* allocate_config( KConfig* config, QWidget* parent ) KDE_EXPORT TQObject* allocate_config( KConfig* config, TQWidget* parent )
{ {
return(new DominoConfig(config, parent)); return(new DominoConfig(config, parent));
} }
@ -40,81 +40,81 @@ extern "C"
// NOTE: // NOTE:
// 'config' is a pointer to the kwindecoration modules open kwin config, // 'config' is a pointer to the kwindecoration modules open kwin config,
// and is by default set to the "Style" group. // and is by default set to the "Style" group.
// 'parent' is the parent of the QObject, which is a VBox inside the // 'parent' is the parent of the TQObject, which is a VBox inside the
// Configure tab in kwindecoration // Configure tab in kwindecoration
DominoConfig::DominoConfig( KConfig* config, QWidget* parent ) DominoConfig::DominoConfig( KConfig* config, TQWidget* parent )
: QObject( parent ) : TQObject( parent )
{ {
conf = new KConfig("kwindominorc"); conf = new KConfig("kwindominorc");
KGlobal::locale()->insertCatalogue("kwin_clients"); KGlobal::locale()->insertCatalogue("kwin_clients");
vBox = new QVBox( parent ); vBox = new TQVBox( parent );
customBorderColor = new QCheckBox( i18n("Custom border color"), vBox ); customBorderColor = new TQCheckBox( i18n("Custom border color"), vBox );
QHBox *hbox1 = new QHBox(vBox); TQHBox *hbox1 = new TQHBox(vBox);
hbox1->layout()->addItem(new QSpacerItem(20, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) ); hbox1->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
borderColor = new KColorButton(hbox1); borderColor = new KColorButton(hbox1);
customButtonColor = new QCheckBox( i18n("Custom button color"), vBox ); customButtonColor = new TQCheckBox( i18n("Custom button color"), vBox );
QHBox *hbox2 = new QHBox(vBox); TQHBox *hbox2 = new TQHBox(vBox);
hbox2->layout()->addItem(new QSpacerItem(20, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) ); hbox2->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
buttonColor = new KColorButton(hbox2); buttonColor = new KColorButton(hbox2);
customButtonIconColor = new QCheckBox( i18n("Custom button icon color"), vBox ); customButtonIconColor = new TQCheckBox( i18n("Custom button icon color"), vBox );
QHBox *hbox3 = new QHBox(vBox); TQHBox *hbox3 = new TQHBox(vBox);
hbox3->layout()->addItem(new QSpacerItem(20, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) ); hbox3->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
buttonIconColor = new KColorButton(hbox3); buttonIconColor = new KColorButton(hbox3);
customGradientColors = new QCheckBox( i18n("Custom gradient colors"), vBox); customGradientColors = new TQCheckBox( i18n("Custom gradient colors"), vBox);
QHBox *hbox4 = new QHBox(vBox); TQHBox *hbox4 = new TQHBox(vBox);
hbox4->layout()->addItem(new QSpacerItem(22, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) ); hbox4->layout()->addItem(new TQSpacerItem(22, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
QVBox *vbox1 = new QVBox(hbox4); TQVBox *vbox1 = new TQVBox(hbox4);
new QLabel( i18n("Top gradient color"), vbox1); new TQLabel( i18n("Top gradient color"), vbox1);
topGradientColor = new KColorButton(vbox1); topGradientColor = new KColorButton(vbox1);
new QLabel(i18n("Bottom gradient color"), vbox1); new TQLabel(i18n("Bottom gradient color"), vbox1);
bottomGradientColor = new KColorButton(vbox1); bottomGradientColor = new KColorButton(vbox1);
showInactiveButtons = new QCheckBox( i18n("Show inactive buttons"), vBox ); showInactiveButtons = new TQCheckBox( i18n("Show inactive buttons"), vBox );
showButtonIcons = new QCheckBox( i18n("Show button icons"), vBox ); showButtonIcons = new TQCheckBox( i18n("Show button icons"), vBox );
darkFrame = new QCheckBox( i18n("Dark window frame"), vBox ); darkFrame = new TQCheckBox( i18n("Dark window frame"), vBox );
/////////////////////////////////////// ///////////////////////////////////////
QGroupBox* colorGb = new QGroupBox(vBox); TQGroupBox* colorGb = new TQGroupBox(vBox);
colorGb->setTitle(i18n("Button contour colors:")); colorGb->setTitle(i18n("Button contour colors:"));
colorGb->setColumnLayout(0, Qt::Vertical ); colorGb->setColumnLayout(0, TQt::Vertical );
colorGb->layout()->setSpacing( 6 ); colorGb->layout()->setSpacing( 6 );
colorGb->layout()->setMargin( 11 ); colorGb->layout()->setMargin( 11 );
QGridLayout* gbLayout = new QGridLayout( colorGb->layout(), 4, 2 ); TQGridLayout* gbLayout = new TQGridLayout( colorGb->layout(), 4, 2 );
gbLayout->setAlignment( Qt::AlignTop ); gbLayout->setAlignment( TQt::AlignTop );
QLabel* labelSC = new QLabel(i18n("Standard color:"), colorGb); TQLabel* labelSC = new TQLabel(i18n("Standard color:"), colorGb);
buttonContourColor = new KColorButton(colorGb); buttonContourColor = new KColorButton(colorGb);
buttonContourColor->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum); buttonContourColor->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Minimum);
QLabel* labelMC = new QLabel(i18n("Mouseover color:"), colorGb); TQLabel* labelMC = new TQLabel(i18n("Mouseover color:"), colorGb);
buttonMouseOverContourColor = new KColorButton(colorGb); buttonMouseOverContourColor = new KColorButton(colorGb);
QLabel* labelPC = new QLabel(i18n("Pressed color:"), colorGb); TQLabel* labelPC = new TQLabel(i18n("Pressed color:"), colorGb);
buttonPressedContourColor = new KColorButton(colorGb); buttonPressedContourColor = new KColorButton(colorGb);
useDominoStyleContourColors = new QCheckBox( i18n("Use domino style contour colors"), colorGb ); useDominoStyleContourColors = new TQCheckBox( i18n("Use domino style contour colors"), colorGb );
gbLayout->addMultiCellWidget(useDominoStyleContourColors, 0, 0, 0, 1); gbLayout->addMultiCellWidget(useDominoStyleContourColors, 0, 0, 0, 1);
gbLayout->addWidget(labelSC, 1, 0); gbLayout->addWidget(labelSC, 1, 0);
gbLayout->addItem(new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Minimum) ); gbLayout->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Minimum, TQSizePolicy::Minimum) );
gbLayout->addWidget(buttonContourColor, 1, 1); gbLayout->addWidget(buttonContourColor, 1, 1);
gbLayout->addWidget(labelMC, 2, 0); gbLayout->addWidget(labelMC, 2, 0);
gbLayout->addItem(new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Minimum) ); gbLayout->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Minimum, TQSizePolicy::Minimum) );
gbLayout->addWidget(buttonMouseOverContourColor, 2, 1); gbLayout->addWidget(buttonMouseOverContourColor, 2, 1);
gbLayout->addWidget(labelPC, 3, 0); gbLayout->addWidget(labelPC, 3, 0);
gbLayout->addItem(new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Minimum) ); gbLayout->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Minimum, TQSizePolicy::Minimum) );
gbLayout->addWidget(buttonPressedContourColor, 3, 1); gbLayout->addWidget(buttonPressedContourColor, 3, 1);
@ -139,17 +139,17 @@ DominoConfig::DominoConfig( KConfig* config, QWidget* parent )
connect(customButtonIconColor, SIGNAL(toggled(bool)), buttonIconColor, SLOT(setEnabled(bool))); connect(customButtonIconColor, SIGNAL(toggled(bool)), buttonIconColor, SLOT(setEnabled(bool)));
connect(customGradientColors, SIGNAL(clicked()), this, SLOT(slotSelectionChanged())); connect(customGradientColors, SIGNAL(clicked()), this, SLOT(slotSelectionChanged()));
connect(topGradientColor, SIGNAL(changed(const QColor&)), this, SLOT(slotSelectionChanged())); connect(topGradientColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged()));
connect(bottomGradientColor, SIGNAL(changed(const QColor&)), this, SLOT(slotSelectionChanged())); connect(bottomGradientColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged()));
connect(customBorderColor, SIGNAL(clicked()), this, SLOT(slotSelectionChanged())); connect(customBorderColor, SIGNAL(clicked()), this, SLOT(slotSelectionChanged()));
connect(borderColor, SIGNAL(changed(const QColor&)), this, SLOT(slotSelectionChanged())); connect(borderColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged()));
connect(customButtonColor, SIGNAL(clicked()), this, SLOT(slotSelectionChanged())); connect(customButtonColor, SIGNAL(clicked()), this, SLOT(slotSelectionChanged()));
connect(buttonColor, SIGNAL(changed(const QColor&)), this, SLOT(slotSelectionChanged())); connect(buttonColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged()));
connect(customButtonIconColor, SIGNAL(clicked()), this, SLOT(slotSelectionChanged())); connect(customButtonIconColor, SIGNAL(clicked()), this, SLOT(slotSelectionChanged()));
connect(buttonIconColor, SIGNAL(changed(const QColor&)), this, SLOT(slotSelectionChanged())); connect(buttonIconColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged()));
connect(showInactiveButtons, SIGNAL(clicked()), this, SLOT(slotSelectionChanged())); connect(showInactiveButtons, SIGNAL(clicked()), this, SLOT(slotSelectionChanged()));
connect(showButtonIcons, SIGNAL(clicked()), this, SLOT(slotSelectionChanged())); connect(showButtonIcons, SIGNAL(clicked()), this, SLOT(slotSelectionChanged()));
@ -157,9 +157,9 @@ DominoConfig::DominoConfig( KConfig* config, QWidget* parent )
connect(useDominoStyleContourColors, SIGNAL(clicked()), this, SLOT(loadButtonContourColors())); connect(useDominoStyleContourColors, SIGNAL(clicked()), this, SLOT(loadButtonContourColors()));
connect(useDominoStyleContourColors, SIGNAL(clicked()), this, SLOT(slotSelectionChanged())); connect(useDominoStyleContourColors, SIGNAL(clicked()), this, SLOT(slotSelectionChanged()));
connect(buttonContourColor, SIGNAL(changed(const QColor&)), this, SLOT(slotSelectionChanged())); connect(buttonContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged()));
connect(buttonMouseOverContourColor, SIGNAL(changed(const QColor&)), this, SLOT(slotSelectionChanged())); connect(buttonMouseOverContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged()));
connect(buttonPressedContourColor, SIGNAL(changed(const QColor&)), this, SLOT(slotSelectionChanged())); connect(buttonPressedContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged()));
// Make the widgets visible in kwindecoration valueChanged // Make the widgets visible in kwindecoration valueChanged
@ -245,7 +245,7 @@ void DominoConfig::save(KConfig*)
void DominoConfig::defaults() void DominoConfig::defaults()
{ {
QColor background = vBox->paletteBackgroundColor(); TQColor background = vBox->paletteBackgroundColor();
customBorderColor->setChecked(true); customBorderColor->setChecked(true);
borderColor->setColor("#777B7F"); borderColor->setColor("#777B7F");
@ -269,9 +269,9 @@ void DominoConfig::defaults()
void DominoConfig::loadButtonContourColors() { void DominoConfig::loadButtonContourColors() {
QColor background = vBox->paletteBackgroundColor(); TQColor background = vBox->paletteBackgroundColor();
if(useDominoStyleContourColors->isChecked()) { if(useDominoStyleContourColors->isChecked()) {
QSettings s; TQSettings s;
buttonContourColor->setColor(s.readEntry("/domino/Settings/buttonContourColor", background.dark(250).name())); buttonContourColor->setColor(s.readEntry("/domino/Settings/buttonContourColor", background.dark(250).name()));
buttonMouseOverContourColor->setColor(s.readEntry("/domino/Settings/buttonMouseOverContourColor", background.dark(250).name())); buttonMouseOverContourColor->setColor(s.readEntry("/domino/Settings/buttonMouseOverContourColor", background.dark(250).name()));
buttonPressedContourColor->setColor(s.readEntry("/domino/Settings/buttonPressedContourColor", background.dark(250).name())); buttonPressedContourColor->setColor(s.readEntry("/domino/Settings/buttonPressedContourColor", background.dark(250).name()));

@ -23,17 +23,17 @@
#ifndef DOMINOCONFIG_H #ifndef DOMINOCONFIG_H
#define DOMINOCONFIG_H #define DOMINOCONFIG_H
#include <qcheckbox.h> #include <tqcheckbox.h>
#include <kconfig.h> #include <kconfig.h>
#include <qvbox.h> #include <tqvbox.h>
#include <kcolorbutton.h> #include <kcolorbutton.h>
class DominoConfig: public QObject class DominoConfig: public TQObject
{ {
Q_OBJECT Q_OBJECT
public: public:
DominoConfig( KConfig* config, QWidget* parent ); DominoConfig( KConfig* config, TQWidget* parent );
~DominoConfig(); ~DominoConfig();
// These public signals/slots work similar to KCM modules // These public signals/slots work similar to KCM modules
@ -50,22 +50,22 @@ class DominoConfig: public QObject
void loadButtonContourColors(); void loadButtonContourColors();
private: private:
KConfig* conf; KConfig* conf;
QVBox* vBox; TQVBox* vBox;
QCheckBox* customBorderColor; TQCheckBox* customBorderColor;
KColorButton* borderColor; KColorButton* borderColor;
QCheckBox* customButtonColor; TQCheckBox* customButtonColor;
KColorButton* buttonColor; KColorButton* buttonColor;
QCheckBox* customButtonIconColor; TQCheckBox* customButtonIconColor;
KColorButton* buttonIconColor; KColorButton* buttonIconColor;
QCheckBox* showInactiveButtons; TQCheckBox* showInactiveButtons;
QCheckBox* showButtonIcons; TQCheckBox* showButtonIcons;
QCheckBox* customGradientColors; TQCheckBox* customGradientColors;
KColorButton* topGradientColor; KColorButton* topGradientColor;
KColorButton* bottomGradientColor; KColorButton* bottomGradientColor;
QCheckBox* darkFrame; TQCheckBox* darkFrame;
QCheckBox* useDominoStyleContourColors; TQCheckBox* useDominoStyleContourColors;
KColorButton* buttonContourColor; KColorButton* buttonContourColor;
KColorButton* buttonMouseOverContourColor; KColorButton* buttonMouseOverContourColor;
KColorButton* buttonPressedContourColor; KColorButton* buttonPressedContourColor;

@ -25,16 +25,16 @@
#include <kconfig.h> #include <kconfig.h>
#include <kglobal.h> #include <kglobal.h>
#include <qlayout.h> #include <tqlayout.h>
#include <qbitmap.h> #include <tqbitmap.h>
#include <qimage.h> #include <tqimage.h>
#include <qapplication.h> #include <tqapplication.h>
#include <qlabel.h> #include <tqlabel.h>
#include <qpixmap.h> #include <tqpixmap.h>
#include <X11/extensions/shape.h> #include <X11/extensions/shape.h>
#include <qwmatrix.h> #include <tqwmatrix.h>
#include <qpainter.h> #include <tqpainter.h>
#include <qsettings.h> #include <tqsettings.h>
namespace Domino namespace Domino
@ -46,53 +46,53 @@ const int titleEdgeTop = 3;
const int titleEdgeBottom = 1; const int titleEdgeBottom = 1;
static int titleHeight; static int titleHeight;
static QPixmap* buttonPix; static TQPixmap* buttonPix;
static QPixmap* buttonHidePix; static TQPixmap* buttonHidePix;
static QPixmap* titleBarPix; static TQPixmap* titleBarPix;
static QPixmap* borderTopLeftPix; static TQPixmap* borderTopLeftPix;
static QPixmap* borderTopRightPix; static TQPixmap* borderTopRightPix;
static QPixmap* borderBottomPix; static TQPixmap* borderBottomPix;
static QPixmap* borderBottomLeftPix; static TQPixmap* borderBottomLeftPix;
static QPixmap* borderBottomRightPix; static TQPixmap* borderBottomRightPix;
static QPixmap* borderLeftPix; static TQPixmap* borderLeftPix;
static QPixmap* borderRightPix; static TQPixmap* borderRightPix;
static QPixmap* closeButtonIcon; static TQPixmap* closeButtonIcon;
static QPixmap* minButtonIcon; static TQPixmap* minButtonIcon;
static QPixmap* maxButtonIcon; static TQPixmap* maxButtonIcon;
static QPixmap* helpButtonIcon; static TQPixmap* helpButtonIcon;
static QPixmap* onAllDesktopsButtonIcon; static TQPixmap* onAllDesktopsButtonIcon;
static QPixmap* shadeButtonIcon; static TQPixmap* shadeButtonIcon;
static QPixmap* aboveButtonIcon; static TQPixmap* aboveButtonIcon;
static QPixmap* belowButtonIcon; static TQPixmap* belowButtonIcon;
static QPixmap* pressedCloseButtonIcon; static TQPixmap* pressedCloseButtonIcon;
static QPixmap* pressedMinButtonIcon; static TQPixmap* pressedMinButtonIcon;
static QPixmap* pressedMaxButtonIcon; static TQPixmap* pressedMaxButtonIcon;
static QPixmap* pressedHelpButtonIcon; static TQPixmap* pressedHelpButtonIcon;
static QPixmap* pressedOnAllDesktopsButtonIcon; static TQPixmap* pressedOnAllDesktopsButtonIcon;
static QPixmap* pressedShadeButtonIcon; static TQPixmap* pressedShadeButtonIcon;
static QPixmap* pressedAboveButtonIcon; static TQPixmap* pressedAboveButtonIcon;
static QPixmap* pressedBelowButtonIcon; static TQPixmap* pressedBelowButtonIcon;
static QPixmap* mouseOverCloseButtonIcon; static TQPixmap* mouseOverCloseButtonIcon;
static QPixmap* mouseOverMinButtonIcon; static TQPixmap* mouseOverMinButtonIcon;
static QPixmap* mouseOverMaxButtonIcon; static TQPixmap* mouseOverMaxButtonIcon;
static QPixmap* mouseOverHelpButtonIcon; static TQPixmap* mouseOverHelpButtonIcon;
static QPixmap* mouseOverOnAllDesktopsButtonIcon; static TQPixmap* mouseOverOnAllDesktopsButtonIcon;
static QPixmap* mouseOverShadeButtonIcon; static TQPixmap* mouseOverShadeButtonIcon;
static QPixmap* mouseOverAboveButtonIcon; static TQPixmap* mouseOverAboveButtonIcon;
static QPixmap* mouseOverBelowButtonIcon; static TQPixmap* mouseOverBelowButtonIcon;
static bool buttonInputShape; static bool buttonInputShape;
static QBitmap* buttonShapeBitmap; static TQBitmap* buttonShapeBitmap;
static QColor background; static TQColor background;
static QColor topGradientColor; static TQColor topGradientColor;
static QColor bottomGradientColor; static TQColor bottomGradientColor;
static QColor topBorderGradientColor; static TQColor topBorderGradientColor;
static QColor bottomBorderGradientColor; static TQColor bottomBorderGradientColor;
static bool showButtonIcons; static bool showButtonIcons;
static bool showInactiveButtons; static bool showInactiveButtons;
@ -106,8 +106,8 @@ DominoHandler::DominoHandler()
{ {
int ignore, maj, min; int ignore, maj, min;
if(XShapeQueryExtension(qt_xdisplay(), &ignore, &ignore) && if(XShapeQueryExtension(tqt_xdisplay(), &ignore, &ignore) &&
XShapeQueryVersion(qt_xdisplay(), &maj, &min) && XShapeQueryVersion(tqt_xdisplay(), &maj, &min) &&
maj >= 1 && min >= 1) { maj >= 1 && min >= 1) {
buttonInputShape = true; buttonInputShape = true;
@ -159,8 +159,8 @@ unsigned long DominoHandler::readConfig( bool update )
KConfig conf("kwindominorc"); KConfig conf("kwindominorc");
conf.setGroup("General"); conf.setGroup("General");
titleHeight = QMAX(QFontMetrics(options()->font(true)).height(), 16); titleHeight = TQMAX(TQFontMetrics(options()->font(true)).height(), 16);
background = qApp->palette().active().background(); background = tqApp->palette().active().background();
customBorderColor = conf.readBoolEntry("customBorderColor", true); customBorderColor = conf.readBoolEntry("customBorderColor", true);
borderColor = customBorderColor ? conf.readEntry("borderColor", "#777B7F") : background; borderColor = customBorderColor ? conf.readEntry("borderColor", "#777B7F") : background;
@ -174,10 +174,10 @@ unsigned long DominoHandler::readConfig( bool update )
darkLines = conf.readBoolEntry("darkFrame", false); darkLines = conf.readBoolEntry("darkFrame", false);
if(!conf.readBoolEntry( "customGradientColors", false)) { if(!conf.readBoolEntry( "customGradientColors", false)) {
topGradientColor = alphaBlendColors(background, Qt::white, 180); topGradientColor = alphaBlendColors(background, TQt::white, 180);
bottomGradientColor = alphaBlendColors(background, Qt::black, 230); bottomGradientColor = alphaBlendColors(background, TQt::black, 230);
topBorderGradientColor = alphaBlendColors(borderColor, Qt::white, 180); topBorderGradientColor = alphaBlendColors(borderColor, TQt::white, 180);
bottomBorderGradientColor = alphaBlendColors(borderColor, Qt::black, 230); bottomBorderGradientColor = alphaBlendColors(borderColor, TQt::black, 230);
} }
else { else {
topGradientColor = conf.readEntry("topGradientColor", "#ffffff"); topGradientColor = conf.readEntry("topGradientColor", "#ffffff");
@ -191,7 +191,7 @@ unsigned long DominoHandler::readConfig( bool update )
} }
if(conf.readBoolEntry("useDominoStyleContourColors", true)) { if(conf.readBoolEntry("useDominoStyleContourColors", true)) {
QSettings s; TQSettings s;
buttonContourColor = s.readEntry("/domino/Settings/buttonContourColor", background.dark(250).name()); buttonContourColor = s.readEntry("/domino/Settings/buttonContourColor", background.dark(250).name());
buttonMouseOverContourColor = s.readEntry("/domino/Settings/buttonMouseOverContourColor", background.dark(250).name()); buttonMouseOverContourColor = s.readEntry("/domino/Settings/buttonMouseOverContourColor", background.dark(250).name());
buttonPressedContourColor = s.readEntry("/domino/Settings/buttonPressedContourColor", background.dark(250).name()); buttonPressedContourColor = s.readEntry("/domino/Settings/buttonPressedContourColor", background.dark(250).name());
@ -210,10 +210,10 @@ unsigned long DominoHandler::readConfig( bool update )
void DominoHandler::createPixmaps() void DominoHandler::createPixmaps()
{ {
QImage edges; TQImage edges;
QImage topLines; TQImage topLines;
QImage rightLines; TQImage rightLines;
QImage bottomLines; TQImage bottomLines;
if(darkLines) { if(darkLines) {
edges = qembed_findImage("client_edges_dark"); edges = qembed_findImage("client_edges_dark");
@ -232,14 +232,14 @@ void DominoHandler::createPixmaps()
int titleBarHeight = titleHeight+titleEdgeTop+titleEdgeBottom; int titleBarHeight = titleHeight+titleEdgeTop+titleEdgeBottom;
QWMatrix m; TQWMatrix m;
m.rotate(180); m.rotate(180);
titleBarPix = new QPixmap(QSize(10, titleBarHeight)); titleBarPix = new TQPixmap(TQSize(10, titleBarHeight));
titleBarPix->fill(background); titleBarPix->fill(background);
QRect r(titleBarPix->rect()); TQRect r(titleBarPix->rect());
QPainter p(titleBarPix); TQPainter p(titleBarPix);
QRect rect(r.x(), r.y(), r.width(), titleGradientHeight); TQRect rect(r.x(), r.y(), r.width(), titleGradientHeight);
renderGradient(&p, rect, topGradientColor, background, "titleBar"); renderGradient(&p, rect, topGradientColor, background, "titleBar");
p.drawPixmap(0, 0, topLines); p.drawPixmap(0, 0, topLines);
p.end(); p.end();
@ -248,23 +248,23 @@ void DominoHandler::createPixmaps()
///////// borders ///////// borders
// sides // sides
QPixmap sideLinesRight = rightLines; TQPixmap sideLinesRight = rightLines;
borderRightPix = new QPixmap(5, 10); borderRightPix = new TQPixmap(5, 10);
borderRightPix->fill(borderColor); borderRightPix->fill(borderColor);
p.begin(borderRightPix); p.begin(borderRightPix);
p.drawPixmap(3, 0, sideLinesRight); p.drawPixmap(3, 0, sideLinesRight);
p.end(); p.end();
borderLeftPix = new QPixmap(borderRightPix->xForm(m)); borderLeftPix = new TQPixmap(borderRightPix->xForm(m));
// edges // edges
borderTopLeftPix = new QPixmap(QSize(5, titleBarHeight)); borderTopLeftPix = new TQPixmap(TQSize(5, titleBarHeight));
borderTopLeftPix->fill(borderColor); borderTopLeftPix->fill(borderColor);
p.begin(borderTopLeftPix); p.begin(borderTopLeftPix);
r = QRect(0, 0, 5, titleGradientHeight); r = TQRect(0, 0, 5, titleGradientHeight);
// if the gradient color is equal to the background color, we make the border also flat. // if the gradient color is equal to the background color, we make the border also flat.
renderGradient(&p, r, topGradientColor == background ? borderColor : topBorderGradientColor, borderColor, "borderTopLeftPix"); renderGradient(&p, r, topGradientColor == background ? borderColor : topBorderGradientColor, borderColor, "borderTopLeftPix");
borderTopRightPix = new QPixmap(*borderTopLeftPix); borderTopRightPix = new TQPixmap(*borderTopLeftPix);
p.drawPixmap(0, 1, edges, 0, 0, 5, 6); p.drawPixmap(0, 1, edges, 0, 0, 5, 6);
p.drawTiledPixmap(0, 7, 2, titleBarHeight, sideLinesRight.xForm(m)); p.drawTiledPixmap(0, 7, 2, titleBarHeight, sideLinesRight.xForm(m));
p.end(); p.end();
@ -274,12 +274,12 @@ void DominoHandler::createPixmaps()
p.end(); p.end();
borderBottomRightPix = new QPixmap(QSize(5, bottomBorderHeight)); borderBottomRightPix = new TQPixmap(TQSize(5, bottomBorderHeight));
borderBottomRightPix->fill(borderColor); borderBottomRightPix->fill(borderColor);
p.begin(borderBottomRightPix); p.begin(borderBottomRightPix);
r = QRect(0, bottomBorderHeight-6, 5, 6); r = TQRect(0, bottomBorderHeight-6, 5, 6);
renderGradient(&p, r, borderColor, bottomGradientColor == background ? borderColor : bottomBorderGradientColor, "borderBottomRightPix"); renderGradient(&p, r, borderColor, bottomGradientColor == background ? borderColor : bottomBorderGradientColor, "borderBottomRightPix");
borderBottomLeftPix = new QPixmap(*borderBottomRightPix); borderBottomLeftPix = new TQPixmap(*borderBottomRightPix);
p.drawPixmap(0, bottomBorderHeight-7, edges, 5, 6, 5, 6); p.drawPixmap(0, bottomBorderHeight-7, edges, 5, 6, 5, 6);
p.drawPixmap(3, 0, sideLinesRight, 0, 0, 2, borderBottomLeftPix->height()-7); p.drawPixmap(3, 0, sideLinesRight, 0, 0, 2, borderBottomLeftPix->height()-7);
p.end(); p.end();
@ -290,10 +290,10 @@ void DominoHandler::createPixmaps()
p.drawPixmap(0, 0, sideLinesRight.xForm(m), 0, 0, 2, borderBottomLeftPix->height()-7); p.drawPixmap(0, 0, sideLinesRight.xForm(m), 0, 0, 2, borderBottomLeftPix->height()-7);
p.end(); p.end();
borderBottomPix = new QPixmap(QSize(10, bottomBorderHeight)); borderBottomPix = new TQPixmap(TQSize(10, bottomBorderHeight));
borderBottomPix->fill(background); borderBottomPix->fill(background);
p.begin(borderBottomPix); p.begin(borderBottomPix);
r = QRect(0, bottomBorderHeight-6, 10, 6); r = TQRect(0, bottomBorderHeight-6, 10, 6);
renderGradient(&p, r, background, bottomGradientColor, "borderBottom"); renderGradient(&p, r, background, bottomGradientColor, "borderBottom");
p.drawPixmap(0, bottomBorderHeight-2, bottomLines); p.drawPixmap(0, bottomBorderHeight-2, bottomLines);
p.end(); p.end();
@ -304,42 +304,42 @@ void DominoHandler::createPixmaps()
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
if(buttonInputShape) { if(buttonInputShape) {
QRegion buttonClip(6,2,6,1); TQRegion buttonClip(6,2,6,1);
buttonClip += QRegion(5,3,8,1); buttonClip += TQRegion(5,3,8,1);
buttonClip += QRegion(4,4,10,1); buttonClip += TQRegion(4,4,10,1);
buttonClip += QRegion(3,5,12,1); buttonClip += TQRegion(3,5,12,1);
buttonClip += QRegion(2,6,14,6); buttonClip += TQRegion(2,6,14,6);
buttonClip += QRegion(3,12,12,1); buttonClip += TQRegion(3,12,12,1);
buttonClip += QRegion(4,13,10,1); buttonClip += TQRegion(4,13,10,1);
buttonClip += QRegion(5,14,8,1); buttonClip += TQRegion(5,14,8,1);
buttonClip += QRegion(6,15,6,1); buttonClip += TQRegion(6,15,6,1);
buttonShapeBitmap = new QBitmap(16, titleBarHeight, true); buttonShapeBitmap = new TQBitmap(16, titleBarHeight, true);
QPainter p(buttonShapeBitmap); TQPainter p(buttonShapeBitmap);
p.setClipRegion(buttonClip); p.setClipRegion(buttonClip);
p.fillRect(QRect(0, 0, 16, titleBarHeight), Qt::color1); p.fillRect(TQRect(0, 0, 16, titleBarHeight), TQt::color1);
} }
QPixmap* buttonShadow = new QPixmap(qembed_findImage("clientButtonShadow")); TQPixmap* buttonShadow = new TQPixmap(qembed_findImage("clientButtonShadow"));
QPixmap* buttonPressed = new QPixmap(qembed_findImage("clientButtonPressed")); TQPixmap* buttonPressed = new TQPixmap(qembed_findImage("clientButtonPressed"));
buttonPix = new QPixmap(QSize(16, titleBarHeight)); buttonPix = new TQPixmap(TQSize(16, titleBarHeight));
p.begin(buttonPix); p.begin(buttonPix);
p.drawTiledPixmap(0, 0, titleBarHeight, titleBarHeight, *titleBarPix, 0, titleEdgeTop); p.drawTiledPixmap(0, 0, titleBarHeight, titleBarHeight, *titleBarPix, 0, titleEdgeTop);
//////////// custom color //////////// custom color
r = QRect(buttonPix->rect()); r = TQRect(buttonPix->rect());
QRegion buttonClip(5,2,6,1); TQRegion buttonClip(5,2,6,1);
buttonClip += QRegion(4,3,8,1); buttonClip += TQRegion(4,3,8,1);
buttonClip += QRegion(3,4,10,1); buttonClip += TQRegion(3,4,10,1);
buttonClip += QRegion(2,5,12,6); buttonClip += TQRegion(2,5,12,6);
buttonClip += QRegion(3,11,10,1); buttonClip += TQRegion(3,11,10,1);
buttonClip += QRegion(4,12,8,1); buttonClip += TQRegion(4,12,8,1);
buttonClip += QRegion(5,13,6,1); buttonClip += TQRegion(5,13,6,1);
p.setClipRegion(buttonClip); p.setClipRegion(buttonClip);
p.fillRect(QRect(0, 0, r.width(), r.height()), buttonColor); p.fillRect(TQRect(0, 0, r.width(), r.height()), buttonColor);
QRect gr(0, -3, r.width(), titleGradientHeight); TQRect gr(0, -3, r.width(), titleGradientHeight);
renderGradient(&p, gr, topGradientColor, buttonColor, "titleBar"); renderGradient(&p, gr, topGradientColor, buttonColor, "titleBar");
p.setClipping(false); p.setClipping(false);
/////////// ///////////
@ -347,14 +347,14 @@ void DominoHandler::createPixmaps()
p.end(); p.end();
QPixmap* pressedButtonPix = new QPixmap(*buttonPix); TQPixmap* pressedButtonPix = new TQPixmap(*buttonPix);
p.begin(pressedButtonPix); p.begin(pressedButtonPix);
p.drawPixmap(0, 0, tintImage(qembed_findImage("clientButtonContour"), buttonPressedContourColor)); p.drawPixmap(0, 0, tintImage(qembed_findImage("clientButtonContour"), buttonPressedContourColor));
p.drawPixmap(0, 0, *buttonPressed); p.drawPixmap(0, 0, *buttonPressed);
p.end(); p.end();
QPixmap* mouseOverButtonPix = new QPixmap(*buttonPix); TQPixmap* mouseOverButtonPix = new TQPixmap(*buttonPix);
p.begin(mouseOverButtonPix); p.begin(mouseOverButtonPix);
p.drawPixmap(0, 0, tintImage(qembed_findImage("clientButtonContour"), buttonMouseOverContourColor)); p.drawPixmap(0, 0, tintImage(qembed_findImage("clientButtonContour"), buttonMouseOverContourColor));
p.end(); p.end();
@ -365,7 +365,7 @@ void DominoHandler::createPixmaps()
p.end(); p.end();
buttonHidePix = new QPixmap(QSize(buttonPix->width(), titleBarHeight)); buttonHidePix = new TQPixmap(TQSize(buttonPix->width(), titleBarHeight));
p.begin(buttonHidePix); p.begin(buttonHidePix);
p.drawTiledPixmap(0, 0, buttonHidePix->width(), buttonHidePix->height(), *titleBarPix, 0, titleEdgeTop); p.drawTiledPixmap(0, 0, buttonHidePix->width(), buttonHidePix->height(), *titleBarPix, 0, titleEdgeTop);
p.end(); p.end();
@ -376,75 +376,75 @@ void DominoHandler::createPixmaps()
///////// icons ///////// icons
/////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////
QPixmap* icon = new QPixmap(customButtonIconColor ? tintImage(qembed_findImage("closeButtonIcon"), buttonIconColor) : qembed_findImage("closeButtonIcon")); TQPixmap* icon = new TQPixmap(customButtonIconColor ? tintImage(qembed_findImage("closeButtonIcon"), buttonIconColor) : qembed_findImage("closeButtonIcon"));
closeButtonIcon = new QPixmap(*buttonPix); closeButtonIcon = new TQPixmap(*buttonPix);
bitBlt(closeButtonIcon, 5, 5, icon); bitBlt(closeButtonIcon, 5, 5, icon);
pressedCloseButtonIcon = new QPixmap(*pressedButtonPix); pressedCloseButtonIcon = new TQPixmap(*pressedButtonPix);
bitBlt(pressedCloseButtonIcon, 5, 5, icon); bitBlt(pressedCloseButtonIcon, 5, 5, icon);
mouseOverCloseButtonIcon = new QPixmap(*mouseOverButtonPix); mouseOverCloseButtonIcon = new TQPixmap(*mouseOverButtonPix);
bitBlt(mouseOverCloseButtonIcon, 5, 5, icon); bitBlt(mouseOverCloseButtonIcon, 5, 5, icon);
delete icon; delete icon;
icon = new QPixmap(customButtonIconColor ? tintImage(qembed_findImage("maxButtonIcon"), buttonIconColor) : qembed_findImage("maxButtonIcon")); icon = new TQPixmap(customButtonIconColor ? tintImage(qembed_findImage("maxButtonIcon"), buttonIconColor) : qembed_findImage("maxButtonIcon"));
maxButtonIcon = new QPixmap(*buttonPix); maxButtonIcon = new TQPixmap(*buttonPix);
bitBlt(maxButtonIcon, 4, 4, icon); bitBlt(maxButtonIcon, 4, 4, icon);
pressedMaxButtonIcon = new QPixmap(*pressedButtonPix); pressedMaxButtonIcon = new TQPixmap(*pressedButtonPix);
bitBlt(pressedMaxButtonIcon, 4, 4, icon); bitBlt(pressedMaxButtonIcon, 4, 4, icon);
mouseOverMaxButtonIcon = new QPixmap(*mouseOverButtonPix); mouseOverMaxButtonIcon = new TQPixmap(*mouseOverButtonPix);
bitBlt(mouseOverMaxButtonIcon, 4, 4, icon); bitBlt(mouseOverMaxButtonIcon, 4, 4, icon);
delete icon; delete icon;
icon = new QPixmap(customButtonIconColor ? tintImage(qembed_findImage("minButtonIcon"), buttonIconColor) : qembed_findImage("minButtonIcon")); icon = new TQPixmap(customButtonIconColor ? tintImage(qembed_findImage("minButtonIcon"), buttonIconColor) : qembed_findImage("minButtonIcon"));
minButtonIcon = new QPixmap(*buttonPix); minButtonIcon = new TQPixmap(*buttonPix);
bitBlt(minButtonIcon, 5, 9, icon); bitBlt(minButtonIcon, 5, 9, icon);
pressedMinButtonIcon = new QPixmap(*pressedButtonPix); pressedMinButtonIcon = new TQPixmap(*pressedButtonPix);
bitBlt(pressedMinButtonIcon, 5, 9, icon); bitBlt(pressedMinButtonIcon, 5, 9, icon);
mouseOverMinButtonIcon = new QPixmap(*mouseOverButtonPix); mouseOverMinButtonIcon = new TQPixmap(*mouseOverButtonPix);
bitBlt(mouseOverMinButtonIcon, 5, 9, icon); bitBlt(mouseOverMinButtonIcon, 5, 9, icon);
delete icon; delete icon;
icon = new QPixmap(customButtonIconColor ? tintImage(qembed_findImage("helpButtonIcon"), buttonIconColor) : qembed_findImage("helpButtonIcon")); icon = new TQPixmap(customButtonIconColor ? tintImage(qembed_findImage("helpButtonIcon"), buttonIconColor) : qembed_findImage("helpButtonIcon"));
helpButtonIcon = new QPixmap(*buttonPix); helpButtonIcon = new TQPixmap(*buttonPix);
bitBlt(helpButtonIcon, 5, 4, icon); bitBlt(helpButtonIcon, 5, 4, icon);
pressedHelpButtonIcon = new QPixmap(*pressedButtonPix); pressedHelpButtonIcon = new TQPixmap(*pressedButtonPix);
bitBlt(pressedHelpButtonIcon, 5, 4, icon); bitBlt(pressedHelpButtonIcon, 5, 4, icon);
mouseOverHelpButtonIcon = new QPixmap(*mouseOverButtonPix); mouseOverHelpButtonIcon = new TQPixmap(*mouseOverButtonPix);
bitBlt(mouseOverHelpButtonIcon, 5, 4, icon); bitBlt(mouseOverHelpButtonIcon, 5, 4, icon);
delete icon; delete icon;
icon = new QPixmap(customButtonIconColor ? tintImage(qembed_findImage("onAllDesktopsButtonIcon"), buttonIconColor) : qembed_findImage("onAllDesktopsButtonIcon")); icon = new TQPixmap(customButtonIconColor ? tintImage(qembed_findImage("onAllDesktopsButtonIcon"), buttonIconColor) : qembed_findImage("onAllDesktopsButtonIcon"));
onAllDesktopsButtonIcon = new QPixmap(*buttonPix); onAllDesktopsButtonIcon = new TQPixmap(*buttonPix);
bitBlt(onAllDesktopsButtonIcon, 6, 6, icon); bitBlt(onAllDesktopsButtonIcon, 6, 6, icon);
pressedOnAllDesktopsButtonIcon = new QPixmap(*pressedButtonPix); pressedOnAllDesktopsButtonIcon = new TQPixmap(*pressedButtonPix);
bitBlt(pressedOnAllDesktopsButtonIcon, 6, 6, icon); bitBlt(pressedOnAllDesktopsButtonIcon, 6, 6, icon);
mouseOverOnAllDesktopsButtonIcon = new QPixmap(*mouseOverButtonPix); mouseOverOnAllDesktopsButtonIcon = new TQPixmap(*mouseOverButtonPix);
bitBlt(mouseOverOnAllDesktopsButtonIcon, 6, 6, icon); bitBlt(mouseOverOnAllDesktopsButtonIcon, 6, 6, icon);
delete icon; delete icon;
icon = new QPixmap(customButtonIconColor ? tintImage(qembed_findImage("aboveButtonIcon"), buttonIconColor) : qembed_findImage("aboveButtonIcon")); icon = new TQPixmap(customButtonIconColor ? tintImage(qembed_findImage("aboveButtonIcon"), buttonIconColor) : qembed_findImage("aboveButtonIcon"));
aboveButtonIcon = new QPixmap(*buttonPix); aboveButtonIcon = new TQPixmap(*buttonPix);
bitBlt(aboveButtonIcon, 5, 4, icon); bitBlt(aboveButtonIcon, 5, 4, icon);
pressedAboveButtonIcon = new QPixmap(*pressedButtonPix); pressedAboveButtonIcon = new TQPixmap(*pressedButtonPix);
bitBlt(pressedAboveButtonIcon, 5, 4, icon); bitBlt(pressedAboveButtonIcon, 5, 4, icon);
mouseOverAboveButtonIcon = new QPixmap(*mouseOverButtonPix); mouseOverAboveButtonIcon = new TQPixmap(*mouseOverButtonPix);
bitBlt(mouseOverAboveButtonIcon, 5, 4, icon); bitBlt(mouseOverAboveButtonIcon, 5, 4, icon);
delete icon; delete icon;
icon = new QPixmap(customButtonIconColor ? tintImage(qembed_findImage("aboveButtonIcon").xForm(m), buttonIconColor) : qembed_findImage("aboveButtonIcon").xForm(m)); icon = new TQPixmap(customButtonIconColor ? tintImage(qembed_findImage("aboveButtonIcon").xForm(m), buttonIconColor) : qembed_findImage("aboveButtonIcon").xForm(m));
belowButtonIcon = new QPixmap(*buttonPix); belowButtonIcon = new TQPixmap(*buttonPix);
bitBlt(belowButtonIcon, 5, 4, icon); bitBlt(belowButtonIcon, 5, 4, icon);
pressedBelowButtonIcon = new QPixmap(*pressedButtonPix); pressedBelowButtonIcon = new TQPixmap(*pressedButtonPix);
bitBlt(pressedBelowButtonIcon, 5, 4, icon); bitBlt(pressedBelowButtonIcon, 5, 4, icon);
mouseOverBelowButtonIcon = new QPixmap(*mouseOverButtonPix); mouseOverBelowButtonIcon = new TQPixmap(*mouseOverButtonPix);
bitBlt(mouseOverBelowButtonIcon, 5, 4, icon); bitBlt(mouseOverBelowButtonIcon, 5, 4, icon);
delete icon; delete icon;
icon = new QPixmap(customButtonIconColor ? tintImage(qembed_findImage("minButtonIcon"), buttonIconColor) : qembed_findImage("minButtonIcon")); icon = new TQPixmap(customButtonIconColor ? tintImage(qembed_findImage("minButtonIcon"), buttonIconColor) : qembed_findImage("minButtonIcon"));
shadeButtonIcon = new QPixmap(*buttonPix); shadeButtonIcon = new TQPixmap(*buttonPix);
bitBlt(shadeButtonIcon, 5, 5, icon); bitBlt(shadeButtonIcon, 5, 5, icon);
pressedShadeButtonIcon = new QPixmap(*pressedButtonPix); pressedShadeButtonIcon = new TQPixmap(*pressedButtonPix);
bitBlt(pressedShadeButtonIcon, 5, 5, icon); bitBlt(pressedShadeButtonIcon, 5, 5, icon);
mouseOverShadeButtonIcon = new QPixmap(*mouseOverButtonPix); mouseOverShadeButtonIcon = new TQPixmap(*mouseOverButtonPix);
bitBlt(mouseOverShadeButtonIcon, 5, 5, icon); bitBlt(mouseOverShadeButtonIcon, 5, 5, icon);
delete icon; delete icon;
@ -531,7 +531,7 @@ DominoButton::DominoButton(ButtonType type, DominoClient *parent, const char *na
client = parent; client = parent;
#ifdef ShapeInput #ifdef ShapeInput
if(buttonInputShape && buttonShapeBitmap ) { if(buttonInputShape && buttonShapeBitmap ) {
XShapeCombineMask (qt_xdisplay(), XShapeCombineMask (tqt_xdisplay(),
winId(), winId(),
ShapeInput, ShapeInput,
0, 0,
@ -551,7 +551,7 @@ DominoButton::~DominoButton()
void DominoButton::reset(unsigned long changed) void DominoButton::reset(unsigned long changed)
{ {
if (changed&SizeChange || changed&ManualReset) { if (changed&SizeChange || changed&ManualReset) {
setBackgroundOrigin(QWidget::WidgetOrigin); setBackgroundOrigin(TQWidget::WidgetOrigin);
setErasePixmap(showInactiveButtons ? *buttonPix : *buttonHidePix); setErasePixmap(showInactiveButtons ? *buttonPix : *buttonHidePix);
} }
@ -564,7 +564,7 @@ void DominoButton::reset(unsigned long changed)
} }
void DominoButton::drawButton(QPainter *p) void DominoButton::drawButton(TQPainter *p)
{ {
if (!Domino_initialized) if (!Domino_initialized)
return; return;
@ -610,7 +610,7 @@ void DominoButton::drawButton(QPainter *p)
void DominoButton::enterEvent(QEvent */*e*/) void DominoButton::enterEvent(TQEvent */*e*/)
{ {
if(!client->isActive() && !showInactiveButtons) if(!client->isActive() && !showInactiveButtons)
@ -621,7 +621,7 @@ void DominoButton::enterEvent(QEvent */*e*/)
} }
void DominoButton::leaveEvent(QEvent */*e*/) void DominoButton::leaveEvent(TQEvent */*e*/)
{ {
isMouseOver=false; isMouseOver=false;
repaint(false); repaint(false);
@ -649,17 +649,17 @@ DominoClient::~DominoClient()
delete borderBottom; delete borderBottom;
} }
QString DominoClient::visibleName() const TQString DominoClient::visibleName() const
{ {
return "Domino"; return "Domino";
} }
QString DominoClient::defaultButtonsLeft() const TQString DominoClient::defaultButtonsLeft() const
{ {
return "MF"; return "MF";
} }
QString DominoClient::defaultButtonsRight() const TQString DominoClient::defaultButtonsRight() const
{ {
return "HIAX"; return "HIAX";
} }
@ -776,7 +776,7 @@ void DominoClient::init()
menuButton = 0; menuButton = 0;
globalMouseTracking = false; globalMouseTracking = false;
titleBarMouseOver = false; titleBarMouseOver = false;
QWidget* w = new QWidget(KDecoration::initialParentWidget(), "clientMainWidget", WNoAutoErase|WStaticContents); TQWidget* w = new TQWidget(KDecoration::initialParentWidget(), "clientMainWidget", WNoAutoErase|WStaticContents);
setMainWidget(w); setMainWidget(w);
widget()->setBackgroundMode(NoBackground); widget()->setBackgroundMode(NoBackground);
@ -794,48 +794,48 @@ void DominoClient::createLayout()
int titleBarHeight = titleHeight+titleEdgeTop+titleEdgeBottom; int titleBarHeight = titleHeight+titleEdgeTop+titleEdgeBottom;
mainlayout = new QGridLayout(widget(), 3, 3, 0); mainlayout = new TQGridLayout(widget(), 3, 3, 0);
titleBar = new TitleBar(widget(), "titlebar"); titleBar = new TitleBar(widget(), "titlebar");
titleBar->client = this; titleBar->client = this;
titleBar->setMouseTracking(true); titleBar->setMouseTracking(true);
borderTopLeft = new QWidget(widget(), "borderTopLeft", Qt::WNoAutoErase); borderTopLeft = new TQWidget(widget(), "borderTopLeft", TQt::WNoAutoErase);
borderTopLeft->setMouseTracking(true); borderTopLeft->setMouseTracking(true);
borderTopRight = new QWidget(widget(), "borderTopRight", Qt::WNoAutoErase); borderTopRight = new TQWidget(widget(), "borderTopRight", TQt::WNoAutoErase);
borderTopRight->setMouseTracking(true); borderTopRight->setMouseTracking(true);
borderBottomLeft = new QWidget(widget(), "borderBottomLeft", Qt::WNoAutoErase); borderBottomLeft = new TQWidget(widget(), "borderBottomLeft", TQt::WNoAutoErase);
borderBottomLeft->setMouseTracking(true); borderBottomLeft->setMouseTracking(true);
borderBottomRight = new QWidget(widget(), "borderBottomRight", Qt::WNoAutoErase); borderBottomRight = new TQWidget(widget(), "borderBottomRight", TQt::WNoAutoErase);
borderBottomRight->setMouseTracking(true); borderBottomRight->setMouseTracking(true);
borderLeft = new QWidget(widget(), "borderLeft", Qt::WNoAutoErase); borderLeft = new TQWidget(widget(), "borderLeft", TQt::WNoAutoErase);
borderLeft->setMouseTracking(true); borderLeft->setMouseTracking(true);
borderRight = new QWidget(widget(), "borderRight", Qt::WNoAutoErase); borderRight = new TQWidget(widget(), "borderRight", TQt::WNoAutoErase);
borderRight->setMouseTracking(true); borderRight->setMouseTracking(true);
borderBottom = new QWidget(widget(), "borderBottom", Qt::WNoAutoErase); borderBottom = new TQWidget(widget(), "borderBottom", TQt::WNoAutoErase);
borderBottom->setMouseTracking(true); borderBottom->setMouseTracking(true);
titleBar->setFixedHeight(titleBarHeight); titleBar->setFixedHeight(titleBarHeight);
titleBar->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); titleBar->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Fixed);
borderTopLeft->setFixedSize(borderWidth, titleBarHeight); borderTopLeft->setFixedSize(borderWidth, titleBarHeight);
borderTopRight->setFixedSize(borderWidth, titleBarHeight); borderTopRight->setFixedSize(borderWidth, titleBarHeight);
borderLeft->setFixedWidth(borderWidth); borderLeft->setFixedWidth(borderWidth);
borderLeft->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding); borderLeft->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Expanding);
borderRight->setFixedWidth(borderWidth); borderRight->setFixedWidth(borderWidth);
borderRight->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding); borderRight->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Expanding);
borderBottomLeft->setFixedSize(borderWidth, bottomBorderHeight); borderBottomLeft->setFixedSize(borderWidth, bottomBorderHeight);
borderBottomRight->setFixedSize(borderWidth, bottomBorderHeight); borderBottomRight->setFixedSize(borderWidth, bottomBorderHeight);
borderBottom->setFixedHeight(bottomBorderHeight); borderBottom->setFixedHeight(bottomBorderHeight);
borderBottom->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); borderBottom->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Fixed);
mainlayout->addWidget(titleBar, 0,1); mainlayout->addWidget(titleBar, 0,1);
mainlayout->addWidget(borderTopLeft, 0,0); mainlayout->addWidget(borderTopLeft, 0,0);
mainlayout->addWidget(borderTopRight, 0,2); mainlayout->addWidget(borderTopRight, 0,2);
mainlayout->addWidget(borderLeft, 1,0); mainlayout->addWidget(borderLeft, 1,0);
mainlayout->addItem(new QSpacerItem(1, 1, QSizePolicy::Expanding, QSizePolicy::Expanding)); mainlayout->addItem(new TQSpacerItem(1, 1, TQSizePolicy::Expanding, TQSizePolicy::Expanding));
mainlayout->addWidget(borderRight, 1,2); mainlayout->addWidget(borderRight, 1,2);
mainlayout->addWidget(borderBottomLeft, 2,0); mainlayout->addWidget(borderBottomLeft, 2,0);
@ -883,38 +883,38 @@ void DominoClient::updateMask()
clearMask(); clearMask();
return; return;
} }
QRect r(widget()->rect()); TQRect r(widget()->rect());
QRegion mask(r.x()+5, r.y(), r.width()-10, r.height()); TQRegion mask(r.x()+5, r.y(), r.width()-10, r.height());
mask += QRect(r.x()+3, r.y()+1, r.width()-6, r.height()-2); mask += TQRect(r.x()+3, r.y()+1, r.width()-6, r.height()-2);
mask += QRect(r.x()+2, r.y()+2, r.width()-4, r.height()-4); mask += TQRect(r.x()+2, r.y()+2, r.width()-4, r.height()-4);
mask += QRect(r.x()+1, r.y()+3, r.width()-2, r.height()-6); mask += TQRect(r.x()+1, r.y()+3, r.width()-2, r.height()-6);
mask += QRect(r.x(), r.y()+5, r.width(), r.height()-10); mask += TQRect(r.x(), r.y()+5, r.width(), r.height()-10);
setMask(mask); setMask(mask);
} }
void DominoClient::updateCaption() void DominoClient::updateCaption()
{ {
QRect r(titleBar->rect()); TQRect r(titleBar->rect());
QPixmap* titleBar_pix = new QPixmap(r.size()); TQPixmap* titleBar_pix = new TQPixmap(r.size());
QPainter painter(titleBar_pix); TQPainter painter(titleBar_pix);
painter.drawTiledPixmap(0, 0, r.width(), r.height(), *titleBarPix); painter.drawTiledPixmap(0, 0, r.width(), r.height(), *titleBarPix);
int lw = buttonsLeftWidth()+3; int lw = buttonsLeftWidth()+3;
int rw = buttonsRightWidth(); int rw = buttonsRightWidth();
painter.setFont(options()->font(true,false)); painter.setFont(options()->font(true,false));
QFontMetrics fm = painter.fontMetrics(); TQFontMetrics fm = painter.fontMetrics();
int captionWidth = fm.width(caption()); int captionWidth = fm.width(caption());
int titleWidth = titleBar->width()-(lw+rw); int titleWidth = titleBar->width()-(lw+rw);
QRect re(titleWidth > captionWidth ? (titleWidth-captionWidth)/2+lw : lw, 0, titleWidth, r.height()); TQRect re(titleWidth > captionWidth ? (titleWidth-captionWidth)/2+lw : lw, 0, titleWidth, r.height());
painter.setClipRect(re); painter.setClipRect(re);
painter.setPen(options()->color(KDecorationDefines::ColorFont, isActive())); painter.setPen(options()->color(KDecorationDefines::ColorFont, isActive()));
painter.drawText(QRect(lw, r.y(), r.width()-(rw+lw), r.height()), titleWidth > captionWidth ? Qt::AlignCenter : Qt::AlignLeft|Qt::AlignVCenter, caption()); painter.drawText(TQRect(lw, r.y(), r.width()-(rw+lw), r.height()), titleWidth > captionWidth ? TQt::AlignCenter : TQt::AlignLeft|TQt::AlignVCenter, caption());
painter.end(); painter.end();
titleBar->setErasePixmap(*titleBar_pix); titleBar->setErasePixmap(*titleBar_pix);
@ -931,10 +931,10 @@ void DominoClient::activeChange()
void DominoClient::iconChange() void DominoClient::iconChange()
{ {
if(menuButton) { if(menuButton) {
QPixmap pix(*buttonHidePix); TQPixmap pix(*buttonHidePix);
QPixmap icon = KDecoration::icon().pixmap(QIconSet::Small, QIconSet::Normal); TQPixmap icon = KDecoration::icon().pixmap(TQIconSet::Small, TQIconSet::Normal);
if(!icon.isNull()) if(!icon.isNull())
bitBlt(&pix, 0, 0, &icon, 0, 0, -1, -1, Qt::CopyROP); bitBlt(&pix, 0, 0, &icon, 0, 0, -1, -1, TQt::CopyROP);
menuButton->setErasePixmap(pix); menuButton->setErasePixmap(pix);
} }
@ -982,7 +982,7 @@ void DominoClient::shadeChange()
} }
void DominoClient::resize( const QSize& s ) void DominoClient::resize( const TQSize& s )
{ {
widget()->resize( s ); widget()->resize( s );
if(maximizeMode() == MaximizeFull && !options()->moveResizeMaximizedWindows()) { if(maximizeMode() == MaximizeFull && !options()->moveResizeMaximizedWindows()) {
@ -1004,7 +1004,7 @@ void DominoClient::resize( const QSize& s )
} }
void DominoClient::resizeEvent( QResizeEvent* ev ) void DominoClient::resizeEvent( TQResizeEvent* ev )
{ {
if (!Domino_initialized || ev->size() == ev->oldSize()) if (!Domino_initialized || ev->size() == ev->oldSize())
@ -1018,45 +1018,45 @@ void DominoClient::updateWindowShape()
{ {
} }
void DominoClient::showEvent(QShowEvent *) void DominoClient::showEvent(TQShowEvent *)
{ {
} }
void DominoClient::paintEvent( QPaintEvent* ) void DominoClient::paintEvent( TQPaintEvent* )
{ {
} }
bool DominoClient::eventFilter(QObject*, QEvent* e) bool DominoClient::eventFilter(TQObject*, TQEvent* e)
{ {
switch(e->type()) { switch(e->type()) {
case QEvent::Resize: case TQEvent::Resize:
resizeEvent(static_cast<QResizeEvent*>(e)); resizeEvent(static_cast<TQResizeEvent*>(e));
return true; return true;
case QEvent::ApplicationPaletteChange: case TQEvent::ApplicationPaletteChange:
return false; return false;
case QEvent::Paint: case TQEvent::Paint:
paintEvent(static_cast<QPaintEvent*>(e)); paintEvent(static_cast<TQPaintEvent*>(e));
return true; return true;
case QEvent::MouseButtonDblClick: case TQEvent::MouseButtonDblClick:
mouseDoubleClickEvent(static_cast<QMouseEvent*>(e)); mouseDoubleClickEvent(static_cast<TQMouseEvent*>(e));
return true; return true;
case QEvent::Wheel: case TQEvent::Wheel:
if(titleBar->hasMouse() || isSetShade()) if(titleBar->hasMouse() || isSetShade())
wheelEvent(static_cast<QWheelEvent*>(e)); wheelEvent(static_cast<TQWheelEvent*>(e));
return true; return true;
case QEvent::MouseButtonPress: case TQEvent::MouseButtonPress:
processMousePressEvent(static_cast<QMouseEvent*>(e)); processMousePressEvent(static_cast<TQMouseEvent*>(e));
return true; return true;
case QEvent::Show: case TQEvent::Show:
return true; return true;
case QEvent::Enter: case TQEvent::Enter:
updateButtons(); updateButtons();
return true; return true;
case QEvent::Leave: case TQEvent::Leave:
if(globalMouseTracking && !showInactiveButtons) { if(globalMouseTracking && !showInactiveButtons) {
globalMouseTracking = false; globalMouseTracking = false;
qApp->setGlobalMouseTracking( false ); tqApp->setGlobalMouseTracking( false );
qApp->removeEventFilter(titleBar); tqApp->removeEventFilter(titleBar);
titleBarMouseOver = false; titleBarMouseOver = false;
} }
updateButtons(); updateButtons();
@ -1068,13 +1068,13 @@ bool DominoClient::eventFilter(QObject*, QEvent* e)
} }
void TitleBar::enterEvent(QEvent*) void TitleBar::enterEvent(TQEvent*)
{ {
if(!client->isActive() && !showInactiveButtons) { if(!client->isActive() && !showInactiveButtons) {
if(!client->globalMouseTracking) { if(!client->globalMouseTracking) {
client->globalMouseTracking = true; client->globalMouseTracking = true;
qApp->setGlobalMouseTracking( true ); tqApp->setGlobalMouseTracking( true );
qApp->installEventFilter(this); tqApp->installEventFilter(this);
client->titleBarMouseOver = true; client->titleBarMouseOver = true;
client->updateButtons(); client->updateButtons();
} }
@ -1082,11 +1082,11 @@ void TitleBar::enterEvent(QEvent*)
} }
bool TitleBar::eventFilter(QObject*o, QEvent* e) { bool TitleBar::eventFilter(TQObject*o, TQEvent* e) {
if(e->type() == QEvent::MouseMove && !showInactiveButtons && !client->isActive()) { if(e->type() == TQEvent::MouseMove && !showInactiveButtons && !client->isActive()) {
QPoint pos = ((QMouseEvent*)e)->pos(); TQPoint pos = ((TQMouseEvent*)e)->pos();
if((dynamic_cast<QWidget*>(o) && geometry().contains(pos)) || dynamic_cast<QButton*>(o)) { if((dynamic_cast<TQWidget*>(o) && geometry().contains(pos)) || dynamic_cast<TQButton*>(o)) {
client->titleBarMouseOver = true; client->titleBarMouseOver = true;
} }
else { else {
@ -1101,16 +1101,16 @@ bool TitleBar::eventFilter(QObject*o, QEvent* e) {
///////////// /////////////
void renderGradient(QPainter *painter, QRect &rect, void renderGradient(TQPainter *painter, TQRect &rect,
QColor &c1, QColor &c2, const char* /*name*/) TQColor &c1, TQColor &c2, const char* /*name*/)
{ {
if((rect.width() <= 0)||(rect.height() <= 0)) if((rect.width() <= 0)||(rect.height() <= 0))
return; return;
QPixmap *result; TQPixmap *result;
result = new QPixmap(10, rect.height()); result = new TQPixmap(10, rect.height());
QPainter p(result); TQPainter p(result);
int r_h = result->rect().height(); int r_h = result->rect().height();
int r_x, r_y, r_x2, r_y2; int r_x, r_y, r_x2, r_y2;
@ -1138,7 +1138,7 @@ void renderGradient(QPainter *painter, QRect &rect,
rl += rdelta; rl += rdelta;
gl += gdelta; gl += gdelta;
bl += bdelta; bl += bdelta;
p.setPen(QColor(rl>>16, gl>>16, bl>>16)); p.setPen(TQColor(rl>>16, gl>>16, bl>>16));
p.drawLine(r_x, r_y+y, r_x2, r_y+y); p.drawLine(r_x, r_y+y, r_x2, r_y+y);
} }
p.end(); p.end();
@ -1149,34 +1149,34 @@ void renderGradient(QPainter *painter, QRect &rect,
} }
QColor alphaBlendColors(const QColor &bgColor, const QColor &fgColor, const int a) TQColor alphaBlendColors(const TQColor &bgColor, const TQColor &fgColor, const int a)
{ {
QRgb rgb = bgColor.rgb(); TQRgb rgb = bgColor.rgb();
QRgb rgb_b = fgColor.rgb(); TQRgb rgb_b = fgColor.rgb();
int alpha = a; int alpha = a;
if(alpha>255) alpha = 255; if(alpha>255) alpha = 255;
if(alpha<0) alpha = 0; if(alpha<0) alpha = 0;
int inv_alpha = 255 - alpha; int inv_alpha = 255 - alpha;
QColor result = QColor( qRgb(qRed(rgb_b)*inv_alpha/255 + qRed(rgb)*alpha/255, TQColor result = TQColor( tqRgb(tqRed(rgb_b)*inv_alpha/255 + tqRed(rgb)*alpha/255,
qGreen(rgb_b)*inv_alpha/255 + qGreen(rgb)*alpha/255, tqGreen(rgb_b)*inv_alpha/255 + tqGreen(rgb)*alpha/255,
qBlue(rgb_b)*inv_alpha/255 + qBlue(rgb)*alpha/255) ); tqBlue(rgb_b)*inv_alpha/255 + tqBlue(rgb)*alpha/255) );
return result; return result;
} }
QImage tintImage(const QImage &img, const QColor &tintColor) { TQImage tintImage(const TQImage &img, const TQColor &tintColor) {
QImage *result = new QImage(img.width(), img.height(), 32, 0, QImage::IgnoreEndian); TQImage *result = new TQImage(img.width(), img.height(), 32, 0, TQImage::IgnoreEndian);
unsigned int *data = (unsigned int*) img.bits(); unsigned int *data = (unsigned int*) img.bits();
unsigned int *resultData = (unsigned int*) result->bits(); unsigned int *resultData = (unsigned int*) result->bits();
result->setAlphaBuffer( true ); result->setAlphaBuffer( true );
int alpha; int alpha;
int total = img.width()*img.height(); int total = img.width()*img.height();
for ( int current = 0 ; current < total ; ++current ) { for ( int current = 0 ; current < total ; ++current ) {
alpha = qAlpha( data[ current ] ); alpha = tqAlpha( data[ current ] );
resultData[ current ] = qRgba( tintColor.red(), tintColor.green(), tintColor.blue(), alpha ); resultData[ current ] = tqRgba( tintColor.red(), tintColor.green(), tintColor.blue(), alpha );
} }
return *result; return *result;
} }

@ -25,14 +25,14 @@
#include <kcommondecoration.h> #include <kcommondecoration.h>
#include <kdecorationfactory.h> #include <kdecorationfactory.h>
#include <qlayout.h> #include <tqlayout.h>
namespace Domino { namespace Domino {
class DominoClient; class DominoClient;
class TitleBar; class TitleBar;
class DominoHandler: public QObject, public KDecorationFactory class DominoHandler: public TQObject, public KDecorationFactory
{ {
public: public:
DominoHandler(); DominoHandler();
@ -41,16 +41,16 @@ class DominoHandler: public QObject, public KDecorationFactory
bool reset( unsigned long changed ); bool reset( unsigned long changed );
virtual bool supports( Ability ability ); virtual bool supports( Ability ability );
QColor buttonContourColor; TQColor buttonContourColor;
QColor buttonMouseOverContourColor; TQColor buttonMouseOverContourColor;
QColor buttonPressedContourColor; TQColor buttonPressedContourColor;
bool customButtonColor; bool customButtonColor;
QColor buttonColor; TQColor buttonColor;
bool customButtonIconColor; bool customButtonIconColor;
QColor buttonIconColor; TQColor buttonIconColor;
bool customBorderColor; bool customBorderColor;
QColor borderColor; TQColor borderColor;
bool darkLines; bool darkLines;
private: private:
@ -70,10 +70,10 @@ class DominoButton : public KCommonDecorationButton
void reset(unsigned long changed); void reset(unsigned long changed);
protected: protected:
void enterEvent(QEvent *); void enterEvent(TQEvent *);
void leaveEvent(QEvent *); void leaveEvent(TQEvent *);
void drawButton(QPainter *p); void drawButton(TQPainter *p);
void drawButtonLabel(QPainter*) {;} void drawButtonLabel(TQPainter*) {;}
bool isMouseOver; bool isMouseOver;
DominoClient* client; DominoClient* client;
@ -87,9 +87,9 @@ class DominoClient : public KCommonDecoration
DominoClient( KDecorationBridge* b, KDecorationFactory* f ); DominoClient( KDecorationBridge* b, KDecorationFactory* f );
~DominoClient(); ~DominoClient();
virtual QString visibleName() const; virtual TQString visibleName() const;
virtual QString defaultButtonsLeft() const; virtual TQString defaultButtonsLeft() const;
virtual QString defaultButtonsRight() const; virtual TQString defaultButtonsRight() const;
virtual bool decorationBehaviour(DecorationBehaviour behaviour) const; virtual bool decorationBehaviour(DecorationBehaviour behaviour) const;
virtual int layoutMetric(LayoutMetric lm, bool respectWindowState = true, const KCommonDecorationButton * = 0) const; virtual int layoutMetric(LayoutMetric lm, bool respectWindowState = true, const KCommonDecorationButton * = 0) const;
virtual KCommonDecorationButton *createButton(ButtonType type); virtual KCommonDecorationButton *createButton(ButtonType type);
@ -97,7 +97,7 @@ class DominoClient : public KCommonDecoration
void init(); void init();
void reset( unsigned long changed ); void reset( unsigned long changed );
void resize( const QSize& s ); void resize( const TQSize& s );
void updateMask(); void updateMask();
void updateWindowShape(); void updateWindowShape();
@ -107,15 +107,15 @@ class DominoClient : public KCommonDecoration
void iconChange(); void iconChange();
TitleBar* titleBar; TitleBar* titleBar;
QWidget* borderTopLeft; TQWidget* borderTopLeft;
QWidget* borderTopRight; TQWidget* borderTopRight;
QWidget* borderBottomLeft; TQWidget* borderBottomLeft;
QWidget* borderBottomRight; TQWidget* borderBottomRight;
QWidget* borderLeft; TQWidget* borderLeft;
QWidget* borderRight; TQWidget* borderRight;
QWidget* borderBottom; TQWidget* borderBottom;
QGridLayout* mainlayout; TQGridLayout* mainlayout;
QButton* menuButton; TQButton* menuButton;
void setPixmaps(); void setPixmaps();
bool titleBarMouseOver; bool titleBarMouseOver;
@ -126,31 +126,31 @@ class DominoClient : public KCommonDecoration
void menuButtonDestroyed(); void menuButtonDestroyed();
protected: protected:
bool eventFilter(QObject*, QEvent*); bool eventFilter(TQObject*, TQEvent*);
void paintEvent(QPaintEvent*); void paintEvent(TQPaintEvent*);
void resizeEvent(QResizeEvent*); void resizeEvent(TQResizeEvent*);
void showEvent(QShowEvent*); void showEvent(TQShowEvent*);
private: private:
void createLayout(); void createLayout();
}; };
class TitleBar : public QWidget class TitleBar : public TQWidget
{ {
public: public:
TitleBar(QWidget* parent=0, const char* name=0) : QWidget(parent, name) {} TitleBar(TQWidget* parent=0, const char* name=0) : TQWidget(parent, name) {}
void enterEvent(QEvent * e); void enterEvent(TQEvent * e);
bool eventFilter(QObject*, QEvent*); bool eventFilter(TQObject*, TQEvent*);
DominoClient* client; DominoClient* client;
}; };
void renderGradient(QPainter *painter, QRect &rect, void renderGradient(TQPainter *painter, TQRect &rect,
QColor &c1, QColor &c2, const char* name = 0); TQColor &c1, TQColor &c2, const char* name = 0);
QColor alphaBlendColors(const QColor &backgroundColor, const QColor &foregroundColor, const int alpha); TQColor alphaBlendColors(const TQColor &backgroundColor, const TQColor &foregroundColor, const int alpha);
QImage tintImage(const QImage &img, const QColor &tintColor); TQImage tintImage(const TQImage &img, const TQColor &tintColor);
} }
#endif #endif

@ -18,35 +18,35 @@
#ifndef _QEMBED_1804289383 #ifndef _QEMBED_1804289383
#define _QEMBED_1804289383 #define _QEMBED_1804289383
#include <qimage.h> #include <tqimage.h>
#include <qdict.h> #include <tqdict.h>
static const QRgb arrow_down_small_data[] = { static const TQRgb arrow_down_small_data[] = {
0x2d000000,0x96000000,0x96000000,0x96000000,0x2e000000,0x1000000,0x79000000,0x99000000,0x7a000000,0x1000000,0x0,0x29000000,0x99000000,0x2b000000, 0x2d000000,0x96000000,0x96000000,0x96000000,0x2e000000,0x1000000,0x79000000,0x99000000,0x7a000000,0x1000000,0x0,0x29000000,0x99000000,0x2b000000,
0x0,0x0,0x0,0x4f000000,0x0,0x0 0x0,0x0,0x0,0x4f000000,0x0,0x0
}; };
/* Generated by qembed */ /* Generated by qembed */
static const QRgb btn17H_data[] = { static const TQRgb btn17H_data[] = {
0x0,0x0,0x0,0x0,0xc6000000,0xc6000000,0xc6000000,0xc6000000,0x23000000,0x23000000,0x23000000,0x23000000,0x23000000,0x23000000, 0x0,0x0,0x0,0x0,0xc6000000,0xc6000000,0xc6000000,0xc6000000,0x23000000,0x23000000,0x23000000,0x23000000,0x23000000,0x23000000,
0x23000000,0x23000000,0xc6000000,0xc6000000,0xc6000000,0xc6000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0 0x23000000,0x23000000,0xc6000000,0xc6000000,0xc6000000,0xc6000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
}; };
static const QRgb btn17HRaisedShadow_data[] = { static const TQRgb btn17HRaisedShadow_data[] = {
0x1e000000,0x1e000000,0x1e000000,0x1e000000,0x15000000,0x15000000,0x15000000,0x15000000,0x1effffff,0x1effffff,0x1effffff,0x1effffff,0x18ffffff,0x18ffffff, 0x1e000000,0x1e000000,0x1e000000,0x1e000000,0x15000000,0x15000000,0x15000000,0x15000000,0x1effffff,0x1effffff,0x1effffff,0x1effffff,0x18ffffff,0x18ffffff,
0x18ffffff,0x18ffffff,0x2000000,0x2000000,0x2000000,0x2000000,0x2d000000,0x2d000000,0x2d000000,0x2d000000,0x11000000,0x11000000,0x11000000,0x11000000 0x18ffffff,0x18ffffff,0x2000000,0x2000000,0x2000000,0x2000000,0x2d000000,0x2d000000,0x2d000000,0x2d000000,0x11000000,0x11000000,0x11000000,0x11000000
}; };
static const QRgb btn17HRaisedShadowPressed_data[] = { static const TQRgb btn17HRaisedShadowPressed_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x18ffffff,0x18ffffff,0x18ffffff,0x18ffffff,0x18ffffff,0x18ffffff, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x18ffffff,0x18ffffff,0x18ffffff,0x18ffffff,0x18ffffff,0x18ffffff,
0x18ffffff,0x18ffffff,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0 0x18ffffff,0x18ffffff,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
}; };
static const QRgb btn17HSunkenShadow_data[] = { static const TQRgb btn17HSunkenShadow_data[] = {
0x1c000000,0x1c000000,0x1c000000,0x1c000000,0x15000000,0x15000000,0x15000000,0x15000000,0x0,0x0,0x0,0x0,0x0,0x0, 0x1c000000,0x1c000000,0x1c000000,0x1c000000,0x15000000,0x15000000,0x15000000,0x15000000,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x4effffff,0x4effffff,0x4effffff,0x4effffff,0x1effffff,0x1effffff,0x1effffff,0x1effffff 0x0,0x0,0x0,0x0,0x0,0x0,0x4effffff,0x4effffff,0x4effffff,0x4effffff,0x1effffff,0x1effffff,0x1effffff,0x1effffff
}; };
static const QRgb btn17_data[] = { static const TQRgb btn17_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x2000000,0x2b000000,0x79000000,0xb3000000,0xb3000000,0x79000000,0x29000000,0x2000000,0x0,0x0,0x0,0x2000000,0x46000000,0xb9000000, 0x2000000,0x2b000000,0x79000000,0xb3000000,0xb3000000,0x79000000,0x29000000,0x2000000,0x0,0x0,0x0,0x2000000,0x46000000,0xb9000000,
0x76000000,0x33000000,0x33000000,0x77000000,0xb9000000,0x46000000,0x2000000,0x0,0x0,0x20000000,0xb5000000,0x49000000,0x4000000,0x1000000, 0x76000000,0x33000000,0x33000000,0x77000000,0xb9000000,0x46000000,0x2000000,0x0,0x0,0x20000000,0xb5000000,0x49000000,0x4000000,0x1000000,
@ -61,7 +61,7 @@ static const QRgb btn17_data[] = {
0x0,0x0 0x0,0x0
}; };
static const QRgb btn17RaisedShadow3_data[] = { static const TQRgb btn17RaisedShadow3_data[] = {
0x0,0x0,0x0,0x2000000,0x5000000,0xb000000,0xb000000,0x5000000,0x2000000,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x2000000,0x5000000,0xb000000,0xb000000,0x5000000,0x2000000,0x0,0x0,0x0,0x0,0x0,
0x3000000,0xd000000,0x15000000,0x10000000,0x10000000,0x15000000,0xd000000,0x3000000,0x0,0x0,0x0,0x3000000,0xe000000,0xf000000, 0x3000000,0xd000000,0x15000000,0x10000000,0x10000000,0x15000000,0xd000000,0x3000000,0x0,0x0,0x0,0x3000000,0xe000000,0xf000000,
0x26f8f8f8,0x1dffffff,0x1effffff,0x26f8f8f8,0xf000000,0xe000000,0x3000000,0x0,0x0,0x8000000,0xe000000,0x1dffffff,0x17ffffff,0x8ffffff, 0x26f8f8f8,0x1dffffff,0x1effffff,0x26f8f8f8,0xf000000,0xe000000,0x3000000,0x0,0x0,0x8000000,0xe000000,0x1dffffff,0x17ffffff,0x8ffffff,
@ -76,7 +76,7 @@ static const QRgb btn17RaisedShadow3_data[] = {
0x0,0x0 0x0,0x0
}; };
static const QRgb btn17RaisedShadowPressed_data[] = { static const TQRgb btn17RaisedShadowPressed_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x25ffffff,0x1dffffff,0x1effffff,0x25ffffff,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1dffffff,0x17ffffff,0x8ffffff, 0x25ffffff,0x1dffffff,0x1effffff,0x25ffffff,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1dffffff,0x17ffffff,0x8ffffff,
@ -91,7 +91,7 @@ static const QRgb btn17RaisedShadowPressed_data[] = {
0x0,0x0 0x0,0x0
}; };
static const QRgb btn17SunkenShadow_data[] = { static const TQRgb btn17SunkenShadow_data[] = {
0x0,0x0,0x0,0x4000000,0xb000000,0x15000000,0x15000000,0xb000000,0x4000000,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x4000000,0xb000000,0x15000000,0x15000000,0xb000000,0x4000000,0x0,0x0,0x0,0x0,0x0,
0x6000000,0x16000000,0x25000000,0x1c000000,0x1c000000,0x25000000,0x16000000,0x6000000,0x0,0x0,0x1ffffff,0x4000000,0x16000000,0x1b000000, 0x6000000,0x16000000,0x25000000,0x1c000000,0x1c000000,0x25000000,0x16000000,0x6000000,0x0,0x0,0x1ffffff,0x4000000,0x16000000,0x1b000000,
0x3000000,0x0,0x0,0x3000000,0x1b000000,0x16000000,0x4000000,0x1ffffff,0x6d4d4d4,0xb000000,0x18000000,0x0,0x0,0x0, 0x3000000,0x0,0x0,0x3000000,0x1b000000,0x16000000,0x4000000,0x1ffffff,0x6d4d4d4,0xb000000,0x18000000,0x0,0x0,0x0,
@ -106,32 +106,32 @@ static const QRgb btn17SunkenShadow_data[] = {
0x1ffffff,0x0 0x1ffffff,0x0
}; };
static const QRgb btn17V_data[] = { static const TQRgb btn17V_data[] = {
0x0,0xc6000000,0x23000000,0x23000000,0xc6000000,0x0,0x0,0xc6000000,0x23000000,0x23000000,0xc6000000,0x0,0x0,0xc6000000, 0x0,0xc6000000,0x23000000,0x23000000,0xc6000000,0x0,0x0,0xc6000000,0x23000000,0x23000000,0xc6000000,0x0,0x0,0xc6000000,
0x23000000,0x23000000,0xc6000000,0x0,0x0,0xc6000000,0x23000000,0x23000000,0xc6000000,0x0 0x23000000,0x23000000,0xc6000000,0x0,0x0,0xc6000000,0x23000000,0x23000000,0xc6000000,0x0
}; };
static const QRgb btn17VRaisedShadow_data[] = { static const TQRgb btn17VRaisedShadow_data[] = {
0x16000000,0x0,0x18ffffff,0x18ffffff,0x0,0x16000000,0x16000000,0x0,0x18ffffff,0x18ffffff,0x0,0x16000000,0x16000000,0x0, 0x16000000,0x0,0x18ffffff,0x18ffffff,0x0,0x16000000,0x16000000,0x0,0x18ffffff,0x18ffffff,0x0,0x16000000,0x16000000,0x0,
0x18ffffff,0x18ffffff,0x0,0x16000000,0x16000000,0x0,0x18ffffff,0x18ffffff,0x0,0x16000000 0x18ffffff,0x18ffffff,0x0,0x16000000,0x16000000,0x0,0x18ffffff,0x18ffffff,0x0,0x16000000
}; };
static const QRgb btn17VRaisedShadowPressed_data[] = { static const TQRgb btn17VRaisedShadowPressed_data[] = {
0x0,0x0,0x18ffffff,0x18ffffff,0x0,0x0,0x0,0x0,0x18ffffff,0x18ffffff,0x0,0x0,0x0,0x0, 0x0,0x0,0x18ffffff,0x18ffffff,0x0,0x0,0x0,0x0,0x18ffffff,0x18ffffff,0x0,0x0,0x0,0x0,
0x18ffffff,0x18ffffff,0x0,0x0,0x0,0x0,0x18ffffff,0x18ffffff,0x0,0x0 0x18ffffff,0x18ffffff,0x0,0x0,0x0,0x0,0x18ffffff,0x18ffffff,0x0,0x0
}; };
static const QRgb btn17VSunkenShadow_data[] = { static const TQRgb btn17VSunkenShadow_data[] = {
0x22d9d9d9,0x0,0x0,0x0,0x0,0x22d9d9d9,0x22d9d9d9,0x0,0x0,0x0,0x0,0x22d9d9d9,0x22d9d9d9,0x0, 0x22d9d9d9,0x0,0x0,0x0,0x0,0x22d9d9d9,0x22d9d9d9,0x0,0x0,0x0,0x0,0x22d9d9d9,0x22d9d9d9,0x0,
0x0,0x0,0x0,0x22d9d9d9,0x22d9d9d9,0x0,0x0,0x0,0x0,0x22d9d9d9 0x0,0x0,0x0,0x22d9d9d9,0x22d9d9d9,0x0,0x0,0x0,0x0,0x22d9d9d9
}; };
static const QRgb btnPressedShadowHLines_data[] = { static const TQRgb btnPressedShadowHLines_data[] = {
0x81000000,0x81000000,0x81000000,0x81000000,0x4a000000,0x4a000000,0x4a000000,0x4a000000,0x1f000000,0x1f000000,0x1f000000,0x1f000000,0x8000000,0x8000000, 0x81000000,0x81000000,0x81000000,0x81000000,0x4a000000,0x4a000000,0x4a000000,0x4a000000,0x1f000000,0x1f000000,0x1f000000,0x1f000000,0x8000000,0x8000000,
0x8000000,0x8000000,0x1e000000,0x1e000000,0x1e000000,0x1e000000 0x8000000,0x8000000,0x1e000000,0x1e000000,0x1e000000,0x1e000000
}; };
static const QRgb btnPressedShadowRectangular_data[] = { static const TQRgb btnPressedShadowRectangular_data[] = {
0x9c000000,0x8c000000,0x84000000,0x81000000,0x81000000,0x81000000,0x81000000,0x84000000,0x8c000000,0x9c000000,0x7a000000,0x5e000000,0x50000000,0x4b000000, 0x9c000000,0x8c000000,0x84000000,0x81000000,0x81000000,0x81000000,0x81000000,0x84000000,0x8c000000,0x9c000000,0x7a000000,0x5e000000,0x50000000,0x4b000000,
0x4a000000,0x4a000000,0x4b000000,0x4f000000,0x5e000000,0x7a000000,0x5e000000,0x3a000000,0x26000000,0x20000000,0x1f000000,0x1f000000,0x20000000,0x26000000, 0x4a000000,0x4a000000,0x4b000000,0x4f000000,0x5e000000,0x7a000000,0x5e000000,0x3a000000,0x26000000,0x20000000,0x1f000000,0x1f000000,0x20000000,0x26000000,
0x39000000,0x5e000000,0x50000000,0x26000000,0x11000000,0x0,0x0,0x0,0x0,0x11000000,0x26000000,0x50000000,0x4b000000,0x20000000, 0x39000000,0x5e000000,0x50000000,0x26000000,0x11000000,0x0,0x0,0x0,0x0,0x11000000,0x26000000,0x50000000,0x4b000000,0x20000000,
@ -141,7 +141,7 @@ static const QRgb btnPressedShadowRectangular_data[] = {
0x1f000000,0x26000000,0x39000000,0x5e000000,0x0,0x0 0x1f000000,0x26000000,0x39000000,0x5e000000,0x0,0x0
}; };
static const QRgb btnPressedShadowRound_data[] = { static const TQRgb btnPressedShadowRound_data[] = {
0x0,0x0,0x53000000,0x72000000,0x82000000,0x82000000,0x72000000,0x53000000,0x0,0x0,0x0,0x68000000,0x79000000,0x62000000, 0x0,0x0,0x53000000,0x72000000,0x82000000,0x82000000,0x72000000,0x53000000,0x0,0x0,0x0,0x68000000,0x79000000,0x62000000,
0x54000000,0x54000000,0x62000000,0x78000000,0x68000000,0x0,0x33000000,0x6e000000,0x4d000000,0x35000000,0x28000000,0x27000000,0x35000000,0x4d000000, 0x54000000,0x54000000,0x62000000,0x78000000,0x68000000,0x0,0x33000000,0x6e000000,0x4d000000,0x35000000,0x28000000,0x27000000,0x35000000,0x4d000000,
0x6e000000,0x33000000,0x5a000000,0x4d000000,0x2b000000,0x17000000,0x7000000,0x7000000,0x17000000,0x2b000000,0x4d000000,0x5a000000,0x55000000,0x2e000000, 0x6e000000,0x33000000,0x5a000000,0x4d000000,0x2b000000,0x17000000,0x7000000,0x7000000,0x17000000,0x2b000000,0x4d000000,0x5a000000,0x55000000,0x2e000000,
@ -151,12 +151,12 @@ static const QRgb btnPressedShadowRound_data[] = {
0x27000000,0x1b000000,0x0,0x0,0x0,0x0 0x27000000,0x1b000000,0x0,0x0,0x0,0x0
}; };
static const QRgb btnPressedShadowVLines_data[] = { static const TQRgb btnPressedShadowVLines_data[] = {
0x4a000000,0x1f000000,0x9000000,0x8000000,0x1e000000,0x4a000000,0x4a000000,0x1f000000,0x9000000,0x8000000,0x1e000000,0x4a000000,0x4a000000,0x1f000000, 0x4a000000,0x1f000000,0x9000000,0x8000000,0x1e000000,0x4a000000,0x4a000000,0x1f000000,0x9000000,0x8000000,0x1e000000,0x4a000000,0x4a000000,0x1f000000,
0x9000000,0x8000000,0x1e000000,0x4a000000,0x4a000000,0x1f000000,0x9000000,0x8000000,0x1e000000,0x4a000000 0x9000000,0x8000000,0x1e000000,0x4a000000,0x4a000000,0x1f000000,0x9000000,0x8000000,0x1e000000,0x4a000000
}; };
static const QRgb checkbox2inside_data[] = { static const TQRgb checkbox2inside_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
@ -184,7 +184,7 @@ static const QRgb checkbox2inside_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0 0x0,0x0,0x0,0x0,0x0,0x0
}; };
static const QRgb checkbox2pressed_data[] = { static const TQRgb checkbox2pressed_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
@ -212,7 +212,7 @@ static const QRgb checkbox2pressed_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0 0x0,0x0,0x0,0x0,0x0,0x0
}; };
static const QRgb checkbox2rect_data[] = { static const TQRgb checkbox2rect_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1a000000,0x6a000000,0xba000000,0xc8000000, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1a000000,0x6a000000,0xba000000,0xc8000000,
@ -240,7 +240,7 @@ static const QRgb checkbox2rect_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0 0x0,0x0,0x0,0x0,0x0,0x0
}; };
static const QRgb checkbox2shadow_data[] = { static const TQRgb checkbox2shadow_data[] = {
0x0,0x0,0x0,0x2000000,0x4000000,0x4000000,0x4000000,0x4000000,0x4000000,0x4000000,0x4000000,0x4000000,0x4000000,0x4000000, 0x0,0x0,0x0,0x2000000,0x4000000,0x4000000,0x4000000,0x4000000,0x4000000,0x4000000,0x4000000,0x4000000,0x4000000,0x4000000,
0x2000000,0x0,0x0,0x0,0x0,0x0,0x4000000,0xf222222,0x17212121,0x191e1e1e,0x191e1e1e,0x1a272727,0x1a272727,0x1a272727, 0x2000000,0x0,0x0,0x0,0x0,0x0,0x4000000,0xf222222,0x17212121,0x191e1e1e,0x191e1e1e,0x1a272727,0x1a272727,0x1a272727,
0x1a272727,0x1a272727,0x191e1e1e,0x17212121,0xf222222,0x4000000,0x0,0x0,0x0,0x3555555,0x13505050,0x106f6f6f,0xfefefe,0xffffff, 0x1a272727,0x1a272727,0x191e1e1e,0x17212121,0xf222222,0x4000000,0x0,0x0,0x0,0x3555555,0x13505050,0x106f6f6f,0xfefefe,0xffffff,
@ -268,7 +268,7 @@ static const QRgb checkbox2shadow_data[] = {
0x3ffffff,0x3ffffff,0x2ffffff,0xffffff,0x0,0x0 0x3ffffff,0x3ffffff,0x2ffffff,0xffffff,0x0,0x0
}; };
static const QRgb checkListExclusiveIndicator_data[] = { static const TQRgb checkListExclusiveIndicator_data[] = {
0x0,0x0,0x3000000,0x28000000,0x76000000,0x9c000000,0xa3000000,0x9c000000,0x76000000,0x28000000,0x3000000,0x0,0x0,0x0, 0x0,0x0,0x3000000,0x28000000,0x76000000,0x9c000000,0xa3000000,0x9c000000,0x76000000,0x28000000,0x3000000,0x0,0x0,0x0,
0x4000000,0x61000000,0xad000000,0x71000000,0x42000000,0x31000000,0x42000000,0x71000000,0xad000000,0x61000000,0x4000000,0x0,0x3000000,0x65000000, 0x4000000,0x61000000,0xad000000,0x71000000,0x42000000,0x31000000,0x42000000,0x71000000,0xad000000,0x61000000,0x4000000,0x0,0x3000000,0x65000000,
0xaf000000,0x20000000,0x4000000,0x1000000,0x1000000,0x1000000,0x4000000,0x20000000,0xaf000000,0x65000000,0x3000000,0x29000000,0xb1000000,0x21000000, 0xaf000000,0x20000000,0x4000000,0x1000000,0x1000000,0x1000000,0x4000000,0x20000000,0xaf000000,0x65000000,0x3000000,0x29000000,0xb1000000,0x21000000,
@ -284,7 +284,7 @@ static const QRgb checkListExclusiveIndicator_data[] = {
0x0 0x0
}; };
static const QRgb checkmark_data[] = { static const TQRgb checkmark_data[] = {
0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff, 0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,
0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff, 0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,
0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff, 0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,
@ -307,7 +307,7 @@ static const QRgb checkmark_data[] = {
0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff 0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff
}; };
static const QRgb dockBack_data[] = { static const TQRgb dockBack_data[] = {
0x0,0x0,0x1ffffff,0x360c0c0c,0x65030303,0x79010101,0x79010101,0x65030303,0x360c0c0c,0x1ffffff,0x0,0x0,0x0,0x1ffffff, 0x0,0x0,0x1ffffff,0x360c0c0c,0x65030303,0x79010101,0x79010101,0x65030303,0x360c0c0c,0x1ffffff,0x0,0x0,0x0,0x1ffffff,
0x4d070707,0x6f000000,0x60000000,0x59000000,0x59000000,0x60000000,0x6f000000,0x4d070707,0x1bfbfbf,0x0,0x1ffffff,0x36141414,0x68000000,0x55000000, 0x4d070707,0x6f000000,0x60000000,0x59000000,0x59000000,0x60000000,0x6f000000,0x4d070707,0x1bfbfbf,0x0,0x1ffffff,0x36141414,0x68000000,0x55000000,
0x4f000000,0x3d5a5a5a,0x3c5c5c5c,0x4f000000,0x55000000,0x68000000,0x36141414,0x1ffffff,0x4ffffff,0x5a0b0b0b,0x55000000,0x4d000000,0x4c000000,0x3c606060, 0x4f000000,0x3d5a5a5a,0x3c5c5c5c,0x4f000000,0x55000000,0x68000000,0x36141414,0x1ffffff,0x4ffffff,0x5a0b0b0b,0x55000000,0x4d000000,0x4c000000,0x3c606060,
@ -331,7 +331,7 @@ static const QRgb dockBack_data[] = {
0x9ffffff,0xbffffff,0xbffffff,0x9ffffff,0x4ffffff,0x1ffffff,0x0,0x0 0x9ffffff,0xbffffff,0xbffffff,0x9ffffff,0x4ffffff,0x1ffffff,0x0,0x0
}; };
static const QRgb dockClose_data[] = { static const TQRgb dockClose_data[] = {
0x0,0x0,0x1ffffff,0x360c0c0c,0x65030303,0x79010101,0x79010101,0x65030303,0x360c0c0c,0x1ffffff,0x0,0x0,0x0,0x1ffffff, 0x0,0x0,0x1ffffff,0x360c0c0c,0x65030303,0x79010101,0x79010101,0x65030303,0x360c0c0c,0x1ffffff,0x0,0x0,0x0,0x1ffffff,
0x4d070707,0x6f000000,0x60000000,0x59000000,0x59000000,0x60000000,0x6f000000,0x4d070707,0x1bfbfbf,0x0,0x1ffffff,0x36141414,0x68000000,0x3c7a7a7a, 0x4d070707,0x6f000000,0x60000000,0x59000000,0x59000000,0x60000000,0x6f000000,0x4d070707,0x1bfbfbf,0x0,0x1ffffff,0x36141414,0x68000000,0x3c7a7a7a,
0x3f131313,0x4d000000,0x4d000000,0x3f131313,0x3e8a8a8a,0x68000000,0x36141414,0x1ffffff,0x4ffffff,0x5a0b0b0b,0x55000000,0x434a4a4a,0x23f4f4f4,0x32141414, 0x3f131313,0x4d000000,0x4d000000,0x3f131313,0x3e8a8a8a,0x68000000,0x36141414,0x1ffffff,0x4ffffff,0x5a0b0b0b,0x55000000,0x434a4a4a,0x23f4f4f4,0x32141414,
@ -355,7 +355,7 @@ static const QRgb dockClose_data[] = {
0x9ffffff,0xbffffff,0xbffffff,0x9ffffff,0x4ffffff,0x1ffffff,0x0,0x0 0x9ffffff,0xbffffff,0xbffffff,0x9ffffff,0x4ffffff,0x1ffffff,0x0,0x0
}; };
static const QRgb dockStay_data[] = { static const TQRgb dockStay_data[] = {
0x0,0x0,0x1ffffff,0x360c0c0c,0x65030303,0x79010101,0x79010101,0x65030303,0x360c0c0c,0x1ffffff,0x0,0x0,0x0,0x1ffffff, 0x0,0x0,0x1ffffff,0x360c0c0c,0x65030303,0x79010101,0x79010101,0x65030303,0x360c0c0c,0x1ffffff,0x0,0x0,0x0,0x1ffffff,
0x4d070707,0x6f000000,0x60000000,0x59000000,0x59000000,0x60000000,0x6f000000,0x4d070707,0x1bfbfbf,0x0,0x1ffffff,0x36141414,0x68000000,0x403b3b3b, 0x4d070707,0x6f000000,0x60000000,0x59000000,0x59000000,0x60000000,0x6f000000,0x4d070707,0x1bfbfbf,0x0,0x1ffffff,0x36141414,0x68000000,0x403b3b3b,
0x3fa2a2a2,0x44b3b3b3,0x44b2b2b2,0x3fa2a2a2,0x403b3b3b,0x68000000,0x36141414,0x1ffffff,0x4ffffff,0x5a0b0b0b,0x55000000,0x277b7b7b,0x3d000000,0x4c000000, 0x3fa2a2a2,0x44b3b3b3,0x44b2b2b2,0x3fa2a2a2,0x403b3b3b,0x68000000,0x36141414,0x1ffffff,0x4ffffff,0x5a0b0b0b,0x55000000,0x277b7b7b,0x3d000000,0x4c000000,
@ -379,7 +379,7 @@ static const QRgb dockStay_data[] = {
0x9ffffff,0xbffffff,0xbffffff,0x9ffffff,0x4ffffff,0x1ffffff,0x0,0x0 0x9ffffff,0xbffffff,0xbffffff,0x9ffffff,0x4ffffff,0x1ffffff,0x0,0x0
}; };
static const QRgb dockToDesktop2_data[] = { static const TQRgb dockToDesktop2_data[] = {
0x0,0x0,0x1ffffff,0x360c0c0c,0x64030303,0x79010101,0x79010101,0x64030303,0x360c0c0c,0x1ffffff,0x0,0x0,0x0,0x1ffffff, 0x0,0x0,0x1ffffff,0x360c0c0c,0x64030303,0x79010101,0x79010101,0x64030303,0x360c0c0c,0x1ffffff,0x0,0x0,0x0,0x1ffffff,
0x4d070707,0x6f000000,0x60000000,0x59000000,0x59000000,0x60000000,0x6f000000,0x4d070707,0x1bfbfbf,0x0,0x1ffffff,0x36151515,0x68000000,0x55000000, 0x4d070707,0x6f000000,0x60000000,0x59000000,0x59000000,0x60000000,0x6f000000,0x4d070707,0x1bfbfbf,0x0,0x1ffffff,0x36151515,0x68000000,0x55000000,
0x4f000000,0x32707070,0x2d8d8d8d,0x30868686,0x3b5c5c5c,0x68000000,0x36151515,0x1ffffff,0x4ffffff,0x5a0c0c0c,0x55000000,0x4d000000,0x4c000000,0x2a8b8b8b, 0x4f000000,0x32707070,0x2d8d8d8d,0x30868686,0x3b5c5c5c,0x68000000,0x36151515,0x1ffffff,0x4ffffff,0x5a0c0c0c,0x55000000,0x4d000000,0x4c000000,0x2a8b8b8b,
@ -403,13 +403,13 @@ static const QRgb dockToDesktop2_data[] = {
0x9ffffff,0xbffffff,0xbffffff,0x9ffffff,0x4ffffff,0x1ffffff,0x0,0x0 0x9ffffff,0xbffffff,0xbffffff,0x9ffffff,0x4ffffff,0x1ffffff,0x0,0x0
}; };
static const QRgb focusRectEdges_data[] = { static const TQRgb focusRectEdges_data[] = {
0x0,0x3b000000,0xbb000000,0xbb000000,0x3b000000,0x0,0x33000000,0xc1000000,0x20000000,0x20000000,0xc1000000,0x33000000,0xbb000000,0x17000000, 0x0,0x3b000000,0xbb000000,0xbb000000,0x3b000000,0x0,0x33000000,0xc1000000,0x20000000,0x20000000,0xc1000000,0x33000000,0xbb000000,0x17000000,
0x0,0x0,0x17000000,0xbb000000,0xbb000000,0x17000000,0x0,0x0,0x17000000,0xbb000000,0x33000000,0xc1000000,0x20000000,0x20000000, 0x0,0x0,0x17000000,0xbb000000,0xbb000000,0x17000000,0x0,0x0,0x17000000,0xbb000000,0x33000000,0xc1000000,0x20000000,0x20000000,
0xc1000000,0x33000000,0x0,0x3b000000,0xbb000000,0xbb000000,0x3b000000,0x0 0xc1000000,0x33000000,0x0,0x3b000000,0xbb000000,0xbb000000,0x3b000000,0x0
}; };
static const QRgb groupBoxMask_small_data[] = { static const TQRgb groupBoxMask_small_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x1bff0000,0x88ff0000,0xd1ff0000,0xffff0000,0xffff0000,0xd1ff0000,0x88ff0000,0x1bff0000, 0x0,0x0,0x0,0x0,0x0,0x0,0x1bff0000,0x88ff0000,0xd1ff0000,0xffff0000,0xffff0000,0xd1ff0000,0x88ff0000,0x1bff0000,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x64ff0000,0xf6ff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x64ff0000,0xf6ff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,
@ -431,7 +431,7 @@ static const QRgb groupBoxMask_small_data[] = {
0x0,0x0,0x0,0x0 0x0,0x0,0x0,0x0
}; };
static const QRgb groupBox_small_data[] = { static const TQRgb groupBox_small_data[] = {
0xffffff,0xffffff,0xffffff,0xffffff,0x3ffffff,0xbffffff,0x13ffffff,0x17ffffff,0x17ffffff,0x13ffffff,0xbffffff,0x3ffffff,0xffffff,0xffffff, 0xffffff,0xffffff,0xffffff,0xffffff,0x3ffffff,0xbffffff,0x13ffffff,0x17ffffff,0x17ffffff,0x13ffffff,0xbffffff,0x3ffffff,0xffffff,0xffffff,
0xffffff,0xffffff,0xffffff,0xffffff,0x1ffffff,0xbffffff,0x27b8b8b8,0x464d4d4d,0x4e212121,0x48000000,0x48000000,0x4e212121,0x464d4d4d,0x27b8b8b8, 0xffffff,0xffffff,0xffffff,0xffffff,0x1ffffff,0xbffffff,0x27b8b8b8,0x464d4d4d,0x4e212121,0x48000000,0x48000000,0x4e212121,0x464d4d4d,0x27b8b8b8,
0xbffffff,0x1ffffff,0xffffff,0xffffff,0xffffff,0x1ffffff,0xfffffff,0x40707070,0x44080808,0x37000000,0x29000000,0x21000000,0x20000000,0x28000000, 0xbffffff,0x1ffffff,0xffffff,0xffffff,0xffffff,0x1ffffff,0xfffffff,0x40707070,0x44080808,0x37000000,0x29000000,0x21000000,0x20000000,0x28000000,
@ -453,7 +453,7 @@ static const QRgb groupBox_small_data[] = {
0x3ffffff,0xffffff,0xffffff,0xffffff 0x3ffffff,0xffffff,0xffffff,0xffffff
}; };
static const QRgb lineedit4edges_data[] = { static const TQRgb lineedit4edges_data[] = {
0x0,0x1e121212,0x56141414,0x7a181818,0x7a181818,0x56141414,0x1e121212,0x0,0x1e000000,0x6c171717,0x51151515,0x3a131313,0x3a131313,0x51151515, 0x0,0x1e121212,0x56141414,0x7a181818,0x7a181818,0x56141414,0x1e121212,0x0,0x1e000000,0x6c171717,0x51151515,0x3a131313,0x3a131313,0x51151515,
0x6c171717,0x1e000000,0x4a000000,0x3f000000,0x1b111111,0xb111111,0xb111111,0x1b111111,0x3f000000,0x4a000000,0x4e000000,0x1d000000,0x5101010,0x20a0a0a, 0x6c171717,0x1e000000,0x4a000000,0x3f000000,0x1b111111,0xb111111,0xb111111,0x1b111111,0x3f000000,0x4a000000,0x4e000000,0x1d000000,0x5101010,0x20a0a0a,
0x20a0a0a,0x5101010,0x1c000000,0x4e000000,0x4f000000,0xc000000,0x0,0x0,0x0,0x0,0xa000000,0x4f000000,0x36000000,0x14000000, 0x20a0a0a,0x5101010,0x1c000000,0x4e000000,0x4f000000,0xc000000,0x0,0x0,0x0,0x0,0xa000000,0x4f000000,0x36000000,0x14000000,
@ -461,7 +461,7 @@ static const QRgb lineedit4edges_data[] = {
0x0,0x11000000,0x1d000000,0x1f000000,0x1f000000,0x1d000000,0x11000000,0x0 0x0,0x11000000,0x1d000000,0x1f000000,0x1f000000,0x1d000000,0x11000000,0x0
}; };
static const QRgb lineedit4inside_data[] = { static const TQRgb lineedit4inside_data[] = {
0x0,0x0,0x59ffffff,0xbfffffff,0xbfffffff,0x59ffffff,0x0,0x0,0x0,0x8cffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 0x0,0x0,0x59ffffff,0xbfffffff,0xbfffffff,0x59ffffff,0x0,0x0,0x0,0x8cffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
0x8cffffff,0x0,0x59ffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0x59ffffff,0xbfffffff,0xffffffff,0xffffffff,0xffffffff, 0x8cffffff,0x0,0x59ffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0x59ffffff,0xbfffffff,0xffffffff,0xffffffff,0xffffffff,
0xffffffff,0xffffffff,0xffffffff,0xbfffffff,0xbfffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xbfffffff,0x59ffffff,0xffffffff, 0xffffffff,0xffffffff,0xffffffff,0xbfffffff,0xbfffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xbfffffff,0x59ffffff,0xffffffff,
@ -469,25 +469,25 @@ static const QRgb lineedit4inside_data[] = {
0x0,0x0,0x59ffffff,0xbfffffff,0xbfffffff,0x59ffffff,0x0,0x0 0x0,0x0,0x59ffffff,0xbfffffff,0xbfffffff,0x59ffffff,0x0,0x0
}; };
static const QRgb lineEditBtnEdges_d_data[] = { static const TQRgb lineEditBtnEdges_d_data[] = {
0x0,0x66ededed,0xbeededed,0xbeededed,0x66ededed,0x0,0x66ededed,0xf1ededed,0xffededed,0xffededed,0xf1ededed,0x66ededed,0xbeededed,0xffededed, 0x0,0x66ededed,0xbeededed,0xbeededed,0x66ededed,0x0,0x66ededed,0xf1ededed,0xffededed,0xffededed,0xf1ededed,0x66ededed,0xbeededed,0xffededed,
0xffededed,0xffededed,0xffededed,0xbeededed,0xbeededed,0xffededed,0xffededed,0xffededed,0xffededed,0xbeededed,0x66ededed,0xf1ededed,0xffededed,0xffededed, 0xffededed,0xffededed,0xffededed,0xbeededed,0xbeededed,0xffededed,0xffededed,0xffededed,0xffededed,0xbeededed,0x66ededed,0xf1ededed,0xffededed,0xffededed,
0xf1ededed,0x66ededed,0x0,0x66ededed,0xbeededed,0xbeededed,0x66ededed,0x0 0xf1ededed,0x66ededed,0x0,0x66ededed,0xbeededed,0xbeededed,0x66ededed,0x0
}; };
static const QRgb lineEditBtnEdges_data[] = { static const TQRgb lineEditBtnEdges_data[] = {
0x0,0x2fededed,0xafededed,0xafededed,0x2fededed,0x0,0x2fededed,0xefededed,0xffededed,0xffededed,0xefededed,0x2fededed,0xafededed,0xffededed, 0x0,0x2fededed,0xafededed,0xafededed,0x2fededed,0x0,0x2fededed,0xefededed,0xffededed,0xffededed,0xefededed,0x2fededed,0xafededed,0xffededed,
0xffededed,0xffededed,0xffededed,0xafededed,0xafededed,0xffededed,0xffededed,0xffededed,0xffededed,0xafededed,0x2fededed,0xefededed,0xffededed,0xffededed, 0xffededed,0xffededed,0xffededed,0xafededed,0xafededed,0xffededed,0xffededed,0xffededed,0xffededed,0xafededed,0x2fededed,0xefededed,0xffededed,0xffededed,
0xefededed,0x2fededed,0x0,0x2fededed,0xafededed,0xafededed,0x2fededed,0x0 0xefededed,0x2fededed,0x0,0x2fededed,0xafededed,0xafededed,0x2fededed,0x0
}; };
static const QRgb lineEditBtnShadow_data[] = { static const TQRgb lineEditBtnShadow_data[] = {
0x0,0x1d000000,0x25000000,0x25000000,0x1d000000,0x0,0x1d000000,0x2b000000,0x1e000000,0x1e000000,0x2b000000,0x1d000000,0x18000000,0x16000000, 0x0,0x1d000000,0x25000000,0x25000000,0x1d000000,0x0,0x1d000000,0x2b000000,0x1e000000,0x1e000000,0x2b000000,0x1d000000,0x18000000,0x16000000,
0xc000000,0xc000000,0x16000000,0x18000000,0x13000000,0xa000000,0x2000000,0x2000000,0xa000000,0x13000000,0x1a000000,0xf000000,0x6000000,0x6000000, 0xc000000,0xc000000,0x16000000,0x18000000,0x13000000,0xa000000,0x2000000,0x2000000,0xa000000,0x13000000,0x1a000000,0xf000000,0x6000000,0x6000000,
0xf000000,0x1a000000,0x0,0x19000000,0xb000000,0xb000000,0x19000000,0x0 0xf000000,0x1a000000,0x0,0x19000000,0xb000000,0xb000000,0x19000000,0x0
}; };
static const QRgb lveTriangular_data[] = { static const TQRgb lveTriangular_data[] = {
0x4c000000,0xb000000,0x0,0x0,0x0,0x0,0x0,0x7c000000,0x77000000,0x31000000,0x0,0x0,0x0,0x0, 0x4c000000,0xb000000,0x0,0x0,0x0,0x0,0x0,0x7c000000,0x77000000,0x31000000,0x0,0x0,0x0,0x0,
0x7c000000,0x7f000000,0x7f000000,0x60000000,0xd000000,0x0,0x0,0x7c000000,0x7f000000,0x7f000000,0x7f000000,0x7d000000,0x41000000,0x1000000, 0x7c000000,0x7f000000,0x7f000000,0x60000000,0xd000000,0x0,0x0,0x7c000000,0x7f000000,0x7f000000,0x7f000000,0x7d000000,0x41000000,0x1000000,
0x7c000000,0x7f000000,0x7f000000,0x7f000000,0x7f000000,0x7f000000,0x49000000,0x7c000000,0x7f000000,0x7f000000,0x7f000000,0x7d000000,0x41000000,0x1000000, 0x7c000000,0x7f000000,0x7f000000,0x7f000000,0x7f000000,0x7f000000,0x49000000,0x7c000000,0x7f000000,0x7f000000,0x7f000000,0x7d000000,0x41000000,0x1000000,
@ -495,13 +495,13 @@ static const QRgb lveTriangular_data[] = {
0x4c000000,0xb000000,0x0,0x0,0x0,0x0,0x0 0x4c000000,0xb000000,0x0,0x0,0x0,0x0,0x0
}; };
static const QRgb menuItem_data[] = { static const TQRgb menuItem_data[] = {
0x0,0x42000000,0xb3000000,0xc5000000,0x5c000000,0x3000000,0x36000000,0xff000000,0xff000000,0xff000000,0xff000000,0x62000000,0xa0000000,0xff000000, 0x0,0x42000000,0xb3000000,0xc5000000,0x5c000000,0x3000000,0x36000000,0xff000000,0xff000000,0xff000000,0xff000000,0x62000000,0xa0000000,0xff000000,
0xff000000,0xff000000,0xff000000,0xcc000000,0x92000000,0xff000000,0xff000000,0xff000000,0xff000000,0xbe000000,0x28000000,0xff000000,0xff000000,0xff000000, 0xff000000,0xff000000,0xff000000,0xcc000000,0x92000000,0xff000000,0xff000000,0xff000000,0xff000000,0xbe000000,0x28000000,0xff000000,0xff000000,0xff000000,
0xff000000,0x52000000,0x0,0x24000000,0x92000000,0xa4000000,0x3b000000,0x0 0xff000000,0x52000000,0x0,0x24000000,0x92000000,0xa4000000,0x3b000000,0x0
}; };
static const QRgb popup5_data[] = { static const TQRgb popup5_data[] = {
0x0,0x0,0x3a575757,0xaf575757,0xfa575757,0xfa575757,0xaf575757,0x3a575757,0x0,0x0,0x0,0x5a575757,0xec575757,0x53575757, 0x0,0x0,0x3a575757,0xaf575757,0xfa575757,0xfa575757,0xaf575757,0x3a575757,0x0,0x0,0x0,0x5a575757,0xec575757,0x53575757,
0x4575757,0x4575757,0x53575757,0xec575757,0x5a575757,0x0,0x22575757,0xeb575757,0x1c575757,0x0,0x0,0x0,0x0,0x1c575757, 0x4575757,0x4575757,0x53575757,0xec575757,0x5a575757,0x0,0x22575757,0xeb575757,0x1c575757,0x0,0x0,0x0,0x0,0x1c575757,
0xeb575757,0x22575757,0x9c575757,0x74575757,0x0,0x0,0x0,0x0,0x0,0x0,0x74575757,0x9c575757,0xd1575757,0x2c575757, 0xeb575757,0x22575757,0x9c575757,0x74575757,0x0,0x0,0x0,0x0,0x0,0x0,0x74575757,0x9c575757,0xd1575757,0x2c575757,
@ -512,12 +512,12 @@ static const QRgb popup5_data[] = {
0x0,0x0 0x0,0x0
}; };
static const QRgb progressShadow2_data[] = { static const TQRgb progressShadow2_data[] = {
0xc6000000,0xb2000000,0xb2000000,0xc6000000,0x8d000000,0x65000000,0x65000000,0x8d000000,0x65000000,0x2f000000,0x2f000000,0x65000000,0x65000000,0x2e000000, 0xc6000000,0xb2000000,0xb2000000,0xc6000000,0x8d000000,0x65000000,0x65000000,0x8d000000,0x65000000,0x2f000000,0x2f000000,0x65000000,0x65000000,0x2e000000,
0x2e000000,0x64000000 0x2e000000,0x64000000
}; };
static const QRgb progressTile_data[] = { static const TQRgb progressTile_data[] = {
0x6000000,0xa000000,0x10000000,0x16000000,0x1b000000,0x20000000,0x23000000,0x25000000,0x27000000,0x27000000,0x27000000,0x23000000,0x1f000000,0x19000000, 0x6000000,0xa000000,0x10000000,0x16000000,0x1b000000,0x20000000,0x23000000,0x25000000,0x27000000,0x27000000,0x27000000,0x23000000,0x1f000000,0x19000000,
0x12000000,0xc000000,0x7000000,0x3000000,0x2000000,0x3000000,0x3000000,0x6000000,0xa000000,0x10000000,0x16000000,0x1b000000,0x20000000,0x23000000, 0x12000000,0xc000000,0x7000000,0x3000000,0x2000000,0x3000000,0x3000000,0x6000000,0xa000000,0x10000000,0x16000000,0x1b000000,0x20000000,0x23000000,
0x25000000,0x27000000,0x27000000,0x27000000,0x23000000,0x1f000000,0x19000000,0x12000000,0xc000000,0x7000000,0x3000000,0x2000000,0x2000000,0x3000000, 0x25000000,0x27000000,0x27000000,0x27000000,0x23000000,0x1f000000,0x19000000,0x12000000,0xc000000,0x7000000,0x3000000,0x2000000,0x2000000,0x3000000,
@ -549,7 +549,7 @@ static const QRgb progressTile_data[] = {
0x19000000,0x12000000,0xc000000,0x7000000,0x3000000,0x2000000,0x3000000,0x6000000 0x19000000,0x12000000,0xc000000,0x7000000,0x3000000,0x2000000,0x3000000,0x6000000
}; };
static const QRgb radio3circle_data[] = { static const TQRgb radio3circle_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x2000000,0x8000000,0xd000000,0xd000000,0xd000000,0x8000000, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x2000000,0x8000000,0xd000000,0xd000000,0xd000000,0x8000000,
0x2000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x9000000,0x38000000,0xa4000000,0xb9000000, 0x2000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x9000000,0x38000000,0xa4000000,0xb9000000,
@ -573,7 +573,7 @@ static const QRgb radio3circle_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
}; };
static const QRgb radio3inside_data[] = { static const TQRgb radio3inside_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xffffff,0xffffff,0xffffff,0xffffff,0x8ffffff,0x26ffffff, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xffffff,0xffffff,0xffffff,0xffffff,0x8ffffff,0x26ffffff,
@ -597,7 +597,7 @@ static const QRgb radio3inside_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
}; };
static const QRgb radio3pressed_data[] = { static const TQRgb radio3pressed_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
@ -621,7 +621,7 @@ static const QRgb radio3pressed_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
}; };
static const QRgb radio3shadow_data[] = { static const TQRgb radio3shadow_data[] = {
0x0,0x0,0x0,0x0,0x1000000,0x3000000,0x7000000,0xa000000,0xc000000,0xa000000,0x7000000,0x3000000,0x1000000,0x0, 0x0,0x0,0x0,0x0,0x1000000,0x3000000,0x7000000,0xa000000,0xc000000,0xa000000,0x7000000,0x3000000,0x1000000,0x0,
0x0,0x0,0x0,0xffffff,0xffffff,0xffffff,0x2000000,0x8000000,0x10000000,0x1b090909,0x24151515,0x26141414,0x24151515,0x1b090909, 0x0,0x0,0x0,0xffffff,0xffffff,0xffffff,0x2000000,0x8000000,0x10000000,0x1b090909,0x24151515,0x26141414,0x24151515,0x1b090909,
0x11000000,0x8000000,0x2000000,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0x2000000,0xa000000,0x1b1c1c1c,0x2e2c2c2c,0xdffffff,0xbffffff, 0x11000000,0x8000000,0x2000000,0xffffff,0xffffff,0xffffff,0xffffff,0xffffff,0x2000000,0xa000000,0x1b1c1c1c,0x2e2c2c2c,0xdffffff,0xbffffff,
@ -645,17 +645,17 @@ static const QRgb radio3shadow_data[] = {
0x21ffffff,0x1dffffff,0x14ffffff,0xaffffff,0x3ffffff,0xffffff,0xffffff,0xffffff,0xffffff 0x21ffffff,0x1dffffff,0x14ffffff,0xaffffff,0x3ffffff,0xffffff,0xffffff,0xffffff,0xffffff
}; };
static const QRgb rb_dot2_data[] = { static const TQRgb rb_dot2_data[] = {
0x221d1d1d,0x9f060606,0xcc010101,0x9f060606,0x221d1d1d,0xa2121212,0xd2010101,0xd2000000,0xd2010101,0xa2121212,0xd11f1f1f,0xd3060606,0xd2000000,0xd3060606, 0x221d1d1d,0x9f060606,0xcc010101,0x9f060606,0x221d1d1d,0xa2121212,0xd2010101,0xd2000000,0xd2010101,0xa2121212,0xd11f1f1f,0xd3060606,0xd2000000,0xd3060606,
0xd11f1f1f,0xac393939,0xd71e1e1e,0xd5121212,0xd71e1e1e,0xac393939,0x27404040,0xaf424242,0xd8434343,0xaf424242,0x27404040 0xd11f1f1f,0xac393939,0xd71e1e1e,0xd5121212,0xd71e1e1e,0xac393939,0x27404040,0xaf424242,0xd8434343,0xaf424242,0x27404040
}; };
static const QRgb rb_dot2_shadow_data[] = { static const TQRgb rb_dot2_shadow_data[] = {
0x4fefefe,0x4ffffff,0x1ffffff,0x4ffffff,0x4fcfcfc,0xcfafafa,0x1ffffff,0x0,0x1ffffff,0xcfafafa,0x1afcfcfc,0x5ffffff,0x1bfbfbf,0x5ffffff, 0x4fefefe,0x4ffffff,0x1ffffff,0x4ffffff,0x4fcfcfc,0xcfafafa,0x1ffffff,0x0,0x1ffffff,0xcfafafa,0x1afcfcfc,0x5ffffff,0x1bfbfbf,0x5ffffff,
0x1afcfcfc,0x27fdfdfd,0x1afcfcfc,0x10fafafa,0x1afcfcfc,0x27fdfdfd,0xafdfdfd,0x2efdfdfd,0x3afdfdfd,0x2efdfdfd,0xafdfdfd 0x1afcfcfc,0x27fdfdfd,0x1afcfcfc,0x10fafafa,0x1afcfcfc,0x27fdfdfd,0xafdfdfd,0x2efdfdfd,0x3afdfdfd,0x2efdfdfd,0xafdfdfd
}; };
static const QRgb scroll2BtnHContour2_data[] = { static const TQRgb scroll2BtnHContour2_data[] = {
0xff000000,0xff000000,0xff000000,0xff000000,0xd5000000,0x78000000,0x40000000,0x11000000,0x0,0x0,0x11000000,0x40000000,0x78000000,0xd5000000, 0xff000000,0xff000000,0xff000000,0xff000000,0xd5000000,0x78000000,0x40000000,0x11000000,0x0,0x0,0x11000000,0x40000000,0x78000000,0xd5000000,
0xff000000,0xff000000,0xff000000,0xff000000,0x23000000,0x23000000,0x331b1b1b,0x30000000,0x95000000,0x2c000000,0x1000000,0x0,0x0,0x0, 0xff000000,0xff000000,0xff000000,0xff000000,0x23000000,0x23000000,0x331b1b1b,0x30000000,0x95000000,0x2c000000,0x1000000,0x0,0x0,0x0,
0x0,0x1000000,0x2c000000,0x95000000,0x30000000,0x331b1b1b,0x23000000,0x23000000,0x0,0xe000000,0x36000000,0xaa000000,0x2f000000,0x0, 0x0,0x1000000,0x2c000000,0x95000000,0x30000000,0x331b1b1b,0x23000000,0x23000000,0x0,0xe000000,0x36000000,0xaa000000,0x2f000000,0x0,
@ -678,7 +678,7 @@ static const QRgb scroll2BtnHContour2_data[] = {
0xff000000,0xff000000,0xff000000,0xff000000 0xff000000,0xff000000,0xff000000,0xff000000
}; };
static const QRgb scroll2BtnHMask_data[] = { static const TQRgb scroll2BtnHMask_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xb4ff0000,0x25ff0000,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xb4ff0000,0x25ff0000,0x0,0x0,0x0,0x0,
0x0,0x0,0x25ff0000,0xb4ff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0x8dff0000,0x1ff0000,0x0, 0x0,0x0,0x25ff0000,0xb4ff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0x8dff0000,0x1ff0000,0x0,
@ -701,7 +701,7 @@ static const QRgb scroll2BtnHMask_data[] = {
0x0,0x0,0x0,0x0 0x0,0x0,0x0,0x0
}; };
static const QRgb scroll2BtnHShadow2_data[] = { static const TQRgb scroll2BtnHShadow2_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x13000000,0x12000000,0x7000000,0x7000000,0x12000000,0x13000000,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x13000000,0x12000000,0x7000000,0x7000000,0x12000000,0x13000000,0x0,0x0,
0x0,0x0,0x0,0x0,0x17ffffff,0x17ffffff,0x12ffffff,0x19ffffff,0x16171717,0x24000000,0x17000000,0x7000000,0x2000000,0x2000000, 0x0,0x0,0x0,0x0,0x17ffffff,0x17ffffff,0x12ffffff,0x19ffffff,0x16171717,0x24000000,0x17000000,0x7000000,0x2000000,0x2000000,
0x7000000,0x17000000,0x24000000,0x16171717,0x19ffffff,0x12ffffff,0x17ffffff,0x17ffffff,0x0,0xcffffff,0x19ffffff,0x170b0b0b,0x21000000,0x11000000, 0x7000000,0x17000000,0x24000000,0x16171717,0x19ffffff,0x12ffffff,0x17ffffff,0x17ffffff,0x0,0xcffffff,0x19ffffff,0x170b0b0b,0x21000000,0x11000000,
@ -724,7 +724,7 @@ static const QRgb scroll2BtnHShadow2_data[] = {
0x0,0x0,0x0,0x0 0x0,0x0,0x0,0x0
}; };
static const QRgb scroll2BtnVContour2_data[] = { static const TQRgb scroll2BtnVContour2_data[] = {
0xff000000,0x23000000,0x0,0x2000000,0x11000000,0x1d000000,0x23000000,0x28000000,0x23000000,0x1d000000,0x11000000,0x2000000,0x0,0x23000000, 0xff000000,0x23000000,0x0,0x2000000,0x11000000,0x1d000000,0x23000000,0x28000000,0x23000000,0x1d000000,0x11000000,0x2000000,0x0,0x23000000,
0xff000000,0xff000000,0x23000000,0xe000000,0x25000000,0x55000000,0x8e000000,0xaf000000,0xb0000000,0xaf000000,0x8e000000,0x55000000,0x25000000,0xe000000, 0xff000000,0xff000000,0x23000000,0xe000000,0x25000000,0x55000000,0x8e000000,0xaf000000,0xb0000000,0xaf000000,0x8e000000,0x55000000,0x25000000,0xe000000,
0x23000000,0xff000000,0xff000000,0x331b1b1b,0x36000000,0xa1000000,0x7c000000,0x28000000,0x1000000,0x0,0x1000000,0x28000000,0x7c000000,0xa1000000, 0x23000000,0xff000000,0xff000000,0x331b1b1b,0x36000000,0xa1000000,0x7c000000,0x28000000,0x1000000,0x0,0x1000000,0x28000000,0x7c000000,0xa1000000,
@ -747,7 +747,7 @@ static const QRgb scroll2BtnVContour2_data[] = {
0x2000000,0x0,0x23000000,0xff000000 0x2000000,0x0,0x23000000,0xff000000
}; };
static const QRgb scroll2BtnVMask_data[] = { static const TQRgb scroll2BtnVMask_data[] = {
0x0,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000, 0x0,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,
0x0,0x0,0xffff0000,0xffff0000,0xffff0000,0xfcff0000,0xbfff0000,0x88ff0000,0x76ff0000,0x88ff0000,0xbfff0000,0xfcff0000,0xffff0000,0xffff0000, 0x0,0x0,0xffff0000,0xffff0000,0xffff0000,0xfcff0000,0xbfff0000,0x88ff0000,0x76ff0000,0x88ff0000,0xbfff0000,0xfcff0000,0xffff0000,0xffff0000,
0xffff0000,0x0,0x0,0xffff0000,0xffff0000,0xb4ff0000,0x24ff0000,0x0,0x0,0x0,0x0,0x0,0x24ff0000,0xb4ff0000, 0xffff0000,0x0,0x0,0xffff0000,0xffff0000,0xb4ff0000,0x24ff0000,0x0,0x0,0x0,0x0,0x0,0x24ff0000,0xb4ff0000,
@ -770,7 +770,7 @@ static const QRgb scroll2BtnVMask_data[] = {
0xffff0000,0xffff0000,0xffff0000,0x0 0xffff0000,0xffff0000,0xffff0000,0x0
}; };
static const QRgb scroll2BtnVShadow2_data[] = { static const TQRgb scroll2BtnVShadow2_data[] = {
0x0,0x17ffffff,0x0,0x5ffffff,0xeffffff,0x17ffffff,0x1bffffff,0x1cffffff,0x1bffffff,0x17ffffff,0xeffffff,0x5ffffff,0x0,0x17ffffff, 0x0,0x17ffffff,0x0,0x5ffffff,0xeffffff,0x17ffffff,0x1bffffff,0x1cffffff,0x1bffffff,0x17ffffff,0xeffffff,0x5ffffff,0x0,0x17ffffff,
0x0,0x0,0x17ffffff,0xcffffff,0x1bffffff,0x18ffffff,0x186a6a6a,0x1a000000,0x1e000000,0x1a000000,0x19666666,0x18ffffff,0x1bffffff,0xcffffff, 0x0,0x0,0x17ffffff,0xcffffff,0x1bffffff,0x18ffffff,0x186a6a6a,0x1a000000,0x1e000000,0x1a000000,0x19666666,0x18ffffff,0x1bffffff,0xcffffff,
0x17ffffff,0x0,0x0,0x12ffffff,0x19ffffff,0x112d2d2d,0x24000000,0x20000000,0x19000000,0x17000000,0x19000000,0x20000000,0x24000000,0x122a2a2a, 0x17ffffff,0x0,0x0,0x12ffffff,0x19ffffff,0x112d2d2d,0x24000000,0x20000000,0x19000000,0x17000000,0x19000000,0x20000000,0x24000000,0x122a2a2a,
@ -793,7 +793,7 @@ static const QRgb scroll2BtnVShadow2_data[] = {
0x5ffffff,0x0,0x17ffffff,0x0 0x5ffffff,0x0,0x17ffffff,0x0
}; };
static const QRgb scroll2SliderHContour_data[] = { static const TQRgb scroll2SliderHContour_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x64000000,0x8f000000,0x8f000000,0x64000000,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x64000000,0x8f000000,0x8f000000,0x64000000,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x18000000,0x9b000000,0x7c000000,0x3e000000,0x3e000000,0x7c000000,0x9b000000,0x18000000, 0x0,0x0,0x0,0x0,0x0,0x0,0x18000000,0x9b000000,0x7c000000,0x3e000000,0x3e000000,0x7c000000,0x9b000000,0x18000000,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1c000000,0xb2000000,0x44000000,0x1c000000,0xa000000,0xa000000,0x1c000000, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1c000000,0xb2000000,0x44000000,0x1c000000,0xa000000,0xa000000,0x1c000000,
@ -814,7 +814,7 @@ static const QRgb scroll2SliderHContour_data[] = {
0x0,0x0 0x0,0x0
}; };
static const QRgb scroll2SliderHDockedContour_data[] = { static const TQRgb scroll2SliderHDockedContour_data[] = {
0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000, 0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,
0xff000000,0xff000000,0x23000000,0x23000000,0x23000000,0x2b000000,0x44121212,0x9c000000,0x7c000000,0x3e000000,0x3e000000,0x7c000000,0x9c000000,0x44121212, 0xff000000,0xff000000,0x23000000,0x23000000,0x23000000,0x2b000000,0x44121212,0x9c000000,0x7c000000,0x3e000000,0x3e000000,0x7c000000,0x9c000000,0x44121212,
0x2b000000,0x23000000,0x23000000,0x23000000,0x0,0x0,0xe000000,0x2f000000,0xb2000000,0x71000000,0x1c000000,0xa000000,0xa000000,0x1c000000, 0x2b000000,0x23000000,0x23000000,0x23000000,0x0,0x0,0xe000000,0x2f000000,0xb2000000,0x71000000,0x1c000000,0xa000000,0xa000000,0x1c000000,
@ -835,7 +835,7 @@ static const QRgb scroll2SliderHDockedContour_data[] = {
0xff000000,0xff000000 0xff000000,0xff000000
}; };
static const QRgb scroll2SliderHDockedShadow_data[] = { static const TQRgb scroll2SliderHDockedShadow_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x17ffffff,0x17ffffff,0x17ffffff,0x17ffffff,0x11ffffff,0x16ffffff,0xbffffff,0x13ffffff,0x13ffffff,0xbffffff,0x16ffffff,0x11ffffff, 0x0,0x0,0x17ffffff,0x17ffffff,0x17ffffff,0x17ffffff,0x11ffffff,0x16ffffff,0xbffffff,0x13ffffff,0x13ffffff,0xbffffff,0x16ffffff,0x11ffffff,
0x17ffffff,0x17ffffff,0x17ffffff,0x17ffffff,0x0,0x0,0xaffffff,0x19ffffff,0x18ffffff,0x17ffffff,0x15ffffff,0x7ffffff,0x7ffffff,0x15ffffff, 0x17ffffff,0x17ffffff,0x17ffffff,0x17ffffff,0x0,0x0,0xaffffff,0x19ffffff,0x18ffffff,0x17ffffff,0x15ffffff,0x7ffffff,0x7ffffff,0x15ffffff,
@ -856,7 +856,7 @@ static const QRgb scroll2SliderHDockedShadow_data[] = {
0x0,0x0 0x0,0x0
}; };
static const QRgb scroll2SliderHMask_data[] = { static const TQRgb scroll2SliderHMask_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x4bff0000,0xdaff0000,0xffff0000,0xffff0000,0xdaff0000,0x4bff0000,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x4bff0000,0xdaff0000,0xffff0000,0xffff0000,0xdaff0000,0x4bff0000,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x72ff0000,0xfeff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x72ff0000,0xfeff0000,0xffff0000,0xffff0000,0xffff0000,0xffff0000,
@ -877,7 +877,7 @@ static const QRgb scroll2SliderHMask_data[] = {
0x0,0x0 0x0,0x0
}; };
static const QRgb scroll2SliderHShadow2_data[] = { static const TQRgb scroll2SliderHShadow2_data[] = {
0x0,0x0,0x0,0x3000000,0xa000000,0x15000000,0x1f000000,0x17000000,0x17000000,0x1f000000,0x15000000,0xa000000,0x3000000,0x0, 0x0,0x0,0x0,0x3000000,0xa000000,0x15000000,0x1f000000,0x17000000,0x17000000,0x1f000000,0x15000000,0xa000000,0x3000000,0x0,
0x0,0x0,0x0,0x0,0x3000000,0xb000000,0x1a000000,0x1a000000,0xce9e9e9,0x13ffffff,0x13ffffff,0xce9e9e9,0x1a000000,0x1a000000, 0x0,0x0,0x0,0x0,0x3000000,0xb000000,0x1a000000,0x1a000000,0xce9e9e9,0x13ffffff,0x13ffffff,0xce9e9e9,0x1a000000,0x1a000000,
0xb000000,0x3000000,0x0,0x0,0x0,0x2000000,0xa000000,0x1a000000,0x1b000000,0x10ffffff,0x15ffffff,0x7ffffff,0x7ffffff,0x15ffffff, 0xb000000,0x3000000,0x0,0x0,0x0,0x2000000,0xa000000,0x1a000000,0x1b000000,0x10ffffff,0x15ffffff,0x7ffffff,0x7ffffff,0x15ffffff,
@ -898,7 +898,7 @@ static const QRgb scroll2SliderHShadow2_data[] = {
0x0,0x0 0x0,0x0
}; };
static const QRgb scroll2SliderVContour_data[] = { static const TQRgb scroll2SliderVContour_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x2000000,0x4a000000,0x98000000,0xb8000000,0xb9000000,0xb8000000,0x91000000,0x56000000,0x2000000, 0x0,0x0,0x0,0x0,0x0,0x2000000,0x4a000000,0x98000000,0xb8000000,0xb9000000,0xb8000000,0x91000000,0x56000000,0x2000000,
@ -919,7 +919,7 @@ static const QRgb scroll2SliderVContour_data[] = {
0x0,0x0 0x0,0x0
}; };
static const QRgb scroll2SliderVDockedContour_data[] = { static const TQRgb scroll2SliderVDockedContour_data[] = {
0xff000000,0x23000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x23000000, 0xff000000,0x23000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x23000000,
0xff000000,0xff000000,0x23000000,0x0,0x2000000,0x11000000,0x1d000000,0x23000000,0x23000000,0x23000000,0x1d000000,0x11000000,0x2000000,0x0, 0xff000000,0xff000000,0x23000000,0x0,0x2000000,0x11000000,0x1d000000,0x23000000,0x23000000,0x23000000,0x1d000000,0x11000000,0x2000000,0x0,
0x23000000,0xff000000,0xff000000,0x23000000,0xe000000,0x25000000,0x63000000,0x94000000,0xb8000000,0xb9000000,0xb8000000,0x94000000,0x63000000,0x25000000, 0x23000000,0xff000000,0xff000000,0x23000000,0xe000000,0x25000000,0x63000000,0x94000000,0xb8000000,0xb9000000,0xb8000000,0x94000000,0x63000000,0x25000000,
@ -940,7 +940,7 @@ static const QRgb scroll2SliderVDockedContour_data[] = {
0x23000000,0xff000000 0x23000000,0xff000000
}; };
static const QRgb scroll2SliderVDockedShadow_data[] = { static const TQRgb scroll2SliderVDockedShadow_data[] = {
0x0,0x17ffffff,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x17ffffff, 0x0,0x17ffffff,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x17ffffff,
0x0,0x0,0x17ffffff,0x0,0x5ffffff,0xdffffff,0x16ffffff,0x1effffff,0x1effffff,0x1effffff,0x16ffffff,0xdffffff,0x5ffffff,0x0, 0x0,0x0,0x17ffffff,0x0,0x5ffffff,0xdffffff,0x16ffffff,0x1effffff,0x1effffff,0x1effffff,0x16ffffff,0xdffffff,0x5ffffff,0x0,
0x17ffffff,0x0,0x0,0x17ffffff,0xaffffff,0x19ffffff,0x1effffff,0x9ffffff,0x0,0x0,0x0,0x9ffffff,0x1effffff,0x19ffffff, 0x17ffffff,0x0,0x0,0x17ffffff,0xaffffff,0x19ffffff,0x1effffff,0x9ffffff,0x0,0x0,0x0,0x9ffffff,0x1effffff,0x19ffffff,
@ -961,7 +961,7 @@ static const QRgb scroll2SliderVDockedShadow_data[] = {
0x17ffffff,0x0 0x17ffffff,0x0
}; };
static const QRgb scroll2SliderVMask_data[] = { static const TQRgb scroll2SliderVMask_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x3ff0000,0x40ff0000,0x77ff0000,0x89ff0000,0x77ff0000,0x40ff0000,0x3ff0000,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x3ff0000,0x40ff0000,0x77ff0000,0x89ff0000,0x77ff0000,0x40ff0000,0x3ff0000,0x0,
@ -982,7 +982,7 @@ static const QRgb scroll2SliderVMask_data[] = {
0x0,0x0 0x0,0x0
}; };
static const QRgb scroll2SliderVShadow2_data[] = { static const TQRgb scroll2SliderVShadow2_data[] = {
0x0,0x0,0x0,0x1000000,0x2000000,0x4000000,0x5000000,0x6000000,0x5000000,0x4000000,0x2000000,0x1000000,0x0,0x0, 0x0,0x0,0x0,0x1000000,0x2000000,0x4000000,0x5000000,0x6000000,0x5000000,0x4000000,0x2000000,0x1000000,0x0,0x0,
0x0,0x0,0x0,0x2000000,0x6000000,0xc000000,0x12000000,0x16000000,0x16000000,0x16000000,0x12000000,0xc000000,0x6000000,0x2000000, 0x0,0x0,0x0,0x2000000,0x6000000,0xc000000,0x12000000,0x16000000,0x16000000,0x16000000,0x12000000,0xc000000,0x6000000,0x2000000,
0x0,0x0,0x0,0x3000000,0xa000000,0x16000000,0x20000000,0x15000000,0x16000000,0x16000000,0x16000000,0x15000000,0x20000000,0x16000000, 0x0,0x0,0x0,0x3000000,0xa000000,0x16000000,0x20000000,0x15000000,0x16000000,0x16000000,0x16000000,0x15000000,0x20000000,0x16000000,
@ -1003,7 +1003,7 @@ static const QRgb scroll2SliderVShadow2_data[] = {
0x0,0x0 0x0,0x0
}; };
static const QRgb scrollBarArrows_data[] = { static const TQRgb scrollBarArrows_data[] = {
0x0,0x0,0x0,0x23000000,0xa2000000,0xa2000000,0x23000000,0x0,0x0,0x0,0x0,0x0,0x4000000,0x77000000, 0x0,0x0,0x0,0x23000000,0xa2000000,0xa2000000,0x23000000,0x0,0x0,0x0,0x0,0x0,0x4000000,0x77000000,
0x4000000,0x0,0x0,0xa2000000,0xe5000000,0xeb000000,0xef000000,0xeb000000,0xe5000000,0xa2000000,0x0,0x0,0x42000000,0xbb000000, 0x4000000,0x0,0x0,0xa2000000,0xe5000000,0xeb000000,0xef000000,0xeb000000,0xe5000000,0xa2000000,0x0,0x0,0x42000000,0xbb000000,
0xe5000000,0xe5000000,0xbb000000,0x42000000,0x0,0x0,0x0,0x0,0x7b000000,0xf5000000,0x7b000000,0x0,0x0,0x2a000000, 0xe5000000,0xe5000000,0xbb000000,0x42000000,0x0,0x0,0x0,0x0,0x7b000000,0xf5000000,0x7b000000,0x0,0x0,0x2a000000,
@ -1018,29 +1018,29 @@ static const QRgb scrollBarArrows_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
}; };
static const QRgb sizeGrip_data[] = { static const TQRgb sizeGrip_data[] = {
0x33bebebe,0x78bbbbbb,0x6bababab,0x278f8f8f,0x5e9d9d9d,0x6e9b9b9b,0x678a8a8a,0x4e6b6b6b,0x4b6c6c6c,0x576c6c6c,0x53595959,0x41363636,0x19282828,0x3a1e1e1e, 0x33bebebe,0x78bbbbbb,0x6bababab,0x278f8f8f,0x5e9d9d9d,0x6e9b9b9b,0x678a8a8a,0x4e6b6b6b,0x4b6c6c6c,0x576c6c6c,0x53595959,0x41363636,0x19282828,0x3a1e1e1e,
0x390d0d0d,0x18000000 0x390d0d0d,0x18000000
}; };
static const QRgb sliderGrooveHBody_data[] = { static const TQRgb sliderGrooveHBody_data[] = {
0xb000000,0xb000000,0xb000000,0xb000000,0x9b353535,0x9b353535,0x9b353535,0x9b353535,0x92434343,0x92434343,0x92434343,0x92434343,0x8c535353,0x8c535353, 0xb000000,0xb000000,0xb000000,0xb000000,0x9b353535,0x9b353535,0x9b353535,0x9b353535,0x92434343,0x92434343,0x92434343,0x92434343,0x8c535353,0x8c535353,
0x8c535353,0x8c535353,0x86656565,0x86656565,0x86656565,0x86656565,0x2bfefefe,0x2bfefefe,0x2bfefefe,0x2bfefefe,0x9ffffff,0x9ffffff,0x9ffffff,0x9ffffff 0x8c535353,0x8c535353,0x86656565,0x86656565,0x86656565,0x86656565,0x2bfefefe,0x2bfefefe,0x2bfefefe,0x2bfefefe,0x9ffffff,0x9ffffff,0x9ffffff,0x9ffffff
}; };
static const QRgb sliderGroove_h_data[] = { static const TQRgb sliderGroove_h_data[] = {
0x1000000,0x5000000,0x9000000,0x9000000,0x5000000,0x1000000,0x2000000,0x41353535,0x89353535,0x89353535,0x41353535,0x2000000,0x5999999,0x83444444, 0x1000000,0x5000000,0x9000000,0x9000000,0x5000000,0x1000000,0x2000000,0x41353535,0x89353535,0x89353535,0x41353535,0x2000000,0x5999999,0x83444444,
0x92434343,0x92434343,0x83444444,0x5999999,0x8dfdfdf,0x7f575757,0x8c535353,0x8c535353,0x7f575757,0x8dfdfdf,0x7ffffff,0x488e8e8e,0x7c6c6c6c,0x7c6c6c6c, 0x92434343,0x92434343,0x83444444,0x5999999,0x8dfdfdf,0x7f575757,0x8c535353,0x8c535353,0x7f575757,0x8dfdfdf,0x7ffffff,0x488e8e8e,0x7c6c6c6c,0x7c6c6c6c,
0x488e8e8e,0x7ffffff,0x3ffffff,0x14fcfcfc,0x25ffffff,0x25ffffff,0x14fcfcfc,0x3ffffff,0x0,0x3ffffff,0x7ffffff,0x7ffffff,0x3ffffff,0x0 0x488e8e8e,0x7ffffff,0x3ffffff,0x14fcfcfc,0x25ffffff,0x25ffffff,0x14fcfcfc,0x3ffffff,0x0,0x3ffffff,0x7ffffff,0x7ffffff,0x3ffffff,0x0
}; };
static const QRgb sliderGroove_v_data[] = { static const TQRgb sliderGroove_v_data[] = {
0x1000000,0x2000000,0x5999999,0x8dfdfdf,0x7ffffff,0x3ffffff,0x0,0x5000000,0x41353535,0x83444444,0x7f575757,0x488e8e8e,0x14fcfcfc,0x3ffffff, 0x1000000,0x2000000,0x5999999,0x8dfdfdf,0x7ffffff,0x3ffffff,0x0,0x5000000,0x41353535,0x83444444,0x7f575757,0x488e8e8e,0x14fcfcfc,0x3ffffff,
0x9000000,0x89353535,0x92434343,0x8c535353,0x7c6c6c6c,0x25ffffff,0x7ffffff,0x9000000,0x89353535,0x92434343,0x8c535353,0x7c6c6c6c,0x25ffffff,0x7ffffff, 0x9000000,0x89353535,0x92434343,0x8c535353,0x7c6c6c6c,0x25ffffff,0x7ffffff,0x9000000,0x89353535,0x92434343,0x8c535353,0x7c6c6c6c,0x25ffffff,0x7ffffff,
0x5000000,0x41353535,0x83444444,0x7f575757,0x488e8e8e,0x14fcfcfc,0x3ffffff,0x1000000,0x2000000,0x5999999,0x8dfdfdf,0x7ffffff,0x3ffffff,0x0 0x5000000,0x41353535,0x83444444,0x7f575757,0x488e8e8e,0x14fcfcfc,0x3ffffff,0x1000000,0x2000000,0x5999999,0x8dfdfdf,0x7ffffff,0x3ffffff,0x0
}; };
static const QRgb sliderHandle2inside2_data[] = { static const TQRgb sliderHandle2inside2_data[] = {
0x0,0x0,0x0,0x0,0x0,0xfffffff,0x39ffffff,0x51ffffff,0x39ffffff,0xfffffff,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0xfffffff,0x39ffffff,0x51ffffff,0x39ffffff,0xfffffff,0x0,0x0,0x0,0x0,
0x0,0x0,0xffffff,0xffffff,0x4ffffff,0x71ffffff,0xf4ffffff,0xffffffff,0xffffffff,0xffffffff,0xf3ffffff,0x6fffffff,0x3ffffff,0xffffff, 0x0,0x0,0xffffff,0xffffff,0x4ffffff,0x71ffffff,0xf4ffffff,0xffffffff,0xffffffff,0xffffffff,0xf3ffffff,0x6fffffff,0x3ffffff,0xffffff,
0x0,0x0,0x0,0xffffff,0x4ffffff,0xabffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xabffffff, 0x0,0x0,0x0,0xffffff,0x4ffffff,0xabffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xabffffff,
@ -1060,7 +1060,7 @@ static const QRgb sliderHandle2inside2_data[] = {
0x0 0x0
}; };
static const QRgb sliderHandle2circle_data[] = { static const TQRgb sliderHandle2circle_data[] = {
0x0,0x0,0x0,0x0,0x1e8b8b8b,0x815e5e5e,0x95595959,0x995d5d5d,0x95595959,0x815e5e5e,0x1e8b8b8b,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x1e8b8b8b,0x815e5e5e,0x95595959,0x995d5d5d,0x95595959,0x815e5e5e,0x1e8b8b8b,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x6c5e5e5e,0x92585858,0x336e6e6e,0x0,0x0,0x0,0x336e6e6e,0x92585858,0x6c5e5e5e,0x0, 0x0,0x0,0x0,0x0,0x6c5e5e5e,0x92585858,0x336e6e6e,0x0,0x0,0x0,0x336e6e6e,0x92585858,0x6c5e5e5e,0x0,
0x0,0x0,0x0,0x0,0x6f595959,0x75595959,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x75595959, 0x0,0x0,0x0,0x0,0x6f595959,0x75595959,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x75595959,
@ -1080,7 +1080,7 @@ static const QRgb sliderHandle2circle_data[] = {
0x0 0x0
}; };
static const QRgb sliderHandle2shadow_data[] = { static const TQRgb sliderHandle2shadow_data[] = {
0x0,0x0,0x1000000,0x3000000,0x5000000,0x4000000,0x2000000,0x5d5d5d,0x2000000,0x4000000,0x5000000,0x3000000,0x1000000,0x0, 0x0,0x0,0x1000000,0x3000000,0x5000000,0x4000000,0x2000000,0x5d5d5d,0x2000000,0x4000000,0x5000000,0x3000000,0x1000000,0x0,
0x0,0x0,0x1000000,0x4000000,0x5000000,0xefefefe,0x32fefefe,0x45fefefe,0x4cfefefe,0x45fefefe,0x32fefefe,0xefefefe,0x5000000,0x4000000, 0x0,0x0,0x1000000,0x4000000,0x5000000,0xefefefe,0x32fefefe,0x45fefefe,0x4cfefefe,0x45fefefe,0x32fefefe,0xefefefe,0x5000000,0x4000000,
0x1000000,0x0,0x1000000,0x4000000,0x6000000,0x17fefefe,0x3bfefefe,0x35fefefe,0x30fefefe,0x2efefefe,0x30fefefe,0x35fefefe,0x3bfefefe,0x17fefefe, 0x1000000,0x0,0x1000000,0x4000000,0x6000000,0x17fefefe,0x3bfefefe,0x35fefefe,0x30fefefe,0x2efefefe,0x30fefefe,0x35fefefe,0x3bfefefe,0x17fefefe,
@ -1100,7 +1100,7 @@ static const QRgb sliderHandle2shadow_data[] = {
0x0 0x0
}; };
static const QRgb spinBoxArrows_data[] = { static const TQRgb spinBoxArrows_data[] = {
0x0,0x0,0x0,0xd000000,0x0,0x0,0x0,0x0,0x0,0x24000000,0xa5000000,0x24000000,0x0,0x0, 0x0,0x0,0x0,0xd000000,0x0,0x0,0x0,0x0,0x0,0x24000000,0xa5000000,0x24000000,0x0,0x0,
0x0,0x19000000,0xb5000000,0xff000000,0xb5000000,0x19000000,0x0,0x18000000,0x99000000,0xff000000,0xff000000,0xff000000,0x99000000,0x12000000, 0x0,0x19000000,0xb5000000,0xff000000,0xb5000000,0x19000000,0x0,0x18000000,0x99000000,0xff000000,0xff000000,0xff000000,0x99000000,0x12000000,
0x79000000,0xca000000,0xcc000000,0xd7000000,0xcc000000,0xca000000,0x78000000,0x79000000,0xca000000,0xcc000000,0xd7000000,0xcc000000,0xca000000,0x78000000, 0x79000000,0xca000000,0xcc000000,0xd7000000,0xcc000000,0xca000000,0x78000000,0x79000000,0xca000000,0xcc000000,0xd7000000,0xcc000000,0xca000000,0x78000000,
@ -1108,16 +1108,16 @@ static const QRgb spinBoxArrows_data[] = {
0x0,0x0,0x24000000,0xa5000000,0x24000000,0x0,0x0,0x0,0x0,0x0,0xd000000,0x0,0x0,0x0 0x0,0x0,0x24000000,0xa5000000,0x24000000,0x0,0x0,0x0,0x0,0x0,0xd000000,0x0,0x0,0x0
}; };
static const QRgb tabHLines_data[] = { static const TQRgb tabHLines_data[] = {
0x4effffff,0x4effffff,0x4effffff,0x4effffff,0x1effffff,0x1effffff,0x1effffff,0x1effffff,0x19f9f9f9,0x19f9f9f9,0x19f9f9f9,0x19f9f9f9 0x4effffff,0x4effffff,0x4effffff,0x4effffff,0x1effffff,0x1effffff,0x1effffff,0x1effffff,0x19f9f9f9,0x19f9f9f9,0x19f9f9f9,0x19f9f9f9
}; };
static const QRgb tabInsideWhiteLines_data[] = { static const TQRgb tabInsideWhiteLines_data[] = {
0x19ffffff,0x19ffffff,0x19ffffff,0x19ffffff,0x19ffffff,0x0,0x0,0x0,0x19ffffff,0x0,0x0,0x0,0x19ffffff,0x0, 0x19ffffff,0x19ffffff,0x19ffffff,0x19ffffff,0x19ffffff,0x0,0x0,0x0,0x19ffffff,0x0,0x0,0x0,0x19ffffff,0x0,
0x0,0x0 0x0,0x0
}; };
static const QRgb tabInsideWhite_data[] = { static const TQRgb tabInsideWhite_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0xaffffff,0x13ffffff,0x18ffffff,0x18ffffff,0x13ffffff,0xaffffff,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0xaffffff,0x13ffffff,0x18ffffff,0x18ffffff,0x13ffffff,0xaffffff,0x0,0x0,0x0,0x0,
0x0,0x0,0x3ffffff,0x17ffffff,0x14ffffff,0x9ffffff,0x3ffffff,0x3ffffff,0x9ffffff,0x14ffffff,0x17ffffff,0x3ffffff,0x0,0x0, 0x0,0x0,0x3ffffff,0x17ffffff,0x14ffffff,0x9ffffff,0x3ffffff,0x3ffffff,0x9ffffff,0x14ffffff,0x17ffffff,0x3ffffff,0x0,0x0,
@ -1134,11 +1134,11 @@ static const QRgb tabInsideWhite_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
}; };
static const QRgb tabVlines_data[] = { static const TQRgb tabVlines_data[] = {
0x1effffff,0x1effffff,0x1effffff,0x1effffff 0x1effffff,0x1effffff,0x1effffff,0x1effffff
}; };
static const QRgb tabWidget_data[] = { static const TQRgb tabWidget_data[] = {
0x0,0x0,0x0,0x0,0x3000000,0xb000000,0x13000000,0x17000000,0x17000000,0x13000000,0xb000000,0x3000000,0x0,0x0, 0x0,0x0,0x0,0x0,0x3000000,0xb000000,0x13000000,0x17000000,0x17000000,0x13000000,0xb000000,0x3000000,0x0,0x0,
0x0,0x0,0x0,0x0,0x1000000,0xb000000,0x27474747,0x46b2b2b2,0x4ededede,0x48ffffff,0x48ffffff,0x4ededede,0x46b2b2b2,0x27474747, 0x0,0x0,0x0,0x0,0x1000000,0xb000000,0x27474747,0x46b2b2b2,0x4ededede,0x48ffffff,0x48ffffff,0x4ededede,0x46b2b2b2,0x27474747,
0xb000000,0x1000000,0x0,0x0,0x0,0x1000000,0xf000000,0x408f8f8f,0x44f7f7f7,0x37ffffff,0x29ffffff,0x21ffffff,0x20ffffff,0x28ffffff, 0xb000000,0x1000000,0x0,0x0,0x0,0x1000000,0xf000000,0x408f8f8f,0x44f7f7f7,0x37ffffff,0x29ffffff,0x21ffffff,0x20ffffff,0x28ffffff,
@ -1160,7 +1160,7 @@ static const QRgb tabWidget_data[] = {
0x3000000,0x0,0x0,0x0 0x3000000,0x0,0x0,0x0
}; };
static const QRgb tooltipframe2_data[] = { static const TQRgb tooltipframe2_data[] = {
0x0,0x0,0x0,0xa575757,0x50575757,0x98575757,0xcc575757,0xcc575757,0x98575757,0x50575757,0xa575757,0x0,0x0,0x0, 0x0,0x0,0x0,0xa575757,0x50575757,0x98575757,0xcc575757,0xcc575757,0x98575757,0x50575757,0xa575757,0x0,0x0,0x0,
0x0,0x0,0x27575757,0xd3575757,0x99575757,0x56575757,0x1c575757,0x1c575757,0x56575757,0x99575757,0xd3575757,0x27575757,0x0,0x0, 0x0,0x0,0x27575757,0xd3575757,0x99575757,0x56575757,0x1c575757,0x1c575757,0x56575757,0x99575757,0xd3575757,0x27575757,0x0,0x0,
0x0,0x2d575757,0xe9575757,0x47575757,0x0,0x0,0x0,0x0,0x0,0x0,0x47575757,0xe9575757,0x2d575757,0x0, 0x0,0x2d575757,0xe9575757,0x47575757,0x0,0x0,0x0,0x0,0x0,0x0,0x47575757,0xe9575757,0x2d575757,0x0,
@ -1177,7 +1177,7 @@ static const QRgb tooltipframe2_data[] = {
0x0,0x0,0x0,0xf575757,0x5d575757,0xa5575757,0xd9575757,0xd9575757,0xa5575757,0x5d575757,0xf575757,0x0,0x0,0x0 0x0,0x0,0x0,0xf575757,0x5d575757,0xa5575757,0xd9575757,0xd9575757,0xa5575757,0x5d575757,0xf575757,0x0,0x0,0x0
}; };
static const QRgb toolBtnFrameThin_data[] = { static const TQRgb toolBtnFrameThin_data[] = {
0x0,0x12000000,0x4e000000,0x9d000000,0x9d000000,0x4e000000,0x12000000,0x0,0xd000000,0x81000000,0x6d000000,0x19000000,0x19000000,0x6d000000, 0x0,0x12000000,0x4e000000,0x9d000000,0x9d000000,0x4e000000,0x12000000,0x0,0xd000000,0x81000000,0x6d000000,0x19000000,0x19000000,0x6d000000,
0x81000000,0xd000000,0x4a000000,0x66000000,0x0,0x0,0x0,0x0,0x66000000,0x4a000000,0x9c000000,0x19000000,0x0,0x0, 0x81000000,0xd000000,0x4a000000,0x66000000,0x0,0x0,0x0,0x0,0x66000000,0x4a000000,0x9c000000,0x19000000,0x0,0x0,
0x0,0x0,0x19000000,0x9c000000,0x9c000000,0x19000000,0x0,0x0,0x0,0x0,0x19000000,0x9c000000,0x4a000000,0x66000000, 0x0,0x0,0x19000000,0x9c000000,0x9c000000,0x19000000,0x0,0x0,0x0,0x0,0x19000000,0x9c000000,0x4a000000,0x66000000,
@ -1190,7 +1190,7 @@ static struct EmbedImage {
int width, height, depth; int width, height, depth;
const unsigned char *data; const unsigned char *data;
int numColors; int numColors;
const QRgb *colorTable; const TQRgb *colorTable;
bool alpha; bool alpha;
const char *name; const char *name;
} embed_image_vec[] = { } embed_image_vec[] = {
@ -1275,20 +1275,20 @@ static struct EmbedImage {
{ 0, 0, 0, 0, 0, 0, 0, 0 } { 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; static TQDict<TQImage> dict;
QImage* img = dict.find( name ); TQImage* img = dict.find( name );
if ( !img ) { if ( !img ) {
for ( int i = 0; embed_image_vec[i].data; i++ ) { for ( int i = 0; embed_image_vec[i].data; i++ ) {
if ( strcmp(embed_image_vec[i].name, name.latin1()) == 0 ) { 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].width,
embed_image_vec[i].height, embed_image_vec[i].height,
embed_image_vec[i].depth, embed_image_vec[i].depth,
(QRgb*)embed_image_vec[i].colorTable, (TQRgb*)embed_image_vec[i].colorTable,
embed_image_vec[i].numColors, embed_image_vec[i].numColors,
QImage::BigEndian ); TQImage::BigEndian );
if ( embed_image_vec[i].alpha ) if ( embed_image_vec[i].alpha )
img->setAlphaBuffer( TRUE ); img->setAlphaBuffer( TRUE );
dict.insert( name, img ); dict.insert( name, img );
@ -1296,7 +1296,7 @@ static const QImage& qembed_findImage( const QString& name )
} }
} }
if ( !img ) { if ( !img ) {
static QImage dummy; static TQImage dummy;
return dummy; return dummy;
} }
} }

File diff suppressed because it is too large Load Diff

@ -42,11 +42,11 @@
#define __DOMINO_H #define __DOMINO_H
#include <kstyle.h> #include <kstyle.h>
#include <qintcache.h> #include <tqintcache.h>
#include <ktoolbarbutton.h> #include <ktoolbarbutton.h>
#include "misc.h" #include "misc.h"
#include "data.h" #include "data.h"
#include <qpixmapcache.h> #include <tqpixmapcache.h>
// #include <X11/extensions/Xrender.h> // #include <X11/extensions/Xrender.h>
@ -80,11 +80,11 @@ class Rubber;
struct DSurface { struct DSurface {
int numGradients; int numGradients;
QColor g1Color1; TQColor g1Color1;
QColor g1Color2; TQColor g1Color2;
QColor g2Color1; TQColor g2Color1;
QColor g2Color2; TQColor g2Color2;
QColor background; TQColor background;
int g1Top; int g1Top;
int g1Bottom; int g1Bottom;
int g2Top; int g2Top;
@ -108,112 +108,112 @@ public:
Palette_Widget Palette_Widget
}; };
void polish(QApplication* app ); void polish(TQApplication* app );
void polish(QWidget* widget ); void polish(TQWidget* widget );
void polish( QPalette &p ); void polish( TQPalette &p );
void unPolish(QWidget* widget ); void unPolish(TQWidget* widget );
void drawKStylePrimitive(KStylePrimitive kpe, void drawKStylePrimitive(KStylePrimitive kpe,
QPainter* p, TQPainter* p,
const QWidget* widget, const TQWidget* widget,
const QRect &r, const TQRect &r,
const QColorGroup &cg, const TQColorGroup &cg,
SFlags flags = Style_Default, SFlags flags = Style_Default,
const QStyleOption& = QStyleOption::Default ) const; const TQStyleOption& = TQStyleOption::Default ) const;
void drawPrimitive(PrimitiveElement pe, void drawPrimitive(PrimitiveElement pe,
QPainter *p, TQPainter *p,
const QRect &r, const TQRect &r,
const QColorGroup &cg, const TQColorGroup &cg,
SFlags flags = Style_Default, SFlags flags = Style_Default,
const QStyleOption &opt = QStyleOption::Default ) const; const TQStyleOption &opt = TQStyleOption::Default ) const;
void drawControl(ControlElement element, void drawControl(ControlElement element,
QPainter *p, TQPainter *p,
const QWidget *widget, const TQWidget *widget,
const QRect &r, const TQRect &r,
const QColorGroup &cg, const TQColorGroup &cg,
SFlags flags = Style_Default, SFlags flags = Style_Default,
const QStyleOption& = QStyleOption::Default ) const; const TQStyleOption& = TQStyleOption::Default ) const;
void drawControlMask( ControlElement, QPainter *, const QWidget *, const QRect &, const QStyleOption &) const; void drawControlMask( ControlElement, TQPainter *, const TQWidget *, const TQRect &, const TQStyleOption &) const;
void drawComplexControl(ComplexControl control, void drawComplexControl(ComplexControl control,
QPainter *p, TQPainter *p,
const QWidget *widget, const TQWidget *widget,
const QRect &r, const TQRect &r,
const QColorGroup &cg, const TQColorGroup &cg,
SFlags flags = Style_Default, SFlags flags = Style_Default,
SCFlags controls = SC_All, SCFlags controls = SC_All,
SCFlags active = SC_None, SCFlags active = SC_None,
const QStyleOption& = QStyleOption::Default ) const; const TQStyleOption& = TQStyleOption::Default ) const;
int pixelMetric(PixelMetric m, int pixelMetric(PixelMetric m,
const QWidget *widget = 0 ) const; const TQWidget *widget = 0 ) const;
QRect subRect(SubRect r, TQRect subRect(SubRect r,
const QWidget *widget ) const; const TQWidget *widget ) const;
QRect querySubControlMetrics(ComplexControl control, TQRect querySubControlMetrics(ComplexControl control,
const QWidget *widget, const TQWidget *widget,
SubControl subcontrol, SubControl subcontrol,
const QStyleOption &opt = QStyleOption::Default ) const; const TQStyleOption &opt = TQStyleOption::Default ) const;
QSize sizeFromContents(QStyle::ContentsType t, TQSize sizeFromContents(TQStyle::ContentsType t,
const QWidget *w, const TQWidget *w,
const QSize &s, const TQSize &s,
const QStyleOption &o) const; const TQStyleOption &o) const;
int styleHint(StyleHint, const QWidget * = 0, int styleHint(StyleHint, const TQWidget * = 0,
const QStyleOption & = QStyleOption::Default, const TQStyleOption & = TQStyleOption::Default,
QStyleHintReturn * = 0 ) const; TQStyleHintReturn * = 0 ) const;
QPixmap stylePixmap(StylePixmap stylepixmap, const QWidget* widget, const QStyleOption& opt) const; TQPixmap stylePixmap(StylePixmap stylepixmap, const TQWidget* widget, const TQStyleOption& opt) const;
void drawItem( QPainter *p, const QRect &r, void drawItem( TQPainter *p, const TQRect &r,
int flags, const QColorGroup &g, bool enabled, int flags, const TQColorGroup &g, bool enabled,
const QPixmap *pixmap, const QString &text, const TQPixmap *pixmap, const TQString &text,
int len = -1, const QColor *penColor = 0) const; int len = -1, const TQColor *penColor = 0) const;
void dominoDrawItem( QPainter *p, const QRect &r, void dominoDrawItem( TQPainter *p, const TQRect &r,
int flags, const QColorGroup &g, bool enabled, int flags, const TQColorGroup &g, bool enabled,
const QPixmap *pixmap, const QString &text, const TQPixmap *pixmap, const TQString &text,
int len = -1, const QColor *penColor = 0, bool buttonTextEffect = 0 ) const; int len = -1, const TQColor *penColor = 0, bool buttonTextEffect = 0 ) const;
void setDominoButtonPalette(QWidget* widget, PaletteTyp type); void setDominoButtonPalette(TQWidget* widget, PaletteTyp type);
virtual void drawFocusIndicator(QPainter *p, virtual void drawFocusIndicator(TQPainter *p,
const QRect &r, const TQRect &r,
int flags, int flags,
const QColorGroup cg, const TQColorGroup cg,
bool /*enabled*/, bool /*enabled*/,
const QPixmap* /*pixmap*/, const TQPixmap* /*pixmap*/,
const QString & text, const TQString & text,
int /*len = -1*/, int /*len = -1*/,
const QColor& highlight = 0, const TQColor& highlight = 0,
bool drawLine = true, bool drawLine = true,
bool isButton = false) const; bool isButton = false) const;
QPixmap renderOutlineIcon(const QPixmap* icon) const; TQPixmap renderOutlineIcon(const TQPixmap* icon) const;
void renderSurface(QPainter *p, void renderSurface(TQPainter *p,
const QRect &r, const TQRect &r,
const QColor &backgroundColor, const TQColor &backgroundColor,
const QColor &buttonColor, const TQColor &buttonColor,
const QColor &highlightColor, const TQColor &highlightColor,
const uint flags = Draw_Left|Draw_Right|Draw_Top|Draw_Bottom| const uint flags = Draw_Left|Draw_Right|Draw_Top|Draw_Bottom|
Round_UpperLeft|Round_UpperRight|Round_BottomLeft|Round_BottomRight|Is_Horizontal) const; Round_UpperLeft|Round_UpperRight|Round_BottomLeft|Round_BottomRight|Is_Horizontal) const;
inline QWidget::BackgroundOrigin setPixmapOrigin(QWidget::BackgroundOrigin origin); inline TQWidget::BackgroundOrigin setPixmapOrigin(TQWidget::BackgroundOrigin origin);
mutable Rubber* rubber; mutable Rubber* rubber;
mutable QRect oldRubberRect; mutable TQRect oldRubberRect;
mutable bool viewPortPressed; mutable bool viewPortPressed;
mutable bool ignoreNextFocusRect; mutable bool ignoreNextFocusRect;
uint _argbRubberBandColor; uint _argbRubberBandColor;
mutable bool compositeManagerRunning; mutable bool compositeManagerRunning;
const QWidget* rubberViewPort; const TQWidget* rubberViewPort;
protected: protected:
@ -235,25 +235,25 @@ protected:
struct TextEffectSettings { struct TextEffectSettings {
TextEffect mode; TextEffect mode;
QColor color; TQColor color;
QColor buttonColor; TQColor buttonColor;
int opacity; int opacity;
int buttonOpacity; int buttonOpacity;
QPoint pos; TQPoint pos;
QPoint buttonPos; TQPoint buttonPos;
}; };
struct GroupBoxSettings { struct GroupBoxSettings {
bool tintBackground; bool tintBackground;
int brightness; int brightness;
bool customColor; bool customColor;
QColor color; TQColor color;
}; };
struct FocusIndicatorSettings { struct FocusIndicatorSettings {
QColor color; TQColor color;
int opacity; int opacity;
QColor buttonColor; TQColor buttonColor;
int buttonOpacity; int buttonOpacity;
bool drawUnderline; bool drawUnderline;
bool indicateFocus; bool indicateFocus;
@ -308,51 +308,51 @@ protected:
PE_ScrollBarSubLine2 = 0xf000001 PE_ScrollBarSubLine2 = 0xf000001
}; };
void renderContour(QPainter *p, void renderContour(TQPainter *p,
const QRect &r, const TQRect &r,
const QColor &backgroundColor, const TQColor &backgroundColor,
const QColor &contourColor, const TQColor &contourColor,
const uint flags = Draw_Left|Draw_Right|Draw_Top|Draw_Bottom| const uint flags = Draw_Left|Draw_Right|Draw_Top|Draw_Bottom|
Round_UpperLeft|Round_UpperRight|Round_BottomLeft|Round_BottomRight) const; Round_UpperLeft|Round_UpperRight|Round_BottomLeft|Round_BottomRight) const;
void renderButtonShadow(QPainter *p, const QRect &r, const uint flags = Draw_Left|Draw_Right|Draw_Top|Draw_Bottom| void renderButtonShadow(TQPainter *p, const TQRect &r, const uint flags = Draw_Left|Draw_Right|Draw_Top|Draw_Bottom|
Round_UpperLeft|Round_UpperRight|Round_BottomLeft|Round_BottomRight|Is_Horizontal) const; Round_UpperLeft|Round_UpperRight|Round_BottomLeft|Round_BottomRight|Is_Horizontal) const;
QPixmap* renderLineEditShadow(QWidget* widget, QRect rect, QColor bg, uint flags, bool reverse); TQPixmap* renderLineEditShadow(TQWidget* widget, TQRect rect, TQColor bg, uint flags, bool reverse);
inline void renderPixel(QPainter *p, inline void renderPixel(TQPainter *p,
const QPoint &pos, const TQPoint &pos,
const int alpha, const int alpha,
const QColor &color, const TQColor &color,
const QColor &background = QColor(), const TQColor &background = TQColor(),
bool fullAlphaBlend = true) const; bool fullAlphaBlend = true) const;
void renderButton(QPainter *p, void renderButton(TQPainter *p,
const QRect &r, const TQRect &r,
const QColorGroup &g, const TQColorGroup &g,
bool sunken = false, bool sunken = false,
bool mouseOver = false, bool mouseOver = false,
bool horizontal = true, bool horizontal = true,
bool enabled = true, bool enabled = true,
bool khtmlMode = false) const; bool khtmlMode = false) const;
void renderHeader(QPainter *p, void renderHeader(TQPainter *p,
const QRect &r, const TQRect &r,
const QColorGroup &g, const TQColorGroup &g,
bool sunken = false, bool sunken = false,
bool mouseOver = false, bool mouseOver = false,
bool horizontal = true, bool horizontal = true,
bool enabled = true) const; bool enabled = true) const;
void renderGradient(QPainter *p, void renderGradient(TQPainter *p,
const QRect &r, const TQRect &r,
const QColor &c1, const TQColor &c1,
const QColor &c2, const TQColor &c2,
bool horizontal = true) const; bool horizontal = true) const;
void renderTab(QPainter *p, void renderTab(TQPainter *p,
const QRect &r, const TQRect &r,
const QColorGroup &g, const TQColorGroup &g,
bool mouseOver = false, bool mouseOver = false,
const bool selected = false, const bool selected = false,
const bool bottom = false, const bool bottom = false,
@ -371,53 +371,53 @@ protected:
DSurface headerSurface; DSurface headerSurface;
DSurface checkItemSurface; DSurface checkItemSurface;
bool eventFilter(QObject *, QEvent *); bool eventFilter(TQObject *, TQEvent *);
QString configMode; TQString configMode;
void removeCachedSbPix(const QColor &color) { void removeCachedSbPix(const TQColor &color) {
QPixmapCache::remove("sHCap"+QString::number(color.pixel(), 16)+"1"+configMode); TQPixmapCache::remove("sHCap"+TQString::number(color.pixel(), 16)+"1"+configMode);
QPixmapCache::remove("sHCap"+QString::number(color.pixel(), 16)+"0"+configMode); TQPixmapCache::remove("sHCap"+TQString::number(color.pixel(), 16)+"0"+configMode);
QPixmapCache::remove("sVCap"+QString::number(color.pixel(), 16)+"1"+configMode); TQPixmapCache::remove("sVCap"+TQString::number(color.pixel(), 16)+"1"+configMode);
QPixmapCache::remove("sVCap"+QString::number(color.pixel(), 16)+"0"+configMode); TQPixmapCache::remove("sVCap"+TQString::number(color.pixel(), 16)+"0"+configMode);
QPixmapCache::remove(QString::number(color.pixel(), 16)+"sh"+configMode); TQPixmapCache::remove(TQString::number(color.pixel(), 16)+"sh"+configMode);
QPixmapCache::remove(QString::number(color.pixel(), 16)+"sv"+configMode); TQPixmapCache::remove(TQString::number(color.pixel(), 16)+"sv"+configMode);
QPixmapCache::remove(QString::number(color.pixel(), 16)+"ah"+configMode); TQPixmapCache::remove(TQString::number(color.pixel(), 16)+"ah"+configMode);
QPixmapCache::remove(QString::number(color.pixel(), 16)+"av"+configMode); TQPixmapCache::remove(TQString::number(color.pixel(), 16)+"av"+configMode);
}; };
QColor getGroupBoxColor(const QWidget* w) const; TQColor getGroupBoxColor(const TQWidget* w) const;
QPixmap* createCheckMark(const QColor color) const; TQPixmap* createCheckMark(const TQColor color) const;
QPixmap* createRadioIndicator(const QColor color) const; TQPixmap* createRadioIndicator(const TQColor color) const;
QPixmap disableIcon(const QPixmap* icon) const;; TQPixmap disableIcon(const TQPixmap* icon) const;;
QWidget* hoverWidget; TQWidget* hoverWidget;
QPixmap* checkMark; TQPixmap* checkMark;
QPixmap* radioIndicator; TQPixmap* radioIndicator;
QPixmap* popupFrame; TQPixmap* popupFrame;
QPixmap* border1; TQPixmap* border1;
mutable bool alphaButtonMode; mutable bool alphaButtonMode;
bool KApplicationMode; bool KApplicationMode;
QColor _checkMarkColor; TQColor _checkMarkColor;
QMap<const QGroupBox*, const QPixmap*> groupBoxPixmaps; TQMap<const TQGroupBox*, const TQPixmap*> groupBoxPixmaps;
uint preMultiplyColor(const uint &c) const; uint preMultiplyColor(const uint &c) const;
QToolButton* popupButton; TQToolButton* popupButton;
QTimer* popupTimer; TQTimer* popupTimer;
QPoint popupMousePressPos; TQPoint popupMousePressPos;
protected slots: protected slots:
void khtmlWidgetDestroyed(QObject* w); void khtmlWidgetDestroyed(TQObject* w);
void groupBoxDestroyed(QObject* w); void groupBoxDestroyed(TQObject* w);
//Animation slots. //Animation slots.
void updateProgressPos(); void updateProgressPos();
void updateScrollPos(); // smoothscroll void updateScrollPos(); // smoothscroll
void progressBarDestroyed(QObject* bar); void progressBarDestroyed(TQObject* bar);
inline QColor dGetColor(const QColor &color, const int value) const; inline TQColor dGetColor(const TQColor &color, const int value) const;
inline QColor lightenColor(const QColor &color, const int value) const; inline TQColor lightenColor(const TQColor &color, const int value) const;
inline QColor darkenColor(const QColor &color, const int value) const; inline TQColor darkenColor(const TQColor &color, const int value) const;
void updateTabWidgetFrame(); void updateTabWidgetFrame();
void spinBoxValueChanged(int); void spinBoxValueChanged(int);
void toolPopupPressed(); void toolPopupPressed();
@ -439,12 +439,12 @@ private:
bool _drawTriangularExpander; bool _drawTriangularExpander;
bool _customCheckMarkColor; bool _customCheckMarkColor;
bool _smoothScrolling; bool _smoothScrolling;
QColor _toolTipColor; TQColor _toolTipColor;
int _buttonHeightAdjustment; int _buttonHeightAdjustment;
bool _customPopupMenuColor; bool _customPopupMenuColor;
QColor _popupMenuColor; TQColor _popupMenuColor;
bool _customSelMenuItemColor; bool _customSelMenuItemColor;
QColor _selMenuItemColor; TQColor _selMenuItemColor;
bool _drawPopupMenuGradient; bool _drawPopupMenuGradient;
bool _indentPopupMenuItems; bool _indentPopupMenuItems;
bool _centerTabs; bool _centerTabs;
@ -465,16 +465,16 @@ private:
// smoothscrolling // smoothscrolling
int scrollDistance; int scrollDistance;
bool scrollVertical; bool scrollVertical;
QScrollView* scrollWidget; TQScrollView* scrollWidget;
QTimer* scrollTimer; TQTimer* scrollTimer;
bool hoveredToolBoxTab; bool hoveredToolBoxTab;
// track khtml widgets. // track khtml widgets.
QMap<const QWidget*,bool> khtmlWidgets; TQMap<const TQWidget*,bool> khtmlWidgets;
//Animation support. //Animation support.
QMap<QWidget*, int> progAnimWidgets; TQMap<TQWidget*, int> progAnimWidgets;
// pixmap cache. // pixmap cache.
enum CacheEntryType { enum CacheEntryType {
@ -488,14 +488,14 @@ private:
CacheEntryType type; CacheEntryType type;
int width; int width;
int height; int height;
QRgb c1Rgb; TQRgb c1Rgb;
QRgb c2Rgb; TQRgb c2Rgb;
bool horizontal; bool horizontal;
QPixmap* pixmap; TQPixmap* pixmap;
CacheEntry(CacheEntryType t, int w, int h, QRgb c1, QRgb c2 = 0, CacheEntry(CacheEntryType t, int w, int h, TQRgb c1, TQRgb c2 = 0,
bool hor = false, QPixmap* p = 0 ): bool hor = false, TQPixmap* p = 0 ):
type(t), width(w), height(h), c1Rgb(c1), c2Rgb(c2), horizontal(hor), pixmap(p) type(t), width(w), height(h), c1Rgb(c1), c2Rgb(c2), horizontal(hor), pixmap(p)
{} {}
@ -506,7 +506,7 @@ private:
int key() int key()
{ {
// create an int key from the properties which is used to refer to entries in the QIntCache. // create an int key from the properties which is used to refer to entries in the TQIntCache.
// the result may not be 100% correct as we don't have so much space in one integer -- use // the result may not be 100% correct as we don't have so much space in one integer -- use
// == operator after find to make sure we got the right one. :) // == operator after find to make sure we got the right one. :)
return horizontal ^ (type<<1) ^ (width<<5) ^ (height<<10) ^ (c1Rgb<<19) ^ (c2Rgb<<22); return horizontal ^ (type<<1) ^ (width<<5) ^ (height<<10) ^ (c1Rgb<<19) ^ (c2Rgb<<22);
@ -521,27 +521,27 @@ private:
(c1Rgb == other.c1Rgb) && (c1Rgb == other.c1Rgb) &&
(horizontal = other.horizontal); (horizontal = other.horizontal);
// if(!match) { // if(!match) {
// qDebug("operator ==: CacheEntries don't match!"); // tqDebug("operator ==: CacheEntries don't match!");
// qDebug("width: %d\t\tother width: %d", width, other.width); // tqDebug("width: %d\t\tother width: %d", width, other.width);
// qDebug("height: %d\t\tother height: %d", height, other.height); // tqDebug("height: %d\t\tother height: %d", height, other.height);
// qDebug("fgRgb: %d\t\tother fgRgb: %d", fgRgb, other.fgRgb); // tqDebug("fgRgb: %d\t\tother fgRgb: %d", fgRgb, other.fgRgb);
// qDebug("bgRgb: %d\t\tother bgRgb: %d", bgRgb, other.bgRgb); // tqDebug("bgRgb: %d\t\tother bgRgb: %d", bgRgb, other.bgRgb);
// qDebug("surfaceFlags: %d\t\tother surfaceFlags: %d", surfaceFlags, other.surfaceFlags); // tqDebug("surfaceFlags: %d\t\tother surfaceFlags: %d", surfaceFlags, other.surfaceFlags);
// } // }
return match; return match;
} }
}; };
QIntCache<CacheEntry> *pixmapCache; TQIntCache<CacheEntry> *pixmapCache;
// For KPE_ListViewBranch // For KPE_ListViewBranch
mutable QBitmap *verticalLine; mutable TQBitmap *verticalLine;
mutable QBitmap *horizontalLine; mutable TQBitmap *horizontalLine;
// For progress bar animation // For progress bar animation
QTimer *animationTimer; TQTimer *animationTimer;
void renderTabSeparator(QPainter *p, const QRect &r, const QColor buttonColor, bool tabAbove) const; void renderTabSeparator(TQPainter *p, const TQRect &r, const TQColor buttonColor, bool tabAbove) const;
void renderGroupBox(QObject *obj, QEvent *ev); void renderGroupBox(TQObject *obj, TQEvent *ev);
}; };
@ -565,22 +565,22 @@ class ButtonContour
int created[num_types][num_states]; int created[num_types][num_states];
int shadowCreated[num_states]; int shadowCreated[num_states];
QColor contour[num_states]; TQColor contour[num_states];
uint c1[num_types][num_states]; // top shadow uint c1[num_types][num_states]; // top shadow
uint c2[num_types][num_states]; // outer ring uint c2[num_types][num_states]; // outer ring
uint c3[num_types][num_states]; // inner ring uint c3[num_types][num_states]; // inner ring
uint c4[num_types][num_states]; // bottom first shadow line uint c4[num_types][num_states]; // bottom first shadow line
uint c5[num_types][num_states]; // bottom second shadow line uint c5[num_types][num_states]; // bottom second shadow line
uint c6[num_types][num_states]; // first left shadow line uint c6[num_types][num_states]; // first left shadow line
QPixmap* btnEdges[num_types][num_states]; TQPixmap* btnEdges[num_types][num_states];
QPixmap* btnVLines[num_types][num_states]; TQPixmap* btnVLines[num_types][num_states];
QPixmap* btnHLines[num_types][num_states]; TQPixmap* btnHLines[num_types][num_states];
// for sunken type and sunken flat buttons // for sunken type and sunken flat buttons
QPixmap* buttonShadowRectangular[num_states]; TQPixmap* buttonShadowRectangular[num_states];
QPixmap* buttonShadowRound [num_states]; TQPixmap* buttonShadowRound [num_states];
QPixmap* buttonShadowHlines[num_states]; TQPixmap* buttonShadowHlines[num_states];
QPixmap* buttonShadowVlines[num_states]; TQPixmap* buttonShadowVlines[num_states];
bool alphaMode() { bool alphaMode() {
@ -604,16 +604,16 @@ class ButtonContour
uint color6() { uint color6() {
return c6[type][state]; return c6[type][state];
} }
QColor contourColor(int t) { TQColor contourColor(int t) {
return contour[t]; return contour[t];
} }
QPixmap* buttonEdges() { TQPixmap* buttonEdges() {
return btnEdges[type][state]; return btnEdges[type][state];
} }
QPixmap* buttonVLines() { TQPixmap* buttonVLines() {
return btnVLines[type][state]; return btnVLines[type][state];
} }
QPixmap* buttonHLines() { TQPixmap* buttonHLines() {
return btnHLines[type][state]; return btnHLines[type][state];
} }
void setType(ContourType t = Contour_Sunken) { void setType(ContourType t = Contour_Sunken) {
@ -631,20 +631,20 @@ class ButtonContour
state = s; state = s;
createPixmaps(type, state); createPixmaps(type, state);
} }
void setColor(ContourState s, QColor color) { void setColor(ContourState s, TQColor color) {
contour[s] = color; contour[s] = color;
uint c2_tmp; uint c2_tmp;
uint c3_tmp; uint c3_tmp;
if(defaultType == Contour_Sunken /*|| defaultType == Contour_Simple*/) { if(defaultType == Contour_Sunken /*|| defaultType == Contour_Simple*/) {
c2_tmp = qRgba(contour[s].red(), contour[s].green(), contour[s].blue(), 218); c2_tmp = tqRgba(contour[s].red(), contour[s].green(), contour[s].blue(), 218);
c3_tmp = qRgba(contour[s].red(), contour[s].green(), contour[s].blue(), 35); c3_tmp = tqRgba(contour[s].red(), contour[s].green(), contour[s].blue(), 35);
} }
else { else {
c2_tmp = qRgba(contour[s].red(), contour[s].green(), contour[s].blue(), 203); c2_tmp = tqRgba(contour[s].red(), contour[s].green(), contour[s].blue(), 203);
QColor whiteColor(qRgba(Qt::white.red(), Qt::white.green(), Qt::white.blue(), 34)); TQColor whiteColor(tqRgba(TQt::white.red(), TQt::white.green(), TQt::white.blue(), 34));
QColor blackColor(qRgba(contour[s].red(), contour[s].green(), contour[s].blue(), 35)); TQColor blackColor(tqRgba(contour[s].red(), contour[s].green(), contour[s].blue(), 35));
c3_tmp = blendColors(whiteColor, blackColor).rgb(); c3_tmp = blendColors(whiteColor, blackColor).rgb();
} }
@ -669,16 +669,16 @@ class ButtonContour
alpha_mode = false; alpha_mode = false;
} }
QPixmap* shadowRound() { TQPixmap* shadowRound() {
return buttonShadowRound[state]; return buttonShadowRound[state];
} }
QPixmap* shadowRectangular() { TQPixmap* shadowRectangular() {
return buttonShadowRectangular[state]; return buttonShadowRectangular[state];
} }
QPixmap* shadowHLines() { TQPixmap* shadowHLines() {
return buttonShadowHlines[state]; return buttonShadowHlines[state];
} }
QPixmap* shadowVLines() { TQPixmap* shadowVLines() {
return buttonShadowVlines[state]; return buttonShadowVlines[state];
} }
@ -690,11 +690,11 @@ class ButtonContour
// for pressed sunken buttons + pressed KMultiTabbarTabs // for pressed sunken buttons + pressed KMultiTabbarTabs
if(drawButtonSunkenShadow && !shadowCreated[state]) { if(drawButtonSunkenShadow && !shadowCreated[state]) {
QColor shadowColor = alphaBlendColors(Qt::black, contour[state], 120); TQColor shadowColor = alphaBlendColors(TQt::black, contour[state], 120);
buttonShadowRectangular[state] = new QPixmap(tintImage(qembed_findImage("btnPressedShadowRectangular"), shadowColor)); buttonShadowRectangular[state] = new TQPixmap(tintImage(qembed_findImage("btnPressedShadowRectangular"), shadowColor));
buttonShadowRound[state] = new QPixmap(tintImage(qembed_findImage("btnPressedShadowRound"), shadowColor)); buttonShadowRound[state] = new TQPixmap(tintImage(qembed_findImage("btnPressedShadowRound"), shadowColor));
buttonShadowHlines[state] = new QPixmap(tintImage(qembed_findImage("btnPressedShadowHLines"), shadowColor)); buttonShadowHlines[state] = new TQPixmap(tintImage(qembed_findImage("btnPressedShadowHLines"), shadowColor));
buttonShadowVlines[state] = new QPixmap(tintImage(qembed_findImage("btnPressedShadowVLines"), shadowColor)); buttonShadowVlines[state] = new TQPixmap(tintImage(qembed_findImage("btnPressedShadowVLines"), shadowColor));
shadowCreated[state] = 1; shadowCreated[state] = 1;
} }
@ -702,9 +702,9 @@ class ButtonContour
if(created[type][state]) if(created[type][state])
return; return;
QImage btnVLines_img; TQImage btnVLines_img;
QImage btnHLines_img; TQImage btnHLines_img;
QImage btnShadow_img; TQImage btnShadow_img;
switch(type) { switch(type) {
case Contour_Simple: // now pressed raised! case Contour_Simple: // now pressed raised!
@ -734,14 +734,14 @@ class ButtonContour
break; break;
} }
btnEdges[type][state] = new QPixmap(btnShadow_img); btnEdges[type][state] = new TQPixmap(btnShadow_img);
btnVLines[type][state] = new QPixmap(btnVLines_img); btnVLines[type][state] = new TQPixmap(btnVLines_img);
btnHLines[type][state] = new QPixmap(btnHLines_img); btnHLines[type][state] = new TQPixmap(btnHLines_img);
created[type][state] = 1; created[type][state] = 1;
} }
}; };
class RubberWidget : public QWidget class RubberWidget : public TQWidget
{ {
public: public:
RubberWidget(Window window); RubberWidget(Window window);
@ -763,7 +763,7 @@ class Rubber
RubberWidget* parent; RubberWidget* parent;
RubberWidget* rubber; RubberWidget* rubber;
QRegion mask; TQRegion mask;
uint color; uint color;
void destroy() { void destroy() {
@ -775,46 +775,46 @@ class Rubber
rubber = 0; rubber = 0;
} }
} }
void create(QRect& r, QRegion& mask); void create(TQRect& r, TQRegion& mask);
void updateMask(QRegion& mask); void updateMask(TQRegion& mask);
}; };
// DominoXXX classes to access protected (or private...) members // DominoXXX classes to access protected (or private...) members
class DominoQGroupBox : public QGroupBox class DominoTQGroupBox : public TQGroupBox
{ {
friend class DominoStyle; friend class DominoStyle;
public: public:
DominoQGroupBox( QWidget* parent=0, const char* name=0 ) DominoTQGroupBox( TQWidget* parent=0, const char* name=0 )
: QGroupBox( parent, name ) {} : TQGroupBox( parent, name ) {}
}; };
class DominoQWidget : public QWidget class DominoTQWidget : public TQWidget
{ {
friend class DominoStyleConfig; friend class DominoStyleConfig;
friend class DominoStyle; friend class DominoStyle;
public: public:
DominoQWidget( QWidget* parent=0, const char* name=0 ) DominoTQWidget( TQWidget* parent=0, const char* name=0 )
: QWidget( parent, name ) {} : TQWidget( parent, name ) {}
}; };
class DominoQFrame : public QFrame class DominoTQFrame : public TQFrame
{ {
friend class DominoStyle; friend class DominoStyle;
public: public:
DominoQFrame( QFrame* parent=0, const char* name=0 ) DominoTQFrame( TQFrame* parent=0, const char* name=0 )
: QFrame( parent, name ) {} : TQFrame( parent, name ) {}
}; };
// QWhatsThis // TQWhatsThis
class DominoQWhatsThat : public QWidget class DominoTQWhatsThat : public TQWidget
{ {
friend class DominoStyle; friend class DominoStyle;
public: public:
DominoQWhatsThat(): QWidget() {} DominoTQWhatsThat(): TQWidget() {}
private: private:
QString text; TQString text;
}; };
class DominoKToolBarButton : public KToolBarButton class DominoKToolBarButton : public KToolBarButton
@ -824,42 +824,42 @@ class DominoKToolBarButton : public KToolBarButton
DominoKToolBarButton(): KToolBarButton() {} DominoKToolBarButton(): KToolBarButton() {}
}; };
class DominoQListBoxItem : public QListBoxItem class DominoTQListBoxItem : public TQListBoxItem
{ {
friend class DominoStyle; friend class DominoStyle;
public: public:
DominoQListBoxItem(): QListBoxItem() {} DominoTQListBoxItem(): TQListBoxItem() {}
}; };
class DominoQTabWidget : public QTabWidget class DominoTQTabWidget : public TQTabWidget
{ {
friend class DominoStyleConfig; friend class DominoStyleConfig;
friend class DominoStyle; friend class DominoStyle;
public: public:
DominoQTabWidget( QWidget* parent=0, const char* name=0 ) DominoTQTabWidget( TQWidget* parent=0, const char* name=0 )
: QTabWidget( parent, name ) {} : TQTabWidget( parent, name ) {}
}; };
class DominoQSpinBox : public QSpinBox class DominoTQSpinBox : public TQSpinBox
{ {
friend class DominoStyle; friend class DominoStyle;
public: public:
DominoQSpinBox( QFrame* parent=0, const char* name=0 ) DominoTQSpinBox( TQFrame* parent=0, const char* name=0 )
: QSpinBox( parent, name ) {} : TQSpinBox( parent, name ) {}
}; };
class DominoQPixmap : public QPixmap class DominoTQPixmap : public TQPixmap
{ {
friend class DominoStyle; friend class DominoStyle;
public: public:
DominoQPixmap( int w, int h, int depth = -1) : QPixmap(w, h, depth) {} DominoTQPixmap( int w, int h, int depth = -1) : TQPixmap(w, h, depth) {}
}; };
class DominoQButton : public QButton class DominoTQButton : public TQButton
{ {
friend class DominoStyle; friend class DominoStyle;
public: public:
DominoQButton(): QButton() {} DominoTQButton(): TQButton() {}
}; };
#endif // __DOMINO_H #endif // __DOMINO_H

File diff suppressed because it is too large Load Diff

@ -18,10 +18,10 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#include <qcolor.h> #include <tqcolor.h>
#include "misc.h" #include "misc.h"
#include <qimage.h> #include <tqimage.h>
#include <qpixmap.h> #include <tqpixmap.h>
#include <endian.h> #include <endian.h>
#if __BYTE_ORDER == __LITTLE_ENDIAN #if __BYTE_ORDER == __LITTLE_ENDIAN
@ -36,33 +36,33 @@
QColor alphaBlendColors(const QColor &bgColor, const QColor &fgColor, const int a) TQColor alphaBlendColors(const TQColor &bgColor, const TQColor &fgColor, const int a)
{ {
QRgb rgb = bgColor.rgb(); TQRgb rgb = bgColor.rgb();
QRgb rgb_b = fgColor.rgb(); TQRgb rgb_b = fgColor.rgb();
uint alpha; uint alpha;
if(a > 255) alpha = 255; if(a > 255) alpha = 255;
else if(a < 0) alpha = 0; else if(a < 0) alpha = 0;
else alpha = a; else alpha = a;
uint inv_alpha = 255 - alpha; uint inv_alpha = 255 - alpha;
return QColor((qRed(rgb_b)*inv_alpha + qRed(rgb)*alpha)>>8, return TQColor((tqRed(rgb_b)*inv_alpha + tqRed(rgb)*alpha)>>8,
(qGreen(rgb_b)*inv_alpha + qGreen(rgb)*alpha)>>8, (tqGreen(rgb_b)*inv_alpha + tqGreen(rgb)*alpha)>>8,
(qBlue(rgb_b)*inv_alpha + qBlue(rgb)*alpha)>>8 ); (tqBlue(rgb_b)*inv_alpha + tqBlue(rgb)*alpha)>>8 );
} }
QColor blendColors(const QColor &bgColor, const QColor &fgColor) TQColor blendColors(const TQColor &bgColor, const TQColor &fgColor)
{ {
uint fg_r = fgColor.red(); uint fg_r = fgColor.red();
uint fg_g = fgColor.green(); uint fg_g = fgColor.green();
uint fg_b = fgColor.blue(); uint fg_b = fgColor.blue();
uint fg_a = qAlpha(fgColor.rgb()); uint fg_a = tqAlpha(fgColor.rgb());
uint bg_r = bgColor.red(); uint bg_r = bgColor.red();
uint bg_g = bgColor.green(); uint bg_g = bgColor.green();
uint bg_b = bgColor.blue(); uint bg_b = bgColor.blue();
uint bg_a = qAlpha(bgColor.rgb()); uint bg_a = tqAlpha(bgColor.rgb());
uint ac = 65025 - (255 - fg_a) * (255 - bg_a); uint ac = 65025 - (255 - fg_a) * (255 - bg_a);
uint res_r = ((255 - fg_a) * bg_r * bg_a + fg_a * fg_r * 255 + 127) / ac; uint res_r = ((255 - fg_a) * bg_r * bg_a + fg_a * fg_r * 255 + 127) / ac;
@ -70,37 +70,37 @@ QColor blendColors(const QColor &bgColor, const QColor &fgColor)
uint res_b = ((255 - fg_a) * bg_b * bg_a + fg_a * fg_b * 255 + 127) / ac; uint res_b = ((255 - fg_a) * bg_b * bg_a + fg_a * fg_b * 255 + 127) / ac;
uint res_a = (ac+127)/255; uint res_a = (ac+127)/255;
return QColor(qRgba(res_r,res_g, res_b, res_a )); return TQColor(tqRgba(res_r,res_g, res_b, res_a ));
} }
QImage tintImage(const QImage &img, const QColor &tintColor) { TQImage tintImage(const TQImage &img, const TQColor &tintColor) {
QImage *result = new QImage(img.width(), img.height(), 32, 0, QImage::IgnoreEndian); TQImage *result = new TQImage(img.width(), img.height(), 32, 0, TQImage::IgnoreEndian);
result->setAlphaBuffer( true ); result->setAlphaBuffer( true );
register uint *data = (unsigned int*) img.bits(); register uint *data = (unsigned int*) img.bits();
register uint *resultData = (unsigned int*) result->bits(); register uint *resultData = (unsigned int*) result->bits();
register uint total = img.width()*img.height(); register uint total = img.width()*img.height();
for ( uint current = 0 ; current < total ; ++current ) { for ( uint current = 0 ; current < total ; ++current ) {
resultData[ current ] = qRgba( tintColor.red(), tintColor.green(), tintColor.blue(), qAlpha( data[ current ] )); resultData[ current ] = tqRgba( tintColor.red(), tintColor.green(), tintColor.blue(), tqAlpha( data[ current ] ));
} }
return *result; return *result;
} }
QImage setImageOpacity(const QImage &img, const uint &p) { TQImage setImageOpacity(const TQImage &img, const uint &p) {
QImage *result = new QImage(img.width(), img.height(), 32, 0, QImage::IgnoreEndian); TQImage *result = new TQImage(img.width(), img.height(), 32, 0, TQImage::IgnoreEndian);
result->setAlphaBuffer( true ); result->setAlphaBuffer( true );
register uint *data = (unsigned int*) img.bits(); register uint *data = (unsigned int*) img.bits();
register uint *resultData = (unsigned int*) result->bits(); register uint *resultData = (unsigned int*) result->bits();
register uint alpha; register uint alpha;
register uint total = img.width()*img.height(); register uint total = img.width()*img.height();
for ( uint current = 0 ; current < total ; ++current ) { for ( uint current = 0 ; current < total ; ++current ) {
alpha = qAlpha( data[ current ] ) * p / 100; alpha = tqAlpha( data[ current ] ) * p / 100;
resultData[ current ] = qRgba( qRed( data[ current ] ), qGreen( data[ current ] ), qBlue( data[ current ] ), alpha ); resultData[ current ] = tqRgba( tqRed( data[ current ] ), tqGreen( data[ current ] ), tqBlue( data[ current ] ), alpha );
} }
return *result; return *result;
} }
bool blend( const QImage & upper, const QImage & lower, QImage & output) bool blend( const TQImage & upper, const TQImage & lower, TQImage & output)
// adopted from kimageeffect::blend - that is not endian safe and cannot handle complex alpha combinations... // adopted from kimageeffect::blend - that is not endian safe and cannot handle complex alpha combinations...
{ {
if if

@ -20,9 +20,9 @@
#ifndef __MISC_H #ifndef __MISC_H
#define __MISC_H #define __MISC_H
QColor blendColors(const QColor &backgroundColor, const QColor &foregroundColor); TQColor blendColors(const TQColor &backgroundColor, const TQColor &foregroundColor);
QColor alphaBlendColors(const QColor &backgroundColor, const QColor &foregroundColor, const int alpha); TQColor alphaBlendColors(const TQColor &backgroundColor, const TQColor &foregroundColor, const int alpha);
QImage tintImage(const QImage &img, const QColor &tintColor); TQImage tintImage(const TQImage &img, const TQColor &tintColor);
QImage setImageOpacity(const QImage &img, const uint &p); TQImage setImageOpacity(const TQImage &img, const uint &p);
bool blend( const QImage & upper, const QImage & lower, QImage & output); bool blend( const TQImage & upper, const TQImage & lower, TQImage & output);
#endif // __MISC_H #endif // __MISC_H

@ -18,9 +18,9 @@
#ifndef _QEMBED_Config #ifndef _QEMBED_Config
#define _QEMBED_Config #define _QEMBED_Config
#include <qimage.h> #include <tqimage.h>
#include <qdict.h> #include <tqdict.h>
static const QRgb tabIndicatorArrow_data[] = { static const TQRgb tabIndicatorArrow_data[] = {
0x0,0x0,0x0,0x10000000,0x4e000000,0x10000000,0x0,0x0,0x0,0x0,0x0,0x18000000,0x5f000000,0x66000000, 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, 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, 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; int width, height, depth;
const unsigned char *data; const unsigned char *data;
int numColors; int numColors;
const QRgb *colorTable; const TQRgb *colorTable;
bool alpha; bool alpha;
const char *name; const char *name;
} config_embed_image_vec[] = { } config_embed_image_vec[] = {
@ -42,20 +42,20 @@ static struct ConfigEmbedImage {
{ 0, 0, 0, 0, 0, 0, 0, 0 } { 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; static TQDict<TQImage> dict;
QImage* img = dict.find( name ); TQImage* img = dict.find( name );
if ( !img ) { if ( !img ) {
for ( int i = 0; config_embed_image_vec[i].data; i++ ) { for ( int i = 0; config_embed_image_vec[i].data; i++ ) {
if ( strcmp(config_embed_image_vec[i].name, name.latin1()) == 0 ) { 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].width,
config_embed_image_vec[i].height, config_embed_image_vec[i].height,
config_embed_image_vec[i].depth, 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, config_embed_image_vec[i].numColors,
QImage::BigEndian ); TQImage::BigEndian );
if ( config_embed_image_vec[i].alpha ) if ( config_embed_image_vec[i].alpha )
img->setAlphaBuffer( TRUE ); img->setAlphaBuffer( TRUE );
dict.insert( name, img ); dict.insert( name, img );
@ -63,7 +63,7 @@ static const QImage& config_findImage( const QString& name )
} }
} }
if ( !img ) { if ( !img ) {
static QImage dummy; static TQImage dummy;
return dummy; return dummy;
} }
} }

File diff suppressed because it is too large Load Diff

@ -31,7 +31,7 @@ DEALINGS IN THE SOFTWARE.
#define DOMINO_CONF_H #define DOMINO_CONF_H
#include <../domino/domino.h> #include <../domino/domino.h>
#include <qlineedit.h> #include <tqlineedit.h>
class DSpinBox; class DSpinBox;
@ -53,175 +53,175 @@ struct DSurface;
class SchemeEntry { class SchemeEntry {
public: public:
SchemeEntry(const QString &_fileName, const QString &_schemeName, const bool &_deletable) SchemeEntry(const TQString &_fileName, const TQString &_schemeName, const bool &_deletable)
: fileName(_fileName), schemeName(_schemeName), deletable(_deletable) { } : fileName(_fileName), schemeName(_schemeName), deletable(_deletable) { }
QString getSchemeName() const { return schemeName; } TQString getSchemeName() const { return schemeName; }
QString getFileName() const { return fileName; } TQString getFileName() const { return fileName; }
bool isDeletable() const { return deletable; } bool isDeletable() const { return deletable; }
private: private:
QString fileName; TQString fileName;
QString schemeName; TQString schemeName;
bool deletable; bool deletable;
}; };
class SchemeList : public QPtrList<SchemeEntry> { class SchemeList : public TQPtrList<SchemeEntry> {
public: public:
SchemeList() SchemeList()
{ setAutoDelete(true); } { setAutoDelete(true); }
}; };
class DominoStyleConfig: public QWidget class DominoStyleConfig: public TQWidget
{ {
Q_OBJECT Q_OBJECT
public: public:
DominoStyleConfig(QWidget* parent); DominoStyleConfig(TQWidget* parent);
~DominoStyleConfig(); ~DominoStyleConfig();
QFrame* frame3; TQFrame* frame3;
QListBox* listBox1; TQListBox* listBox1;
QHeader* header1; TQHeader* header1;
DominoKTabWidget* tabWidget2; DominoKTabWidget* tabWidget2;
QWidget* tab1; TQWidget* tab1;
QGroupBox* groupBox22; TQGroupBox* groupBox22;
QLabel* textLabel1_2; TQLabel* textLabel1_2;
KColorButton* kColorButton27_2; KColorButton* kColorButton27_2;
QGroupBox* groupBox10_2_2_2; TQGroupBox* groupBox10_2_2_2;
QPushButton* pushButton16; TQPushButton* pushButton16;
QGroupBox* groupBox8_2_2_2; TQGroupBox* groupBox8_2_2_2;
QLabel* textLabel4_3_2_2_2; TQLabel* textLabel4_3_2_2_2;
DSpinBox* spinBox2_2_2_2_2; DSpinBox* spinBox2_2_2_2_2;
QLabel* textLabel2_2_2_2_2; TQLabel* textLabel2_2_2_2_2;
KColorButton* kColorButton1_2_2_2_2; KColorButton* kColorButton1_2_2_2_2;
QLabel* textLabel3_3_2_2_2; TQLabel* textLabel3_3_2_2_2;
DSpinBox* spinBox1_2_2_2_2; DSpinBox* spinBox1_2_2_2_2;
QLabel* textLabel1_4_2_2_2; TQLabel* textLabel1_4_2_2_2;
KColorButton* kColorButton2_4_2_2_2; KColorButton* kColorButton2_4_2_2_2;
QGroupBox* groupBox9_2_2_2; TQGroupBox* groupBox9_2_2_2;
QLabel* textLabel4_4_2_2_2; TQLabel* textLabel4_4_2_2_2;
DSpinBox* spinBox2_3_2_2_2; DSpinBox* spinBox2_3_2_2_2;
QLabel* textLabel3_4_2_2_2; TQLabel* textLabel3_4_2_2_2;
DSpinBox* spinBox1_3_2_2_2; DSpinBox* spinBox1_3_2_2_2;
KColorButton* kColorButton1_3_2_2_2; KColorButton* kColorButton1_3_2_2_2;
KColorButton* kColorButton2_5_2_2_2; KColorButton* kColorButton2_5_2_2_2;
QLabel* textLabel1_5_2_2_2; TQLabel* textLabel1_5_2_2_2;
QLabel* textLabel2_3_2_2_2; TQLabel* textLabel2_3_2_2_2;
QLabel* textLabel7_4; TQLabel* textLabel7_4;
QComboBox* comboBox3_4; TQComboBox* comboBox3_4;
QPushButton* pushButton4_4; TQPushButton* pushButton4_4;
QWidget* tab2; TQWidget* tab2;
QGroupBox* groupBox22_2; TQGroupBox* groupBox22_2;
QGroupBox* groupBox8_2_2_2_2; TQGroupBox* groupBox8_2_2_2_2;
QLabel* textLabel4_3_2_2_2_2; TQLabel* textLabel4_3_2_2_2_2;
DSpinBox* spinBox2_2_2_2_2_2; DSpinBox* spinBox2_2_2_2_2_2;
QLabel* textLabel2_2_2_2_2_2; TQLabel* textLabel2_2_2_2_2_2;
KColorButton* kColorButton1_2_2_2_2_2; KColorButton* kColorButton1_2_2_2_2_2;
QLabel* textLabel3_3_2_2_2_2; TQLabel* textLabel3_3_2_2_2_2;
DSpinBox* spinBox1_2_2_2_2_2; DSpinBox* spinBox1_2_2_2_2_2;
QLabel* textLabel1_4_2_2_2_2; TQLabel* textLabel1_4_2_2_2_2;
KColorButton* kColorButton2_4_2_2_2_2; KColorButton* kColorButton2_4_2_2_2_2;
QGroupBox* groupBox9_2_2_2_2; TQGroupBox* groupBox9_2_2_2_2;
QLabel* textLabel4_4_2_2_2_2; TQLabel* textLabel4_4_2_2_2_2;
DSpinBox* spinBox2_3_2_2_2_2; DSpinBox* spinBox2_3_2_2_2_2;
QLabel* textLabel3_4_2_2_2_2; TQLabel* textLabel3_4_2_2_2_2;
DSpinBox* spinBox1_3_2_2_2_2; DSpinBox* spinBox1_3_2_2_2_2;
KColorButton* kColorButton1_3_2_2_2_2; KColorButton* kColorButton1_3_2_2_2_2;
KColorButton* kColorButton2_5_2_2_2_2; KColorButton* kColorButton2_5_2_2_2_2;
QLabel* textLabel1_5_2_2_2_2; TQLabel* textLabel1_5_2_2_2_2;
QLabel* textLabel2_3_2_2_2_2; TQLabel* textLabel2_3_2_2_2_2;
QLabel* textLabel1_2_2; TQLabel* textLabel1_2_2;
KColorButton* kColorButton27_2_2; KColorButton* kColorButton27_2_2;
QGroupBox* groupBox10_2_2_2_2; TQGroupBox* groupBox10_2_2_2_2;
QComboBox* comboBox17; TQComboBox* comboBox17;
DSpinBox* spinBox44; DSpinBox* spinBox44;
QLabel* textLabel7_4_2; TQLabel* textLabel7_4_2;
QComboBox* comboBox3_4_2; TQComboBox* comboBox3_4_2;
QPushButton* pushButton4_4_2; TQPushButton* pushButton4_4_2;
QWidget* tab3; TQWidget* tab3;
QGroupBox* groupBox22_2_2; TQGroupBox* groupBox22_2_2;
QGroupBox* groupBox8_2_2_2_2_4; TQGroupBox* groupBox8_2_2_2_2_4;
QLabel* textLabel4_3_2_2_2_2_4; TQLabel* textLabel4_3_2_2_2_2_4;
DSpinBox* spinBox2_2_2_2_2_2_4; DSpinBox* spinBox2_2_2_2_2_2_4;
QLabel* textLabel2_2_2_2_2_2_4; TQLabel* textLabel2_2_2_2_2_2_4;
KColorButton* kColorButton1_2_2_2_2_2_4; KColorButton* kColorButton1_2_2_2_2_2_4;
QLabel* textLabel3_3_2_2_2_2_4; TQLabel* textLabel3_3_2_2_2_2_4;
DSpinBox* spinBox1_2_2_2_2_2_4; DSpinBox* spinBox1_2_2_2_2_2_4;
QLabel* textLabel1_4_2_2_2_2_4; TQLabel* textLabel1_4_2_2_2_2_4;
KColorButton* kColorButton2_4_2_2_2_2_4; KColorButton* kColorButton2_4_2_2_2_2_4;
QGroupBox* groupBox9_2_2_2_2_4; TQGroupBox* groupBox9_2_2_2_2_4;
QLabel* textLabel4_4_2_2_2_2_4; TQLabel* textLabel4_4_2_2_2_2_4;
DSpinBox* spinBox2_3_2_2_2_2_4; DSpinBox* spinBox2_3_2_2_2_2_4;
QLabel* textLabel3_4_2_2_2_2_4; TQLabel* textLabel3_4_2_2_2_2_4;
DSpinBox* spinBox1_3_2_2_2_2_4; DSpinBox* spinBox1_3_2_2_2_2_4;
KColorButton* kColorButton1_3_2_2_2_2_4; KColorButton* kColorButton1_3_2_2_2_2_4;
KColorButton* kColorButton2_5_2_2_2_2_4; KColorButton* kColorButton2_5_2_2_2_2_4;
QLabel* textLabel1_5_2_2_2_2_4; TQLabel* textLabel1_5_2_2_2_2_4;
QLabel* textLabel2_3_2_2_2_2_4; TQLabel* textLabel2_3_2_2_2_2_4;
QGroupBox* groupBox10_2_2_2_2_4; TQGroupBox* groupBox10_2_2_2_2_4;
QScrollBar* scrollBar5; TQScrollBar* scrollBar5;
QScrollBar* scrollBar6; TQScrollBar* scrollBar6;
KColorButton* kColorButton27_2_2_2; KColorButton* kColorButton27_2_2_2;
QLabel* textLabel1_2_2_2; TQLabel* textLabel1_2_2_2;
QComboBox* comboBox7; TQComboBox* comboBox7;
QLabel* textLabel7_4_2_3; TQLabel* textLabel7_4_2_3;
QComboBox* comboBox3_4_2_3; TQComboBox* comboBox3_4_2_3;
QPushButton* pushButton4_4_2_3; TQPushButton* pushButton4_4_2_3;
QWidget* tab4; TQWidget* tab4;
QGroupBox* groupBox22_2_2_3; TQGroupBox* groupBox22_2_2_3;
KColorButton* kColorButton27_2_2_2_2; KColorButton* kColorButton27_2_2_2_2;
QLabel* textLabel1_2_2_2_2; TQLabel* textLabel1_2_2_2_2;
QGroupBox* groupBox10_2_2_2_2_4_3; TQGroupBox* groupBox10_2_2_2_2_4_3;
QGroupBox* groupBox8_2_2_2_2_4_3; TQGroupBox* groupBox8_2_2_2_2_4_3;
QLabel* textLabel4_3_2_2_2_2_4_3; TQLabel* textLabel4_3_2_2_2_2_4_3;
DSpinBox* spinBox2_2_2_2_2_2_4_3; DSpinBox* spinBox2_2_2_2_2_2_4_3;
QLabel* textLabel2_2_2_2_2_2_4_3; TQLabel* textLabel2_2_2_2_2_2_4_3;
KColorButton* kColorButton1_2_2_2_2_2_4_3; KColorButton* kColorButton1_2_2_2_2_2_4_3;
QLabel* textLabel3_3_2_2_2_2_4_3; TQLabel* textLabel3_3_2_2_2_2_4_3;
DSpinBox* spinBox1_2_2_2_2_2_4_3; DSpinBox* spinBox1_2_2_2_2_2_4_3;
QLabel* textLabel1_4_2_2_2_2_4_3; TQLabel* textLabel1_4_2_2_2_2_4_3;
KColorButton* kColorButton2_4_2_2_2_2_4_3; KColorButton* kColorButton2_4_2_2_2_2_4_3;
QGroupBox* groupBox9_2_2_2_2_4_3; TQGroupBox* groupBox9_2_2_2_2_4_3;
QLabel* textLabel4_4_2_2_2_2_4_3; TQLabel* textLabel4_4_2_2_2_2_4_3;
DSpinBox* spinBox2_3_2_2_2_2_4_3; DSpinBox* spinBox2_3_2_2_2_2_4_3;
QLabel* textLabel3_4_2_2_2_2_4_3; TQLabel* textLabel3_4_2_2_2_2_4_3;
DSpinBox* spinBox1_3_2_2_2_2_4_3; DSpinBox* spinBox1_3_2_2_2_2_4_3;
KColorButton* kColorButton1_3_2_2_2_2_4_3; KColorButton* kColorButton1_3_2_2_2_2_4_3;
KColorButton* kColorButton2_5_2_2_2_2_4_3; KColorButton* kColorButton2_5_2_2_2_2_4_3;
QLabel* textLabel1_5_2_2_2_2_4_3; TQLabel* textLabel1_5_2_2_2_2_4_3;
QLabel* textLabel2_3_2_2_2_2_4_3; TQLabel* textLabel2_3_2_2_2_2_4_3;
QLabel* textLabel7_4_2_3_3; TQLabel* textLabel7_4_2_3_3;
QComboBox* comboBox3_4_2_3_3; TQComboBox* comboBox3_4_2_3_3;
QPushButton* pushButton4_4_2_3_3; TQPushButton* pushButton4_4_2_3_3;
QWidget* tab5; TQWidget* tab5;
QGroupBox* groupBox22_2_2_3_2; TQGroupBox* groupBox22_2_2_3_2;
QGroupBox* groupBox8_2_2_2_2_4_3_2; TQGroupBox* groupBox8_2_2_2_2_4_3_2;
QLabel* textLabel4_3_2_2_2_2_4_3_2; TQLabel* textLabel4_3_2_2_2_2_4_3_2;
DSpinBox* spinBox2_2_2_2_2_2_4_3_2; DSpinBox* spinBox2_2_2_2_2_2_4_3_2;
QLabel* textLabel2_2_2_2_2_2_4_3_2; TQLabel* textLabel2_2_2_2_2_2_4_3_2;
KColorButton* kColorButton1_2_2_2_2_2_4_3_2; KColorButton* kColorButton1_2_2_2_2_2_4_3_2;
QLabel* textLabel3_3_2_2_2_2_4_3_2; TQLabel* textLabel3_3_2_2_2_2_4_3_2;
DSpinBox* spinBox1_2_2_2_2_2_4_3_2; DSpinBox* spinBox1_2_2_2_2_2_4_3_2;
QLabel* textLabel1_4_2_2_2_2_4_3_2; TQLabel* textLabel1_4_2_2_2_2_4_3_2;
KColorButton* kColorButton2_4_2_2_2_2_4_3_2; KColorButton* kColorButton2_4_2_2_2_2_4_3_2;
KColorButton* kColorButton27_2_2_2_3; KColorButton* kColorButton27_2_2_2_3;
QLabel* textLabel1_2_2_2_3; TQLabel* textLabel1_2_2_2_3;
QGroupBox* groupBox10_2_2_2_2_4_3_2; TQGroupBox* groupBox10_2_2_2_2_4_3_2;
PreviewRadioButton* radioButton2; PreviewRadioButton* radioButton2;
PreviewCheckBox* checkBox2; PreviewCheckBox* checkBox2;
QGroupBox* groupBox9_2_2_2_2_4_3_2; TQGroupBox* groupBox9_2_2_2_2_4_3_2;
QLabel* textLabel4_4_2_2_2_2_4_3_2; TQLabel* textLabel4_4_2_2_2_2_4_3_2;
DSpinBox* spinBox2_3_2_2_2_2_4_3_2; DSpinBox* spinBox2_3_2_2_2_2_4_3_2;
QLabel* textLabel3_4_2_2_2_2_4_3_2; TQLabel* textLabel3_4_2_2_2_2_4_3_2;
DSpinBox* spinBox1_3_2_2_2_2_4_3_2; DSpinBox* spinBox1_3_2_2_2_2_4_3_2;
KColorButton* kColorButton1_3_2_2_2_2_4_3_2; KColorButton* kColorButton1_3_2_2_2_2_4_3_2;
KColorButton* kColorButton2_5_2_2_2_2_4_3_2; KColorButton* kColorButton2_5_2_2_2_2_4_3_2;
QLabel* textLabel1_5_2_2_2_2_4_3_2; TQLabel* textLabel1_5_2_2_2_2_4_3_2;
QLabel* textLabel2_3_2_2_2_2_4_3_2; TQLabel* textLabel2_3_2_2_2_2_4_3_2;
QLabel* textLabel7_4_2_3_3_2; TQLabel* textLabel7_4_2_3_3_2;
QComboBox* comboBox3_4_2_3_3_2; TQComboBox* comboBox3_4_2_3_3_2;
QPushButton* pushButton4_4_2_3_3_2; TQPushButton* pushButton4_4_2_3_3_2;
// KTabWidget *prevTopTabWidget; // KTabWidget *prevTopTabWidget;
// KTabWidget *prevBottomTabWidget; // KTabWidget *prevBottomTabWidget;
TabWidgetIndicator* prevBottomPage1; TabWidgetIndicator* prevBottomPage1;
@ -232,51 +232,51 @@ public:
TabWidgetIndicator* prevTopPage3; TabWidgetIndicator* prevTopPage3;
PreviewTabBar* tabBarBottom; PreviewTabBar* tabBarBottom;
PreviewTabBar* tabBarTop; PreviewTabBar* tabBarTop;
QHBoxLayout* tabComboLayout; TQHBoxLayout* tabComboLayout;
// tab 3 - load/save // tab 3 - load/save
// KTabWidget* tabWidget3; // KTabWidget* tabWidget3;
QWidget* tab; TQWidget* tab;
QGroupBox* groupBox_ls; TQGroupBox* groupBox_ls;
QListView* listView_ls; TQListView* listView_ls;
QPushButton* loadButton; TQPushButton* loadButton;
QPushButton* saveButton; TQPushButton* saveButton;
QPushButton* deleteButton; TQPushButton* deleteButton;
QPushButton* importButton; TQPushButton* importButton;
QWidget* tab_2; TQWidget* tab_2;
// focusIndicator // focusIndicator
QGroupBox* indicateFocusFrame; TQGroupBox* indicateFocusFrame;
QCheckBox* indicateFocus; TQCheckBox* indicateFocus;
QLabel* labelIndicatorColor; TQLabel* labelIndicatorColor;
QLabel* labelIndicatorBtnColor; TQLabel* labelIndicatorBtnColor;
IndicatorPrevWidget* indicatorPrevWidget; IndicatorPrevWidget* indicatorPrevWidget;
IndicatorPrevButton* indicatorPrevButton; IndicatorPrevButton* indicatorPrevButton;
QLabel* labelIndicatorColorOpacity; TQLabel* labelIndicatorColorOpacity;
QLabel* labelIndicatorBtnColorOpacity; TQLabel* labelIndicatorBtnColorOpacity;
QGroupBox* gb1; TQGroupBox* gb1;
QGroupBox* gb2; TQGroupBox* gb2;
QGroupBox* gb3; TQGroupBox* gb3;
// text effect // text effect
QGroupBox* textEffectFrame; TQGroupBox* textEffectFrame;
QLabel* labelTextEffectColor; TQLabel* labelTextEffectColor;
QLabel* labelTextEffectButtonColor; TQLabel* labelTextEffectButtonColor;
TextEffectPrevWidget* textEffectPrevWidget; TextEffectPrevWidget* textEffectPrevWidget;
TextEffectPrevButton* textEffectPrevButton; TextEffectPrevButton* textEffectPrevButton;
QLabel* labelTextEffectColorOpacity; TQLabel* labelTextEffectColorOpacity;
QLabel* labelTextEffectButtonColorOpacity; TQLabel* labelTextEffectButtonColorOpacity;
QLabel* labelTextEffectPos; TQLabel* labelTextEffectPos;
QLabel* labelTextEffectButtonPos; TQLabel* labelTextEffectButtonPos;
QCheckBox* drawButtonSunkenShadow; TQCheckBox* drawButtonSunkenShadow;
QLabel* buttonTypLabel; TQLabel* buttonTypLabel;
QLabel* labelButtonContourColors; TQLabel* labelButtonContourColors;
QPushButton* buttonContourPrevButton; TQPushButton* buttonContourPrevButton;
QLabel* labelPopupMenuOptions; TQLabel* labelPopupMenuOptions;
signals: signals:
void changed(bool); void changed(bool);
@ -290,54 +290,54 @@ protected slots:
void updateChanged(); void updateChanged();
virtual void languageChange(); virtual void languageChange();
void userLoadScrollBarConfig(); void userLoadScrollBarConfig();
void testCanDecode(const QDragMoveEvent * e, bool & accept); void testCanDecode(const TQDragMoveEvent * e, bool & accept);
private slots: private slots:
void btnPv1(const QColor&); void btnPv1(const TQColor&);
void btnPv2(const QColor&); void btnPv2(const TQColor&);
void btnPv3(const QColor&); void btnPv3(const TQColor&);
void btnPv4(const QColor&); void btnPv4(const TQColor&);
void btnPv5(const QColor&); void btnPv5(const TQColor&);
void btnPv6(int); void btnPv6(int);
void btnPv7(int); void btnPv7(int);
void btnPv8(int); void btnPv8(int);
void btnPv9(int); void btnPv9(int);
void hPv1(const QColor&); void hPv1(const TQColor&);
void hPv2(const QColor&); void hPv2(const TQColor&);
void hPv3(const QColor&); void hPv3(const TQColor&);
void hPv4(const QColor&); void hPv4(const TQColor&);
void hPv5(const QColor&); void hPv5(const TQColor&);
void hPv6(int); void hPv6(int);
void hPv7(int); void hPv7(int);
void hPv8(int); void hPv8(int);
void hPv9(int); void hPv9(int);
void chbPv1(const QColor&); void chbPv1(const TQColor&);
void chbPv2(const QColor&); void chbPv2(const TQColor&);
void chbPv3(const QColor&); void chbPv3(const TQColor&);
void chbPv4(const QColor&); void chbPv4(const TQColor&);
void chbPv5(const QColor&); void chbPv5(const TQColor&);
void chbPv6(int); void chbPv6(int);
void chbPv7(int); void chbPv7(int);
void chbPv8(int); void chbPv8(int);
void chbPv9(int); void chbPv9(int);
void sbPv1(const QColor&); void sbPv1(const TQColor&);
void sbPv2(const QColor&); void sbPv2(const TQColor&);
void sbPv3(const QColor&); void sbPv3(const TQColor&);
void sbPv4(const QColor&); void sbPv4(const TQColor&);
void sbPv5(const QColor&); void sbPv5(const TQColor&);
void sbPv6(int); void sbPv6(int);
void sbPv7(int); void sbPv7(int);
void sbPv8(int); void sbPv8(int);
void sbPv9(int); void sbPv9(int);
void tabPv1(const QColor&col); void tabPv1(const TQColor&col);
void tabPv2(const QColor&col); void tabPv2(const TQColor&col);
void tabPv3(const QColor&col); void tabPv3(const TQColor&col);
void tabPv4(const QColor&col); void tabPv4(const TQColor&col);
void tabPv5(const QColor&col); void tabPv5(const TQColor&col);
void tabPv6(int); void tabPv6(int);
void tabPv7(int); void tabPv7(int);
void tabPv8(int); void tabPv8(int);
@ -348,7 +348,7 @@ private slots:
void slotSave(); void slotSave();
void slotDelete(); void slotDelete();
void slotImport(); void slotImport();
void slotDelPerm(QListViewItem*); void slotDelPerm(TQListViewItem*);
void scrollBar1GradientChanged(); void scrollBar1GradientChanged();
void scrollBar2GradientChanged(); void scrollBar2GradientChanged();
void scrollBarNumGradientsChanged(int g=0); void scrollBarNumGradientsChanged(int g=0);
@ -390,43 +390,43 @@ protected:
bool hasCompositeExtension; bool hasCompositeExtension;
QVBoxLayout* frame3Layout; TQVBoxLayout* frame3Layout;
QVBoxLayout* layout1; TQVBoxLayout* layout1;
QGroupBox* grFrame; TQGroupBox* grFrame;
QLabel* grValueLabel; TQLabel* grValueLabel;
//We store settings directly in widgets to //We store settings directly in widgets to
//avoid the hassle of sync'ing things //avoid the hassle of sync'ing things
QCheckBox* animateProgressBar; TQCheckBox* animateProgressBar;
QCheckBox* drawTriangularExpander; TQCheckBox* drawTriangularExpander;
QCheckBox* customCheckMarkColor; TQCheckBox* customCheckMarkColor;
KColorButton* checkMarkColor; KColorButton* checkMarkColor;
QCheckBox* customToolTipColor; TQCheckBox* customToolTipColor;
KColorButton* toolTipColor; KColorButton* toolTipColor;
QCheckBox* highlightToolBtnIcons; TQCheckBox* highlightToolBtnIcons;
QCheckBox* toolBtnAsBtn; TQCheckBox* toolBtnAsBtn;
QLabel* labelRubberOptions; TQLabel* labelRubberOptions;
QRadioButton* argbRubber; TQRadioButton* argbRubber;
QRadioButton* lineRubber; TQRadioButton* lineRubber;
QRadioButton* distRubber; TQRadioButton* distRubber;
int rubberBandType; int rubberBandType;
QLabel* labelArgbRubberColor; TQLabel* labelArgbRubberColor;
QLabel* labelArgbRubberOpacity; TQLabel* labelArgbRubberOpacity;
KColorButton* argbRubberColor; KColorButton* argbRubberColor;
DSpinBox* argbRubberOpacity; DSpinBox* argbRubberOpacity;
QCheckBox* smoothScrolling; TQCheckBox* smoothScrolling;
DSpinBox* buttonHeightAdjustment; DSpinBox* buttonHeightAdjustment;
QLabel* buttonHeightAdjustmentLabel; TQLabel* buttonHeightAdjustmentLabel;
QCheckBox* customPopupMenuColor; TQCheckBox* customPopupMenuColor;
KColorButton* popupMenuColor; KColorButton* popupMenuColor;
QCheckBox* centerTabs; TQCheckBox* centerTabs;
QCheckBox* customSelMenuItemColor; TQCheckBox* customSelMenuItemColor;
KColorButton* selMenuItemColor; KColorButton* selMenuItemColor;
QCheckBox* drawPopupMenuGradient; TQCheckBox* drawPopupMenuGradient;
QCheckBox* indentPopupMenuItems; TQCheckBox* indentPopupMenuItems;
//Original settings, for accurate dirtiness tracking //Original settings, for accurate dirtiness tracking
bool origAnimProgressBar; bool origAnimProgressBar;
@ -435,40 +435,40 @@ protected:
bool origHighlightToolBtnIcons; bool origHighlightToolBtnIcons;
bool origCustomCheckMarkColor; bool origCustomCheckMarkColor;
QColor origCheckMarkColor; TQColor origCheckMarkColor;
bool origTintGroupBoxBackground; bool origTintGroupBoxBackground;
int origGroupBoxBrightness; int origGroupBoxBrightness;
bool origCustomGroupBoxBackgroundColor; bool origCustomGroupBoxBackgroundColor;
QColor origGroupBoxBackgroundColor; TQColor origGroupBoxBackgroundColor;
bool origCustomToolTipColor; bool origCustomToolTipColor;
QColor origToolTipColor; TQColor origToolTipColor;
int origRubberBandType; int origRubberBandType;
QColor origArgbRubberColor; TQColor origArgbRubberColor;
int origArgbRubberOpacity; int origArgbRubberOpacity;
bool origSmoothScrolling; bool origSmoothScrolling;
int origButtonHeightAdjustment; int origButtonHeightAdjustment;
int origButtonContourType; int origButtonContourType;
bool origCustomPopupMenuColor; bool origCustomPopupMenuColor;
QColor origPopupMenuColor; TQColor origPopupMenuColor;
bool origCustomSelMenuItemColor; bool origCustomSelMenuItemColor;
QColor origSelMenuItemColor; TQColor origSelMenuItemColor;
bool origDrawPopupMenuGradient; bool origDrawPopupMenuGradient;
bool origIndentPopupMenuItems; bool origIndentPopupMenuItems;
bool origCenterTabs; bool origCenterTabs;
bool origIndicateFocus; bool origIndicateFocus;
QColor origIndicatorColor; TQColor origIndicatorColor;
QColor origIndicatorBtnColor; TQColor origIndicatorBtnColor;
int origIndicatorOpacity; int origIndicatorOpacity;
int origIndicatorBtnOpacity; int origIndicatorBtnOpacity;
bool origDrawUnderline; bool origDrawUnderline;
int origTextEffectMode; int origTextEffectMode;
QColor origTextEffectColor; TQColor origTextEffectColor;
QColor origTextEffectButtonColor; TQColor origTextEffectButtonColor;
bool origDrawTextEffect; bool origDrawTextEffect;
int origTextEffectOpacity; int origTextEffectOpacity;
int origTextEffectButtonOpacity; int origTextEffectButtonOpacity;
@ -477,153 +477,153 @@ protected:
bool origDrawButtonSunkenShadow; bool origDrawButtonSunkenShadow;
QColor origButtonContourColor; TQColor origButtonContourColor;
QColor origButtonDefaultButtonContourColor; TQColor origButtonDefaultButtonContourColor;
QColor origButtonMouseOverContourColor; TQColor origButtonMouseOverContourColor;
QColor origButtonPressedContourColor; TQColor origButtonPressedContourColor;
int konqTabBarContrast; int konqTabBarContrast;
QString currentConfig; TQString currentConfig;
QLabel* currentConfigLabel; TQLabel* currentConfigLabel;
SchemeList* schemeList; SchemeList* schemeList;
bool configLoaded; bool configLoaded;
DSurface* currentScrollBarSurface; DSurface* currentScrollBarSurface;
DSurface* currentTabSurface; DSurface* currentTabSurface;
void loadConfig(const QString &name); void loadConfig(const TQString &name);
void saveConfig(const QString &fileName, const QString &schemeName); void saveConfig(const TQString &fileName, const TQString &schemeName);
void getConfigSchemes(); void getConfigSchemes();
//////////////////////////////////////////////// form: //////////////////////////////////////////////// form:
//protected: //protected:
QVBoxLayout* tab1Layout; TQVBoxLayout* tab1Layout;
QGridLayout* groupBox22Layout; TQGridLayout* groupBox22Layout;
QSpacerItem* spacer6; TQSpacerItem* spacer6;
QSpacerItem* spacer3; TQSpacerItem* spacer3;
QSpacerItem* spacer43; TQSpacerItem* spacer43;
QSpacerItem* spacer46; TQSpacerItem* spacer46;
QSpacerItem* spacer2; TQSpacerItem* spacer2;
QVBoxLayout* groupBox10_2_2_2Layout; TQVBoxLayout* groupBox10_2_2_2Layout;
QGridLayout* groupBox8_2_2_2Layout; TQGridLayout* groupBox8_2_2_2Layout;
QGridLayout* groupBox9_2_2_2Layout; TQGridLayout* groupBox9_2_2_2Layout;
QHBoxLayout* layout9; TQHBoxLayout* layout9;
QSpacerItem* spacer7; TQSpacerItem* spacer7;
QVBoxLayout* tab2Layout; TQVBoxLayout* tab2Layout;
QGridLayout* groupBox22_2Layout; TQGridLayout* groupBox22_2Layout;
QSpacerItem* spacer46_2; TQSpacerItem* spacer46_2;
QSpacerItem* spacer43_2; TQSpacerItem* spacer43_2;
QSpacerItem* spacer6_2; TQSpacerItem* spacer6_2;
QSpacerItem* spacer2_2; TQSpacerItem* spacer2_2;
QSpacerItem* spacer3_2; TQSpacerItem* spacer3_2;
QGridLayout* groupBox8_2_2_2_2Layout; TQGridLayout* groupBox8_2_2_2_2Layout;
QGridLayout* groupBox9_2_2_2_2Layout; TQGridLayout* groupBox9_2_2_2_2Layout;
QVBoxLayout* groupBox10_2_2_2_2Layout; TQVBoxLayout* groupBox10_2_2_2_2Layout;
QHBoxLayout* layout9_2; TQHBoxLayout* layout9_2;
QSpacerItem* spacer7_2; TQSpacerItem* spacer7_2;
QVBoxLayout* tab3Layout; TQVBoxLayout* tab3Layout;
QGridLayout* groupBox22_2_2Layout; TQGridLayout* groupBox22_2_2Layout;
QSpacerItem* spacer46_2_2; TQSpacerItem* spacer46_2_2;
QSpacerItem* spacer43_2_2; TQSpacerItem* spacer43_2_2;
QSpacerItem* spacer3_2_2; TQSpacerItem* spacer3_2_2;
QSpacerItem* spacer6_2_2; TQSpacerItem* spacer6_2_2;
QSpacerItem* spacer2_2_2; TQSpacerItem* spacer2_2_2;
QGridLayout* groupBox8_2_2_2_2_4Layout; TQGridLayout* groupBox8_2_2_2_2_4Layout;
QGridLayout* groupBox9_2_2_2_2_4Layout; TQGridLayout* groupBox9_2_2_2_2_4Layout;
QGridLayout* groupBox10_2_2_2_2_4Layout; TQGridLayout* groupBox10_2_2_2_2_4Layout;
QSpacerItem* spacer35; TQSpacerItem* spacer35;
QHBoxLayout* layout6; TQHBoxLayout* layout6;
QSpacerItem* spacer7_2_3; TQSpacerItem* spacer7_2_3;
QVBoxLayout* tab4Layout; TQVBoxLayout* tab4Layout;
QGridLayout* groupBox22_2_2_3Layout; TQGridLayout* groupBox22_2_2_3Layout;
QSpacerItem* spacer3_2_2_2; TQSpacerItem* spacer3_2_2_2;
QSpacerItem* spacer6_2_2_2; TQSpacerItem* spacer6_2_2_2;
QSpacerItem* spacer2_2_2_2; TQSpacerItem* spacer2_2_2_2;
QSpacerItem* spacer46_2_2_2; TQSpacerItem* spacer46_2_2_2;
QSpacerItem* spacer43_2_2_2; TQSpacerItem* spacer43_2_2_2;
QVBoxLayout* groupBox10_2_2_2_2_4_3Layout; TQVBoxLayout* groupBox10_2_2_2_2_4_3Layout;
QGridLayout* groupBox8_2_2_2_2_4_3Layout; TQGridLayout* groupBox8_2_2_2_2_4_3Layout;
QGridLayout* groupBox9_2_2_2_2_4_3Layout; TQGridLayout* groupBox9_2_2_2_2_4_3Layout;
QHBoxLayout* layout21; TQHBoxLayout* layout21;
QSpacerItem* spacer7_2_3_3; TQSpacerItem* spacer7_2_3_3;
QVBoxLayout* tab5Layout; TQVBoxLayout* tab5Layout;
QGridLayout* groupBox22_2_2_3_2Layout; TQGridLayout* groupBox22_2_2_3_2Layout;
QSpacerItem* spacer3_2_2_3; TQSpacerItem* spacer3_2_2_3;
QSpacerItem* spacer6_2_2_3; TQSpacerItem* spacer6_2_2_3;
QSpacerItem* spacer2_2_2_3; TQSpacerItem* spacer2_2_2_3;
QSpacerItem* spacer46_2_2_3; TQSpacerItem* spacer46_2_2_3;
QSpacerItem* spacer43_2_2_2_2; TQSpacerItem* spacer43_2_2_2_2;
QGridLayout* groupBox8_2_2_2_2_4_3_2Layout; TQGridLayout* groupBox8_2_2_2_2_4_3_2Layout;
QVBoxLayout* groupBox10_2_2_2_2_4_3_2Layout; TQVBoxLayout* groupBox10_2_2_2_2_4_3_2Layout;
QGridLayout* groupBox9_2_2_2_2_4_3_2Layout; TQGridLayout* groupBox9_2_2_2_2_4_3_2Layout;
QHBoxLayout* layout22; TQHBoxLayout* layout22;
QSpacerItem* spacer7_2_3_3_2; TQSpacerItem* spacer7_2_3_3_2;
// tab 3 - load/save // tab 3 - load/save
QVBoxLayout* tab_lsLayout; TQVBoxLayout* tab_lsLayout;
QHBoxLayout* groupBox_lsLayout; TQHBoxLayout* groupBox_lsLayout;
QVBoxLayout* layout8; TQVBoxLayout* layout8;
QSpacerItem* spacer32; TQSpacerItem* spacer32;
}; };
class DSpinBox : public QSpinBox class DSpinBox : public TQSpinBox
{ {
public: public:
DSpinBox(QWidget *parent, const char* name=0): QSpinBox(parent, name){}; DSpinBox(TQWidget *parent, const char* name=0): TQSpinBox(parent, name){};
DSpinBox( int minValue, int maxValue, int step = 1, QWidget* parent=0, const char* name=0 ): QSpinBox(minValue, maxValue, step, parent, name){}; DSpinBox( int minValue, int maxValue, int step = 1, TQWidget* parent=0, const char* name=0 ): TQSpinBox(minValue, maxValue, step, parent, name){};
void setAlignRight() { void setAlignRight() {
this->editor()->setAlignment(Qt::AlignRight); this->editor()->setAlignment(TQt::AlignRight);
} }
QSpinWidget* spinWidget() { TQSpinWidget* spinWidget() {
return static_cast<QSpinWidget*>(editor()->parentWidget()); return static_cast<TQSpinWidget*>(editor()->parentWidget());
} }
}; };
class PreviewCheckBox : public QCheckBox class PreviewCheckBox : public TQCheckBox
{ {
public: public:
PreviewCheckBox(QWidget *parent, const char * name = 0 ): QCheckBox( parent, name){}; PreviewCheckBox(TQWidget *parent, const char * name = 0 ): TQCheckBox( parent, name){};
void paintEvent(QPaintEvent *event); void paintEvent(TQPaintEvent *event);
void drawButton(QPainter *paint); void drawButton(TQPainter *paint);
}; };
class PreviewRadioButton : public QRadioButton class PreviewRadioButton : public TQRadioButton
{ {
public: public:
PreviewRadioButton(QWidget *parent, const char * name = 0 ): QRadioButton( parent, name){}; PreviewRadioButton(TQWidget *parent, const char * name = 0 ): TQRadioButton( parent, name){};
void paintEvent(QPaintEvent *event); void paintEvent(TQPaintEvent *event);
void drawButton(QPainter *paint); void drawButton(TQPainter *paint);
}; };
class PreviewTabBar : public QTabBar class PreviewTabBar : public TQTabBar
{ {
public: public:
PreviewTabBar(QWidget *parent, const char * name = 0 ): QTabBar( parent, name){}; PreviewTabBar(TQWidget *parent, const char * name = 0 ): TQTabBar( parent, name){};
void mousePressEvent(QMouseEvent* event); void mousePressEvent(TQMouseEvent* event);
void paintEvent(QPaintEvent *event); void paintEvent(TQPaintEvent *event);
}; };
class IndicatorPrevButton : public QPushButton class IndicatorPrevButton : public TQPushButton
{ {
public: public:
IndicatorPrevButton(QWidget *parent, const char * name = 0 ): QPushButton( parent, name){}; IndicatorPrevButton(TQWidget *parent, const char * name = 0 ): TQPushButton( parent, name){};
void paintEvent(QPaintEvent *event); void paintEvent(TQPaintEvent *event);
}; };
class IndicatorPrevWidget : public QPushButton /*QWidget*/ class IndicatorPrevWidget : public TQPushButton /*TQWidget*/
{ {
public: public:
IndicatorPrevWidget(QWidget *parent, const char * name = 0) : QPushButton( parent, name){}; IndicatorPrevWidget(TQWidget *parent, const char * name = 0) : TQPushButton( parent, name){};
void paintEvent(QPaintEvent *event); void paintEvent(TQPaintEvent *event);
}; };
class DominoKTabWidget : public KTabWidget class DominoKTabWidget : public KTabWidget
@ -631,7 +631,7 @@ class DominoKTabWidget : public KTabWidget
Q_OBJECT Q_OBJECT
friend class DominoStyleConfig; friend class DominoStyleConfig;
public: public:
DominoKTabWidget( QWidget* parent=0, const char* name=0 ) : KTabWidget( parent, name ) {} DominoKTabWidget( TQWidget* parent=0, const char* name=0 ) : KTabWidget( parent, name ) {}
protected slots: protected slots:
void wheelDelta( int ) {}; void wheelDelta( int ) {};
}; };
@ -641,29 +641,29 @@ class DominoKTabPrevWidget : public KTabWidget
friend class DominoStyleConfig; friend class DominoStyleConfig;
friend class TabWidgetIndicator; friend class TabWidgetIndicator;
public: public:
DominoKTabPrevWidget( QWidget* parent=0, const char* name=0 ) : KTabWidget( parent, name ) {} DominoKTabPrevWidget( TQWidget* parent=0, const char* name=0 ) : KTabWidget( parent, name ) {}
}; };
class TabWidgetIndicator : public QWidget class TabWidgetIndicator : public TQWidget
{ {
friend class DominoStyleConfig; friend class DominoStyleConfig;
public: public:
TabWidgetIndicator( QWidget* parent=0, const char* name=0 ) : QWidget( parent, name ) {} TabWidgetIndicator( TQWidget* parent=0, const char* name=0 ) : TQWidget( parent, name ) {}
void paintEvent(QPaintEvent *event); void paintEvent(TQPaintEvent *event);
}; };
class TextEffectPrevButton : public QPushButton class TextEffectPrevButton : public TQPushButton
{ {
public: public:
TextEffectPrevButton(QWidget *parent, const char * name = 0 ): QPushButton( parent, name){}; TextEffectPrevButton(TQWidget *parent, const char * name = 0 ): TQPushButton( parent, name){};
void paintEvent(QPaintEvent *event); void paintEvent(TQPaintEvent *event);
}; };
class TextEffectPrevWidget : public QWidget class TextEffectPrevWidget : public TQWidget
{ {
public: public:
TextEffectPrevWidget(QWidget *parent, const char * name = 0, uint flags = 0 ): QWidget( parent, name, flags){}; TextEffectPrevWidget(TQWidget *parent, const char * name = 0, uint flags = 0 ): TQWidget( parent, name, flags){};
void paintEvent(QPaintEvent *event); void paintEvent(TQPaintEvent *event);
}; };
class PreviewStyle : public DominoStyle class PreviewStyle : public DominoStyle
@ -687,40 +687,40 @@ DSurface origCheckItemSurface;
// global // global
bool initialized; bool initialized;
QComboBox* indicatorModeCombo; TQComboBox* indicatorModeCombo;
KColorButton* indicatorBtnColor; KColorButton* indicatorBtnColor;
KColorButton* indicatorColor; KColorButton* indicatorColor;
QString indicatorPreviewText; TQString indicatorPreviewText;
QSpinBox* indicatorOpacity; TQSpinBox* indicatorOpacity;
QSpinBox* indicatorBtnOpacity; TQSpinBox* indicatorBtnOpacity;
QCheckBox* tintGroupBoxBackground; TQCheckBox* tintGroupBoxBackground;
QCheckBox* customGroupBoxBackgroundColor; TQCheckBox* customGroupBoxBackgroundColor;
KColorButton* groupBoxBackgroundColor; KColorButton* groupBoxBackgroundColor;
QSlider* grSlider; TQSlider* grSlider;
// text effect // text effect
QComboBox* textEffectModeCombo; TQComboBox* textEffectModeCombo;
QCheckBox* drawTextEffect; TQCheckBox* drawTextEffect;
KColorButton* textEffectColor; KColorButton* textEffectColor;
KColorButton* textEffectButtonColor; KColorButton* textEffectButtonColor;
QString textEffectPreviewText; TQString textEffectPreviewText;
QSpinBox* textEffectOpacity; TQSpinBox* textEffectOpacity;
QSpinBox* textEffectButtonOpacity; TQSpinBox* textEffectButtonOpacity;
QComboBox* textEffectPos; TQComboBox* textEffectPos;
QComboBox* textEffectButtonPos; TQComboBox* textEffectButtonPos;
// button contour colors // button contour colors
QComboBox* buttonContourType; TQComboBox* buttonContourType;
KColorButton* buttonContourColor; KColorButton* buttonContourColor;
KColorButton* buttonDefaultButtonContourColor; KColorButton* buttonDefaultButtonContourColor;
KColorButton* buttonMouseOverContourColor; KColorButton* buttonMouseOverContourColor;
KColorButton* buttonPressedContourColor; KColorButton* buttonPressedContourColor;
QComboBox* tabPosCombo; TQComboBox* tabPosCombo;
QComboBox* tabStateCombo; TQComboBox* tabStateCombo;
DominoKTabPrevWidget *prevTopTabWidget; DominoKTabPrevWidget *prevTopTabWidget;
DominoKTabPrevWidget *prevBottomTabWidget; DominoKTabPrevWidget *prevBottomTabWidget;

@ -14,7 +14,7 @@
along with this library; if not, write to the Free Software along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <qdir.h> #include <tqdir.h>
#include "../client/clientData.h" #include "../client/clientData.h"
namespace dembed { namespace dembed {
#include "../domino/data.h" #include "../domino/data.h"
@ -24,42 +24,42 @@ namespace dembed {
int main ( int /*argc*/, char **/*argv*/ ) int main ( int /*argc*/, char **/*argv*/ )
{ {
QDir d; TQDir d;
d.mkdir("style_pixmaps"); d.mkdir("style_pixmaps");
d.mkdir("client_pixmaps"); d.mkdir("client_pixmaps");
QImage * img; TQImage * img;
for ( int i = 0; embed_image_vec[i].data; i++ ) { for ( int i = 0; embed_image_vec[i].data; i++ ) {
qDebug("ss"); tqDebug("ss");
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].width,
embed_image_vec[i].height, embed_image_vec[i].height,
embed_image_vec[i].depth, embed_image_vec[i].depth,
(QRgb*)embed_image_vec[i].colorTable, (TQRgb*)embed_image_vec[i].colorTable,
embed_image_vec[i].numColors, embed_image_vec[i].numColors,
QImage::BigEndian ); TQImage::BigEndian );
if ( embed_image_vec[i].alpha ) if ( embed_image_vec[i].alpha )
img->setAlphaBuffer( TRUE ); img->setAlphaBuffer( TRUE );
img->save(QString("style_pixmaps/") + embed_image_vec[i].name + QString(".png"), "PNG"); img->save(TQString("style_pixmaps/") + embed_image_vec[i].name + TQString(".png"), "PNG");
delete img; delete img;
} }
for ( int i = 0; dembed::embed_image_vec[i].data; i++ ) { for ( int i = 0; dembed::embed_image_vec[i].data; i++ ) {
img = new QImage((uchar*)embed_image_vec[i].data, img = new TQImage((uchar*)embed_image_vec[i].data,
dembed::embed_image_vec[i].width, dembed::embed_image_vec[i].width,
dembed::embed_image_vec[i].height, dembed::embed_image_vec[i].height,
dembed::embed_image_vec[i].depth, dembed::embed_image_vec[i].depth,
(QRgb*)dembed::embed_image_vec[i].colorTable, (TQRgb*)dembed::embed_image_vec[i].colorTable,
dembed::embed_image_vec[i].numColors, dembed::embed_image_vec[i].numColors,
QImage::BigEndian ); TQImage::BigEndian );
if ( dembed::embed_image_vec[i].alpha ) if ( dembed::embed_image_vec[i].alpha )
img->setAlphaBuffer( TRUE ); img->setAlphaBuffer( TRUE );
img->save(QString("client_pixmaps/") + dembed::embed_image_vec[i].name + QString(".png"), "PNG"); img->save(TQString("client_pixmaps/") + dembed::embed_image_vec[i].name + TQString(".png"), "PNG");
delete img; delete img;
} }
return 0; return 0;

Loading…
Cancel
Save