summaryrefslogtreecommitdiffstats
path: root/deco/config
diff options
context:
space:
mode:
Diffstat (limited to 'deco/config')
-rw-r--r--deco/config/aquariusbutton.cc42
-rw-r--r--deco/config/aquariusbutton.h30
-rw-r--r--deco/config/baghiraconfig.cc210
-rw-r--r--deco/config/baghiraconfig.cc.new210
-rw-r--r--deco/config/baghiraconfig.h44
-rw-r--r--deco/config/baghiraconfig.h.new48
-rw-r--r--deco/config/colorpicker.cc54
-rw-r--r--deco/config/colorpicker.h38
-rw-r--r--deco/config/configdialog.ui338
-rw-r--r--deco/config/configdialog.ui.new52
-rw-r--r--deco/config/customdecosettings.ui60
11 files changed, 563 insertions, 563 deletions
diff --git a/deco/config/aquariusbutton.cc b/deco/config/aquariusbutton.cc
index 6201abc..dcc1638 100644
--- a/deco/config/aquariusbutton.cc
+++ b/deco/config/aquariusbutton.cc
@@ -1,7 +1,7 @@
#include "aquariusbutton.h"
-#include <qcolor.h>
-#include <qpixmap.h>
-#include <qpainter.h>
+#include <tqcolor.h>
+#include <tqpixmap.h>
+#include <tqpainter.h>
#include <kimageeffect.h>
#include "config.h"
@@ -33,7 +33,7 @@
destG = (S*destG + (100-S)*G)/100; \
destB = (S*destB + (100-S)*B)/100;
-static bool blend( const QImage & upper, const QImage & lower, QImage & output)
+static bool blend( const TQImage & upper, const TQImage & lower, TQImage & output)
// adopted from kimageeffect::blend - what is not endian safe...
{
if
@@ -92,7 +92,7 @@ static bool blend( const QImage & upper, const QImage & lower, QImage & output)
return true;
}
-AquariusButton::AquariusButton( QPixmap &pixmap, QWidget* parent, const char* name) : QWidget( parent, name){
+AquariusButton::AquariusButton( TQPixmap &pixmap, TQWidget* parent, const char* name) : TQWidget( parent, name){
pixmap = pixmap;
image = pixmap.convertToImage();
setFixedSize( pixmap.size() );
@@ -101,18 +101,18 @@ AquariusButton::AquariusButton( QPixmap &pixmap, QWidget* parent, const char* na
AquariusButton::~AquariusButton(){
}
-QColor AquariusButton::Color(){
+TQColor AquariusButton::Color(){
return color;
}
-void AquariusButton::setColor(QColor c){
+void AquariusButton::setColor(TQColor c){
color = c;
tint(color);
repaint(false);
}
-void AquariusButton::tint(QColor &c){
- QImage dest( image.width(), image.height(), 32, 0 );
+void AquariusButton::tint(TQColor &c){
+ TQImage dest( image.width(), image.height(), 32, 0 );
dest.setAlphaBuffer( true );
unsigned int *data = ( unsigned int * ) image.bits();
unsigned int *destData = ( unsigned int* ) dest.bits();
@@ -127,34 +127,34 @@ void AquariusButton::tint(QColor &c){
int sq = CLAMP((int)((45.0/128.0)*s+55),0,100);
// float srcPercent, destPercent;
for ( int current = 0 ; current < total ; ++current ) {
- alpha = qAlpha( data[ current ] );
+ alpha = tqAlpha( data[ current ] );
if (alpha < 230){
destData[ current ] = data[ current ];
continue; //do not handle translucent parts to not affect blending
}
- red = qRed( data[ current ] );
- green = qGreen( data[ current ] );
- blue = qBlue( data[ current ] );
+ red = tqRed( data[ current ] );
+ green = tqGreen( data[ current ] );
+ blue = tqBlue( data[ current ] );
SATURATION_COLOR2(sq, red, green, blue);
// force back to valid colorspace !
COLOR_SPACE(destR, destG, destB);
- destData[ current ] = qRgba( destR, destG, destB, alpha );
+ destData[ current ] = tqRgba( destR, destG, destB, alpha );
}
- QPixmap backPix = QPixmap(dest.size());
- QPainter tmpPainter(&backPix);
+ TQPixmap backPix = TQPixmap(dest.size());
+ TQPainter tmpPainter(&backPix);
tmpPainter.fillRect(0, 0, dest.width(),dest.height(), backgroundBrush());
tmpPainter.end();
- QImage back = backPix.convertToImage();
+ TQImage back = backPix.convertToImage();
blend(dest,back,back);
- pixmap = QPixmap(back);
+ pixmap = TQPixmap(back);
}
-void AquariusButton::mousePressEvent( QMouseEvent *e ){
+void AquariusButton::mousePressEvent( TQMouseEvent *e ){
emit clicked();
}
-void AquariusButton::paintEvent( QPaintEvent *e){
- QPainter tmpPainter(this);
+void AquariusButton::paintEvent( TQPaintEvent *e){
+ TQPainter tmpPainter(this);
tmpPainter.drawPixmap(0,0, pixmap);
}
diff --git a/deco/config/aquariusbutton.h b/deco/config/aquariusbutton.h
index 04fec0d..3632408 100644
--- a/deco/config/aquariusbutton.h
+++ b/deco/config/aquariusbutton.h
@@ -1,32 +1,32 @@
#ifndef AQUARIUSBUTTON_H
#define AQUARIUSBUTTON_H
-//#include <qvariant.h>
-#include <qwidget.h>
-#include <qimage.h>
+//#include <tqvariant.h>
+#include <tqwidget.h>
+#include <tqimage.h>
-class QPixmap;
-class QColor;
+class TQPixmap;
+class TQColor;
-class AquariusButton : public QWidget
+class AquariusButton : public TQWidget
{
Q_OBJECT
public:
- AquariusButton( QPixmap &pixmap, QWidget* parent = 0, const char* name = 0);
+ AquariusButton( TQPixmap &pixmap, TQWidget* parent = 0, const char* name = 0);
~AquariusButton();
- QColor Color();
+ TQColor Color();
public slots:
- void setColor(QColor c);
+ void setColor(TQColor c);
protected:
- QPixmap pixmap;
- QImage image;
- QColor color;
- void tint(QColor &c);
- void mousePressEvent( QMouseEvent *e );
- void paintEvent( QPaintEvent *e);
+ TQPixmap pixmap;
+ TQImage image;
+ TQColor color;
+ void tint(TQColor &c);
+ void mousePressEvent( TQMouseEvent *e );
+ void paintEvent( TQPaintEvent *e);
signals:
diff --git a/deco/config/baghiraconfig.cc b/deco/config/baghiraconfig.cc
index 2054976..711105c 100644
--- a/deco/config/baghiraconfig.cc
+++ b/deco/config/baghiraconfig.cc
@@ -11,19 +11,19 @@
#include <klocale.h>
#include <kglobal.h>
#include <kcolorbutton.h>
-#include <qbutton.h>
-#include <qbuttongroup.h>
-#include <qcombobox.h>
-#include <qcheckbox.h>
-#include <qlayout.h>
-#include <qlabel.h>
-#include <qfont.h>
-#include <qgroupbox.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qsettings.h>
-#include <qspinbox.h>
-#include <qwhatsthis.h>
+#include <tqbutton.h>
+#include <tqbuttongroup.h>
+#include <tqcombobox.h>
+#include <tqcheckbox.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
+#include <tqfont.h>
+#include <tqgroupbox.h>
+#include <tqpushbutton.h>
+#include <tqradiobutton.h>
+#include <tqsettings.h>
+#include <tqspinbox.h>
+#include <tqwhatsthis.h>
#include "baghiraconfig.h"
#include "configdialog.h"
@@ -38,11 +38,11 @@
// -------------
// Constructor
-BaghiraConfig::BaghiraConfig(KConfig*, QWidget* parent)
- : QObject(parent), /*config_(0),*/ dialog_(0)
+BaghiraConfig::BaghiraConfig(KConfig*, TQWidget* parent)
+ : TQObject(parent), /*config_(0),*/ dialog_(0)
{
// config_ = new KConfig("baghirarc");
-// config_ = new QSettings;
+// config_ = new TQSettings;
// config_->beginGroup("/baghira/Deco");
KGlobal::locale()->insertCatalogue("kwin_baghira_config");
@@ -164,11 +164,11 @@ BaghiraConfig::~BaghiraConfig()
void BaghiraConfig::load(KConfig*)
{
- QSettings *config_ = new QSettings;
+ TQSettings *config_ = new TQSettings;
config_->beginGroup("/baghira/Deco");
- QString value = config_->readEntry("TitleAlignment", "AlignHCenter");
- QRadioButton *button = (QRadioButton*)dialog_->titlealign->
+ TQString value = config_->readEntry("TitleAlignment", "AlignHCenter");
+ TQRadioButton *button = (TQRadioButton*)dialog_->titlealign->
child((const char *)value.latin1());
if (button) button->setChecked(true);
@@ -183,10 +183,10 @@ void BaghiraConfig::load(KConfig*)
dialog_->noModalDeco->setChecked(config_->readBoolEntry("NoModalDeco",false));
dialog_->delAppname->setChecked(config_->readBoolEntry("RemoveAppname",false));
- dialog_->activeColor1_J->setColor(QColor((unsigned int)config_->readNumEntry("activeColor1_1",QColor(255,255,255).rgb())));
- dialog_->inactiveColor1_J->setColor(QColor((unsigned int)config_->readNumEntry("inactiveColor1_1",QColor(204,214,230).rgb())));
- dialog_->activeColor2_J->setColor(QColor((unsigned int)config_->readNumEntry("activeColor2_1",QColor(238,234,238).rgb())));
- dialog_->inactiveColor2_J->setColor(QColor((unsigned int)config_->readNumEntry("inactiveColor2_1",QColor(194,196,211).rgb())));
+ dialog_->activeColor1_J->setColor(TQColor((unsigned int)config_->readNumEntry("activeColor1_1",TQColor(255,255,255).rgb())));
+ dialog_->inactiveColor1_J->setColor(TQColor((unsigned int)config_->readNumEntry("inactiveColor1_1",TQColor(204,214,230).rgb())));
+ dialog_->activeColor2_J->setColor(TQColor((unsigned int)config_->readNumEntry("activeColor2_1",TQColor(238,234,238).rgb())));
+ dialog_->inactiveColor2_J->setColor(TQColor((unsigned int)config_->readNumEntry("inactiveColor2_1",TQColor(194,196,211).rgb())));
dialog_->buttonStyle_J->setCurrentItem(config_->readNumEntry("ButtonStyle_1",1));
dialog_->titleeffect_J->setCurrentItem(config_->readNumEntry("TitleEffect_1", 1));
dialog_->i_titleeffect_J->setCurrentItem(config_->readNumEntry("inactiveTitleEffect_1", 1));
@@ -199,10 +199,10 @@ void BaghiraConfig::load(KConfig*)
dialog_->LineImpact_J->setValue(config_->readNumEntry("LineImpact_1",40));
dialog_->borderSize_J->setValue(config_->readNumEntry("BorderSize_1",0));
- dialog_->activeColor1_P->setColor(QColor((unsigned int)config_->readNumEntry("activeColor1_2",QColor(238,238,238).rgb())));
- dialog_->inactiveColor1_P->setColor(QColor((unsigned int)config_->readNumEntry("inactiveColor1_2",QColor(246,242,246).rgb())));
- dialog_->activeColor2_P->setColor(QColor((unsigned int)config_->readNumEntry("activeColor2_2",QColor(205,202,205).rgb())));
- dialog_->inactiveColor2_P->setColor(QColor((unsigned int)config_->readNumEntry("inactiveColor2_2",QColor(238,238,238).rgb())));
+ dialog_->activeColor1_P->setColor(TQColor((unsigned int)config_->readNumEntry("activeColor1_2",TQColor(238,238,238).rgb())));
+ dialog_->inactiveColor1_P->setColor(TQColor((unsigned int)config_->readNumEntry("inactiveColor1_2",TQColor(246,242,246).rgb())));
+ dialog_->activeColor2_P->setColor(TQColor((unsigned int)config_->readNumEntry("activeColor2_2",TQColor(205,202,205).rgb())));
+ dialog_->inactiveColor2_P->setColor(TQColor((unsigned int)config_->readNumEntry("inactiveColor2_2",TQColor(238,238,238).rgb())));
dialog_->buttonStyle_P->setCurrentItem(config_->readNumEntry("ButtonStyle_2",0));
dialog_->titleeffect_P->setCurrentItem(config_->readNumEntry("TitleEffect_2", 0));
dialog_->i_titleeffect_P->setCurrentItem(config_->readNumEntry("inactiveTitleEffect_2", 0));
@@ -215,10 +215,10 @@ void BaghiraConfig::load(KConfig*)
dialog_->LineImpact_P->setValue(config_->readNumEntry("LineImpact_2",40));
dialog_->borderSize_P->setValue(config_->readNumEntry("BorderSize_2",0));
- dialog_->activeColor1_B->setColor(QColor((unsigned int)config_->readNumEntry("activeColor1_3",QColor(202,202,202).rgb())));
- dialog_->inactiveColor1_B->setColor(QColor((unsigned int)config_->readNumEntry("inactiveColor1_3",QColor(200,200,200).rgb())));
- dialog_->activeColor2_B->setColor(QColor((unsigned int)config_->readNumEntry("activeColor2_3",QColor(150,150,150).rgb())));
- dialog_->inactiveColor2_B->setColor(QColor((unsigned int)config_->readNumEntry("inactiveColor2_3",QColor(150,150,150).rgb())));
+ dialog_->activeColor1_B->setColor(TQColor((unsigned int)config_->readNumEntry("activeColor1_3",TQColor(202,202,202).rgb())));
+ dialog_->inactiveColor1_B->setColor(TQColor((unsigned int)config_->readNumEntry("inactiveColor1_3",TQColor(200,200,200).rgb())));
+ dialog_->activeColor2_B->setColor(TQColor((unsigned int)config_->readNumEntry("activeColor2_3",TQColor(150,150,150).rgb())));
+ dialog_->inactiveColor2_B->setColor(TQColor((unsigned int)config_->readNumEntry("inactiveColor2_3",TQColor(150,150,150).rgb())));
dialog_->buttonStyle_B->setCurrentItem(config_->readNumEntry("ButtonStyle_3",0));
dialog_->titleeffect_B->setCurrentItem(config_->readNumEntry("TitleEffect_3", 4));
dialog_->i_titleeffect_B->setCurrentItem(config_->readNumEntry("inactiveTitleEffect_3", 4));
@@ -231,8 +231,8 @@ void BaghiraConfig::load(KConfig*)
dialog_->LineImpact_B->setValue(config_->readNumEntry("LineImpact_3",0));
dialog_->borderSize_B->setValue(config_->readNumEntry("BorderSize_3",6));
- dialog_->activeColor1_T->setColor(QColor((unsigned int)config_->readNumEntry("activeColor1_4",QColor(238,238,238).rgb())));
- dialog_->activeColor2_T->setColor(QColor((unsigned int)config_->readNumEntry("activeColor2_4",QColor(205,202,205).rgb())));
+ dialog_->activeColor1_T->setColor(TQColor((unsigned int)config_->readNumEntry("activeColor1_4",TQColor(238,238,238).rgb())));
+ dialog_->activeColor2_T->setColor(TQColor((unsigned int)config_->readNumEntry("activeColor2_4",TQColor(205,202,205).rgb())));
dialog_->buttonStyle_T->setCurrentItem(config_->readNumEntry("ButtonStyle_4",0));
dialog_->shapeUL_T->setChecked(config_->readBoolEntry("ShapeUL_4",true));
dialog_->shapeUR_T->setChecked(config_->readBoolEntry("ShapeUR_4",true));
@@ -242,10 +242,10 @@ void BaghiraConfig::load(KConfig*)
dialog_->_3DImpact_T->setValue(config_->readNumEntry("3DImpact_4",20));
dialog_->borderSize_T->setValue(config_->readNumEntry("BorderSize_4",0));
- dialog_->activeColor1_S->setColor(QColor((unsigned int)config_->readNumEntry("activeColor1_5",QColor(250,250,250).rgb())));
- dialog_->inactiveColor1_S->setColor(QColor((unsigned int)config_->readNumEntry("inactiveColor1_5",QColor(230,230,230).rgb())));
- dialog_->activeColor2_S->setColor(QColor((unsigned int)config_->readNumEntry("activeColor2_5",QColor(230,230,230).rgb())));
- dialog_->inactiveColor2_S->setColor(QColor((unsigned int)config_->readNumEntry("inactiveColor2_5",QColor(250,250,250).rgb())));
+ dialog_->activeColor1_S->setColor(TQColor((unsigned int)config_->readNumEntry("activeColor1_5",TQColor(250,250,250).rgb())));
+ dialog_->inactiveColor1_S->setColor(TQColor((unsigned int)config_->readNumEntry("inactiveColor1_5",TQColor(230,230,230).rgb())));
+ dialog_->activeColor2_S->setColor(TQColor((unsigned int)config_->readNumEntry("activeColor2_5",TQColor(230,230,230).rgb())));
+ dialog_->inactiveColor2_S->setColor(TQColor((unsigned int)config_->readNumEntry("inactiveColor2_5",TQColor(250,250,250).rgb())));
dialog_->buttonStyle_S->setCurrentItem(config_->readNumEntry("ButtonStyle_5",0));
dialog_->titleeffect_S->setCurrentItem(config_->readNumEntry("TitleEffect_5", 0));
dialog_->i_titleeffect_S->setCurrentItem(config_->readNumEntry("inactiveTitleEffect_5", 0));
@@ -258,16 +258,16 @@ void BaghiraConfig::load(KConfig*)
dialog_->LineImpact_S->setValue(config_->readNumEntry("LineImpact_5",30));
dialog_->borderSize_S->setValue(config_->readNumEntry("BorderSize_5",0));
- buttonDialog_->inactiveColor->setColor(QColor((unsigned int)config_->readNumEntry("InactiveButtonColor", QColor(255,255,255).rgb())));
- buttonDialog_->closeColor->setColor(QColor((unsigned int)config_->readNumEntry("CloseButtonColor", QColor(200,85,70).rgb())));
- buttonDialog_->minColor->setColor(QColor((unsigned int)config_->readNumEntry("MinButtonColor", QColor(230,155,40).rgb())));
- buttonDialog_-> maxColor->setColor(QColor((unsigned int)config_->readNumEntry("MaxButtonColor", QColor(121,180,54).rgb())));
- buttonDialog_->menuColor->setColor(QColor((unsigned int)config_->readNumEntry("MenuButtonColor", QColor(74,140,242).rgb())));
- buttonDialog_->helpColor->setColor(QColor((unsigned int)config_->readNumEntry("HelpButtonColor", QColor(0,0,0).rgb())));
- buttonDialog_->stickyColor->setColor(QColor((unsigned int)config_->readNumEntry("StickyButtonColor", QColor(74,140,242).rgb())));
- buttonDialog_->aboveColor->setColor(QColor((unsigned int)config_->readNumEntry("AboveButtonColor", QColor(74,140,242).rgb())));
- buttonDialog_->behindColor->setColor(QColor((unsigned int)config_->readNumEntry("BehindButtonColor", QColor(74,140,242).rgb())));
- buttonDialog_->shadeColor->setColor(QColor((unsigned int)config_->readNumEntry("ShadeButtonColor", QColor(74,140,242).rgb())));
+ buttonDialog_->inactiveColor->setColor(TQColor((unsigned int)config_->readNumEntry("InactiveButtonColor", TQColor(255,255,255).rgb())));
+ buttonDialog_->closeColor->setColor(TQColor((unsigned int)config_->readNumEntry("CloseButtonColor", TQColor(200,85,70).rgb())));
+ buttonDialog_->minColor->setColor(TQColor((unsigned int)config_->readNumEntry("MinButtonColor", TQColor(230,155,40).rgb())));
+ buttonDialog_-> maxColor->setColor(TQColor((unsigned int)config_->readNumEntry("MaxButtonColor", TQColor(121,180,54).rgb())));
+ buttonDialog_->menuColor->setColor(TQColor((unsigned int)config_->readNumEntry("MenuButtonColor", TQColor(74,140,242).rgb())));
+ buttonDialog_->helpColor->setColor(TQColor((unsigned int)config_->readNumEntry("HelpButtonColor", TQColor(0,0,0).rgb())));
+ buttonDialog_->stickyColor->setColor(TQColor((unsigned int)config_->readNumEntry("StickyButtonColor", TQColor(74,140,242).rgb())));
+ buttonDialog_->aboveColor->setColor(TQColor((unsigned int)config_->readNumEntry("AboveButtonColor", TQColor(74,140,242).rgb())));
+ buttonDialog_->behindColor->setColor(TQColor((unsigned int)config_->readNumEntry("BehindButtonColor", TQColor(74,140,242).rgb())));
+ buttonDialog_->shadeColor->setColor(TQColor((unsigned int)config_->readNumEntry("ShadeButtonColor", TQColor(74,140,242).rgb())));
buttonDialog_->init();
config_->endGroup();
delete config_;
@@ -281,11 +281,11 @@ void BaghiraConfig::load(KConfig*)
void BaghiraConfig::save(KConfig*)
{
- QSettings *config_ = new QSettings;
+ TQSettings *config_ = new TQSettings;
config_->beginGroup("/baghira/Deco");
- QRadioButton *button = (QRadioButton*)dialog_->titlealign->selected();
- if (button) config_->writeEntry("TitleAlignment", QString(button->name()));
+ TQRadioButton *button = (TQRadioButton*)dialog_->titlealign->selected();
+ if (button) config_->writeEntry("TitleAlignment", TQString(button->name()));
config_->writeEntry("DrawComicFrame", dialog_->drawComicFrame->isChecked());
config_->writeEntry("AddAutoSpacing", dialog_->addAutoSpacing->isChecked());
config_->writeEntry("ResizeGrip", dialog_->ResizeGrip->isChecked());
@@ -397,7 +397,7 @@ void BaghiraConfig::save(KConfig*)
void BaghiraConfig::defaults()
{
- QRadioButton *button = (QRadioButton*)dialog_->titlealign->child("AlignHCenter");
+ TQRadioButton *button = (TQRadioButton*)dialog_->titlealign->child("AlignHCenter");
if (button) button->setChecked(true);
dialog_->allowEasyClosing->setChecked(false);
dialog_->minTH->setValue(22);
@@ -410,10 +410,10 @@ void BaghiraConfig::defaults()
dialog_->noModalDeco->setChecked(false);
dialog_->delAppname->setChecked(false);
- dialog_->activeColor1_J->setColor(QColor(255,255,255));
- dialog_->inactiveColor1_J->setColor(QColor(204,214,230));
- dialog_->activeColor2_J->setColor(QColor(238,234,238));
- dialog_->inactiveColor2_J->setColor(QColor(194,196,211));
+ dialog_->activeColor1_J->setColor(TQColor(255,255,255));
+ dialog_->inactiveColor1_J->setColor(TQColor(204,214,230));
+ dialog_->activeColor2_J->setColor(TQColor(238,234,238));
+ dialog_->inactiveColor2_J->setColor(TQColor(194,196,211));
dialog_->buttonStyle_J->setCurrentItem(1);
dialog_->titleeffect_J->setCurrentItem(1);
dialog_->i_titleeffect_J->setCurrentItem(1);
@@ -426,10 +426,10 @@ void BaghiraConfig::defaults()
dialog_->LineImpact_J->setValue(40);
dialog_->borderSize_J->setValue(0);
- dialog_->activeColor1_P->setColor(QColor(238,238,238));
- dialog_->inactiveColor1_P->setColor(QColor(246,242,246));
- dialog_->activeColor2_P->setColor(QColor(205,202,205));
- dialog_->inactiveColor2_P->setColor(QColor(238,238,238));
+ dialog_->activeColor1_P->setColor(TQColor(238,238,238));
+ dialog_->inactiveColor1_P->setColor(TQColor(246,242,246));
+ dialog_->activeColor2_P->setColor(TQColor(205,202,205));
+ dialog_->inactiveColor2_P->setColor(TQColor(238,238,238));
dialog_->buttonStyle_P->setCurrentItem(0);
dialog_->titleeffect_P->setCurrentItem(0);
dialog_->i_titleeffect_P->setCurrentItem(0);
@@ -442,10 +442,10 @@ void BaghiraConfig::defaults()
dialog_->LineImpact_P->setValue(30);
dialog_->borderSize_P->setValue(0);
- dialog_->activeColor1_B->setColor(QColor(210,210,210));
- dialog_->inactiveColor1_B->setColor(QColor(200,200,200));
- dialog_->activeColor2_B->setColor(QColor(150,150,150));
- dialog_->inactiveColor2_B->setColor(QColor(140,140,140));
+ dialog_->activeColor1_B->setColor(TQColor(210,210,210));
+ dialog_->inactiveColor1_B->setColor(TQColor(200,200,200));
+ dialog_->activeColor2_B->setColor(TQColor(150,150,150));
+ dialog_->inactiveColor2_B->setColor(TQColor(140,140,140));
dialog_->buttonStyle_B->setCurrentItem(0);
dialog_->titleeffect_B->setCurrentItem(4);
dialog_->i_titleeffect_B->setCurrentItem(4);
@@ -458,8 +458,8 @@ void BaghiraConfig::defaults()
dialog_->LineImpact_B->setValue(0);
dialog_->borderSize_B->setValue(6);
- dialog_->activeColor1_T->setColor(QColor(238,238,238));
- dialog_->activeColor2_T->setColor(QColor(211,208,211));
+ dialog_->activeColor1_T->setColor(TQColor(238,238,238));
+ dialog_->activeColor2_T->setColor(TQColor(211,208,211));
dialog_->buttonStyle_T->setCurrentItem(0);
dialog_->shapeUL_T->setChecked(true);
dialog_->shapeUR_T->setChecked(true);
@@ -469,10 +469,10 @@ void BaghiraConfig::defaults()
dialog_->_3DImpact_T->setValue(20);
dialog_->borderSize_T->setValue(0);
- dialog_->activeColor1_S->setColor(QColor(250,250,250));
- dialog_->inactiveColor1_S->setColor(QColor(230,230,230));
- dialog_->activeColor2_S->setColor(QColor(230,230,230));
- dialog_->inactiveColor2_S->setColor(QColor(250,250,250));
+ dialog_->activeColor1_S->setColor(TQColor(250,250,250));
+ dialog_->inactiveColor1_S->setColor(TQColor(230,230,230));
+ dialog_->activeColor2_S->setColor(TQColor(230,230,230));
+ dialog_->inactiveColor2_S->setColor(TQColor(250,250,250));
dialog_->buttonStyle_S->setCurrentItem(0);
dialog_->titleeffect_S->setCurrentItem(0);
dialog_->i_titleeffect_S->setCurrentItem(0);
@@ -502,12 +502,12 @@ const int graphiteDarkPreset[10][3] = {{255,255,255},{103,118,134},{103,118,134}
const ColorTable* presetColors[NUMBEROFCOLORS] = {&aquaPreset, &graphitePreset, &graphiteDarkPreset};
-ButtonColors::ButtonColors(QWidget *parent, const char * name) : QDialog(parent, name){
+ButtonColors::ButtonColors(TQWidget *parent, const char * name) : TQDialog(parent, name){
save = false;
- layout = new QGridLayout(this,2,2,11,6, "Grid");
- buttonLayout = new QVBoxLayout(0,0,6);
+ layout = new TQGridLayout(this,2,2,11,6, "Grid");
+ buttonLayout = new TQVBoxLayout(0,0,6);
- QPixmap tmpPix = QPixmap(uic_findImage("preview"));
+ TQPixmap tmpPix = TQPixmap(uic_findImage("preview"));
inactiveButton = new AquariusButton(tmpPix,this, "Inactive Button");
buttonLayout->addWidget(inactiveButton);
closeButton = new AquariusButton(tmpPix,this, "Close Button");
@@ -524,34 +524,34 @@ ButtonColors::ButtonColors(QWidget *parent, const char * name) : QDialog(parent,
buttonLayout->addWidget(behindButton);
shadeButton = new AquariusButton(tmpPix,this, "Shade Button");
buttonLayout->addWidget(shadeButton);
- tmpPix = QPixmap(uic_findImage("preview-menu"));
+ tmpPix = TQPixmap(uic_findImage("preview-menu"));
menuButton = new AquariusButton(tmpPix,this, "Menu Button");
buttonLayout->addWidget(menuButton);
- tmpPix = QPixmap(uic_findImage("icon_help"));
+ tmpPix = TQPixmap(uic_findImage("icon_help"));
helpButton = new AquariusButton(tmpPix,this, "Help Button");
buttonLayout->addWidget(helpButton);
- twoButts = new QHBoxLayout(0,0,6);
- presets_ = new QComboBox(this);
+ twoButts = new TQHBoxLayout(0,0,6);
+ presets_ = new TQComboBox(this);
for (int i = 0; i < NUMBEROFCOLORS; i++)
presets_->insertItem ( presetColorName[i], i );
twoButts->addWidget(presets_);
- cancel = new QPushButton("Cancel", this);
+ cancel = new TQPushButton("Cancel", this);
cancel->setDefault( true );
twoButts->addWidget(cancel);
twoButts->addStretch();
layout->addLayout(twoButts,1,0);
- ok = new QPushButton("OK", this);
+ ok = new TQPushButton("OK", this);
layout->addWidget(ok,1,1);
layout->addLayout(buttonLayout,0,1);
- pickerLayout = new QVBoxLayout(0,0,6,0);
+ pickerLayout = new TQVBoxLayout(0,0,6,0);
- indicator = new QLabel(inactiveButton->name(), this);
- indicator->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter | Qt::ExpandTabs);
- QFont tmpFont = font();
+ indicator = new TQLabel(inactiveButton->name(), this);
+ indicator->setAlignment(TQt::AlignHCenter | TQt::AlignVCenter | TQt::ExpandTabs);
+ TQFont tmpFont = font();
tmpFont.setBold( true );
tmpFont.setPointSize( 24 );
indicator->setFont(tmpFont);
@@ -592,7 +592,7 @@ ButtonColors::ButtonColors(QWidget *parent, const char * name) : QDialog(parent,
layout->addLayout(pickerLayout,0,0);
- resize( QSize(485, 177).expandedTo(minimumSizeHint()) );
+ resize( TQSize(485, 177).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished );
connect(presets_,SIGNAL(activated(int)), this, SLOT(setColorGroup(int)));
@@ -613,16 +613,16 @@ ButtonColors::ButtonColors(QWidget *parent, const char * name) : QDialog(parent,
connect(behindButton, SIGNAL(clicked()), this, SLOT(activateBehind()) );
connect(shadeButton, SIGNAL(clicked()), this, SLOT(activateShade()) );
- connect(inactiveColor, SIGNAL(colorChanged(QColor)), inactiveButton, SLOT(setColor(QColor)) );
- connect(closeColor, SIGNAL(colorChanged(QColor)), closeButton, SLOT(setColor(QColor)) );
- connect(minColor, SIGNAL(colorChanged(QColor)), minButton, SLOT(setColor(QColor)) );
- connect(maxColor, SIGNAL(colorChanged(QColor)), maxButton, SLOT(setColor(QColor)) );
- connect(menuColor, SIGNAL(colorChanged(QColor)), menuButton, SLOT(setColor(QColor)) );
- connect(helpColor, SIGNAL(colorChanged(QColor)), helpButton, SLOT(setColor(QColor)) );
- connect(stickyColor, SIGNAL(colorChanged(QColor)), stickyButton, SLOT(setColor(QColor)) );
- connect(aboveColor, SIGNAL(colorChanged(QColor)), aboveButton, SLOT(setColor(QColor)) );
- connect(behindColor, SIGNAL(colorChanged(QColor)), behindButton, SLOT(setColor(QColor)) );
- connect(shadeColor, SIGNAL(colorChanged(QColor)), shadeButton, SLOT(setColor(QColor)) );
+ connect(inactiveColor, SIGNAL(colorChanged(TQColor)), inactiveButton, SLOT(setColor(TQColor)) );
+ connect(closeColor, SIGNAL(colorChanged(TQColor)), closeButton, SLOT(setColor(TQColor)) );
+ connect(minColor, SIGNAL(colorChanged(TQColor)), minButton, SLOT(setColor(TQColor)) );
+ connect(maxColor, SIGNAL(colorChanged(TQColor)), maxButton, SLOT(setColor(TQColor)) );
+ connect(menuColor, SIGNAL(colorChanged(TQColor)), menuButton, SLOT(setColor(TQColor)) );
+ connect(helpColor, SIGNAL(colorChanged(TQColor)), helpButton, SLOT(setColor(TQColor)) );
+ connect(stickyColor, SIGNAL(colorChanged(TQColor)), stickyButton, SLOT(setColor(TQColor)) );
+ connect(aboveColor, SIGNAL(colorChanged(TQColor)), aboveButton, SLOT(setColor(TQColor)) );
+ connect(behindColor, SIGNAL(colorChanged(TQColor)), behindButton, SLOT(setColor(TQColor)) );
+ connect(shadeColor, SIGNAL(colorChanged(TQColor)), shadeButton, SLOT(setColor(TQColor)) );
}
@@ -630,16 +630,16 @@ ButtonColors::~ButtonColors(){
}
void ButtonColors::setColorGroup(int i){
- inactiveColor->setColor(QColor((*presetColors[i])[0][0],(*presetColors[i])[0][1],(*presetColors[i])[0][2]).rgb());
- closeColor->setColor(QColor((*presetColors[i])[1][0],(*presetColors[i])[1][1],(*presetColors[i])[1][2]).rgb());
- minColor->setColor(QColor((*presetColors[i])[2][0],(*presetColors[i])[2][1],(*presetColors[i])[2][2]).rgb());
- maxColor->setColor(QColor((*presetColors[i])[3][0],(*presetColors[i])[3][1],(*presetColors[i])[3][2]).rgb());
- menuColor->setColor(QColor((*presetColors[i])[4][0],(*presetColors[i])[4][1],(*presetColors[i])[4][2]).rgb());
- helpColor->setColor(QColor((*presetColors[i])[5][0],(*presetColors[i])[5][1],(*presetColors[i])[5][2]).rgb());
- stickyColor->setColor(QColor((*presetColors[i])[6][0],(*presetColors[i])[6][1],(*presetColors[i])[6][2]).rgb());
- aboveColor->setColor(QColor((*presetColors[i])[7][0],(*presetColors[i])[7][1],(*presetColors[i])[7][2]).rgb());
- behindColor->setColor(QColor((*presetColors[i])[8][0],(*presetColors[i])[8][1],(*presetColors[i])[8][2]).rgb());
- shadeColor->setColor(QColor((*presetColors[i])[9][0],(*presetColors[i])[9][1],(*presetColors[i])[9][2]).rgb());
+ inactiveColor->setColor(TQColor((*presetColors[i])[0][0],(*presetColors[i])[0][1],(*presetColors[i])[0][2]).rgb());
+ closeColor->setColor(TQColor((*presetColors[i])[1][0],(*presetColors[i])[1][1],(*presetColors[i])[1][2]).rgb());
+ minColor->setColor(TQColor((*presetColors[i])[2][0],(*presetColors[i])[2][1],(*presetColors[i])[2][2]).rgb());
+ maxColor->setColor(TQColor((*presetColors[i])[3][0],(*presetColors[i])[3][1],(*presetColors[i])[3][2]).rgb());
+ menuColor->setColor(TQColor((*presetColors[i])[4][0],(*presetColors[i])[4][1],(*presetColors[i])[4][2]).rgb());
+ helpColor->setColor(TQColor((*presetColors[i])[5][0],(*presetColors[i])[5][1],(*presetColors[i])[5][2]).rgb());
+ stickyColor->setColor(TQColor((*presetColors[i])[6][0],(*presetColors[i])[6][1],(*presetColors[i])[6][2]).rgb());
+ aboveColor->setColor(TQColor((*presetColors[i])[7][0],(*presetColors[i])[7][1],(*presetColors[i])[7][2]).rgb());
+ behindColor->setColor(TQColor((*presetColors[i])[8][0],(*presetColors[i])[8][1],(*presetColors[i])[8][2]).rgb());
+ shadeColor->setColor(TQColor((*presetColors[i])[9][0],(*presetColors[i])[9][1],(*presetColors[i])[9][2]).rgb());
}
void ButtonColors::setPicker(ColorPicker *picker){
@@ -721,7 +721,7 @@ void ButtonColors::init(){
extern "C"
{
- QObject* allocate_config(KConfig* config, QWidget* parent) {
+ TQObject* allocate_config(KConfig* config, TQWidget* parent) {
return(new BaghiraConfig(config, parent));
}
}
diff --git a/deco/config/baghiraconfig.cc.new b/deco/config/baghiraconfig.cc.new
index 8d83666..2f35515 100644
--- a/deco/config/baghiraconfig.cc.new
+++ b/deco/config/baghiraconfig.cc.new
@@ -11,19 +11,19 @@
#include <klocale.h>
#include <kglobal.h>
#include <kcolorbutton.h>
-#include <qbutton.h>
-#include <qbuttongroup.h>
-#include <qcombobox.h>
-#include <qcheckbox.h>
-#include <qlayout.h>
-#include <qlabel.h>
-#include <qfont.h>
-#include <qgroupbox.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qsettings.h>
-#include <qspinbox.h>
-#include <qwhatsthis.h>
+#include <tqbutton.h>
+#include <tqbuttongroup.h>
+#include <tqcombobox.h>
+#include <tqcheckbox.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
+#include <tqfont.h>
+#include <tqgroupbox.h>
+#include <tqpushbutton.h>
+#include <tqradiobutton.h>
+#include <tqsettings.h>
+#include <tqspinbox.h>
+#include <tqwhatsthis.h>
#include "baghiraconfig.h"
#include "configdialog.h"
@@ -39,11 +39,11 @@
// -------------
// Constructor
-BaghiraConfig::BaghiraConfig(KConfig*, QWidget* parent)
- : QObject(parent), /*config_(0),*/ dialog_(0)
+BaghiraConfig::BaghiraConfig(KConfig*, TQWidget* parent)
+ : TQObject(parent), /*config_(0),*/ dialog_(0)
{
// config_ = new KConfig("baghirarc");
-// config_ = new QSettings;
+// config_ = new TQSettings;
// config_->beginGroup("/baghira/Deco");
KGlobal::locale()->insertCatalogue("kwin_baghira_config");
@@ -165,11 +165,11 @@ BaghiraConfig::~BaghiraConfig()
void BaghiraConfig::load(KConfig*)
{
- QSettings *config_ = new QSettings;
+ TQSettings *config_ = new TQSettings;
config_->beginGroup("/baghira/Deco");
- QString value = config_->readEntry("TitleAlignment", "AlignHCenter");
- QRadioButton *button = (QRadioButton*)dialog_->titlealign->
+ TQString value = config_->readEntry("TitleAlignment", "AlignHCenter");
+ TQRadioButton *button = (TQRadioButton*)dialog_->titlealign->
child((const char *)value.latin1());
if (button) button->setChecked(true);
@@ -184,10 +184,10 @@ void BaghiraConfig::load(KConfig*)
dialog_->noModalDeco->setChecked(config_->readBoolEntry("NoModalDeco",false));
dialog_->delAppname->setChecked(config_->readBoolEntry("RemoveAppname",false));
- dialog_->activeColor1_J->setColor(QColor((unsigned int)config_->readNumEntry("activeColor1_1",QColor(255,255,255).rgb())));
- dialog_->inactiveColor1_J->setColor(QColor((unsigned int)config_->readNumEntry("inactiveColor1_1",QColor(204,214,230).rgb())));
- dialog_->activeColor2_J->setColor(QColor((unsigned int)config_->readNumEntry("activeColor2_1",QColor(238,234,238).rgb())));
- dialog_->inactiveColor2_J->setColor(QColor((unsigned int)config_->readNumEntry("inactiveColor2_1",QColor(194,196,211).rgb())));
+ dialog_->activeColor1_J->setColor(TQColor((unsigned int)config_->readNumEntry("activeColor1_1",TQColor(255,255,255).rgb())));
+ dialog_->inactiveColor1_J->setColor(TQColor((unsigned int)config_->readNumEntry("inactiveColor1_1",TQColor(204,214,230).rgb())));
+ dialog_->activeColor2_J->setColor(TQColor((unsigned int)config_->readNumEntry("activeColor2_1",TQColor(238,234,238).rgb())));
+ dialog_->inactiveColor2_J->setColor(TQColor((unsigned int)config_->readNumEntry("inactiveColor2_1",TQColor(194,196,211).rgb())));
dialog_->buttonStyle_J->setCurrentItem(config_->readNumEntry("ButtonStyle_1",1));
dialog_->titleeffect_J->setCurrentItem(config_->readNumEntry("TitleEffect_1", 1));
dialog_->i_titleeffect_J->setCurrentItem(config_->readNumEntry("inactiveTitleEffect_1", 1));
@@ -200,10 +200,10 @@ void BaghiraConfig::load(KConfig*)
dialog_->LineImpact_J->setValue(config_->readNumEntry("LineImpact_1",40));
dialog_->borderSize_J->setValue(config_->readNumEntry("BorderSize_1",0));
- dialog_->activeColor1_P->setColor(QColor((unsigned int)config_->readNumEntry("activeColor1_2",QColor(238,238,238).rgb())));
- dialog_->inactiveColor1_P->setColor(QColor((unsigned int)config_->readNumEntry("inactiveColor1_2",QColor(246,242,246).rgb())));
- dialog_->activeColor2_P->setColor(QColor((unsigned int)config_->readNumEntry("activeColor2_2",QColor(205,202,205).rgb())));
- dialog_->inactiveColor2_P->setColor(QColor((unsigned int)config_->readNumEntry("inactiveColor2_2",QColor(238,238,238).rgb())));
+ dialog_->activeColor1_P->setColor(TQColor((unsigned int)config_->readNumEntry("activeColor1_2",TQColor(238,238,238).rgb())));
+ dialog_->inactiveColor1_P->setColor(TQColor((unsigned int)config_->readNumEntry("inactiveColor1_2",TQColor(246,242,246).rgb())));
+ dialog_->activeColor2_P->setColor(TQColor((unsigned int)config_->readNumEntry("activeColor2_2",TQColor(205,202,205).rgb())));
+ dialog_->inactiveColor2_P->setColor(TQColor((unsigned int)config_->readNumEntry("inactiveColor2_2",TQColor(238,238,238).rgb())));
dialog_->buttonStyle_P->setCurrentItem(config_->readNumEntry("ButtonStyle_2",0));
dialog_->titleeffect_P->setCurrentItem(config_->readNumEntry("TitleEffect_2", 0));
dialog_->i_titleeffect_P->setCurrentItem(config_->readNumEntry("inactiveTitleEffect_2", 0));
@@ -216,10 +216,10 @@ void BaghiraConfig::load(KConfig*)
dialog_->LineImpact_P->setValue(config_->readNumEntry("LineImpact_2",40));
dialog_->borderSize_P->setValue(config_->readNumEntry("BorderSize_2",0));
- dialog_->activeColor1_B->setColor(QColor((unsigned int)config_->readNumEntry("activeColor1_3",QColor(202,202,202).rgb())));
- dialog_->inactiveColor1_B->setColor(QColor((unsigned int)config_->readNumEntry("inactiveColor1_3",QColor(200,200,200).rgb())));
- dialog_->activeColor2_B->setColor(QColor((unsigned int)config_->readNumEntry("activeColor2_3",QColor(150,150,150).rgb())));
- dialog_->inactiveColor2_B->setColor(QColor((unsigned int)config_->readNumEntry("inactiveColor2_3",QColor(150,150,150).rgb())));
+ dialog_->activeColor1_B->setColor(TQColor((unsigned int)config_->readNumEntry("activeColor1_3",TQColor(202,202,202).rgb())));
+ dialog_->inactiveColor1_B->setColor(TQColor((unsigned int)config_->readNumEntry("inactiveColor1_3",TQColor(200,200,200).rgb())));
+ dialog_->activeColor2_B->setColor(TQColor((unsigned int)config_->readNumEntry("activeColor2_3",TQColor(150,150,150).rgb())));
+ dialog_->inactiveColor2_B->setColor(TQColor((unsigned int)config_->readNumEntry("inactiveColor2_3",TQColor(150,150,150).rgb())));
dialog_->buttonStyle_B->setCurrentItem(config_->readNumEntry("ButtonStyle_3",0));
dialog_->titleeffect_B->setCurrentItem(config_->readNumEntry("TitleEffect_3", 4));
dialog_->i_titleeffect_B->setCurrentItem(config_->readNumEntry("inactiveTitleEffect_3", 4));
@@ -232,8 +232,8 @@ void BaghiraConfig::load(KConfig*)
dialog_->LineImpact_B->setValue(config_->readNumEntry("LineImpact_3",0));
dialog_->borderSize_B->setValue(config_->readNumEntry("BorderSize_3",6));
- dialog_->activeColor1_T->setColor(QColor((unsigned int)config_->readNumEntry("activeColor1_4",QColor(238,238,238).rgb())));
- dialog_->activeColor2_T->setColor(QColor((unsigned int)config_->readNumEntry("activeColor2_4",QColor(205,202,205).rgb())));
+ dialog_->activeColor1_T->setColor(TQColor((unsigned int)config_->readNumEntry("activeColor1_4",TQColor(238,238,238).rgb())));
+ dialog_->activeColor2_T->setColor(TQColor((unsigned int)config_->readNumEntry("activeColor2_4",TQColor(205,202,205).rgb())));
dialog_->buttonStyle_T->setCurrentItem(config_->readNumEntry("ButtonStyle_4",0));
dialog_->shapeUL_T->setChecked(config_->readBoolEntry("ShapeUL_4",true));
dialog_->shapeUR_T->setChecked(config_->readBoolEntry("ShapeUR_4",true));
@@ -243,10 +243,10 @@ void BaghiraConfig::load(KConfig*)
dialog_->_3DImpact_T->setValue(config_->readNumEntry("3DImpact_4",20));
dialog_->borderSize_T->setValue(config_->readNumEntry("BorderSize_4",0));
- dialog_->activeColor1_S->setColor(QColor((unsigned int)config_->readNumEntry("activeColor1_5",QColor(250,250,250).rgb())));
- dialog_->inactiveColor1_S->setColor(QColor((unsigned int)config_->readNumEntry("inactiveColor1_5",QColor(230,230,230).rgb())));
- dialog_->activeColor2_S->setColor(QColor((unsigned int)config_->readNumEntry("activeColor2_5",QColor(230,230,230).rgb())));
- dialog_->inactiveColor2_S->setColor(QColor((unsigned int)config_->readNumEntry("inactiveColor2_5",QColor(250,250,250).rgb())));
+ dialog_->activeColor1_S->setColor(TQColor((unsigned int)config_->readNumEntry("activeColor1_5",TQColor(250,250,250).rgb())));
+ dialog_->inactiveColor1_S->setColor(TQColor((unsigned int)config_->readNumEntry("inactiveColor1_5",TQColor(230,230,230).rgb())));
+ dialog_->activeColor2_S->setColor(TQColor((unsigned int)config_->readNumEntry("activeColor2_5",TQColor(230,230,230).rgb())));
+ dialog_->inactiveColor2_S->setColor(TQColor((unsigned int)config_->readNumEntry("inactiveColor2_5",TQColor(250,250,250).rgb())));
dialog_->buttonStyle_S->setCurrentItem(config_->readNumEntry("ButtonStyle_5",0));
dialog_->titleeffect_S->setCurrentItem(config_->readNumEntry("TitleEffect_5", 0));
dialog_->i_titleeffect_S->setCurrentItem(config_->readNumEntry("inactiveTitleEffect_5", 0));
@@ -259,16 +259,16 @@ void BaghiraConfig::load(KConfig*)
dialog_->LineImpact_S->setValue(config_->readNumEntry("LineImpact_5",30));
dialog_->borderSize_S->setValue(config_->readNumEntry("BorderSize_5",0));
- buttonDialog_->inactiveColor->setColor(QColor((unsigned int)config_->readNumEntry("InactiveButtonColor", QColor(255,255,255).rgb())));
- buttonDialog_->closeColor->setColor(QColor((unsigned int)config_->readNumEntry("CloseButtonColor", QColor(200,85,70).rgb())));
- buttonDialog_->minColor->setColor(QColor((unsigned int)config_->readNumEntry("MinButtonColor", QColor(230,155,40).rgb())));
- buttonDialog_-> maxColor->setColor(QColor((unsigned int)config_->readNumEntry("MaxButtonColor", QColor(121,180,54).rgb())));
- buttonDialog_->menuColor->setColor(QColor((unsigned int)config_->readNumEntry("MenuButtonColor", QColor(74,140,242).rgb())));
- buttonDialog_->helpColor->setColor(QColor((unsigned int)config_->readNumEntry("HelpButtonColor", QColor(0,0,0).rgb())));
- buttonDialog_->stickyColor->setColor(QColor((unsigned int)config_->readNumEntry("StickyButtonColor", QColor(74,140,242).rgb())));
- buttonDialog_->aboveColor->setColor(QColor((unsigned int)config_->readNumEntry("AboveButtonColor", QColor(74,140,242).rgb())));
- buttonDialog_->behindColor->setColor(QColor((unsigned int)config_->readNumEntry("BehindButtonColor", QColor(74,140,242).rgb())));
- buttonDialog_->shadeColor->setColor(QColor((unsigned int)config_->readNumEntry("ShadeButtonColor", QColor(74,140,242).rgb())));
+ buttonDialog_->inactiveColor->setColor(TQColor((unsigned int)config_->readNumEntry("InactiveButtonColor", TQColor(255,255,255).rgb())));
+ buttonDialog_->closeColor->setColor(TQColor((unsigned int)config_->readNumEntry("CloseButtonColor", TQColor(200,85,70).rgb())));
+ buttonDialog_->minColor->setColor(TQColor((unsigned int)config_->readNumEntry("MinButtonColor", TQColor(230,155,40).rgb())));
+ buttonDialog_-> maxColor->setColor(TQColor((unsigned int)config_->readNumEntry("MaxButtonColor", TQColor(121,180,54).rgb())));
+ buttonDialog_->menuColor->setColor(TQColor((unsigned int)config_->readNumEntry("MenuButtonColor", TQColor(74,140,242).rgb())));
+ buttonDialog_->helpColor->setColor(TQColor((unsigned int)config_->readNumEntry("HelpButtonColor", TQColor(0,0,0).rgb())));
+ buttonDialog_->stickyColor->setColor(TQColor((unsigned int)config_->readNumEntry("StickyButtonColor", TQColor(74,140,242).rgb())));
+ buttonDialog_->aboveColor->setColor(TQColor((unsigned int)config_->readNumEntry("AboveButtonColor", TQColor(74,140,242).rgb())));
+ buttonDialog_->behindColor->setColor(TQColor((unsigned int)config_->readNumEntry("BehindButtonColor", TQColor(74,140,242).rgb())));
+ buttonDialog_->shadeColor->setColor(TQColor((unsigned int)config_->readNumEntry("ShadeButtonColor", TQColor(74,140,242).rgb())));
buttonDialog_->init();
config_->endGroup();
delete config_;
@@ -282,11 +282,11 @@ void BaghiraConfig::load(KConfig*)
void BaghiraConfig::save(KConfig*)
{
- QSettings *config_ = new QSettings;
+ TQSettings *config_ = new TQSettings;
config_->beginGroup("/baghira/Deco");
- QRadioButton *button = (QRadioButton*)dialog_->titlealign->selected();
- if (button) config_->writeEntry("TitleAlignment", QString(button->name()));
+ TQRadioButton *button = (TQRadioButton*)dialog_->titlealign->selected();
+ if (button) config_->writeEntry("TitleAlignment", TQString(button->name()));
config_->writeEntry("DrawComicFrame", dialog_->drawComicFrame->isChecked());
config_->writeEntry("AddAutoSpacing", dialog_->addAutoSpacing->isChecked());
config_->writeEntry("ResizeGrip", dialog_->ResizeGrip->isChecked());
@@ -398,7 +398,7 @@ void BaghiraConfig::save(KConfig*)
void BaghiraConfig::defaults()
{
- QRadioButton *button = (QRadioButton*)dialog_->titlealign->child("AlignHCenter");
+ TQRadioButton *button = (TQRadioButton*)dialog_->titlealign->child("AlignHCenter");
if (button) button->setChecked(true);
dialog_->allowEasyClosing->setChecked(false);
dialog_->minTH->setValue(22);
@@ -411,10 +411,10 @@ void BaghiraConfig::defaults()
dialog_->noModalDeco->setChecked(false);
dialog_->delAppname->setChecked(false);
- dialog_->activeColor1_J->setColor(QColor(255,255,255));
- dialog_->inactiveColor1_J->setColor(QColor(204,214,230));
- dialog_->activeColor2_J->setColor(QColor(238,234,238));
- dialog_->inactiveColor2_J->setColor(QColor(194,196,211));
+ dialog_->activeColor1_J->setColor(TQColor(255,255,255));
+ dialog_->inactiveColor1_J->setColor(TQColor(204,214,230));
+ dialog_->activeColor2_J->setColor(TQColor(238,234,238));
+ dialog_->inactiveColor2_J->setColor(TQColor(194,196,211));
dialog_->buttonStyle_J->setCurrentItem(1);
dialog_->titleeffect_J->setCurrentItem(1);
dialog_->i_titleeffect_J->setCurrentItem(1);
@@ -427,10 +427,10 @@ void BaghiraConfig::defaults()
dialog_->LineImpact_J->setValue(40);
dialog_->borderSize_J->setValue(0);
- dialog_->activeColor1_P->setColor(QColor(238,238,238));
- dialog_->inactiveColor1_P->setColor(QColor(246,242,246));
- dialog_->activeColor2_P->setColor(QColor(205,202,205));
- dialog_->inactiveColor2_P->setColor(QColor(238,238,238));
+ dialog_->activeColor1_P->setColor(TQColor(238,238,238));
+ dialog_->inactiveColor1_P->setColor(TQColor(246,242,246));
+ dialog_->activeColor2_P->setColor(TQColor(205,202,205));
+ dialog_->inactiveColor2_P->setColor(TQColor(238,238,238));
dialog_->buttonStyle_P->setCurrentItem(0);
dialog_->titleeffect_P->setCurrentItem(0);
dialog_->i_titleeffect_P->setCurrentItem(0);
@@ -443,10 +443,10 @@ void BaghiraConfig::defaults()
dialog_->LineImpact_P->setValue(30);
dialog_->borderSize_P->setValue(0);
- dialog_->activeColor1_B->setColor(QColor(210,210,210));
- dialog_->inactiveColor1_B->setColor(QColor(200,200,200));
- dialog_->activeColor2_B->setColor(QColor(150,150,150));
- dialog_->inactiveColor2_B->setColor(QColor(140,140,140));
+ dialog_->activeColor1_B->setColor(TQColor(210,210,210));
+ dialog_->inactiveColor1_B->setColor(TQColor(200,200,200));
+ dialog_->activeColor2_B->setColor(TQColor(150,150,150));
+ dialog_->inactiveColor2_B->setColor(TQColor(140,140,140));
dialog_->buttonStyle_B->setCurrentItem(0);
dialog_->titleeffect_B->setCurrentItem(4);
dialog_->i_titleeffect_B->setCurrentItem(4);
@@ -459,8 +459,8 @@ void BaghiraConfig::defaults()
dialog_->LineImpact_B->setValue(0);
dialog_->borderSize_B->setValue(6);
- dialog_->activeColor1_T->setColor(QColor(238,238,238));
- dialog_->activeColor2_T->setColor(QColor(211,208,211));
+ dialog_->activeColor1_T->setColor(TQColor(238,238,238));
+ dialog_->activeColor2_T->setColor(TQColor(211,208,211));
dialog_->buttonStyle_T->setCurrentItem(0);
dialog_->shapeUL_T->setChecked(true);
dialog_->shapeUR_T->setChecked(true);
@@ -470,10 +470,10 @@ void BaghiraConfig::defaults()
dialog_->_3DImpact_T->setValue(20);
dialog_->borderSize_T->setValue(0);
- dialog_->activeColor1_S->setColor(QColor(250,250,250));
- dialog_->inactiveColor1_S->setColor(QColor(230,230,230));
- dialog_->activeColor2_S->setColor(QColor(230,230,230));
- dialog_->inactiveColor2_S->setColor(QColor(250,250,250));
+ dialog_->activeColor1_S->setColor(TQColor(250,250,250));
+ dialog_->inactiveColor1_S->setColor(TQColor(230,230,230));
+ dialog_->activeColor2_S->setColor(TQColor(230,230,230));
+ dialog_->inactiveColor2_S->setColor(TQColor(250,250,250));
dialog_->buttonStyle_S->setCurrentItem(0);
dialog_->titleeffect_S->setCurrentItem(0);
dialog_->i_titleeffect_S->setCurrentItem(0);
@@ -503,12 +503,12 @@ const int graphiteDarkPreset[10][3] = {{255,255,255},{103,118,134},{103,118,134}
const ColorTable* presetColors[NUMBEROFCOLORS] = {&aquaPreset, &graphitePreset, &graphiteDarkPreset};
-ButtonColors::ButtonColors(QWidget *parent, const char * name) : QDialog(parent, name){
+ButtonColors::ButtonColors(TQWidget *parent, const char * name) : TQDialog(parent, name){
save = false;
- layout = new QGridLayout(this,2,2,11,6, "Grid");
- buttonLayout = new QVBoxLayout(0,0,6);
+ layout = new TQGridLayout(this,2,2,11,6, "Grid");
+ buttonLayout = new TQVBoxLayout(0,0,6);
- QPixmap tmpPix = QPixmap(uic_findImage("preview"));
+ TQPixmap tmpPix = TQPixmap(uic_findImage("preview"));
inactiveButton = new AquariusButton(tmpPix,this, "Inactive Button");
buttonLayout->addWidget(inactiveButton);
closeButton = new AquariusButton(tmpPix,this, "Close Button");
@@ -525,34 +525,34 @@ ButtonColors::ButtonColors(QWidget *parent, const char * name) : QDialog(parent,
buttonLayout->addWidget(behindButton);
shadeButton = new AquariusButton(tmpPix,this, "Shade Button");
buttonLayout->addWidget(shadeButton);
- tmpPix = QPixmap(uic_findImage("preview-menu"));
+ tmpPix = TQPixmap(uic_findImage("preview-menu"));
menuButton = new AquariusButton(tmpPix,this, "Menu Button");
buttonLayout->addWidget(menuButton);
- tmpPix = QPixmap(uic_findImage("icon_help"));
+ tmpPix = TQPixmap(uic_findImage("icon_help"));
helpButton = new AquariusButton(tmpPix,this, "Help Button");
buttonLayout->addWidget(helpButton);
- twoButts = new QHBoxLayout(0,0,6);
- presets_ = new QComboBox(this);
+ twoButts = new TQHBoxLayout(0,0,6);
+ presets_ = new TQComboBox(this);
for (int i = 0; i < NUMBEROFCOLORS; i++)
presets_->insertItem ( presetColorName[i], i );
twoButts->addWidget(presets_);
- cancel = new QPushButton("Cancel", this);
+ cancel = new TQPushButton("Cancel", this);
cancel->setDefault( true );
twoButts->addWidget(cancel);
twoButts->addStretch();
layout->addLayout(twoButts,1,0);
- ok = new QPushButton("OK", this);
+ ok = new TQPushButton("OK", this);
layout->addWidget(ok,1,1);
layout->addLayout(buttonLayout,0,1);
- pickerLayout = new QVBoxLayout(0,0,6,0);
+ pickerLayout = new TQVBoxLayout(0,0,6,0);
- indicator = new QLabel(inactiveButton->name(), this);
- indicator->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter | Qt::ExpandTabs);
- QFont tmpFont = font();
+ indicator = new TQLabel(inactiveButton->name(), this);
+ indicator->setAlignment(TQt::AlignHCenter | TQt::AlignVCenter | TQt::ExpandTabs);
+ TQFont tmpFont = font();
tmpFont.setBold( true );
tmpFont.setPointSize( 24 );
indicator->setFont(tmpFont);
@@ -593,7 +593,7 @@ ButtonColors::ButtonColors(QWidget *parent, const char * name) : QDialog(parent,
layout->addLayout(pickerLayout,0,0);
- resize( QSize(485, 177).expandedTo(minimumSizeHint()) );
+ resize( TQSize(485, 177).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished );
connect(presets_,SIGNAL(activated(int)), this, SLOT(setColorGroup(int)));
@@ -614,16 +614,16 @@ ButtonColors::ButtonColors(QWidget *parent, const char * name) : QDialog(parent,
connect(behindButton, SIGNAL(clicked()), this, SLOT(activateBehind()) );
connect(shadeButton, SIGNAL(clicked()), this, SLOT(activateShade()) );
- connect(inactiveColor, SIGNAL(colorChanged(QColor)), inactiveButton, SLOT(setColor(QColor)) );
- connect(closeColor, SIGNAL(colorChanged(QColor)), closeButton, SLOT(setColor(QColor)) );
- connect(minColor, SIGNAL(colorChanged(QColor)), minButton, SLOT(setColor(QColor)) );
- connect(maxColor, SIGNAL(colorChanged(QColor)), maxButton, SLOT(setColor(QColor)) );
- connect(menuColor, SIGNAL(colorChanged(QColor)), menuButton, SLOT(setColor(QColor)) );
- connect(helpColor, SIGNAL(colorChanged(QColor)), helpButton, SLOT(setColor(QColor)) );
- connect(stickyColor, SIGNAL(colorChanged(QColor)), stickyButton, SLOT(setColor(QColor)) );
- connect(aboveColor, SIGNAL(colorChanged(QColor)), aboveButton, SLOT(setColor(QColor)) );
- connect(behindColor, SIGNAL(colorChanged(QColor)), behindButton, SLOT(setColor(QColor)) );
- connect(shadeColor, SIGNAL(colorChanged(QColor)), shadeButton, SLOT(setColor(QColor)) );
+ connect(inactiveColor, SIGNAL(colorChanged(TQColor)), inactiveButton, SLOT(setColor(TQColor)) );
+ connect(closeColor, SIGNAL(colorChanged(TQColor)), closeButton, SLOT(setColor(TQColor)) );
+ connect(minColor, SIGNAL(colorChanged(TQColor)), minButton, SLOT(setColor(TQColor)) );
+ connect(maxColor, SIGNAL(colorChanged(TQColor)), maxButton, SLOT(setColor(TQColor)) );
+ connect(menuColor, SIGNAL(colorChanged(TQColor)), menuButton, SLOT(setColor(TQColor)) );
+ connect(helpColor, SIGNAL(colorChanged(TQColor)), helpButton, SLOT(setColor(TQColor)) );
+ connect(stickyColor, SIGNAL(colorChanged(TQColor)), stickyButton, SLOT(setColor(TQColor)) );
+ connect(aboveColor, SIGNAL(colorChanged(TQColor)), aboveButton, SLOT(setColor(TQColor)) );
+ connect(behindColor, SIGNAL(colorChanged(TQColor)), behindButton, SLOT(setColor(TQColor)) );
+ connect(shadeColor, SIGNAL(colorChanged(TQColor)), shadeButton, SLOT(setColor(TQColor)) );
}
@@ -631,16 +631,16 @@ ButtonColors::~ButtonColors(){
}
void ButtonColors::setColorGroup(int i){
- inactiveColor->setColor(QColor((*presetColors[i])[0][0],(*presetColors[i])[0][1],(*presetColors[i])[0][2]).rgb());
- closeColor->setColor(QColor((*presetColors[i])[1][0],(*presetColors[i])[1][1],(*presetColors[i])[1][2]).rgb());
- minColor->setColor(QColor((*presetColors[i])[2][0],(*presetColors[i])[2][1],(*presetColors[i])[2][2]).rgb());
- maxColor->setColor(QColor((*presetColors[i])[3][0],(*presetColors[i])[3][1],(*presetColors[i])[3][2]).rgb());
- menuColor->setColor(QColor((*presetColors[i])[4][0],(*presetColors[i])[4][1],(*presetColors[i])[4][2]).rgb());
- helpColor->setColor(QColor((*presetColors[i])[5][0],(*presetColors[i])[5][1],(*presetColors[i])[5][2]).rgb());
- stickyColor->setColor(QColor((*presetColors[i])[6][0],(*presetColors[i])[6][1],(*presetColors[i])[6][2]).rgb());
- aboveColor->setColor(QColor((*presetColors[i])[7][0],(*presetColors[i])[7][1],(*presetColors[i])[7][2]).rgb());
- behindColor->setColor(QColor((*presetColors[i])[8][0],(*presetColors[i])[8][1],(*presetColors[i])[8][2]).rgb());
- shadeColor->setColor(QColor((*presetColors[i])[9][0],(*presetColors[i])[9][1],(*presetColors[i])[9][2]).rgb());
+ inactiveColor->setColor(TQColor((*presetColors[i])[0][0],(*presetColors[i])[0][1],(*presetColors[i])[0][2]).rgb());
+ closeColor->setColor(TQColor((*presetColors[i])[1][0],(*presetColors[i])[1][1],(*presetColors[i])[1][2]).rgb());
+ minColor->setColor(TQColor((*presetColors[i])[2][0],(*presetColors[i])[2][1],(*presetColors[i])[2][2]).rgb());
+ maxColor->setColor(TQColor((*presetColors[i])[3][0],(*presetColors[i])[3][1],(*presetColors[i])[3][2]).rgb());
+ menuColor->setColor(TQColor((*presetColors[i])[4][0],(*presetColors[i])[4][1],(*presetColors[i])[4][2]).rgb());
+ helpColor->setColor(TQColor((*presetColors[i])[5][0],(*presetColors[i])[5][1],(*presetColors[i])[5][2]).rgb());
+ stickyColor->setColor(TQColor((*presetColors[i])[6][0],(*presetColors[i])[6][1],(*presetColors[i])[6][2]).rgb());
+ aboveColor->setColor(TQColor((*presetColors[i])[7][0],(*presetColors[i])[7][1],(*presetColors[i])[7][2]).rgb());
+ behindColor->setColor(TQColor((*presetColors[i])[8][0],(*presetColors[i])[8][1],(*presetColors[i])[8][2]).rgb());
+ shadeColor->setColor(TQColor((*presetColors[i])[9][0],(*presetColors[i])[9][1],(*presetColors[i])[9][2]).rgb());
}
void ButtonColors::setPicker(ColorPicker *picker){
@@ -722,7 +722,7 @@ void ButtonColors::init(){
extern "C"
{
- QObject* allocate_config(KConfig* config, QWidget* parent) {
+ TQObject* allocate_config(KConfig* config, TQWidget* parent) {
return(new BaghiraConfig(config, parent));
}
}
diff --git a/deco/config/baghiraconfig.h b/deco/config/baghiraconfig.h
index 07b04a5..af16605 100644
--- a/deco/config/baghiraconfig.h
+++ b/deco/config/baghiraconfig.h
@@ -27,26 +27,26 @@
#ifndef BAGHIRACONFIG_H
#define BAGHIRACONFIG_H
-#include <qobject.h>
-#include <qdialog.h>
+#include <tqobject.h>
+#include <tqdialog.h>
#include "colorpicker.h"
#include "aquariusbutton.h"
class KConfig;
-class QSettings;
+class TQSettings;
class ConfigDialog;
-class QLabel;
-class QVBoxLayout;
-class QHBoxLayout;
-class QGridLayout;
-class QPushButton;
-class QComboBox;
+class TQLabel;
+class TQVBoxLayout;
+class TQHBoxLayout;
+class TQGridLayout;
+class TQPushButton;
+class TQComboBox;
-class ButtonColors : public QDialog
+class ButtonColors : public TQDialog
{
Q_OBJECT
public:
- ButtonColors(QWidget* parent, const char * name = 0);
+ ButtonColors(TQWidget* parent, const char * name = 0);
~ButtonColors();
ColorPicker *inactiveColor;
ColorPicker *closeColor;
@@ -71,10 +71,10 @@ public:
AquariusButton *behindButton;
AquariusButton *shadeButton;
- QHBoxLayout *twoButts;
- QPushButton *cancel;
- QPushButton *ok;
- QComboBox *presets_;
+ TQHBoxLayout *twoButts;
+ TQPushButton *cancel;
+ TQPushButton *ok;
+ TQComboBox *presets_;
bool save;
public slots:
@@ -95,10 +95,10 @@ private:
|------------|---|
*/
- QVBoxLayout *buttonLayout;
- QVBoxLayout *pickerLayout;
- QGridLayout *layout;
- QLabel *indicator;
+ TQVBoxLayout *buttonLayout;
+ TQVBoxLayout *pickerLayout;
+ TQGridLayout *layout;
+ TQLabel *indicator;
void setPicker(ColorPicker *picker);
@@ -120,11 +120,11 @@ private slots:
};
-class BaghiraConfig : public QObject
+class BaghiraConfig : public TQObject
{
Q_OBJECT
public:
- BaghiraConfig(KConfig* config, QWidget* parent);
+ BaghiraConfig(KConfig* config, TQWidget* parent);
~BaghiraConfig();
signals:
@@ -136,7 +136,7 @@ public slots:
void defaults();
private:
-// QSettings *config_;
+// TQSettings *config_;
ConfigDialog *dialog_;
ButtonColors *buttonDialog_;
};
diff --git a/deco/config/baghiraconfig.h.new b/deco/config/baghiraconfig.h.new
index 0f75139..edffcc9 100644
--- a/deco/config/baghiraconfig.h.new
+++ b/deco/config/baghiraconfig.h.new
@@ -27,27 +27,27 @@
#ifndef BAGHIRACONFIG_H
#define BAGHIRACONFIG_H
-#include <qobject.h>
-#include <qdialog.h>
-#include <qvaluelist.h>
+#include <tqobject.h>
+#include <tqdialog.h>
+#include <tqvaluelist.h>
#include "colorpicker.h"
#include "aquariusbutton.h"
class KConfig;
-class QSettings;
+class TQSettings;
class ConfigDialog;
-class QLabel;
-class QVBoxLayout;
-class QHBoxLayout;
-class QGridLayout;
-class QPushButton;
-class QComboBox;
+class TQLabel;
+class TQVBoxLayout;
+class TQHBoxLayout;
+class TQGridLayout;
+class TQPushButton;
+class TQComboBox;
-class ButtonColors : public QDialog
+class ButtonColors : public TQDialog
{
Q_OBJECT
public:
- ButtonColors(QWidget* parent, const char * name = 0);
+ ButtonColors(TQWidget* parent, const char * name = 0);
~ButtonColors();
ColorPicker *inactiveColor;
ColorPicker *closeColor;
@@ -72,10 +72,10 @@ public:
AquariusButton *behindButton;
AquariusButton *shadeButton;
- QHBoxLayout *twoButts;
- QPushButton *cancel;
- QPushButton *ok;
- QComboBox *presets_;
+ TQHBoxLayout *twoButts;
+ TQPushButton *cancel;
+ TQPushButton *ok;
+ TQComboBox *presets_;
bool save;
public slots:
@@ -96,10 +96,10 @@ private:
|------------|---|
*/
- QVBoxLayout *buttonLayout;
- QVBoxLayout *pickerLayout;
- QGridLayout *layout;
- QLabel *indicator;
+ TQVBoxLayout *buttonLayout;
+ TQVBoxLayout *pickerLayout;
+ TQGridLayout *layout;
+ TQLabel *indicator;
void setPicker(ColorPicker *picker);
@@ -122,11 +122,11 @@ private slots:
class CustomDecoSettings;
-class BaghiraConfig : public QObject
+class BaghiraConfig : public TQObject
{
Q_OBJECT
public:
- BaghiraConfig(KConfig* config, QWidget* parent);
+ BaghiraConfig(KConfig* config, TQWidget* parent);
~BaghiraConfig();
signals:
@@ -138,10 +138,10 @@ public slots:
void defaults();
private:
-// QSettings *config_;
+// TQSettings *config_;
ConfigDialog *dialog_;
ButtonColors *buttonDialog_;
- typedef QValueList<CustomDecoSettings> DecoList;
+ typedef TQValueList<CustomDecoSettings> DecoList;
DecoList decoList;
};
diff --git a/deco/config/colorpicker.cc b/deco/config/colorpicker.cc
index 5e11312..6934920 100644
--- a/deco/config/colorpicker.cc
+++ b/deco/config/colorpicker.cc
@@ -1,51 +1,51 @@
#include "colorpicker.h"
-#include <qcolor.h>
-#include <qlayout.h>
-#include <qslider.h>
-#include <qspinbox.h>
+#include <tqcolor.h>
+#include <tqlayout.h>
+#include <tqslider.h>
+#include <tqspinbox.h>
-ColorPicker::ColorPicker(QWidget* parent, const char* name) : QGroupBox( parent, name){
-// box = new QGroupBox(parent);
-// setFrameShape(QFrame::GroupBoxPanel);
-// setFrameShadow(QFrame::Sunken);
- setColumnLayout(0, Qt::Vertical );
+ColorPicker::ColorPicker(TQWidget* parent, const char* name) : TQGroupBox( parent, name){
+// box = new TQGroupBox(parent);
+// setFrameShape(TQFrame::GroupBoxPanel);
+// setFrameShadow(TQFrame::Sunken);
+ setColumnLayout(0, TQt::Vertical );
layout()->setSpacing( 6 );
layout()->setMargin( 11 );
- QVBoxLayout *vLayout = new QVBoxLayout(layout());
-// gridLayout->setAlignment( Qt::AlignTop );
+ TQVBoxLayout *vLayout = new TQVBoxLayout(layout());
+// gridLayout->setAlignment( TQt::AlignTop );
- QHBoxLayout *redLayout = new QHBoxLayout();
- redSlider = new QSlider(0, 255, 1, 0, Qt::Horizontal, this, "redSlider");
+ TQHBoxLayout *redLayout = new TQHBoxLayout();
+ redSlider = new TQSlider(0, 255, 1, 0, TQt::Horizontal, this, "redSlider");
redLayout->addWidget(redSlider);
- redValue = new QSpinBox(0,255,1,this);
+ redValue = new TQSpinBox(0,255,1,this);
redValue->setValue(0);
redLayout->addWidget(redValue);
vLayout->addLayout(redLayout);
- QHBoxLayout *greenLayout = new QHBoxLayout();
- greenSlider = new QSlider(0, 255, 1, 0, Qt::Horizontal, this, "greenSlider");
+ TQHBoxLayout *greenLayout = new TQHBoxLayout();
+ greenSlider = new TQSlider(0, 255, 1, 0, TQt::Horizontal, this, "greenSlider");
greenLayout->addWidget(greenSlider);
- greenValue = new QSpinBox(0,255,1,this);
+ greenValue = new TQSpinBox(0,255,1,this);
greenValue->setValue(0);
greenLayout->addWidget(greenValue);
vLayout->addLayout(greenLayout);
- QHBoxLayout *blueLayout = new QHBoxLayout();
- blueSlider = new QSlider(0, 255, 1, 0, Qt::Horizontal, this, "blueSlider");
+ TQHBoxLayout *blueLayout = new TQHBoxLayout();
+ blueSlider = new TQSlider(0, 255, 1, 0, TQt::Horizontal, this, "blueSlider");
blueLayout->addWidget(blueSlider);
- blueValue = new QSpinBox(0,255,1,this);
+ blueValue = new TQSpinBox(0,255,1,this);
blueValue->setValue(0);
blueLayout->addWidget(blueValue);
vLayout->addLayout(blueLayout);
-// resize( QSize(350, 100).expandedTo(minimumSizeHint()) );
+// resize( TQSize(350, 100).expandedTo(minimumSizeHint()) );
//connections
connect(redSlider, SIGNAL(valueChanged (int)), this, SLOT(setRed(int)));
@@ -59,7 +59,7 @@ ColorPicker::ColorPicker(QWidget* parent, const char* name) : QGroupBox( parent,
ColorPicker::~ColorPicker(){
}
-void ColorPicker::setColor(QColor color){
+void ColorPicker::setColor(TQColor color){
redSlider->blockSignals(true);
redSlider->setValue( color.red() );
redSlider->blockSignals(false);
@@ -88,7 +88,7 @@ void ColorPicker::setRed(int red){
redValue->blockSignals(true);
redValue->setValue(red);
redValue->blockSignals(false);
- emit colorChanged(QColor(red, greenSlider->value(), blueSlider->value()));
+ emit colorChanged(TQColor(red, greenSlider->value(), blueSlider->value()));
}
void ColorPicker::setGreen(int green){
@@ -98,7 +98,7 @@ void ColorPicker::setGreen(int green){
greenValue->blockSignals(true);
greenValue->setValue(green);
greenValue->blockSignals(false);
- emit colorChanged(QColor(redSlider->value(), green, blueSlider->value()));
+ emit colorChanged(TQColor(redSlider->value(), green, blueSlider->value()));
}
void ColorPicker::setBlue(int blue){
@@ -108,11 +108,11 @@ void ColorPicker::setBlue(int blue){
blueValue->blockSignals(true);
blueValue->setValue(blue);
blueValue->blockSignals(false);
- emit colorChanged(QColor(redSlider->value(), greenSlider->value(), blue));
+ emit colorChanged(TQColor(redSlider->value(), greenSlider->value(), blue));
}
-QColor ColorPicker::Color(){
- return QColor(redSlider->value(), greenSlider->value(), blueSlider->value());
+TQColor ColorPicker::Color(){
+ return TQColor(redSlider->value(), greenSlider->value(), blueSlider->value());
}
void ColorPicker::reset(){
diff --git a/deco/config/colorpicker.h b/deco/config/colorpicker.h
index 3b4ec48..7e4f776 100644
--- a/deco/config/colorpicker.h
+++ b/deco/config/colorpicker.h
@@ -1,25 +1,25 @@
#ifndef COLORPICKER_H
#define COLORPICKER_H
-//#include <qvariant.h>
-#include <qgroupbox.h>
+//#include <tqvariant.h>
+#include <tqgroupbox.h>
-class QSlider;
-class QSpinBox;
-class QColor;
-//class QGroupBox;
+class TQSlider;
+class TQSpinBox;
+class TQColor;
+//class TQGroupBox;
-class ColorPicker : public QGroupBox
+class ColorPicker : public TQGroupBox
{
Q_OBJECT
public:
- ColorPicker( QWidget* parent = 0, const char* name = 0);
+ ColorPicker( TQWidget* parent = 0, const char* name = 0);
~ColorPicker();
- QColor Color();
+ TQColor Color();
public slots:
- void setColor(QColor color);
+ void setColor(TQColor color);
void setRed(int red);
void setGreen(int green);
void setBlue(int blue);
@@ -27,17 +27,17 @@ public slots:
void init();
protected:
- QSlider *redSlider;
- QSlider *greenSlider;
- QSlider *blueSlider;
- QSpinBox *redValue;
- QSpinBox *greenValue;
- QSpinBox *blueValue;
- QColor color_;
-// QGroupBox *box;
+ TQSlider *redSlider;
+ TQSlider *greenSlider;
+ TQSlider *blueSlider;
+ TQSpinBox *redValue;
+ TQSpinBox *greenValue;
+ TQSpinBox *blueValue;
+ TQColor color_;
+// TQGroupBox *box;
signals:
- void colorChanged(QColor color);
+ void colorChanged(TQColor color);
};
diff --git a/deco/config/configdialog.ui b/deco/config/configdialog.ui
index a52dadf..9ecbf2e 100644
--- a/deco/config/configdialog.ui
+++ b/deco/config/configdialog.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>ConfigDialog</class>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>ConfigDialog</cstring>
</property>
@@ -19,7 +19,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QGroupBox" row="2" column="0" rowspan="1" colspan="2">
+ <widget class="TQGroupBox" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>generalbox</cstring>
</property>
@@ -36,7 +36,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget" row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout133</cstring>
</property>
@@ -44,7 +44,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_3</cstring>
</property>
@@ -69,7 +69,7 @@
</size>
</property>
</spacer>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>minTH</cstring>
</property>
@@ -85,7 +85,7 @@
</widget>
</hbox>
</widget>
- <widget class="QCheckBox" row="1" column="0">
+ <widget class="TQCheckBox" row="1" column="0">
<property name="name">
<cstring>ResizeGrip</cstring>
</property>
@@ -96,7 +96,7 @@
<string>Starts in Brushed Metal mode instead of default, if the Style is set to Brushed Metal</string>
</property>
</widget>
- <widget class="QCheckBox" row="4" column="0">
+ <widget class="TQCheckBox" row="4" column="0">
<property name="name">
<cstring>addAutoSpacing</cstring>
</property>
@@ -104,7 +104,7 @@
<string>Add auto spacing</string>
</property>
</widget>
- <widget class="QCheckBox" row="6" column="0">
+ <widget class="TQCheckBox" row="6" column="0">
<property name="name">
<cstring>fullSpec</cstring>
</property>
@@ -115,7 +115,7 @@
<string>Check this to have any window in fullscreen Mode - demaximize the window by clicking into the top right corner of your screen</string>
</property>
</widget>
- <widget class="QCheckBox" row="2" column="0">
+ <widget class="TQCheckBox" row="2" column="0">
<property name="name">
<cstring>drawComicFrame</cstring>
</property>
@@ -126,7 +126,7 @@
<string>Draws a black frame around the window (not the Titlebar).&lt;br&gt;Anyway i suggest to get the kwin dropshadow patch.</string>
</property>
</widget>
- <widget class="QCheckBox" row="7" column="0">
+ <widget class="TQCheckBox" row="7" column="0">
<property name="name">
<cstring>noModalDeco</cstring>
</property>
@@ -134,7 +134,7 @@
<string>Hide deco for fixed size modal windows</string>
</property>
</widget>
- <widget class="QCheckBox" row="5" column="0">
+ <widget class="TQCheckBox" row="5" column="0">
<property name="name">
<cstring>maxResizable</cstring>
</property>
@@ -142,7 +142,7 @@
<string>Keep maximized resizable</string>
</property>
</widget>
- <widget class="QCheckBox" row="3" column="0">
+ <widget class="TQCheckBox" row="3" column="0">
<property name="name">
<cstring>allowEasyClosing</cstring>
</property>
@@ -153,7 +153,7 @@
<string>Allows Closing by clicking into the top left or right corner &lt;br&gt; Close Button must be most left or right element (also no spacers) &lt;br&gt; Closes on Mouse Button release (so you have the chance to move the mouse away and keep the Window) &lt;br&gt; The Window must be active and maximized &lt;br&gt; Unfortunately you will not be able tho resize the Window from that corner</string>
</property>
</widget>
- <widget class="QComboBox" row="11" column="0">
+ <widget class="TQComboBox" row="11" column="0">
<item>
<property name="text">
<string>Jaguar</string>
@@ -183,7 +183,7 @@
<cstring>defaultMode</cstring>
</property>
</widget>
- <widget class="QLabel" row="10" column="0">
+ <widget class="TQLabel" row="10" column="0">
<property name="name">
<cstring>textLabel1_7</cstring>
</property>
@@ -205,7 +205,7 @@
<enum>Horizontal</enum>
</property>
</widget>
- <widget class="QCheckBox" row="8" column="0">
+ <widget class="TQCheckBox" row="8" column="0">
<property name="name">
<cstring>delAppname</cstring>
</property>
@@ -216,7 +216,7 @@ from multipart titles</string>
</widget>
</grid>
</widget>
- <widget class="QButtonGroup" row="1" column="0">
+ <widget class="TQButtonGroup" row="1" column="0">
<property name="name">
<cstring>titlealign</cstring>
</property>
@@ -233,7 +233,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QRadioButton" row="0" column="0">
+ <widget class="TQRadioButton" row="0" column="0">
<property name="name">
<cstring>AlignLeft</cstring>
</property>
@@ -261,7 +261,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QRadioButton" row="0" column="2">
+ <widget class="TQRadioButton" row="0" column="2">
<property name="name">
<cstring>AlignHCenter</cstring>
</property>
@@ -292,7 +292,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QRadioButton" row="0" column="4">
+ <widget class="TQRadioButton" row="0" column="4">
<property name="name">
<cstring>AlignRight</cstring>
</property>
@@ -303,7 +303,7 @@ from multipart titles</string>
<string></string>
</property>
</widget>
- <widget class="QRadioButton" row="0" column="6">
+ <widget class="TQRadioButton" row="0" column="6">
<property name="name">
<cstring>noTitle</cstring>
</property>
@@ -347,7 +347,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QPushButton" row="0" column="0">
+ <widget class="TQPushButton" row="0" column="0">
<property name="name">
<cstring>ButtonColorConfig</cstring>
</property>
@@ -372,11 +372,11 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QTabWidget" row="0" column="2" rowspan="3" colspan="1">
+ <widget class="TQTabWidget" row="0" column="2" rowspan="3" colspan="1">
<property name="name">
<cstring>tab</cstring>
</property>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>jaguarTab</cstring>
</property>
@@ -387,7 +387,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
+ <widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout7_3</cstring>
</property>
@@ -395,7 +395,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_4_3</cstring>
</property>
@@ -420,7 +420,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>_3DImpact_J</cstring>
</property>
@@ -433,7 +433,7 @@ from multipart titles</string>
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget" row="3" column="0" rowspan="1" colspan="2">
+ <widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout10</cstring>
</property>
@@ -441,7 +441,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
@@ -466,7 +466,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>LineImpact_J</cstring>
</property>
@@ -482,7 +482,7 @@ from multipart titles</string>
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
+ <widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout40</cstring>
</property>
@@ -490,7 +490,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout35</cstring>
</property>
@@ -498,7 +498,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_2_4_3</cstring>
</property>
@@ -506,7 +506,7 @@ from multipart titles</string>
<string>ButtonStyle</string>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_8_3</cstring>
</property>
@@ -517,7 +517,7 @@ from multipart titles</string>
<cstring>titleeffect</cstring>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_8_3_2</cstring>
</property>
@@ -547,7 +547,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout39</cstring>
</property>
@@ -555,7 +555,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QComboBox">
+ <widget class="TQComboBox">
<item>
<property name="text">
<string>Panther</string>
@@ -580,7 +580,7 @@ from multipart titles</string>
<cstring>buttonStyle_J</cstring>
</property>
</widget>
- <widget class="QComboBox">
+ <widget class="TQComboBox">
<item>
<property name="text">
<string>Gradient</string>
@@ -624,7 +624,7 @@ from multipart titles</string>
<string>Select an effect for the titlebar to change its appearance</string>
</property>
</widget>
- <widget class="QComboBox">
+ <widget class="TQComboBox">
<item>
<property name="text">
<string>Gradient</string>
@@ -670,7 +670,7 @@ from multipart titles</string>
</widget>
</vbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout38</cstring>
</property>
@@ -678,7 +678,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
@@ -689,7 +689,7 @@ from multipart titles</string>
<set>AlignCenter</set>
</property>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout33</cstring>
</property>
@@ -715,7 +715,7 @@ from multipart titles</string>
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout34</cstring>
</property>
@@ -745,7 +745,7 @@ from multipart titles</string>
</widget>
</hbox>
</widget>
- <widget class="QGroupBox" row="4" column="0" rowspan="1" colspan="2">
+ <widget class="TQGroupBox" row="4" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>groupBox2_4</cstring>
</property>
@@ -756,7 +756,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget" row="0" column="0" rowspan="3" colspan="1">
+ <widget class="TQLayoutWidget" row="0" column="0" rowspan="3" colspan="1">
<property name="name">
<cstring>layout45</cstring>
</property>
@@ -764,7 +764,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeUL_J</cstring>
</property>
@@ -789,7 +789,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeLL_J</cstring>
</property>
@@ -799,7 +799,7 @@ from multipart titles</string>
</widget>
</vbox>
</widget>
- <widget class="QLayoutWidget" row="0" column="5" rowspan="3" colspan="1">
+ <widget class="TQLayoutWidget" row="0" column="5" rowspan="3" colspan="1">
<property name="name">
<cstring>layout44</cstring>
</property>
@@ -807,7 +807,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeUR_J</cstring>
</property>
@@ -832,7 +832,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeLR_J</cstring>
</property>
@@ -859,7 +859,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QSpinBox" row="1" column="3">
+ <widget class="TQSpinBox" row="1" column="3">
<property name="name">
<cstring>borderSize_J</cstring>
</property>
@@ -867,7 +867,7 @@ from multipart titles</string>
<number>16</number>
</property>
</widget>
- <widget class="QLabel" row="1" column="2">
+ <widget class="TQLabel" row="1" column="2">
<property name="name">
<cstring>textLabel1_6_3</cstring>
</property>
@@ -928,7 +928,7 @@ from multipart titles</string>
</spacer>
</grid>
</widget>
- <widget class="QCheckBox" row="0" column="0">
+ <widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>drawIcon_J</cstring>
</property>
@@ -938,7 +938,7 @@ from multipart titles</string>
</widget>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>pantherTab</cstring>
</property>
@@ -949,7 +949,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget" row="3" column="0" rowspan="1" colspan="2">
+ <widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout10_2</cstring>
</property>
@@ -957,7 +957,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel2_2</cstring>
</property>
@@ -982,7 +982,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>LineImpact_P</cstring>
</property>
@@ -998,7 +998,7 @@ from multipart titles</string>
</widget>
</hbox>
</widget>
- <widget class="QGroupBox" row="4" column="0" rowspan="1" colspan="2">
+ <widget class="TQGroupBox" row="4" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>groupBox2_3</cstring>
</property>
@@ -1009,7 +1009,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget" row="0" column="0" rowspan="3" colspan="1">
+ <widget class="TQLayoutWidget" row="0" column="0" rowspan="3" colspan="1">
<property name="name">
<cstring>layout51</cstring>
</property>
@@ -1017,7 +1017,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeUL_P</cstring>
</property>
@@ -1042,7 +1042,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeLL_P</cstring>
</property>
@@ -1052,7 +1052,7 @@ from multipart titles</string>
</widget>
</vbox>
</widget>
- <widget class="QLayoutWidget" row="0" column="5" rowspan="3" colspan="1">
+ <widget class="TQLayoutWidget" row="0" column="5" rowspan="3" colspan="1">
<property name="name">
<cstring>layout52</cstring>
</property>
@@ -1060,7 +1060,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeUR_P</cstring>
</property>
@@ -1085,7 +1085,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeLR_P</cstring>
</property>
@@ -1129,7 +1129,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QSpinBox" row="1" column="3">
+ <widget class="TQSpinBox" row="1" column="3">
<property name="name">
<cstring>borderSize_P</cstring>
</property>
@@ -1137,7 +1137,7 @@ from multipart titles</string>
<number>16</number>
</property>
</widget>
- <widget class="QLabel" row="1" column="2">
+ <widget class="TQLabel" row="1" column="2">
<property name="name">
<cstring>textLabel1_6_2</cstring>
</property>
@@ -1181,7 +1181,7 @@ from multipart titles</string>
</spacer>
</grid>
</widget>
- <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
+ <widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout7_2</cstring>
</property>
@@ -1189,7 +1189,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_4_4</cstring>
</property>
@@ -1214,7 +1214,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>_3DImpact_P</cstring>
</property>
@@ -1227,7 +1227,7 @@ from multipart titles</string>
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
+ <widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout50</cstring>
</property>
@@ -1235,7 +1235,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout31</cstring>
</property>
@@ -1243,7 +1243,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_2_4</cstring>
</property>
@@ -1251,7 +1251,7 @@ from multipart titles</string>
<string>ButtonStyle</string>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_8</cstring>
</property>
@@ -1262,7 +1262,7 @@ from multipart titles</string>
<cstring>titleeffect</cstring>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_8_4</cstring>
</property>
@@ -1292,7 +1292,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout30</cstring>
</property>
@@ -1300,7 +1300,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QComboBox">
+ <widget class="TQComboBox">
<item>
<property name="text">
<string>Panther</string>
@@ -1325,7 +1325,7 @@ from multipart titles</string>
<cstring>buttonStyle_P</cstring>
</property>
</widget>
- <widget class="QComboBox">
+ <widget class="TQComboBox">
<item>
<property name="text">
<string>Gradient</string>
@@ -1369,7 +1369,7 @@ from multipart titles</string>
<string>Select an effect for the titlebar to change its appearance</string>
</property>
</widget>
- <widget class="QComboBox">
+ <widget class="TQComboBox">
<item>
<property name="text">
<string>Gradient</string>
@@ -1415,7 +1415,7 @@ from multipart titles</string>
</widget>
</vbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout49</cstring>
</property>
@@ -1423,7 +1423,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
@@ -1434,7 +1434,7 @@ from multipart titles</string>
<set>AlignCenter</set>
</property>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout47</cstring>
</property>
@@ -1460,7 +1460,7 @@ from multipart titles</string>
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout48</cstring>
</property>
@@ -1490,7 +1490,7 @@ from multipart titles</string>
</widget>
</hbox>
</widget>
- <widget class="QCheckBox" row="0" column="0">
+ <widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>drawIcon_P</cstring>
</property>
@@ -1500,7 +1500,7 @@ from multipart titles</string>
</widget>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>brushedTab</cstring>
</property>
@@ -1511,7 +1511,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget" row="3" column="0" rowspan="1" colspan="2">
+ <widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout10_3</cstring>
</property>
@@ -1519,7 +1519,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel2_3</cstring>
</property>
@@ -1544,7 +1544,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>LineImpact_B</cstring>
</property>
@@ -1560,7 +1560,7 @@ from multipart titles</string>
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
+ <widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout7</cstring>
</property>
@@ -1568,7 +1568,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_4</cstring>
</property>
@@ -1593,7 +1593,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>_3DImpact_B</cstring>
</property>
@@ -1606,7 +1606,7 @@ from multipart titles</string>
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
+ <widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout57</cstring>
</property>
@@ -1614,7 +1614,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout27</cstring>
</property>
@@ -1622,7 +1622,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_2_4_2</cstring>
</property>
@@ -1630,7 +1630,7 @@ from multipart titles</string>
<string>ButtonStyle</string>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_8_2</cstring>
</property>
@@ -1641,7 +1641,7 @@ from multipart titles</string>
<cstring>titleeffect</cstring>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_8_2_2</cstring>
</property>
@@ -1671,7 +1671,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout26</cstring>
</property>
@@ -1679,7 +1679,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QComboBox">
+ <widget class="TQComboBox">
<item>
<property name="text">
<string>Panther</string>
@@ -1704,7 +1704,7 @@ from multipart titles</string>
<cstring>buttonStyle_B</cstring>
</property>
</widget>
- <widget class="QComboBox">
+ <widget class="TQComboBox">
<item>
<property name="text">
<string>Gradient</string>
@@ -1748,7 +1748,7 @@ from multipart titles</string>
<string>Select an effect for the titlebar to change its appearance</string>
</property>
</widget>
- <widget class="QComboBox">
+ <widget class="TQComboBox">
<item>
<property name="text">
<string>Gradient</string>
@@ -1794,7 +1794,7 @@ from multipart titles</string>
</widget>
</vbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout56</cstring>
</property>
@@ -1802,7 +1802,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_5</cstring>
</property>
@@ -1813,7 +1813,7 @@ from multipart titles</string>
<set>AlignCenter</set>
</property>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout54</cstring>
</property>
@@ -1839,7 +1839,7 @@ from multipart titles</string>
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout55</cstring>
</property>
@@ -1869,7 +1869,7 @@ from multipart titles</string>
</widget>
</hbox>
</widget>
- <widget class="QGroupBox" row="4" column="0" rowspan="1" colspan="2">
+ <widget class="TQGroupBox" row="4" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>groupBox2_2</cstring>
</property>
@@ -1880,7 +1880,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget" row="0" column="0" rowspan="3" colspan="1">
+ <widget class="TQLayoutWidget" row="0" column="0" rowspan="3" colspan="1">
<property name="name">
<cstring>layout58</cstring>
</property>
@@ -1888,7 +1888,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeUL_B</cstring>
</property>
@@ -1913,7 +1913,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeLL_B</cstring>
</property>
@@ -1923,7 +1923,7 @@ from multipart titles</string>
</widget>
</vbox>
</widget>
- <widget class="QLayoutWidget" row="0" column="5" rowspan="3" colspan="1">
+ <widget class="TQLayoutWidget" row="0" column="5" rowspan="3" colspan="1">
<property name="name">
<cstring>layout59</cstring>
</property>
@@ -1931,7 +1931,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeUR_B</cstring>
</property>
@@ -1956,7 +1956,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeLR_B</cstring>
</property>
@@ -1983,7 +1983,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QLabel" row="1" column="2">
+ <widget class="TQLabel" row="1" column="2">
<property name="name">
<cstring>textLabel1_6</cstring>
</property>
@@ -1991,7 +1991,7 @@ from multipart titles</string>
<string>Border Size</string>
</property>
</widget>
- <widget class="QSpinBox" row="1" column="3">
+ <widget class="TQSpinBox" row="1" column="3">
<property name="name">
<cstring>borderSize_B</cstring>
</property>
@@ -2055,7 +2055,7 @@ from multipart titles</string>
</spacer>
</grid>
</widget>
- <widget class="QCheckBox" row="0" column="0">
+ <widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>drawIcon_B</cstring>
</property>
@@ -2065,7 +2065,7 @@ from multipart titles</string>
</widget>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>TabPage</cstring>
</property>
@@ -2076,7 +2076,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget" row="2" column="0">
+ <widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>layout7_4</cstring>
</property>
@@ -2084,7 +2084,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_4_2</cstring>
</property>
@@ -2109,7 +2109,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>_3DImpact_T</cstring>
</property>
@@ -2122,7 +2122,7 @@ from multipart titles</string>
</widget>
</hbox>
</widget>
- <widget class="QGroupBox" row="3" column="0">
+ <widget class="TQGroupBox" row="3" column="0">
<property name="name">
<cstring>groupBox2_2_2</cstring>
</property>
@@ -2133,7 +2133,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget" row="0" column="0" rowspan="3" colspan="1">
+ <widget class="TQLayoutWidget" row="0" column="0" rowspan="3" colspan="1">
<property name="name">
<cstring>layout58_2</cstring>
</property>
@@ -2141,7 +2141,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeUL_T</cstring>
</property>
@@ -2166,7 +2166,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeLL_T</cstring>
</property>
@@ -2176,7 +2176,7 @@ from multipart titles</string>
</widget>
</vbox>
</widget>
- <widget class="QLayoutWidget" row="0" column="5" rowspan="3" colspan="1">
+ <widget class="TQLayoutWidget" row="0" column="5" rowspan="3" colspan="1">
<property name="name">
<cstring>layout59_2</cstring>
</property>
@@ -2184,7 +2184,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeUR_T</cstring>
</property>
@@ -2209,7 +2209,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeLR_T</cstring>
</property>
@@ -2236,7 +2236,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QLabel" row="1" column="2">
+ <widget class="TQLabel" row="1" column="2">
<property name="name">
<cstring>textLabel1_6_4</cstring>
</property>
@@ -2244,7 +2244,7 @@ from multipart titles</string>
<string>Border Size</string>
</property>
</widget>
- <widget class="QSpinBox" row="1" column="3">
+ <widget class="TQSpinBox" row="1" column="3">
<property name="name">
<cstring>borderSize_T</cstring>
</property>
@@ -2308,7 +2308,7 @@ from multipart titles</string>
</spacer>
</grid>
</widget>
- <widget class="QLayoutWidget" row="1" column="0">
+ <widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>layout42</cstring>
</property>
@@ -2316,7 +2316,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout27_2</cstring>
</property>
@@ -2324,7 +2324,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_2_4_2_2</cstring>
</property>
@@ -2332,7 +2332,7 @@ from multipart titles</string>
<string>ButtonStyle</string>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_8_2_3</cstring>
</property>
@@ -2343,7 +2343,7 @@ from multipart titles</string>
<cstring>titleeffect</cstring>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_8_2_2_2</cstring>
</property>
@@ -2373,7 +2373,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout82</cstring>
</property>
@@ -2381,7 +2381,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QComboBox">
+ <widget class="TQComboBox">
<item>
<property name="text">
<string>Panther</string>
@@ -2406,7 +2406,7 @@ from multipart titles</string>
<cstring>buttonStyle_T</cstring>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_9</cstring>
</property>
@@ -2414,7 +2414,7 @@ from multipart titles</string>
<string>(Gradient)</string>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_9_2</cstring>
</property>
@@ -2424,7 +2424,7 @@ from multipart titles</string>
</widget>
</vbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout41</cstring>
</property>
@@ -2432,7 +2432,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_5_2</cstring>
</property>
@@ -2443,7 +2443,7 @@ from multipart titles</string>
<set>AlignCenter</set>
</property>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout54_2</cstring>
</property>
@@ -2469,7 +2469,7 @@ from multipart titles</string>
</widget>
</hbox>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_10</cstring>
</property>
@@ -2484,7 +2484,7 @@ from multipart titles</string>
</widget>
</hbox>
</widget>
- <widget class="QCheckBox" row="0" column="0">
+ <widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>drawIcon_T</cstring>
</property>
@@ -2494,7 +2494,7 @@ from multipart titles</string>
</widget>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>TabPage</cstring>
</property>
@@ -2505,7 +2505,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox" row="0" column="0">
+ <widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>drawIcon_S</cstring>
</property>
@@ -2513,7 +2513,7 @@ from multipart titles</string>
<string>Draw Icon</string>
</property>
</widget>
- <widget class="QLayoutWidget" row="2" column="0">
+ <widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>layout7_5</cstring>
</property>
@@ -2521,7 +2521,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_4_5</cstring>
</property>
@@ -2546,7 +2546,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>_3DImpact_S</cstring>
</property>
@@ -2559,7 +2559,7 @@ from multipart titles</string>
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget" row="1" column="0">
+ <widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>layout57_2</cstring>
</property>
@@ -2567,7 +2567,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout27_3</cstring>
</property>
@@ -2575,7 +2575,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_2_4_2_3</cstring>
</property>
@@ -2583,7 +2583,7 @@ from multipart titles</string>
<string>ButtonStyle</string>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_8_2_4</cstring>
</property>
@@ -2594,7 +2594,7 @@ from multipart titles</string>
<cstring>titleeffect</cstring>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_8_2_2_3</cstring>
</property>
@@ -2624,7 +2624,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout26_2</cstring>
</property>
@@ -2632,7 +2632,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QComboBox">
+ <widget class="TQComboBox">
<item>
<property name="text">
<string>Panther</string>
@@ -2657,7 +2657,7 @@ from multipart titles</string>
<cstring>buttonStyle_S</cstring>
</property>
</widget>
- <widget class="QComboBox">
+ <widget class="TQComboBox">
<item>
<property name="text">
<string>Gradient</string>
@@ -2701,7 +2701,7 @@ from multipart titles</string>
<string>Select an effect for the titlebar to change its appearance</string>
</property>
</widget>
- <widget class="QComboBox">
+ <widget class="TQComboBox">
<item>
<property name="text">
<string>Gradient</string>
@@ -2747,7 +2747,7 @@ from multipart titles</string>
</widget>
</vbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout56_2</cstring>
</property>
@@ -2755,7 +2755,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_5_3</cstring>
</property>
@@ -2766,7 +2766,7 @@ from multipart titles</string>
<set>AlignCenter</set>
</property>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout54_3</cstring>
</property>
@@ -2792,7 +2792,7 @@ from multipart titles</string>
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout55_2</cstring>
</property>
@@ -2822,7 +2822,7 @@ from multipart titles</string>
</widget>
</hbox>
</widget>
- <widget class="QGroupBox" row="4" column="0">
+ <widget class="TQGroupBox" row="4" column="0">
<property name="name">
<cstring>groupBox2_2_3</cstring>
</property>
@@ -2833,7 +2833,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget" row="0" column="0" rowspan="3" colspan="1">
+ <widget class="TQLayoutWidget" row="0" column="0" rowspan="3" colspan="1">
<property name="name">
<cstring>layout58_3</cstring>
</property>
@@ -2841,7 +2841,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeUL_S</cstring>
</property>
@@ -2866,7 +2866,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeLL_S</cstring>
</property>
@@ -2876,7 +2876,7 @@ from multipart titles</string>
</widget>
</vbox>
</widget>
- <widget class="QLayoutWidget" row="0" column="5" rowspan="3" colspan="1">
+ <widget class="TQLayoutWidget" row="0" column="5" rowspan="3" colspan="1">
<property name="name">
<cstring>layout59_3</cstring>
</property>
@@ -2884,7 +2884,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeUR_S</cstring>
</property>
@@ -2909,7 +2909,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeLR_S</cstring>
</property>
@@ -2936,7 +2936,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QLabel" row="1" column="2">
+ <widget class="TQLabel" row="1" column="2">
<property name="name">
<cstring>textLabel1_6_5</cstring>
</property>
@@ -2944,7 +2944,7 @@ from multipart titles</string>
<string>Border Size</string>
</property>
</widget>
- <widget class="QSpinBox" row="1" column="3">
+ <widget class="TQSpinBox" row="1" column="3">
<property name="name">
<cstring>borderSize_S</cstring>
</property>
@@ -3008,7 +3008,7 @@ from multipart titles</string>
</spacer>
</grid>
</widget>
- <widget class="QLayoutWidget" row="3" column="0">
+ <widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
<cstring>layout10_3_2</cstring>
</property>
@@ -3016,7 +3016,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel2_3_2</cstring>
</property>
@@ -3041,7 +3041,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>LineImpact_S</cstring>
</property>
diff --git a/deco/config/configdialog.ui.new b/deco/config/configdialog.ui.new
index b17dbd1..bd812d8 100644
--- a/deco/config/configdialog.ui.new
+++ b/deco/config/configdialog.ui.new
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>ConfigDialog</class>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>ConfigDialog</cstring>
</property>
@@ -19,7 +19,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QButtonGroup" row="0" column="1" rowspan="1" colspan="2">
+ <widget class="TQButtonGroup" row="0" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>titlealign</cstring>
</property>
@@ -36,7 +36,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QRadioButton" row="0" column="0">
+ <widget class="TQRadioButton" row="0" column="0">
<property name="name">
<cstring>AlignLeft</cstring>
</property>
@@ -64,7 +64,7 @@
</size>
</property>
</spacer>
- <widget class="QRadioButton" row="0" column="2">
+ <widget class="TQRadioButton" row="0" column="2">
<property name="name">
<cstring>AlignHCenter</cstring>
</property>
@@ -95,7 +95,7 @@
</size>
</property>
</spacer>
- <widget class="QRadioButton" row="0" column="4">
+ <widget class="TQRadioButton" row="0" column="4">
<property name="name">
<cstring>AlignRight</cstring>
</property>
@@ -106,7 +106,7 @@
<string></string>
</property>
</widget>
- <widget class="QRadioButton" row="0" column="6">
+ <widget class="TQRadioButton" row="0" column="6">
<property name="name">
<cstring>noTitle</cstring>
</property>
@@ -133,7 +133,7 @@
</spacer>
</grid>
</widget>
- <widget class="QGroupBox" row="0" column="0" rowspan="3" colspan="1">
+ <widget class="TQGroupBox" row="0" column="0" rowspan="3" colspan="1">
<property name="name">
<cstring>generalbox</cstring>
</property>
@@ -150,7 +150,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QComboBox" row="12" column="0">
+ <widget class="TQComboBox" row="12" column="0">
<item>
<property name="text">
<string>Jaguar</string>
@@ -180,7 +180,7 @@
<cstring>defaultMode</cstring>
</property>
</widget>
- <widget class="QCheckBox" row="9" column="0">
+ <widget class="TQCheckBox" row="9" column="0">
<property name="name">
<cstring>delAppname</cstring>
</property>
@@ -203,7 +203,7 @@ from multipart titles</string>
<enum>Horizontal</enum>
</property>
</widget>
- <widget class="QCheckBox" row="3" column="0">
+ <widget class="TQCheckBox" row="3" column="0">
<property name="name">
<cstring>drawComicFrame</cstring>
</property>
@@ -214,7 +214,7 @@ from multipart titles</string>
<string>Draws a black frame around the window (not the Titlebar).&lt;br&gt;Anyway i suggest to get the kwin dropshadow patch.</string>
</property>
</widget>
- <widget class="QCheckBox" row="8" column="0">
+ <widget class="TQCheckBox" row="8" column="0">
<property name="name">
<cstring>noModalDeco</cstring>
</property>
@@ -222,7 +222,7 @@ from multipart titles</string>
<string>Hide deco for fixed size modal windows</string>
</property>
</widget>
- <widget class="QCheckBox" row="6" column="0">
+ <widget class="TQCheckBox" row="6" column="0">
<property name="name">
<cstring>maxResizable</cstring>
</property>
@@ -230,7 +230,7 @@ from multipart titles</string>
<string>Keep maximized resizable</string>
</property>
</widget>
- <widget class="QCheckBox" row="2" column="0">
+ <widget class="TQCheckBox" row="2" column="0">
<property name="name">
<cstring>ResizeGrip</cstring>
</property>
@@ -241,7 +241,7 @@ from multipart titles</string>
<string>Starts in Brushed Metal mode instead of default, if the Style is set to Brushed Metal</string>
</property>
</widget>
- <widget class="QLabel" row="11" column="0">
+ <widget class="TQLabel" row="11" column="0">
<property name="name">
<cstring>textLabel1_7</cstring>
</property>
@@ -249,7 +249,7 @@ from multipart titles</string>
<string>Default Mode is</string>
</property>
</widget>
- <widget class="QCheckBox" row="7" column="0">
+ <widget class="TQCheckBox" row="7" column="0">
<property name="name">
<cstring>fullSpec</cstring>
</property>
@@ -260,7 +260,7 @@ from multipart titles</string>
<string>Check this to have any window in fullscreen Mode - demaximize the window by clicking into the top right corner of your screen</string>
</property>
</widget>
- <widget class="QCheckBox" row="4" column="0">
+ <widget class="TQCheckBox" row="4" column="0">
<property name="name">
<cstring>allowEasyClosing</cstring>
</property>
@@ -271,7 +271,7 @@ from multipart titles</string>
<string>Allows Closing by clicking into the top left or right corner &lt;br&gt; Close Button must be most left or right element (also no spacers) &lt;br&gt; Closes on Mouse Button release (so you have the chance to move the mouse away and keep the Window) &lt;br&gt; The Window must be active and maximized &lt;br&gt; Unfortunately you will not be able tho resize the Window from that corner</string>
</property>
</widget>
- <widget class="QCheckBox" row="5" column="0">
+ <widget class="TQCheckBox" row="5" column="0">
<property name="name">
<cstring>addAutoSpacing</cstring>
</property>
@@ -279,7 +279,7 @@ from multipart titles</string>
<string>Add auto spacing</string>
</property>
</widget>
- <widget class="QLayoutWidget" row="1" column="0">
+ <widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>layout133</cstring>
</property>
@@ -287,7 +287,7 @@ from multipart titles</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_3</cstring>
</property>
@@ -312,7 +312,7 @@ from multipart titles</string>
</size>
</property>
</spacer>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>minTH</cstring>
</property>
@@ -328,7 +328,7 @@ from multipart titles</string>
</widget>
</hbox>
</widget>
- <widget class="QPushButton" row="0" column="0">
+ <widget class="TQPushButton" row="0" column="0">
<property name="name">
<cstring>ButtonColorConfig</cstring>
</property>
@@ -338,7 +338,7 @@ from multipart titles</string>
</widget>
</grid>
</widget>
- <widget class="QWidgetStack" row="2" column="1" rowspan="1" colspan="2">
+ <widget class="TQWidgetStack" row="2" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>decoStack</cstring>
</property>
@@ -351,14 +351,14 @@ from multipart titles</string>
<property name="lineWidth">
<number>2</number>
</property>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>WStackPage</cstring>
</property>
<attribute name="id">
<number>0</number>
</attribute>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
@@ -376,7 +376,7 @@ from multipart titles</string>
</widget>
</widget>
</widget>
- <widget class="QPushButton" row="1" column="1">
+ <widget class="TQPushButton" row="1" column="1">
<property name="name">
<cstring>pushButton2</cstring>
</property>
@@ -384,7 +384,7 @@ from multipart titles</string>
<string>Add style</string>
</property>
</widget>
- <widget class="QPushButton" row="1" column="2">
+ <widget class="TQPushButton" row="1" column="2">
<property name="name">
<cstring>pushButton3</cstring>
</property>
diff --git a/deco/config/customdecosettings.ui b/deco/config/customdecosettings.ui
index 2533091..2a98265 100644
--- a/deco/config/customdecosettings.ui
+++ b/deco/config/customdecosettings.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>CustomDecoSettings</class>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>CustomDecoSettings</cstring>
</property>
@@ -19,7 +19,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QGroupBox" row="5" column="0" rowspan="1" colspan="5">
+ <widget class="TQGroupBox" row="5" column="0" rowspan="1" colspan="5">
<property name="name">
<cstring>boxCorner</cstring>
</property>
@@ -30,7 +30,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget" row="0" column="0" rowspan="3" colspan="1">
+ <widget class="TQLayoutWidget" row="0" column="0" rowspan="3" colspan="1">
<property name="name">
<cstring>layout45</cstring>
</property>
@@ -38,7 +38,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeUL</cstring>
</property>
@@ -63,7 +63,7 @@
</size>
</property>
</spacer>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeLL</cstring>
</property>
@@ -73,7 +73,7 @@
</widget>
</vbox>
</widget>
- <widget class="QLayoutWidget" row="0" column="5" rowspan="3" colspan="1">
+ <widget class="TQLayoutWidget" row="0" column="5" rowspan="3" colspan="1">
<property name="name">
<cstring>layout44</cstring>
</property>
@@ -81,7 +81,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeUR</cstring>
</property>
@@ -106,7 +106,7 @@
</size>
</property>
</spacer>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>shapeLR</cstring>
</property>
@@ -133,7 +133,7 @@
</size>
</property>
</spacer>
- <widget class="QSpinBox" row="1" column="3">
+ <widget class="TQSpinBox" row="1" column="3">
<property name="name">
<cstring>borderSize</cstring>
</property>
@@ -141,7 +141,7 @@
<number>16</number>
</property>
</widget>
- <widget class="QLabel" row="1" column="2">
+ <widget class="TQLabel" row="1" column="2">
<property name="name">
<cstring>labelBorderSize</cstring>
</property>
@@ -202,7 +202,7 @@
</spacer>
</grid>
</widget>
- <widget class="QLayoutWidget" row="4" column="0" rowspan="1" colspan="5">
+ <widget class="TQLayoutWidget" row="4" column="0" rowspan="1" colspan="5">
<property name="name">
<cstring>layout10</cstring>
</property>
@@ -210,7 +210,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>labelTitleshadow</cstring>
</property>
@@ -235,7 +235,7 @@
</size>
</property>
</spacer>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>LineImpact</cstring>
</property>
@@ -251,7 +251,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget" row="3" column="0" rowspan="1" colspan="5">
+ <widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="5">
<property name="name">
<cstring>layout7_3</cstring>
</property>
@@ -259,7 +259,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>label3D</cstring>
</property>
@@ -284,7 +284,7 @@
</size>
</property>
</spacer>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>_3DImpact</cstring>
</property>
@@ -297,7 +297,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget" row="2" column="0">
+ <widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>layout35</cstring>
</property>
@@ -305,7 +305,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>labelButtonstyle</cstring>
</property>
@@ -313,7 +313,7 @@
<string>ButtonStyle</string>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>labelTitle</cstring>
</property>
@@ -324,7 +324,7 @@
<cstring>titleeffect</cstring>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>labelInTitle</cstring>
</property>
@@ -337,7 +337,7 @@
</widget>
</vbox>
</widget>
- <widget class="QLayoutWidget" row="2" column="4">
+ <widget class="TQLayoutWidget" row="2" column="4">
<property name="name">
<cstring>layout38</cstring>
</property>
@@ -345,7 +345,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>labelColors</cstring>
</property>
@@ -356,7 +356,7 @@
<set>AlignCenter</set>
</property>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout33</cstring>
</property>
@@ -382,7 +382,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout34</cstring>
</property>
@@ -410,7 +410,7 @@
</widget>
</vbox>
</widget>
- <widget class="QLayoutWidget" row="2" column="2" rowspan="1" colspan="2">
+ <widget class="TQLayoutWidget" row="2" column="2" rowspan="1" colspan="2">
<property name="name">
<cstring>layout39</cstring>
</property>
@@ -418,7 +418,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QComboBox">
+ <widget class="TQComboBox">
<item>
<property name="text">
<string>Panther</string>
@@ -443,7 +443,7 @@
<cstring>buttonStyle</cstring>
</property>
</widget>
- <widget class="QComboBox">
+ <widget class="TQComboBox">
<item>
<property name="text">
<string>Gradient</string>
@@ -487,7 +487,7 @@
<string>Select an effect for the titlebar to change its appearance</string>
</property>
</widget>
- <widget class="QComboBox">
+ <widget class="TQComboBox">
<item>
<property name="text">
<string>Gradient</string>
@@ -550,7 +550,7 @@
</size>
</property>
</spacer>
- <widget class="QCheckBox" row="1" column="0" rowspan="1" colspan="3">
+ <widget class="TQCheckBox" row="1" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>drawIcon</cstring>
</property>
@@ -558,7 +558,7 @@
<string>Draw Icon</string>
</property>
</widget>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>DecoName</cstring>
</property>