Browse Source

Initial TQt conversion

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
master
Slávek Banko 3 years ago
parent
commit
96603e8acb
15 changed files with 4149 additions and 4149 deletions
  1. 27
    27
      client/clientData.h
  2. 51
    51
      client/config/config.cpp
  3. 13
    13
      client/config/config.h
  4. 223
    223
      client/dominoclient.cpp
  5. 37
    37
      client/dominoclient.h
  6. 88
    88
      domino/data.h
  7. 1727
    1727
      domino/domino.cpp
  8. 218
    218
      domino/domino.h
  9. 568
    568
      domino/eventfilter.cpp
  10. 21
    21
      domino/misc.cpp
  11. 5
    5
      domino/misc.h
  12. 11
    11
      dominoConfig/configData.h
  13. 831
    831
      dominoConfig/dominoconf.cpp
  14. 317
    317
      dominoConfig/dominoconf.h
  15. 12
    12
      getimages/getimages.cpp

+ 27
- 27
client/clientData.h View File

@@ -18,20 +18,20 @@

#ifndef _QEMBED_CLIENTDATA
#define _QEMBED_CLIENTDATA
#include <qimage.h>
#include <qdict.h>
static const QRgb client_bottom_lines_dark_data[] = {
#include <tqimage.h>
#include <tqdict.h>
static const TQRgb client_bottom_lines_dark_data[] = {
0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x18000000,0x44000000,0x44000000,0x44000000,0x44000000,
0x44000000,0x44000000,0x44000000,0x44000000,0x44000000,0x44000000
};

/* Generated by qembed */
static const QRgb client_bottomLines_data[] = {
static const TQRgb client_bottomLines_data[] = {
0x6000000,0x6000000,0x6000000,0x6000000,0x6000000,0x6000000,0x6000000,0x6000000,0x6000000,0x6000000,0x13000000,0x13000000,0x13000000,0x13000000,
0x13000000,0x13000000,0x13000000,0x13000000,0x13000000,0x13000000
};

static const QRgb clientButtonContour_data[] = {
static const TQRgb clientButtonContour_data[] = {
0x0,0x0,0x0,0x0,0x2000000,0x9000000,0xe000000,0xf000000,0xf000000,0xe000000,0x9000000,0x2000000,0x0,0x0,
0x0,0x0,0x0,0x0,0x1000000,0x7000000,0x27000000,0x8c000000,0xc4000000,0xc9000000,0xc9000000,0xc4000000,0x8c000000,0x27000000,
0x7000000,0x1000000,0x0,0x0,0x0,0x0,0xa000000,0x64000000,0xca000000,0x6a000000,0x1b000000,0xf000000,0xf000000,0x1b000000,
@@ -53,7 +53,7 @@ static const QRgb clientButtonContour_data[] = {
0x0,0x0,0x0,0x0
};

static const QRgb clientButtonPressed_data[] = {
static const TQRgb clientButtonPressed_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xb151515,0x400b0b0b,0x420d0d0d,0x420d0d0d,0x41090909,0xb151515,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1000000,0x39131313,0x6d010101,0x68000000,0x62000000,0x62000000,0x67000000,
@@ -75,7 +75,7 @@ static const QRgb clientButtonPressed_data[] = {
0x0,0x0,0x0,0x0
};

static const QRgb clientButtonShadow_data[] = {
static const TQRgb clientButtonShadow_data[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x16fdfdfd,0x52fdfdfd,0x6ffdfdfd,0x6ffdfdfd,0x50fdfdfd,0x16fdfdfd,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xafdfdfd,0x7bfcfcfc,0x78fdfdfd,0x65ffffff,0x6ffdfdfd,0x6ffdfdfd,0x65ffffff,
@@ -97,18 +97,18 @@ static const QRgb clientButtonShadow_data[] = {
0x3ffffff,0x0,0x0,0x0
};

static const QRgb client_close_6x6_data[] = {
static const TQRgb client_close_6x6_data[] = {
0x6c2a2a2a,0x6b2a2a2a,0x0,0x0,0x6b2a2a2a,0x702a2a2a,0x7b2a2a2a,0xd62a2a2a,0x5c2a2a2a,0x792a2a2a,0xd62a2a2a,0x782a2a2a,0x0,0x7b2a2a2a,
0xd62a2a2a,0xd62a2a2a,0x782a2a2a,0x0,0x0,0x7b2a2a2a,0xd62a2a2a,0xd62a2a2a,0x782a2a2a,0x0,0x7b2a2a2a,0xd62a2a2a,0x782a2a2a,0x5e2a2a2a,
0xd62a2a2a,0x782a2a2a,0x6c2a2a2a,0x782a2a2a,0x0,0x0,0x5e2a2a2a,0x6c2a2a2a
};

static const QRgb client_dot_4x4_data[] = {
static const TQRgb client_dot_4x4_data[] = {
0x422a2a2a,0x9b2a2a2a,0x9b2a2a2a,0x422a2a2a,0x9b2a2a2a,0xb02a2a2a,0xb02a2a2a,0x9b2a2a2a,0x9b2a2a2a,0xb02a2a2a,0xb02a2a2a,0x9b2a2a2a,0x422a2a2a,0x9b2a2a2a,
0x9b2a2a2a,0x422a2a2a
};

static const QRgb client_edges_dark_data[] = {
static const TQRgb client_edges_dark_data[] = {
0x0,0x0,0x0,0x34000000,0x35000000,0x35000000,0x34000000,0x0,0x0,0x0,0x0,0x0,0x34000000,0x2b000000,
0xe000000,0xe000000,0x2b000000,0x34000000,0x0,0x0,0x0,0x39000000,0x23000000,0x10000000,0x3000000,0x3000000,0x10000000,0x23000000,
0x39000000,0x0,0x3000000,0x38000000,0x11000000,0x3000000,0x0,0x0,0x3000000,0x11000000,0x38000000,0x3000000,0x34000000,0x2a000000,
@@ -120,7 +120,7 @@ static const QRgb client_edges_dark_data[] = {
0x0,0x41000000,0x44000000,0x44000000,0x41000000,0x0,0x0,0x0
};

static const QRgb client_edges_data[] = {
static const TQRgb client_edges_data[] = {
0x0,0x0,0x0,0x2fffffff,0x31ffffff,0x31ffffff,0x2fffffff,0x0,0x0,0x0,0x0,0x0,0x2effffff,0x25ffffff,
0x11ffffff,0x11ffffff,0x25ffffff,0x2effffff,0x0,0x0,0x0,0x34ffffff,0x1fffffff,0xeffffff,0x3ffffff,0x3ffffff,0xeffffff,0x1fffffff,
0x34ffffff,0x0,0x2ffffff,0x33ffffff,0xeffffff,0x3ffffff,0x0,0x0,0x3ffffff,0xeffffff,0x33ffffff,0x2ffffff,0x2fffffff,0x1fffffff,
@@ -132,17 +132,17 @@ static const QRgb client_edges_data[] = {
0x0,0x12000000,0x13000000,0x13000000,0x12000000,0x0,0x0,0x0
};

static const QRgb client_help_5x8_data[] = {
static const TQRgb client_help_5x8_data[] = {
0x22a2a2a,0x772a2a2a,0xc22a2a2a,0xbd2a2a2a,0x302a2a2a,0x3b2a2a2a,0xd22a2a2a,0x612a2a2a,0x862a2a2a,0xbd2a2a2a,0x22a2a2a,0x22a2a2a,0x0,0x5b2a2a2a,
0xba2a2a2a,0x0,0x0,0x462a2a2a,0xbd2a2a2a,0x3e2a2a2a,0x0,0x0,0xd12a2a2a,0x682a2a2a,0x0,0x0,0x0,0x542a2a2a,
0x2a2a2a2a,0x0,0x0,0x0,0xb82a2a2a,0x5b2a2a2a,0x0,0x0,0x0,0x262a2a2a,0x82a2a2a,0x0
};

static const QRgb client_line_6x2_data[] = {
static const TQRgb client_line_6x2_data[] = {
0x852a2a2a,0xbe2a2a2a,0xbe2a2a2a,0xbe2a2a2a,0xbe2a2a2a,0x852a2a2a,0x432a2a2a,0x5f2a2a2a,0x5f2a2a2a,0x5f2a2a2a,0x5f2a2a2a,0x432a2a2a
};

static const QRgb client_max_8x8_data[] = {
static const TQRgb client_max_8x8_data[] = {
0x0,0x0,0x0,0x852a2a2a,0x442a2a2a,0x0,0x0,0x0,0x0,0x0,0x0,0xbe2a2a2a,0x602a2a2a,0x0,
0x0,0x0,0x12a2a2a,0x12a2a2a,0x0,0xbe2a2a2a,0x602a2a2a,0x0,0x0,0x0,0x852a2a2a,0xbe2a2a2a,0xbe2a2a2a,0xbe2a2a2a,
0xbe2a2a2a,0xbe2a2a2a,0xbe2a2a2a,0x852a2a2a,0x442a2a2a,0x602a2a2a,0x602a2a2a,0xbe2a2a2a,0x902a2a2a,0x622a2a2a,0x632a2a2a,0x452a2a2a,0x0,0x0,
@@ -150,27 +150,27 @@ static const QRgb client_max_8x8_data[] = {
0x0,0x0,0x0,0x852a2a2a,0x442a2a2a,0x0,0x0,0x0
};

static const QRgb client_right_lines2_data[] = {
static const TQRgb client_right_lines2_data[] = {
0xfffffff,0x24ffffff,0xfffffff,0x24ffffff,0xfffffff,0x24ffffff,0xfffffff,0x24ffffff,0xfffffff,0x24ffffff,0xfffffff,0x24ffffff,0xfffffff,0x24ffffff,
0xfffffff,0x24ffffff,0xfffffff,0x24ffffff,0xfffffff,0x24ffffff
};

static const QRgb client_right_lines_dark_data[] = {
static const TQRgb client_right_lines_dark_data[] = {
0x19000000,0x36000000,0x19000000,0x36000000,0x19000000,0x36000000,0x19000000,0x36000000,0x19000000,0x36000000,0x19000000,0x36000000,0x19000000,0x36000000,
0x19000000,0x36000000,0x19000000,0x36000000,0x19000000,0x36000000
};

static const QRgb client_topLines2_data[] = {
static const TQRgb client_topLines2_data[] = {
0x39ffffff,0x39ffffff,0x39ffffff,0x39ffffff,0x39ffffff,0x39ffffff,0x39ffffff,0x39ffffff,0x39ffffff,0x39ffffff,0x11ffffff,0x11ffffff,0x11ffffff,0x11ffffff,
0x11ffffff,0x11ffffff,0x11ffffff,0x11ffffff,0x11ffffff,0x11ffffff
};

static const QRgb client_top_lines_dark_data[] = {
static const TQRgb client_top_lines_dark_data[] = {
0x36000000,0x36000000,0x36000000,0x36000000,0x36000000,0x36000000,0x36000000,0x36000000,0x36000000,0x36000000,0x13000000,0x13000000,0x13000000,0x13000000,
0x13000000,0x13000000,0x13000000,0x13000000,0x13000000,0x13000000
};

static const QRgb client_upArrow_6x8_data[] = {
static const TQRgb client_upArrow_6x8_data[] = {
0x0,0x0,0x492a2a2a,0x142a2a2a,0x0,0x0,0x0,0x4a2a2a2a,0xb92a2a2a,0xa82a2a2a,0x1e2a2a2a,0x0,0x572a2a2a,0xb92a2a2a,
0xb92a2a2a,0xb82a2a2a,0xac2a2a2a,0x1d2a2a2a,0x0,0x0,0xb92a2a2a,0x5c2a2a2a,0x0,0x0,0x0,0x0,0xb92a2a2a,0x5c2a2a2a,
0x0,0x0,0x0,0x0,0xb92a2a2a,0x5c2a2a2a,0x0,0x0,0x0,0x0,0xb92a2a2a,0x5c2a2a2a,0x0,0x0,
@@ -182,7 +182,7 @@ static struct EmbedImage {
int width, height, depth;
const unsigned char *data;
int numColors;
const QRgb *colorTable;
const TQRgb *colorTable;
bool alpha;
const char *name;
} embed_image_vec[] = {
@@ -206,20 +206,20 @@ static struct EmbedImage {
{ 0, 0, 0, 0, 0, 0, 0, 0 }
};

static const QImage& qembed_findImage( const QString& name )
static const TQImage& qembed_findImage( const TQString& name )
{
static QDict<QImage> dict;
QImage* img = dict.find( name );
static TQDict<TQImage> dict;
TQImage* img = dict.find( name );
if ( !img ) {
for ( int i = 0; embed_image_vec[i].data; i++ ) {
if ( strcmp(embed_image_vec[i].name, name.latin1()) == 0 ) {
img = new QImage((uchar*)embed_image_vec[i].data,
img = new TQImage((uchar*)embed_image_vec[i].data,
embed_image_vec[i].width,
embed_image_vec[i].height,
embed_image_vec[i].depth,
(QRgb*)embed_image_vec[i].colorTable,
(TQRgb*)embed_image_vec[i].colorTable,
embed_image_vec[i].numColors,
QImage::BigEndian );
TQImage::BigEndian );
if ( embed_image_vec[i].alpha )
img->setAlphaBuffer( TRUE );
dict.insert( name, img );
@@ -227,7 +227,7 @@ static const QImage& qembed_findImage( const QString& name )
}
}
if ( !img ) {
static QImage dummy;
static TQImage dummy;
return dummy;
}
}

+ 51
- 51
client/config/config.cpp View File

@@ -23,15 +23,15 @@
#include "config.h"
#include <kglobal.h>
#include <klocale.h>
#include <qvbox.h>
#include <qlayout.h>
#include <qlabel.h>
#include <qgroupbox.h>
#include <qsettings.h>
#include <tqvbox.h>
#include <tqlayout.h>
#include <tqlabel.h>
#include <tqgroupbox.h>
#include <tqsettings.h>

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));
}
@@ -40,81 +40,81 @@ extern "C"
// NOTE:
// 'config' is a pointer to the kwindecoration modules open kwin config,
// 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

DominoConfig::DominoConfig( KConfig* config, QWidget* parent )
: QObject( parent )
DominoConfig::DominoConfig( KConfig* config, TQWidget* parent )
: TQObject( parent )
{
conf = new KConfig("kwindominorc");
KGlobal::locale()->insertCatalogue("kwin_clients");
vBox = new QVBox( parent );
vBox = new TQVBox( parent );

customBorderColor = new QCheckBox( i18n("Custom border color"), vBox );
QHBox *hbox1 = new QHBox(vBox);
hbox1->layout()->addItem(new QSpacerItem(20, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
customBorderColor = new TQCheckBox( i18n("Custom border color"), vBox );
TQHBox *hbox1 = new TQHBox(vBox);
hbox1->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
borderColor = new KColorButton(hbox1);
customButtonColor = new QCheckBox( i18n("Custom button color"), vBox );
QHBox *hbox2 = new QHBox(vBox);
hbox2->layout()->addItem(new QSpacerItem(20, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
customButtonColor = new TQCheckBox( i18n("Custom button color"), vBox );
TQHBox *hbox2 = new TQHBox(vBox);
hbox2->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
buttonColor = new KColorButton(hbox2);
customButtonIconColor = new QCheckBox( i18n("Custom button icon color"), vBox );
QHBox *hbox3 = new QHBox(vBox);
hbox3->layout()->addItem(new QSpacerItem(20, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
customButtonIconColor = new TQCheckBox( i18n("Custom button icon color"), vBox );
TQHBox *hbox3 = new TQHBox(vBox);
hbox3->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
buttonIconColor = new KColorButton(hbox3);
customGradientColors = new QCheckBox( i18n("Custom gradient colors"), vBox);
QHBox *hbox4 = new QHBox(vBox);
hbox4->layout()->addItem(new QSpacerItem(22, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
customGradientColors = new TQCheckBox( i18n("Custom gradient colors"), vBox);
TQHBox *hbox4 = new TQHBox(vBox);
hbox4->layout()->addItem(new TQSpacerItem(22, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
QVBox *vbox1 = new QVBox(hbox4);
new QLabel( i18n("Top gradient color"), vbox1);
TQVBox *vbox1 = new TQVBox(hbox4);
new TQLabel( i18n("Top gradient color"), vbox1);
topGradientColor = new KColorButton(vbox1);
new QLabel(i18n("Bottom gradient color"), vbox1);
new TQLabel(i18n("Bottom gradient color"), vbox1);
bottomGradientColor = new KColorButton(vbox1);
showInactiveButtons = new QCheckBox( i18n("Show inactive buttons"), vBox );
showButtonIcons = new QCheckBox( i18n("Show button icons"), vBox );
darkFrame = new QCheckBox( i18n("Dark window frame"), vBox );
showInactiveButtons = new TQCheckBox( i18n("Show inactive buttons"), vBox );
showButtonIcons = new TQCheckBox( i18n("Show button icons"), 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->setColumnLayout(0, Qt::Vertical );
colorGb->setColumnLayout(0, TQt::Vertical );
colorGb->layout()->setSpacing( 6 );
colorGb->layout()->setMargin( 11 );
QGridLayout* gbLayout = new QGridLayout( colorGb->layout(), 4, 2 );
gbLayout->setAlignment( Qt::AlignTop );
TQGridLayout* gbLayout = new TQGridLayout( colorGb->layout(), 4, 2 );
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->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum);
QLabel* labelMC = new QLabel(i18n("Mouseover color:"), colorGb);
buttonContourColor->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Minimum);
TQLabel* labelMC = new TQLabel(i18n("Mouseover color:"), 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);
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->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(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(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);
@@ -139,17 +139,17 @@ DominoConfig::DominoConfig( KConfig* config, QWidget* parent )
connect(customButtonIconColor, SIGNAL(toggled(bool)), buttonIconColor, SLOT(setEnabled(bool)));
connect(customGradientColors, SIGNAL(clicked()), this, SLOT(slotSelectionChanged()));
connect(topGradientColor, SIGNAL(changed(const QColor&)), this, SLOT(slotSelectionChanged()));
connect(bottomGradientColor, SIGNAL(changed(const QColor&)), this, SLOT(slotSelectionChanged()));
connect(topGradientColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged()));
connect(bottomGradientColor, SIGNAL(changed(const TQColor&)), 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(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(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(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(slotSelectionChanged()));
connect(buttonContourColor, SIGNAL(changed(const QColor&)), this, SLOT(slotSelectionChanged()));
connect(buttonMouseOverContourColor, SIGNAL(changed(const QColor&)), this, SLOT(slotSelectionChanged()));
connect(buttonPressedContourColor, SIGNAL(changed(const QColor&)), this, SLOT(slotSelectionChanged()));
connect(buttonContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged()));
connect(buttonMouseOverContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged()));
connect(buttonPressedContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged()));
// Make the widgets visible in kwindecoration valueChanged
@@ -245,7 +245,7 @@ void DominoConfig::save(KConfig*)
void DominoConfig::defaults()
{
QColor background = vBox->paletteBackgroundColor();
TQColor background = vBox->paletteBackgroundColor();
customBorderColor->setChecked(true);
borderColor->setColor("#777B7F");
@@ -269,9 +269,9 @@ void DominoConfig::defaults()

void DominoConfig::loadButtonContourColors() {
QColor background = vBox->paletteBackgroundColor();
TQColor background = vBox->paletteBackgroundColor();
if(useDominoStyleContourColors->isChecked()) {
QSettings s;
TQSettings s;
buttonContourColor->setColor(s.readEntry("/domino/Settings/buttonContourColor", 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()));

+ 13
- 13
client/config/config.h View File

@@ -23,17 +23,17 @@
#ifndef DOMINOCONFIG_H
#define DOMINOCONFIG_H

#include <qcheckbox.h>
#include <tqcheckbox.h>
#include <kconfig.h>
#include <qvbox.h>
#include <tqvbox.h>
#include <kcolorbutton.h>

class DominoConfig: public QObject
class DominoConfig: public TQObject
{
Q_OBJECT

public:
DominoConfig( KConfig* config, QWidget* parent );
DominoConfig( KConfig* config, TQWidget* parent );
~DominoConfig();

// These public signals/slots work similar to KCM modules
@@ -50,22 +50,22 @@ class DominoConfig: public QObject
void loadButtonContourColors();
private:
KConfig* conf;
QVBox* vBox;
QCheckBox* customBorderColor;
TQVBox* vBox;
TQCheckBox* customBorderColor;
KColorButton* borderColor;
QCheckBox* customButtonColor;
TQCheckBox* customButtonColor;
KColorButton* buttonColor;
QCheckBox* customButtonIconColor;
TQCheckBox* customButtonIconColor;
KColorButton* buttonIconColor;
QCheckBox* showInactiveButtons;
QCheckBox* showButtonIcons;
QCheckBox* customGradientColors;
TQCheckBox* showInactiveButtons;
TQCheckBox* showButtonIcons;
TQCheckBox* customGradientColors;
KColorButton* topGradientColor;
KColorButton* bottomGradientColor;
QCheckBox* darkFrame;
TQCheckBox* darkFrame;
QCheckBox* useDominoStyleContourColors;
TQCheckBox* useDominoStyleContourColors;
KColorButton* buttonContourColor;
KColorButton* buttonMouseOverContourColor;
KColorButton* buttonPressedContourColor;

+ 223
- 223
client/dominoclient.cpp View File

@@ -25,16 +25,16 @@

#include <kconfig.h>
#include <kglobal.h>
#include <qlayout.h>
#include <qbitmap.h>
#include <qimage.h>
#include <qapplication.h>
#include <qlabel.h>
#include <qpixmap.h>
#include <tqlayout.h>
#include <tqbitmap.h>
#include <tqimage.h>
#include <tqapplication.h>
#include <tqlabel.h>
#include <tqpixmap.h>
#include <X11/extensions/shape.h>
#include <qwmatrix.h>
#include <qpainter.h>
#include <qsettings.h>
#include <tqwmatrix.h>
#include <tqpainter.h>
#include <tqsettings.h>


namespace Domino
@@ -46,53 +46,53 @@ const int titleEdgeTop = 3;
const int titleEdgeBottom = 1;
static int titleHeight;

static QPixmap* buttonPix;
static QPixmap* buttonHidePix;
static QPixmap* titleBarPix;
static QPixmap* borderTopLeftPix;
static QPixmap* borderTopRightPix;
static QPixmap* borderBottomPix;
static QPixmap* borderBottomLeftPix;
static QPixmap* borderBottomRightPix;
static QPixmap* borderLeftPix;
static QPixmap* borderRightPix;
static QPixmap* closeButtonIcon;
static QPixmap* minButtonIcon;
static QPixmap* maxButtonIcon;
static QPixmap* helpButtonIcon;
static QPixmap* onAllDesktopsButtonIcon;
static QPixmap* shadeButtonIcon;
static QPixmap* aboveButtonIcon;
static QPixmap* belowButtonIcon;
static QPixmap* pressedCloseButtonIcon;
static QPixmap* pressedMinButtonIcon;
static QPixmap* pressedMaxButtonIcon;
static QPixmap* pressedHelpButtonIcon;
static QPixmap* pressedOnAllDesktopsButtonIcon;
static QPixmap* pressedShadeButtonIcon;
static QPixmap* pressedAboveButtonIcon;
static QPixmap* pressedBelowButtonIcon;
static QPixmap* mouseOverCloseButtonIcon;
static QPixmap* mouseOverMinButtonIcon;
static QPixmap* mouseOverMaxButtonIcon;
static QPixmap* mouseOverHelpButtonIcon;
static QPixmap* mouseOverOnAllDesktopsButtonIcon;
static QPixmap* mouseOverShadeButtonIcon;
static QPixmap* mouseOverAboveButtonIcon;
static QPixmap* mouseOverBelowButtonIcon;
static TQPixmap* buttonPix;
static TQPixmap* buttonHidePix;
static TQPixmap* titleBarPix;
static TQPixmap* borderTopLeftPix;
static TQPixmap* borderTopRightPix;
static TQPixmap* borderBottomPix;
static TQPixmap* borderBottomLeftPix;
static TQPixmap* borderBottomRightPix;
static TQPixmap* borderLeftPix;
static TQPixmap* borderRightPix;
static TQPixmap* closeButtonIcon;
static TQPixmap* minButtonIcon;
static TQPixmap* maxButtonIcon;
static TQPixmap* helpButtonIcon;
static TQPixmap* onAllDesktopsButtonIcon;
static TQPixmap* shadeButtonIcon;
static TQPixmap* aboveButtonIcon;
static TQPixmap* belowButtonIcon;
static TQPixmap* pressedCloseButtonIcon;
static TQPixmap* pressedMinButtonIcon;
static TQPixmap* pressedMaxButtonIcon;
static TQPixmap* pressedHelpButtonIcon;
static TQPixmap* pressedOnAllDesktopsButtonIcon;
static TQPixmap* pressedShadeButtonIcon;
static TQPixmap* pressedAboveButtonIcon;
static TQPixmap* pressedBelowButtonIcon;
static TQPixmap* mouseOverCloseButtonIcon;
static TQPixmap* mouseOverMinButtonIcon;
static TQPixmap* mouseOverMaxButtonIcon;
static TQPixmap* mouseOverHelpButtonIcon;
static TQPixmap* mouseOverOnAllDesktopsButtonIcon;
static TQPixmap* mouseOverShadeButtonIcon;
static TQPixmap* mouseOverAboveButtonIcon;
static TQPixmap* mouseOverBelowButtonIcon;

static bool buttonInputShape;
static QBitmap* buttonShapeBitmap;
static TQBitmap* buttonShapeBitmap;

static QColor background;
static QColor topGradientColor;
static QColor bottomGradientColor;
static QColor topBorderGradientColor;
static QColor bottomBorderGradientColor;
static TQColor background;
static TQColor topGradientColor;
static TQColor bottomGradientColor;
static TQColor topBorderGradientColor;
static TQColor bottomBorderGradientColor;
static bool showButtonIcons;
static bool showInactiveButtons;

@@ -106,8 +106,8 @@ DominoHandler::DominoHandler()
{
int ignore, maj, min;
if(XShapeQueryExtension(qt_xdisplay(), &ignore, &ignore) &&
XShapeQueryVersion(qt_xdisplay(), &maj, &min) &&
if(XShapeQueryExtension(tqt_xdisplay(), &ignore, &ignore) &&
XShapeQueryVersion(tqt_xdisplay(), &maj, &min) &&
maj >= 1 && min >= 1) {
buttonInputShape = true;
@@ -159,8 +159,8 @@ unsigned long DominoHandler::readConfig( bool update )
KConfig conf("kwindominorc");
conf.setGroup("General");
titleHeight = QMAX(QFontMetrics(options()->font(true)).height(), 16);
background = qApp->palette().active().background();
titleHeight = TQMAX(TQFontMetrics(options()->font(true)).height(), 16);
background = tqApp->palette().active().background();
customBorderColor = conf.readBoolEntry("customBorderColor", true);
borderColor = customBorderColor ? conf.readEntry("borderColor", "#777B7F") : background;
@@ -174,10 +174,10 @@ unsigned long DominoHandler::readConfig( bool update )
darkLines = conf.readBoolEntry("darkFrame", false);
if(!conf.readBoolEntry( "customGradientColors", false)) {
topGradientColor = alphaBlendColors(background, Qt::white, 180);
bottomGradientColor = alphaBlendColors(background, Qt::black, 230);
topBorderGradientColor = alphaBlendColors(borderColor, Qt::white, 180);
bottomBorderGradientColor = alphaBlendColors(borderColor, Qt::black, 230);
topGradientColor = alphaBlendColors(background, TQt::white, 180);
bottomGradientColor = alphaBlendColors(background, TQt::black, 230);
topBorderGradientColor = alphaBlendColors(borderColor, TQt::white, 180);
bottomBorderGradientColor = alphaBlendColors(borderColor, TQt::black, 230);
}
else {
topGradientColor = conf.readEntry("topGradientColor", "#ffffff");
@@ -191,7 +191,7 @@ unsigned long DominoHandler::readConfig( bool update )
}
if(conf.readBoolEntry("useDominoStyleContourColors", true)) {
QSettings s;
TQSettings s;
buttonContourColor = s.readEntry("/domino/Settings/buttonContourColor", background.dark(250).name());
buttonMouseOverContourColor = s.readEntry("/domino/Settings/buttonMouseOverContourColor", 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()
{
QImage edges;
QImage topLines;
QImage rightLines;
QImage bottomLines;
TQImage edges;
TQImage topLines;
TQImage rightLines;
TQImage bottomLines;
if(darkLines) {
edges = qembed_findImage("client_edges_dark");
@@ -232,14 +232,14 @@ void DominoHandler::createPixmaps()
int titleBarHeight = titleHeight+titleEdgeTop+titleEdgeBottom;
QWMatrix m;
TQWMatrix m;
m.rotate(180);
titleBarPix = new QPixmap(QSize(10, titleBarHeight));
titleBarPix = new TQPixmap(TQSize(10, titleBarHeight));
titleBarPix->fill(background);
QRect r(titleBarPix->rect());
QPainter p(titleBarPix);
QRect rect(r.x(), r.y(), r.width(), titleGradientHeight);
TQRect r(titleBarPix->rect());
TQPainter p(titleBarPix);
TQRect rect(r.x(), r.y(), r.width(), titleGradientHeight);
renderGradient(&p, rect, topGradientColor, background, "titleBar");
p.drawPixmap(0, 0, topLines);
p.end();
@@ -248,23 +248,23 @@ void DominoHandler::createPixmaps()
///////// borders
// sides
QPixmap sideLinesRight = rightLines;
TQPixmap sideLinesRight = rightLines;
borderRightPix = new QPixmap(5, 10);
borderRightPix = new TQPixmap(5, 10);
borderRightPix->fill(borderColor);
p.begin(borderRightPix);
p.drawPixmap(3, 0, sideLinesRight);
p.end();
borderLeftPix = new QPixmap(borderRightPix->xForm(m));
borderLeftPix = new TQPixmap(borderRightPix->xForm(m));
// edges
borderTopLeftPix = new QPixmap(QSize(5, titleBarHeight));
borderTopLeftPix = new TQPixmap(TQSize(5, titleBarHeight));
borderTopLeftPix->fill(borderColor);
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.
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.drawTiledPixmap(0, 7, 2, titleBarHeight, sideLinesRight.xForm(m));
p.end();
@@ -274,12 +274,12 @@ void DominoHandler::createPixmaps()
p.end();
borderBottomRightPix = new QPixmap(QSize(5, bottomBorderHeight));
borderBottomRightPix = new TQPixmap(TQSize(5, bottomBorderHeight));
borderBottomRightPix->fill(borderColor);
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");
borderBottomLeftPix = new QPixmap(*borderBottomRightPix);
borderBottomLeftPix = new TQPixmap(*borderBottomRightPix);
p.drawPixmap(0, bottomBorderHeight-7, edges, 5, 6, 5, 6);
p.drawPixmap(3, 0, sideLinesRight, 0, 0, 2, borderBottomLeftPix->height()-7);
p.end();
@@ -290,10 +290,10 @@ void DominoHandler::createPixmaps()
p.drawPixmap(0, 0, sideLinesRight.xForm(m), 0, 0, 2, borderBottomLeftPix->height()-7);
p.end();
borderBottomPix = new QPixmap(QSize(10, bottomBorderHeight));
borderBottomPix = new TQPixmap(TQSize(10, bottomBorderHeight));
borderBottomPix->fill(background);
p.begin(borderBottomPix);
r = QRect(0, bottomBorderHeight-6, 10, 6);
r = TQRect(0, bottomBorderHeight-6, 10, 6);
renderGradient(&p, r, background, bottomGradientColor, "borderBottom");
p.drawPixmap(0, bottomBorderHeight-2, bottomLines);
p.end();
@@ -304,42 +304,42 @@ void DominoHandler::createPixmaps()
////////////////////////////////////////////////////////////////////////
if(buttonInputShape) {
QRegion buttonClip(6,2,6,1);
buttonClip += QRegion(5,3,8,1);
buttonClip += QRegion(4,4,10,1);
buttonClip += QRegion(3,5,12,1);
buttonClip += QRegion(2,6,14,6);
buttonClip += QRegion(3,12,12,1);
buttonClip += QRegion(4,13,10,1);
buttonClip += QRegion(5,14,8,1);
buttonClip += QRegion(6,15,6,1);
TQRegion buttonClip(6,2,6,1);
buttonClip += TQRegion(5,3,8,1);
buttonClip += TQRegion(4,4,10,1);
buttonClip += TQRegion(3,5,12,1);
buttonClip += TQRegion(2,6,14,6);
buttonClip += TQRegion(3,12,12,1);
buttonClip += TQRegion(4,13,10,1);
buttonClip += TQRegion(5,14,8,1);
buttonClip += TQRegion(6,15,6,1);
buttonShapeBitmap = new QBitmap(16, titleBarHeight, true);
QPainter p(buttonShapeBitmap);
buttonShapeBitmap = new TQBitmap(16, titleBarHeight, true);
TQPainter p(buttonShapeBitmap);
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"));
QPixmap* buttonPressed = new QPixmap(qembed_findImage("clientButtonPressed"));
TQPixmap* buttonShadow = new TQPixmap(qembed_findImage("clientButtonShadow"));
TQPixmap* buttonPressed = new TQPixmap(qembed_findImage("clientButtonPressed"));
buttonPix = new QPixmap(QSize(16, titleBarHeight));
buttonPix = new TQPixmap(TQSize(16, titleBarHeight));
p.begin(buttonPix);
p.drawTiledPixmap(0, 0, titleBarHeight, titleBarHeight, *titleBarPix, 0, titleEdgeTop);
//////////// custom color
r = QRect(buttonPix->rect());
QRegion buttonClip(5,2,6,1);
buttonClip += QRegion(4,3,8,1);
buttonClip += QRegion(3,4,10,1);
buttonClip += QRegion(2,5,12,6);
buttonClip += QRegion(3,11,10,1);
buttonClip += QRegion(4,12,8,1);
buttonClip += QRegion(5,13,6,1);
r = TQRect(buttonPix->rect());
TQRegion buttonClip(5,2,6,1);
buttonClip += TQRegion(4,3,8,1);
buttonClip += TQRegion(3,4,10,1);
buttonClip += TQRegion(2,5,12,6);
buttonClip += TQRegion(3,11,10,1);
buttonClip += TQRegion(4,12,8,1);
buttonClip += TQRegion(5,13,6,1);
p.setClipRegion(buttonClip);
p.fillRect(QRect(0, 0, r.width(), r.height()), buttonColor);
QRect gr(0, -3, r.width(), titleGradientHeight);
p.fillRect(TQRect(0, 0, r.width(), r.height()), buttonColor);
TQRect gr(0, -3, r.width(), titleGradientHeight);
renderGradient(&p, gr, topGradientColor, buttonColor, "titleBar");
p.setClipping(false);
///////////
@@ -347,14 +347,14 @@ void DominoHandler::createPixmaps()
p.end();
QPixmap* pressedButtonPix = new QPixmap(*buttonPix);
TQPixmap* pressedButtonPix = new TQPixmap(*buttonPix);
p.begin(pressedButtonPix);
p.drawPixmap(0, 0, tintImage(qembed_findImage("clientButtonContour"), buttonPressedContourColor));
p.drawPixmap(0, 0, *buttonPressed);
p.end();
QPixmap* mouseOverButtonPix = new QPixmap(*buttonPix);
TQPixmap* mouseOverButtonPix = new TQPixmap(*buttonPix);
p.begin(mouseOverButtonPix);
p.drawPixmap(0, 0, tintImage(qembed_findImage("clientButtonContour"), buttonMouseOverContourColor));
p.end();
@@ -365,7 +365,7 @@ void DominoHandler::createPixmaps()
p.end();
buttonHidePix = new QPixmap(QSize(buttonPix->width(), titleBarHeight));
buttonHidePix = new TQPixmap(TQSize(buttonPix->width(), titleBarHeight));
p.begin(buttonHidePix);
p.drawTiledPixmap(0, 0, buttonHidePix->width(), buttonHidePix->height(), *titleBarPix, 0, titleEdgeTop);
p.end();
@@ -376,75 +376,75 @@ void DominoHandler::createPixmaps()
///////// icons
///////////////////////////////////////////////////////////////////////
QPixmap* icon = new QPixmap(customButtonIconColor ? tintImage(qembed_findImage("closeButtonIcon"), buttonIconColor) : qembed_findImage("closeButtonIcon"));
closeButtonIcon = new QPixmap(*buttonPix);
TQPixmap* icon = new TQPixmap(customButtonIconColor ? tintImage(qembed_findImage("closeButtonIcon"), buttonIconColor) : qembed_findImage("closeButtonIcon"));
closeButtonIcon = new TQPixmap(*buttonPix);
bitBlt(closeButtonIcon, 5, 5, icon);
pressedCloseButtonIcon = new QPixmap(*pressedButtonPix);
pressedCloseButtonIcon = new TQPixmap(*pressedButtonPix);
bitBlt(pressedCloseButtonIcon, 5, 5, icon);
mouseOverCloseButtonIcon = new QPixmap(*mouseOverButtonPix);
mouseOverCloseButtonIcon = new TQPixmap(*mouseOverButtonPix);
bitBlt(mouseOverCloseButtonIcon, 5, 5, icon);
delete icon;
icon = new QPixmap(customButtonIconColor ? tintImage(qembed_findImage("maxButtonIcon"), buttonIconColor) : qembed_findImage("maxButtonIcon"));
maxButtonIcon = new QPixmap(*buttonPix);
icon = new TQPixmap(customButtonIconColor ? tintImage(qembed_findImage("maxButtonIcon"), buttonIconColor) : qembed_findImage("maxButtonIcon"));
maxButtonIcon = new TQPixmap(*buttonPix);
bitBlt(maxButtonIcon, 4, 4, icon);
pressedMaxButtonIcon = new QPixmap(*pressedButtonPix);
pressedMaxButtonIcon = new TQPixmap(*pressedButtonPix);
bitBlt(pressedMaxButtonIcon, 4, 4, icon);
mouseOverMaxButtonIcon = new QPixmap(*mouseOverButtonPix);
mouseOverMaxButtonIcon = new TQPixmap(*mouseOverButtonPix);
bitBlt(mouseOverMaxButtonIcon, 4, 4, icon);
delete icon;
icon = new QPixmap(customButtonIconColor ? tintImage(qembed_findImage("minButtonIcon"), buttonIconColor) : qembed_findImage("minButtonIcon"));
minButtonIcon = new QPixmap(*buttonPix);
icon = new TQPixmap(customButtonIconColor ? tintImage(qembed_findImage("minButtonIcon"), buttonIconColor) : qembed_findImage("minButtonIcon"));
minButtonIcon = new TQPixmap(*buttonPix);
bitBlt(minButtonIcon, 5, 9, icon);
pressedMinButtonIcon = new QPixmap(*pressedButtonPix);
pressedMinButtonIcon = new TQPixmap(*pressedButtonPix);
bitBlt(pressedMinButtonIcon, 5, 9, icon);
mouseOverMinButtonIcon = new QPixmap(*mouseOverButtonPix);
mouseOverMinButtonIcon = new TQPixmap(*mouseOverButtonPix);
bitBlt(mouseOverMinButtonIcon, 5, 9, icon);
delete icon;
icon = new QPixmap(customButtonIconColor ? tintImage(qembed_findImage("helpButtonIcon"), buttonIconColor) : qembed_findImage("helpButtonIcon"));
helpButtonIcon = new QPixmap(*buttonPix);
icon = new TQPixmap(customButtonIconColor ? tintImage(qembed_findImage("helpButtonIcon"), buttonIconColor) : qembed_findImage("helpButtonIcon"));
helpButtonIcon = new TQPixmap(*buttonPix);
bitBlt(helpButtonIcon, 5, 4, icon);
pressedHelpButtonIcon = new QPixmap(*pressedButtonPix);
pressedHelpButtonIcon = new TQPixmap(*pressedButtonPix);
bitBlt(pressedHelpButtonIcon, 5, 4, icon);
mouseOverHelpButtonIcon = new QPixmap(*mouseOverButtonPix);
mouseOverHelpButtonIcon = new TQPixmap(*mouseOverButtonPix);
bitBlt(mouseOverHelpButtonIcon, 5, 4, icon);
delete icon;
icon = new QPixmap(customButtonIconColor ? tintImage(qembed_findImage("onAllDesktopsButtonIcon"), buttonIconColor) : qembed_findImage("onAllDesktopsButtonIcon"));
onAllDesktopsButtonIcon = new QPixmap(*buttonPix);
icon = new TQPixmap(customButtonIconColor ? tintImage(qembed_findImage("onAllDesktopsButtonIcon"), buttonIconColor) : qembed_findImage("onAllDesktopsButtonIcon"));
onAllDesktopsButtonIcon = new TQPixmap(*buttonPix);
bitBlt(onAllDesktopsButtonIcon, 6, 6, icon);
pressedOnAllDesktopsButtonIcon = new QPixmap(*pressedButtonPix);
pressedOnAllDesktopsButtonIcon = new TQPixmap(*pressedButtonPix);
bitBlt(pressedOnAllDesktopsButtonIcon, 6, 6, icon);
mouseOverOnAllDesktopsButtonIcon = new QPixmap(*mouseOverButtonPix);
mouseOverOnAllDesktopsButtonIcon = new TQPixmap(*mouseOverButtonPix);
bitBlt(mouseOverOnAllDesktopsButtonIcon, 6, 6, icon);
delete icon;
icon = new QPixmap(customButtonIconColor ? tintImage(qembed_findImage("aboveButtonIcon"), buttonIconColor) : qembed_findImage("aboveButtonIcon"));
aboveButtonIcon = new QPixmap(*buttonPix);
icon = new TQPixmap(customButtonIconColor ? tintImage(qembed_findImage("aboveButtonIcon"), buttonIconColor) : qembed_findImage("aboveButtonIcon"));
aboveButtonIcon = new TQPixmap(*buttonPix);
bitBlt(aboveButtonIcon, 5, 4, icon);
pressedAboveButtonIcon = new QPixmap(*pressedButtonPix);
pressedAboveButtonIcon = new TQPixmap(*pressedButtonPix);
bitBlt(pressedAboveButtonIcon, 5, 4, icon);
mouseOverAboveButtonIcon = new QPixmap(*mouseOverButtonPix);
mouseOverAboveButtonIcon = new TQPixmap(*mouseOverButtonPix);
bitBlt(mouseOverAboveButtonIcon, 5, 4, icon);
delete icon;
icon = new QPixmap(customButtonIconColor ? tintImage(qembed_findImage("aboveButtonIcon").xForm(m), buttonIconColor) : qembed_findImage("aboveButtonIcon").xForm(m));
belowButtonIcon = new QPixmap(*buttonPix);
icon = new TQPixmap(customButtonIconColor ? tintImage(qembed_findImage("aboveButtonIcon").xForm(m), buttonIconColor) : qembed_findImage("aboveButtonIcon").xForm(m));
belowButtonIcon = new TQPixmap(*buttonPix);
bitBlt(belowButtonIcon, 5, 4, icon);
pressedBelowButtonIcon = new QPixmap(*pressedButtonPix);
pressedBelowButtonIcon = new TQPixmap(*pressedButtonPix);
bitBlt(pressedBelowButtonIcon, 5, 4, icon);
mouseOverBelowButtonIcon = new QPixmap(*mouseOverButtonPix);
mouseOverBelowButtonIcon = new TQPixmap(*mouseOverButtonPix);
bitBlt(mouseOverBelowButtonIcon, 5, 4, icon);
delete icon;
icon = new QPixmap(customButtonIconColor ? tintImage(qembed_findImage("minButtonIcon"), buttonIconColor) : qembed_findImage("minButtonIcon"));
shadeButtonIcon = new QPixmap(*buttonPix);
icon = new TQPixmap(customButtonIconColor ? tintImage(qembed_findImage("minButtonIcon"), buttonIconColor) : qembed_findImage("minButtonIcon"));
shadeButtonIcon = new TQPixmap(*buttonPix);
bitBlt(shadeButtonIcon, 5, 5, icon);
pressedShadeButtonIcon = new QPixmap(*pressedButtonPix);
pressedShadeButtonIcon = new TQPixmap(*pressedButtonPix);
bitBlt(pressedShadeButtonIcon, 5, 5, icon);
mouseOverShadeButtonIcon = new QPixmap(*mouseOverButtonPix);
mouseOverShadeButtonIcon = new TQPixmap(*mouseOverButtonPix);
bitBlt(mouseOverShadeButtonIcon, 5, 5, icon);
delete icon;
@@ -531,7 +531,7 @@ DominoButton::DominoButton(ButtonType type, DominoClient *parent, const char *na
client = parent;
#ifdef ShapeInput
if(buttonInputShape && buttonShapeBitmap ) {
XShapeCombineMask (qt_xdisplay(),
XShapeCombineMask (tqt_xdisplay(),
winId(),
ShapeInput,
0,
@@ -551,7 +551,7 @@ DominoButton::~DominoButton()
void DominoButton::reset(unsigned long changed)
{
if (changed&SizeChange || changed&ManualReset) {
setBackgroundOrigin(QWidget::WidgetOrigin);
setBackgroundOrigin(TQWidget::WidgetOrigin);
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)
return;
@@ -610,7 +610,7 @@ void DominoButton::drawButton(QPainter *p)



void DominoButton::enterEvent(QEvent */*e*/)
void DominoButton::enterEvent(TQEvent */*e*/)
{
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;
repaint(false);
@@ -649,17 +649,17 @@ DominoClient::~DominoClient()
delete borderBottom;
}

QString DominoClient::visibleName() const
TQString DominoClient::visibleName() const
{
return "Domino";
}

QString DominoClient::defaultButtonsLeft() const
TQString DominoClient::defaultButtonsLeft() const
{
return "MF";
}

QString DominoClient::defaultButtonsRight() const
TQString DominoClient::defaultButtonsRight() const
{
return "HIAX";
}
@@ -776,7 +776,7 @@ void DominoClient::init()
menuButton = 0;
globalMouseTracking = false;
titleBarMouseOver = false;
QWidget* w = new QWidget(KDecoration::initialParentWidget(), "clientMainWidget", WNoAutoErase|WStaticContents);
TQWidget* w = new TQWidget(KDecoration::initialParentWidget(), "clientMainWidget", WNoAutoErase|WStaticContents);
setMainWidget(w);
widget()->setBackgroundMode(NoBackground);
@@ -794,48 +794,48 @@ void DominoClient::createLayout()
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->client = this;
titleBar->setMouseTracking(true);
borderTopLeft = new QWidget(widget(), "borderTopLeft", Qt::WNoAutoErase);
borderTopLeft = new TQWidget(widget(), "borderTopLeft", TQt::WNoAutoErase);
borderTopLeft->setMouseTracking(true);
borderTopRight = new QWidget(widget(), "borderTopRight", Qt::WNoAutoErase);
borderTopRight = new TQWidget(widget(), "borderTopRight", TQt::WNoAutoErase);
borderTopRight->setMouseTracking(true);
borderBottomLeft = new QWidget(widget(), "borderBottomLeft", Qt::WNoAutoErase);
borderBottomLeft = new TQWidget(widget(), "borderBottomLeft", TQt::WNoAutoErase);
borderBottomLeft->setMouseTracking(true);
borderBottomRight = new QWidget(widget(), "borderBottomRight", Qt::WNoAutoErase);
borderBottomRight = new TQWidget(widget(), "borderBottomRight", TQt::WNoAutoErase);
borderBottomRight->setMouseTracking(true);
borderLeft = new QWidget(widget(), "borderLeft", Qt::WNoAutoErase);
borderLeft = new TQWidget(widget(), "borderLeft", TQt::WNoAutoErase);
borderLeft->setMouseTracking(true);
borderRight = new QWidget(widget(), "borderRight", Qt::WNoAutoErase);
borderRight = new TQWidget(widget(), "borderRight", TQt::WNoAutoErase);
borderRight->setMouseTracking(true);
borderBottom = new QWidget(widget(), "borderBottom", Qt::WNoAutoErase);
borderBottom = new TQWidget(widget(), "borderBottom", TQt::WNoAutoErase);
borderBottom->setMouseTracking(true);
titleBar->setFixedHeight(titleBarHeight);
titleBar->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
titleBar->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Fixed);
borderTopLeft->setFixedSize(borderWidth, titleBarHeight);
borderTopRight->setFixedSize(borderWidth, titleBarHeight);
borderLeft->setFixedWidth(borderWidth);
borderLeft->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding);
borderLeft->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Expanding);
borderRight->setFixedWidth(borderWidth);
borderRight->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding);
borderRight->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Expanding);
borderBottomLeft->setFixedSize(borderWidth, bottomBorderHeight);
borderBottomRight->setFixedSize(borderWidth, bottomBorderHeight);
borderBottom->setFixedHeight(bottomBorderHeight);
borderBottom->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
borderBottom->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Fixed);
mainlayout->addWidget(titleBar, 0,1);
mainlayout->addWidget(borderTopLeft, 0,0);
mainlayout->addWidget(borderTopRight, 0,2);
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(borderBottomLeft, 2,0);
@@ -883,38 +883,38 @@ void DominoClient::updateMask()
clearMask();
return;
}
QRect r(widget()->rect());
TQRect r(widget()->rect());
QRegion 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 += QRect(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 += QRect(r.x(), r.y()+5, r.width(), r.height()-10);
TQRegion mask(r.x()+5, r.y(), r.width()-10, r.height());
mask += TQRect(r.x()+3, r.y()+1, r.width()-6, r.height()-2);
mask += TQRect(r.x()+2, r.y()+2, r.width()-4, r.height()-4);
mask += TQRect(r.x()+1, r.y()+3, r.width()-2, r.height()-6);
mask += TQRect(r.x(), r.y()+5, r.width(), r.height()-10);
setMask(mask);
}

void DominoClient::updateCaption()
{
QRect r(titleBar->rect());
TQRect r(titleBar->rect());
QPixmap* titleBar_pix = new QPixmap(r.size());
QPainter painter(titleBar_pix);
TQPixmap* titleBar_pix = new TQPixmap(r.size());
TQPainter painter(titleBar_pix);
painter.drawTiledPixmap(0, 0, r.width(), r.height(), *titleBarPix);
int lw = buttonsLeftWidth()+3;
int rw = buttonsRightWidth();

painter.setFont(options()->font(true,false));
QFontMetrics fm = painter.fontMetrics();
TQFontMetrics fm = painter.fontMetrics();
int captionWidth = fm.width(caption());
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.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();
titleBar->setErasePixmap(*titleBar_pix);
@@ -931,10 +931,10 @@ void DominoClient::activeChange()
void DominoClient::iconChange()
{
if(menuButton) {
QPixmap pix(*buttonHidePix);
QPixmap icon = KDecoration::icon().pixmap(QIconSet::Small, QIconSet::Normal);
TQPixmap pix(*buttonHidePix);
TQPixmap icon = KDecoration::icon().pixmap(TQIconSet::Small, TQIconSet::Normal);
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);
}
@@ -982,7 +982,7 @@ void DominoClient::shadeChange()
}

void DominoClient::resize( const QSize& s )
void DominoClient::resize( const TQSize& s )
{
widget()->resize( s );
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())
@@ -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()) {
case QEvent::Resize:
resizeEvent(static_cast<QResizeEvent*>(e));
case TQEvent::Resize:
resizeEvent(static_cast<TQResizeEvent*>(e));
return true;
case QEvent::ApplicationPaletteChange:
case TQEvent::ApplicationPaletteChange:
return false;
case QEvent::Paint:
paintEvent(static_cast<QPaintEvent*>(e));
case TQEvent::Paint:
paintEvent(static_cast<TQPaintEvent*>(e));
return true;
case QEvent::MouseButtonDblClick:
mouseDoubleClickEvent(static_cast<QMouseEvent*>(e));
case TQEvent::MouseButtonDblClick:
mouseDoubleClickEvent(static_cast<TQMouseEvent*>(e));
return true;
case QEvent::Wheel:
case TQEvent::Wheel:
if(titleBar->hasMouse() || isSetShade())
wheelEvent(static_cast<QWheelEvent*>(e));
wheelEvent(static_cast<TQWheelEvent*>(e));
return true;
case QEvent::MouseButtonPress:
processMousePressEvent(static_cast<QMouseEvent*>(e));
case TQEvent::MouseButtonPress:
processMousePressEvent(static_cast<TQMouseEvent*>(e));
return true;
case QEvent::Show:
case TQEvent::Show:
return true;
case QEvent::Enter:
case TQEvent::Enter:
updateButtons();
return true;
case QEvent::Leave:
case TQEvent::Leave:
if(globalMouseTracking && !showInactiveButtons) {
globalMouseTracking = false;
qApp->setGlobalMouseTracking( false );
qApp->removeEventFilter(titleBar);
tqApp->setGlobalMouseTracking( false );
tqApp->removeEventFilter(titleBar);
titleBarMouseOver = false;
}
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->globalMouseTracking) {
client->globalMouseTracking = true;
qApp->setGlobalMouseTracking( true );
qApp->installEventFilter(this);
tqApp->setGlobalMouseTracking( true );
tqApp->installEventFilter(this);
client->titleBarMouseOver = true;
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()) {
QPoint pos = ((QMouseEvent*)e)->pos();
if((dynamic_cast<QWidget*>(o) && geometry().contains(pos)) || dynamic_cast<QButton*>(o)) {
if(e->type() == TQEvent::MouseMove && !showInactiveButtons && !client->isActive()) {
TQPoint pos = ((TQMouseEvent*)e)->pos();
if((dynamic_cast<TQWidget*>(o) && geometry().contains(pos)) || dynamic_cast<TQButton*>(o)) {
client->titleBarMouseOver = true;
}
else {
@@ -1101,16 +1101,16 @@ bool TitleBar::eventFilter(QObject*o, QEvent* e) {

/////////////

void renderGradient(QPainter *painter, QRect &rect,
QColor &c1, QColor &c2, const char* /*name*/)
void renderGradient(TQPainter *painter, TQRect &rect,
TQColor &c1, TQColor &c2, const char* /*name*/)
{
if((rect.width() <= 0)||(rect.height() <= 0))
return;
QPixmap *result;
TQPixmap *result;
result = new QPixmap(10, rect.height());
QPainter p(result);
result = new TQPixmap(10, rect.height());
TQPainter p(result);
int r_h = result->rect().height();
int r_x, r_y, r_x2, r_y2;
@@ -1138,7 +1138,7 @@ void renderGradient(QPainter *painter, QRect &rect,
rl += rdelta;
gl += gdelta;
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.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();
QRgb rgb_b = fgColor.rgb();
TQRgb rgb = bgColor.rgb();
TQRgb rgb_b = fgColor.rgb();
int alpha = a;
if(alpha>255) alpha = 255;
if(alpha<0) alpha = 0;
int inv_alpha = 255 - alpha;

QColor result = QColor( qRgb(qRed(rgb_b)*inv_alpha/255 + qRed(rgb)*alpha/255,
qGreen(rgb_b)*inv_alpha/255 + qGreen(rgb)*alpha/255,
qBlue(rgb_b)*inv_alpha/255 + qBlue(rgb)*alpha/255) );
TQColor result = TQColor( tqRgb(tqRed(rgb_b)*inv_alpha/255 + tqRed(rgb)*alpha/255,
tqGreen(rgb_b)*inv_alpha/255 + tqGreen(rgb)*alpha/255,
tqBlue(rgb_b)*inv_alpha/255 + tqBlue(rgb)*alpha/255) );

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 *resultData = (unsigned int*) result->bits();
result->setAlphaBuffer( true );
int alpha;
int total = img.width()*img.height();
for ( int current = 0 ; current < total ; ++current ) {
alpha = qAlpha( data[ current ] );
resultData[ current ] = qRgba( tintColor.red(), tintColor.green(), tintColor.blue(), alpha );
alpha = tqAlpha( data[ current ] );
resultData[ current ] = tqRgba( tintColor.red(), tintColor.green(), tintColor.blue(), alpha );
}
return *result;
}

+ 37
- 37
client/dominoclient.h View File

@@ -25,14 +25,14 @@

#include <kcommondecoration.h>
#include <kdecorationfactory.h>
#include <qlayout.h>
#include <tqlayout.h>

namespace Domino {

class DominoClient;
class TitleBar;

class DominoHandler: public QObject, public KDecorationFactory
class DominoHandler: public TQObject, public KDecorationFactory
{
public:
DominoHandler();
@@ -41,16 +41,16 @@ class DominoHandler: public QObject, public KDecorationFactory
bool reset( unsigned long changed );
virtual bool supports( Ability ability );
QColor buttonContourColor;
QColor buttonMouseOverContourColor;
QColor buttonPressedContourColor;
TQColor buttonContourColor;
TQColor buttonMouseOverContourColor;
TQColor buttonPressedContourColor;
bool customButtonColor;
QColor buttonColor;
TQColor buttonColor;
bool customButtonIconColor;
QColor buttonIconColor;
TQColor buttonIconColor;
bool customBorderColor;
QColor borderColor;
TQColor borderColor;
bool darkLines;
private:
@@ -70,10 +70,10 @@ class DominoButton : public KCommonDecorationButton
void reset(unsigned long changed);

protected:
void enterEvent(QEvent *);
void leaveEvent(QEvent *);
void drawButton(QPainter *p);
void drawButtonLabel(QPainter*) {;}
void enterEvent(TQEvent *);
void leaveEvent(TQEvent *);
void drawButton(TQPainter *p);
void drawButtonLabel(TQPainter*) {;}

bool isMouseOver;
DominoClient* client;
@@ -87,9 +87,9 @@ class DominoClient : public KCommonDecoration
DominoClient( KDecorationBridge* b, KDecorationFactory* f );
~DominoClient();

virtual QString visibleName() const;
virtual QString defaultButtonsLeft() const;
virtual QString defaultButtonsRight() const;
virtual TQString visibleName() const;
virtual TQString defaultButtonsLeft() const;
virtual TQString defaultButtonsRight() const;
virtual bool decorationBehaviour(DecorationBehaviour behaviour) const;
virtual int layoutMetric(LayoutMetric lm, bool respectWindowState = true, const KCommonDecorationButton * = 0) const;
virtual KCommonDecorationButton *createButton(ButtonType type);
@@ -97,7 +97,7 @@ class DominoClient : public KCommonDecoration
void init();
void reset( unsigned long changed );
void resize( const QSize& s );
void resize( const TQSize& s );
void updateMask();
void updateWindowShape();
@@ -107,15 +107,15 @@ class DominoClient : public KCommonDecoration
void iconChange();
TitleBar* titleBar;
QWidget* borderTopLeft;
QWidget* borderTopRight;
QWidget* borderBottomLeft;
QWidget* borderBottomRight;
QWidget* borderLeft;
QWidget* borderRight;
QWidget* borderBottom;
QGridLayout* mainlayout;
QButton* menuButton;
TQWidget* borderTopLeft;
TQWidget* borderTopRight;
TQWidget* borderBottomLeft;
TQWidget* borderBottomRight;
TQWidget* borderLeft;
TQWidget* borderRight;
TQWidget* borderBottom;
TQGridLayout* mainlayout;
TQButton* menuButton;
void setPixmaps();
bool titleBarMouseOver;
@@ -126,31 +126,31 @@ class DominoClient : public KCommonDecoration
void menuButtonDestroyed();

protected:
bool eventFilter(QObject*, QEvent*);
void paintEvent(QPaintEvent*);
void resizeEvent(QResizeEvent*);
void showEvent(QShowEvent*);
bool eventFilter(TQObject*, TQEvent*);
void paintEvent(TQPaintEvent*);
void resizeEvent(TQResizeEvent*);
void showEvent(TQShowEvent*);

private:
void createLayout();
};

class TitleBar : public QWidget
class TitleBar : public TQWidget
{
public:
TitleBar(QWidget* parent=0, const char* name=0) : QWidget(parent, name) {}
void enterEvent(QEvent * e);
bool eventFilter(QObject*, QEvent*);
TitleBar(TQWidget* parent=0, const char* name=0) : TQWidget(parent, name) {}
void enterEvent(TQEvent * e);
bool eventFilter(TQObject*, TQEvent*);
DominoClient* client;
};



void renderGradient(QPainter *painter, QRect &rect,
QColor &c1, QColor &c2, const char* name = 0);
QColor alphaBlendColors(const QColor &backgroundColor, const QColor &foregroundColor, const int alpha);
QImage tintImage(const QImage &img, const QColor &tintColor);
void renderGradient(TQPainter *painter, TQRect &rect,
TQColor &c1, TQColor &c2, const char* name = 0);
TQColor alphaBlendColors(const TQColor &backgroundColor, const TQColor &foregroundColor, const int alpha);
TQImage tintImage(const TQImage &img, const TQColor &tintColor);
}

#endif

+ 88
- 88
domino/data.h View File

@@ -18,35 +18,35 @@

#ifndef _QEMBED_1804289383
#define _QEMBED_1804289383
#include <qimage.h>
#include <qdict.h>
static const QRgb arrow_down_small_data[] = {
#include <tqimage.h>
#include <tqdict.h>
static const TQRgb arrow_down_small_data[] = {
0x2d000000,0x96000000,0x96000000,0x96000000,0x2e000000,0x1000000,0x79000000,0x99000000,0x7a000000,0x1000000,0x0,0x29000000,0x99000000,0x2b000000,
0x0,0x0,0x0,0x4f000000,0x0,0x0
};

/* 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,
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,
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,
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,
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,
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,
@@ -61,7 +61,7 @@ static const QRgb btn17_data[] = {
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,
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,
@@ -76,7 +76,7 @@ static const QRgb btn17RaisedShadow3_data[] = {
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,
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
};

static const QRgb btn17SunkenShadow_data[] = {
static const TQRgb btn17SunkenShadow_data[] = {
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,
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
};

static const QRgb btn17V_data[] = {
static const TQRgb btn17V_data[] = {
0x0,0xc6000000,0x23000000,0x23000000,0xc6000000,0x0,0x0,0xc6000000,0x23000000,0x23000000,0xc6000000,0x0,0x0,0xc6000000,
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,
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,
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,
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,
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,
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,
@@ -141,7 +141,7 @@ static const QRgb btnPressedShadowRectangular_data[] = {
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,
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,
@@ -151,12 +151,12 @@ static const QRgb btnPressedShadowRound_data[] = {
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,
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,
@@ -184,7 +184,7 @@ static const QRgb checkbox2inside_data[] = {
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,
@@ -212,7 +212,7 @@ static const QRgb checkbox2pressed_data[] = {
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,0x1a000000,0x6a000000,0xba000000,0xc8000000,
@@ -240,7 +240,7 @@ static const QRgb checkbox2rect_data[] = {
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,
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,
@@ -268,7 +268,7 @@ static const QRgb checkbox2shadow_data[] = {
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,
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,
@@ -284,7 +284,7 @@ static const QRgb checkListExclusiveIndicator_data[] = {
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,
@@ -307,7 +307,7 @@ static const QRgb checkmark_data[] = {
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,
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,
@@ -331,7 +331,7 @@ static const QRgb dockBack_data[] = {
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,
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,
@@ -355,7 +355,7 @@ static const QRgb dockClose_data[] = {
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,
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,
@@ -379,7 +379,7 @@ static const QRgb dockStay_data[] = {
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,
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,
@@ -403,13 +403,13 @@ static const QRgb dockToDesktop2_data[] = {
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,0x0,0x17000000,0xbb000000,0xbb000000,0x17000000,0x0,0x0,0x17000000,0xbb000000,0x33000000,0xc1000000,0x20000000,0x20000000,
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,0x1bff0000,0x88ff0000,0xd1ff0000,0xffff0000,0xffff0000,0xd1ff0000,0x88ff0000,0x1bff0000,
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
};

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,0x1ffffff,0xbffffff,0x27b8b8b8,0x464d4d4d,0x4e212121,0x48000000,0x48000000,0x4e212121,0x464d4d4d,0x27b8b8b8,
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
};

static const QRgb lineedit4edges_data[] = {
static const TQRgb lineedit4edges_data[] = {
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,
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
};

static const QRgb lineedit4inside_data[] = {
static const TQRgb lineedit4inside_data[] = {
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,
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
};

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,
0xffededed,0xffededed,0xffededed,0xbeededed,0xbeededed,0xffededed,0xffededed,0xffededed,0xffededed,0xbeededed,0x66ededed,0xf1ededed,0xffededed,0xffededed,
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,
0xffededed,0xffededed,0xffededed,0xafededed,0xafededed,0xffededed,0xffededed,0xffededed,0xffededed,0xafededed,0x2fededed,0xefededed,0xffededed,0xffededed,
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,
0xc000000,0xc000000,0x16000000,0x18000000,0x13000000,0xa000000,0x2000000,0x2000000,0xa000000,0x13000000,0x1a000000,0xf000000,0x6000000,0x6000000,
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,
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,
@@ -495,13 +495,13 @@ static const QRgb lveTriangular_data[] = {
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,
0xff000000,0xff000000,0xff000000,0xcc000000,0x92000000,0xff000000,0xff000000,0xff000000,0xff000000,0xbe000000,0x28000000,0xff000000,0xff000000,0xff000000,
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,
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,
@@ -512,12 +512,12 @@ static const QRgb popup5_data[] = {
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,
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,
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,
@@ -549,7 +549,7 @@ static const QRgb progressTile_data[] = {
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,0x2000000,0x8000000,0xd000000,0xd000000,0xd000000,0x8000000,
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
};

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,0xffffff,0xffffff,0xffffff,0xffffff,0x8ffffff,0x26ffffff,
@@ -597,7 +597,7 @@ static const QRgb radio3inside_data[] = {
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,
@@ -621,7 +621,7 @@ static const QRgb radio3pressed_data[] = {
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,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,
@@ -645,17 +645,17 @@ static const QRgb radio3shadow_data[] = {
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,
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,
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,0x23000000,0x23000000,0x331b1b1b,0x30000000,0x95000000,0x2c000000,0x1000000,0x0,0x0,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
};

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,0xffff0000,0xffff0000,0xffff0000,0xffff0000,0xb4ff0000,0x25ff0000,0x0,0x0,0x0,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
};

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,0x17ffffff,0x17ffffff,0x12ffffff,0x19ffffff,0x16171717,0x24000000,0x17000000,0x7000000,0x2000000,0x2000000,
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
};

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,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,
@@ -747,7 +747,7 @@ static const QRgb scroll2BtnVContour2_data[] = {
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,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,
@@ -770,7 +770,7 @@ static const QRgb scroll2BtnVMask_data[] = {
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,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,
@@ -793,7 +793,7 @@ static const QRgb scroll2BtnVShadow2_data[] = {
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,0x18000000,0x9b000000,0x7c000000,0x3e000000,0x3e000000,0x7c000000,0x9b000000,0x18000000,
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
};

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,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,
@@ -835,7 +835,7 @@ static const QRgb scroll2SliderHDockedContour_data[] = {
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,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,
@@ -856,7 +856,7 @@ static const QRgb scroll2SliderHDockedShadow_data[] = {
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,0x4bff0000,0xdaff0000,0xffff0000,0xffff0000,0xdaff0000,0x4bff0000,0x0,
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
};

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,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,
@@ -898,7 +898,7 @@ static const QRgb scroll2SliderHShadow2_data[] = {
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,0x2000000,0x4a000000,0x98000000,0xb8000000,0xb9000000,0xb8000000,0x91000000,0x56000000,0x2000000,
@@ -919,7 +919,7 @@ static const QRgb scroll2SliderVContour_data[] = {
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,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,
@@ -940,7 +940,7 @@ static const QRgb scroll2SliderVDockedContour_data[] = {
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,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,
@@ -961,7 +961,7 @@ static const QRgb scroll2SliderVDockedShadow_data[] = {
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,0x3ff0000,0x40ff0000,0x77ff0000,0x89ff0000,0x77ff0000,0x40ff0000,0x3ff0000,0x0,
@@ -982,7 +982,7 @@ static const QRgb scroll2SliderVMask_data[] = {
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,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,
@@ -1003,7 +1003,7 @@ static const QRgb scroll2SliderVShadow2_data[] = {
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,
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,
@@ -1018,29 +1018,29 @@ static const QRgb scrollBarArrows_data[] = {
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,
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,
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,
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
};

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,
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
};

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,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,
@@ -1060,7 +1060,7 @@ static const QRgb sliderHandle2inside2_data[] = {
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,0x6c5e5e5e,0x92585858,0x336e6e6e,0x0,0x0,0x0,0x336e6e6e,0x92585858,0x6c5e5e5e,0x0,
0x0,0x0,0x0,0x0,0x6f595959,0x75595959,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x75595959,
@@ -1080,7 +1080,7 @@ static const QRgb sliderHandle2circle_data[] = {
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,0x4000000,0x5000000,0xefefefe,0x32fefefe,0x45fefefe,0x4cfefefe,0x45fefefe,0x32fefefe,0xefefefe,0x5000000,0x4000000,