Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/9/head
Michele Calgaro 11 months ago
parent 86065aeae2
commit bfa2c2aaa7
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -132,35 +132,35 @@ DominoConfig::DominoConfig( TDEConfig* config, TQWidget* parent )
load(config); load(config);
// Ensure we track user changes properly // Ensure we track user changes properly
connect(customGradientColors, SIGNAL(toggled(bool)), topGradientColor, SLOT(setEnabled(bool))); connect(customGradientColors, TQ_SIGNAL(toggled(bool)), topGradientColor, TQ_SLOT(setEnabled(bool)));
connect(customGradientColors, SIGNAL(toggled(bool)), bottomGradientColor, SLOT(setEnabled(bool))); connect(customGradientColors, TQ_SIGNAL(toggled(bool)), bottomGradientColor, TQ_SLOT(setEnabled(bool)));
connect(customBorderColor, SIGNAL(toggled(bool)), borderColor, SLOT(setEnabled(bool))); connect(customBorderColor, TQ_SIGNAL(toggled(bool)), borderColor, TQ_SLOT(setEnabled(bool)));
connect(customButtonColor, SIGNAL(toggled(bool)), buttonColor, SLOT(setEnabled(bool))); connect(customButtonColor, TQ_SIGNAL(toggled(bool)), buttonColor, TQ_SLOT(setEnabled(bool)));
connect(customButtonIconColor, SIGNAL(toggled(bool)), buttonIconColor, SLOT(setEnabled(bool))); connect(customButtonIconColor, TQ_SIGNAL(toggled(bool)), buttonIconColor, TQ_SLOT(setEnabled(bool)));
connect(customGradientColors, SIGNAL(clicked()), this, SLOT(slotSelectionChanged())); connect(customGradientColors, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectionChanged()));
connect(topGradientColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged())); connect(topGradientColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(slotSelectionChanged()));
connect(bottomGradientColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged())); connect(bottomGradientColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(slotSelectionChanged()));
connect(customBorderColor, SIGNAL(clicked()), this, SLOT(slotSelectionChanged())); connect(customBorderColor, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectionChanged()));
connect(borderColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged())); connect(borderColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(slotSelectionChanged()));
connect(customButtonColor, SIGNAL(clicked()), this, SLOT(slotSelectionChanged())); connect(customButtonColor, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectionChanged()));
connect(buttonColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged())); connect(buttonColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(slotSelectionChanged()));
connect(customButtonIconColor, SIGNAL(clicked()), this, SLOT(slotSelectionChanged())); connect(customButtonIconColor, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectionChanged()));
connect(buttonIconColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged())); connect(buttonIconColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(slotSelectionChanged()));
connect(showInactiveButtons, SIGNAL(clicked()), this, SLOT(slotSelectionChanged())); connect(showInactiveButtons, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectionChanged()));
connect(showButtonIcons, SIGNAL(clicked()), this, SLOT(slotSelectionChanged())); connect(showButtonIcons, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectionChanged()));
connect(darkFrame, SIGNAL(clicked()), this, SLOT(slotSelectionChanged())); connect(darkFrame, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectionChanged()));
connect(useDominoStyleContourColors, SIGNAL(clicked()), this, SLOT(loadButtonContourColors())); connect(useDominoStyleContourColors, TQ_SIGNAL(clicked()), this, TQ_SLOT(loadButtonContourColors()));
connect(useDominoStyleContourColors, SIGNAL(clicked()), this, SLOT(slotSelectionChanged())); connect(useDominoStyleContourColors, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectionChanged()));
connect(buttonContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged())); connect(buttonContourColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(slotSelectionChanged()));
connect(buttonMouseOverContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged())); connect(buttonMouseOverContourColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(slotSelectionChanged()));
connect(buttonPressedContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(slotSelectionChanged())); connect(buttonPressedContourColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(slotSelectionChanged()));
// Make the widgets visible in twindecoration valueChanged // Make the widgets visible in twindecoration valueChanged

@ -740,7 +740,7 @@ KCommonDecorationButton *DominoClient::createButton(ButtonType type)
case MenuButton: { case MenuButton: {
DominoButton* menu = new DominoButton(MenuButton, this, "menu"); DominoButton* menu = new DominoButton(MenuButton, this, "menu");
menuButton = menu; menuButton = menu;
connect(menu, SIGNAL(destroyed()), this, SLOT(menuButtonDestroyed())); connect(menu, TQ_SIGNAL(destroyed()), this, TQ_SLOT(menuButtonDestroyed()));
return menu; return menu;
break; break;
} }
@ -789,8 +789,8 @@ void DominoClient::init()
KCommonDecoration::reset(SettingButtons); KCommonDecoration::reset(SettingButtons);
iconChange(); iconChange();
connect(this, SIGNAL(keepAboveChanged(bool) ), SLOT(keepAboveChange(bool) ) ); connect(this, TQ_SIGNAL(keepAboveChanged(bool) ), TQ_SLOT(keepAboveChange(bool) ) );
connect(this, SIGNAL(keepBelowChanged(bool) ), SLOT(keepBelowChange(bool) ) ); connect(this, TQ_SIGNAL(keepBelowChanged(bool) ), TQ_SLOT(keepBelowChange(bool) ) );
} }
void DominoClient::createLayout() void DominoClient::createLayout()

@ -567,13 +567,13 @@ KDE_Q_EXPORT_PLUGIN( DominoStylePlugin )
if ( _animateProgressBar ) if ( _animateProgressBar )
{ {
animationTimer = new TQTimer( this ); animationTimer = new TQTimer( this );
connect( animationTimer, SIGNAL(timeout()), this, SLOT(updateProgressPos()) ); connect( animationTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(updateProgressPos()) );
} }
scrollDistance = 0; scrollDistance = 0;
scrollWidget = 0; scrollWidget = 0;
scrollTimer = new TQTimer(this); scrollTimer = new TQTimer(this);
connect( scrollTimer, SIGNAL(timeout()), this, SLOT(updateScrollPos()) ); connect( scrollTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(updateScrollPos()) );
TQColor tabContour2 = tqApp->palette().active().background().dark(150); TQColor tabContour2 = tqApp->palette().active().background().dark(150);
border1= new TQPixmap(tintImage(qembed_findImage("border1"), tabContour2)); border1= new TQPixmap(tintImage(qembed_findImage("border1"), tabContour2));
@ -705,13 +705,13 @@ void DominoStyle::polish( const TQStyleControlElementData &ceData, ControlElemen
if(!strcmp(widget->name(), "__tdehtml")) { // is it a tdehtml widget...? if(!strcmp(widget->name(), "__tdehtml")) { // is it a tdehtml widget...?
tdehtmlWidgets[widget] = true; tdehtmlWidgets[widget] = true;
connect(widget, SIGNAL(destroyed(TQObject*)), this, SLOT(tdehtmlWidgetDestroyed(TQObject*))); connect(widget, TQ_SIGNAL(destroyed(TQObject*)), this, TQ_SLOT(tdehtmlWidgetDestroyed(TQObject*)));
} }
else if((!strcmp(widget->name(), "tdefile button") || (widget->isA("KLineEdit") && widget->parentWidget())) && !strcmp(widget->parentWidget()->name(), "__tdehtml")) { else if((!strcmp(widget->name(), "tdefile button") || (widget->isA("KLineEdit") && widget->parentWidget())) && !strcmp(widget->parentWidget()->name(), "__tdehtml")) {
widget->setBackgroundMode(TQt::NoBackground); widget->setBackgroundMode(TQt::NoBackground);
widget->parentWidget()->setBackgroundMode(TQt::NoBackground); widget->parentWidget()->setBackgroundMode(TQt::NoBackground);
tdehtmlWidgets[widget] = true; tdehtmlWidgets[widget] = true;
connect(widget, SIGNAL(destroyed(TQObject*)), this, SLOT(tdehtmlWidgetDestroyed(TQObject*))); connect(widget, TQ_SIGNAL(destroyed(TQObject*)), this, TQ_SLOT(tdehtmlWidgetDestroyed(TQObject*)));
} }
if(dynamic_cast<TQPushButton*>(widget)) { if(dynamic_cast<TQPushButton*>(widget)) {
@ -750,9 +750,9 @@ void DominoStyle::polish( const TQStyleControlElementData &ceData, ControlElemen
setDominoButtonPalette(widget, Palette_Widget); setDominoButtonPalette(widget, Palette_Widget);
if(tb->popupDelay() < 1) { if(tb->popupDelay() < 1) {
disconnect(tb, SIGNAL(pressed()), tb, SLOT(popupPressed())); disconnect(tb, TQ_SIGNAL(pressed()), tb, TQ_SLOT(popupPressed()));
connect(tb, SIGNAL(pressed()), this, SLOT(toolPopupPressed())); connect(tb, TQ_SIGNAL(pressed()), this, TQ_SLOT(toolPopupPressed()));
connect(tb, SIGNAL(released()), this, SLOT(toolPopupReleased())); connect(tb, TQ_SIGNAL(released()), this, TQ_SLOT(toolPopupReleased()));
} }
if(tb->popupDelay() < 1) if(tb->popupDelay() < 1)
@ -813,7 +813,7 @@ void DominoStyle::polish( const TQStyleControlElementData &ceData, ControlElemen
((TQCheckBox*)gb->child("qt_groupbox_checkbox", 0, false))->setPaletteBackgroundColor(gb->parentWidget()->paletteBackgroundColor()); ((TQCheckBox*)gb->child("qt_groupbox_checkbox", 0, false))->setPaletteBackgroundColor(gb->parentWidget()->paletteBackgroundColor());
} }
} }
connect(widget, SIGNAL(destroyed(TQObject*)), this, SLOT(groupBoxDestroyed(TQObject*))); connect(widget, TQ_SIGNAL(destroyed(TQObject*)), this, TQ_SLOT(groupBoxDestroyed(TQObject*)));
} }
installObjectEventHandler(ceData, elementFlags, ptr, this); installObjectEventHandler(ceData, elementFlags, ptr, this);
} }
@ -834,7 +834,7 @@ void DominoStyle::polish( const TQStyleControlElementData &ceData, ControlElemen
installObjectEventHandler(ceData, elementFlags, ptr, this); installObjectEventHandler(ceData, elementFlags, ptr, this);
} }
else if(dynamic_cast<TQSpinBox*>(widget)) { else if(dynamic_cast<TQSpinBox*>(widget)) {
connect(dynamic_cast<TQSpinBox*>(widget), SIGNAL(valueChanged(int)), this, SLOT(spinBoxValueChanged(int))); connect(dynamic_cast<TQSpinBox*>(widget), TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(spinBoxValueChanged(int)));
} }
else if(dynamic_cast<TQLineEdit*>(widget)) { else if(dynamic_cast<TQLineEdit*>(widget)) {
TQLineEdit* le = dynamic_cast<TQLineEdit*>(widget); TQLineEdit* le = dynamic_cast<TQLineEdit*>(widget);
@ -865,8 +865,8 @@ void DominoStyle::polish( const TQStyleControlElementData &ceData, ControlElemen
tb->setShape(TQTabBar::RoundedBelow); tb->setShape(TQTabBar::RoundedBelow);
widget->setEraseColor(widget->paletteBackgroundColor().dark(konqTabBarContrast)); widget->setEraseColor(widget->paletteBackgroundColor().dark(konqTabBarContrast));
} }
connect(tb, SIGNAL(layoutChanged()), this, SLOT(updateTabWidgetFrame())); connect(tb, TQ_SIGNAL(layoutChanged()), this, TQ_SLOT(updateTabWidgetFrame()));
connect(tb, SIGNAL(selected(int)), this, SLOT(updateTabWidgetFrame())); connect(tb, TQ_SIGNAL(selected(int)), this, TQ_SLOT(updateTabWidgetFrame()));
setDominoButtonPalette(widget, Palette_Widget); setDominoButtonPalette(widget, Palette_Widget);
installObjectEventHandler(ceData, elementFlags, ptr, this); installObjectEventHandler(ceData, elementFlags, ptr, this);
} }
@ -937,7 +937,7 @@ void DominoStyle::polish( const TQStyleControlElementData &ceData, ControlElemen
setDominoButtonPalette(widget, Palette_Widget); setDominoButtonPalette(widget, Palette_Widget);
progAnimWidgets[widget] = 0; progAnimWidgets[widget] = 0;
connect(widget, SIGNAL(destroyed(TQObject*)), this, SLOT(progressBarDestroyed(TQObject*))); connect(widget, TQ_SIGNAL(destroyed(TQObject*)), this, TQ_SLOT(progressBarDestroyed(TQObject*)));
// if (!animationTimer->isActive()) // if (!animationTimer->isActive())
// animationTimer->start( 50, false ); // animationTimer->start( 50, false );
installObjectEventHandler(ceData, elementFlags, ptr, this); installObjectEventHandler(ceData, elementFlags, ptr, this);
@ -8113,7 +8113,7 @@ void DominoStyle::spinBoxValueChanged(int value) {
spinWidgetDown = !(value == sb->maxValue() || value == sb->minValue()); spinWidgetDown = !(value == sb->maxValue() || value == sb->minValue());
if(!spinWidgetDown) { if(!spinWidgetDown) {
// if we repaint directly, the last mousePressEvent wouldn't be down // if we repaint directly, the last mousePressEvent wouldn't be down
TQTimer::singleShot( 200, ((DominoTQSpinBox*)sb)->editor()->parentWidget(), SLOT(repaint()) ); TQTimer::singleShot( 200, ((DominoTQSpinBox*)sb)->editor()->parentWidget(), TQ_SLOT(repaint()) );
} }
} }
} }
@ -8145,7 +8145,7 @@ void DominoStyle::toolPopupPressed() {
return; return;
if(tb->popup() && tb->isEnabled() && tb->isDown()) { if(tb->popup() && tb->isEnabled() && tb->isDown()) {
popupButton = tb; popupButton = tb;
connect(popupTimer, SIGNAL(timeout()), this, SLOT(popupToolMenu())); connect(popupTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(popupToolMenu()));
popupTimer->start(600, true); popupTimer->start(600, true);
} }
} }

@ -188,8 +188,8 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
labelArgbRubberOpacity->setEnabled(false); labelArgbRubberOpacity->setEnabled(false);
} }
connect(btg, SIGNAL(released(int)), SLOT(rubberSelChanged(int))); connect(btg, TQ_SIGNAL(released(int)), TQ_SLOT(rubberSelChanged(int)));
connect(argbRubber, SIGNAL(toggled(bool)), SLOT(updateArgbRubberOptions(bool))); connect(argbRubber, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateArgbRubberOptions(bool)));
// popupMenu options // popupMenu options
@ -287,14 +287,14 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
grVBoxLayout2->addWidget(hbox13); grVBoxLayout2->addWidget(hbox13);
grFrameLayout->addLayout(grVBoxLayout2); grFrameLayout->addLayout(grVBoxLayout2);
connect(grSlider, SIGNAL(valueChanged(int)), this, SLOT(grValueLabelNum(int))); connect(grSlider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(grValueLabelNum(int)));
connect(grSlider, SIGNAL(valueChanged(int)), this, SLOT(updateGroupBoxSettings())); connect(grSlider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(updateGroupBoxSettings()));
connect(groupBoxBackgroundColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateGroupBoxSettings())); connect(groupBoxBackgroundColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(updateGroupBoxSettings()));
connect(tintGroupBoxBackground, SIGNAL(toggled(bool)), this, SLOT(updateGroupBoxSettings())); connect(tintGroupBoxBackground, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(updateGroupBoxSettings()));
connect(tintGroupBoxBackground, SIGNAL(toggled(bool)), this, SLOT(resetGroupBoxBackgroundColor())); connect(tintGroupBoxBackground, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(resetGroupBoxBackgroundColor()));
connect(tintGroupBoxBackground, SIGNAL(toggled(bool)), grFrame, SLOT(setEnabled(bool))); connect(tintGroupBoxBackground, TQ_SIGNAL(toggled(bool)), grFrame, TQ_SLOT(setEnabled(bool)));
connect(customGroupBoxBackgroundColor, SIGNAL(toggled(bool)), this, SLOT(updateGroupBoxSettings())); connect(customGroupBoxBackgroundColor, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(updateGroupBoxSettings()));
connect(customGroupBoxBackgroundColor, SIGNAL(toggled(bool)), groupBoxBackgroundColor, SLOT(setEnabled(bool))); connect(customGroupBoxBackgroundColor, TQ_SIGNAL(toggled(bool)), groupBoxBackgroundColor, TQ_SLOT(setEnabled(bool)));
// focusIndicator // focusIndicator
@ -376,10 +376,10 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
indicateFocusLayout->addLayout(hbox8, 2, 0); indicateFocusLayout->addLayout(hbox8, 2, 0);
indicateFocusLayout->addMultiCellWidget( prFrame, 1, 2, 1, 2 ); indicateFocusLayout->addMultiCellWidget( prFrame, 1, 2, 1, 2 );
connect(indicatorModeCombo, SIGNAL( activated(int)), this, SLOT(indicatorModeChanged())); connect(indicatorModeCombo, TQ_SIGNAL( activated(int)), this, TQ_SLOT(indicatorModeChanged()));
connect(indicatorModeCombo, SIGNAL(activated(int)), this, SLOT(updateFocusIndicatorSettings())); connect(indicatorModeCombo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(updateFocusIndicatorSettings()));
connect(indicateFocus, SIGNAL(toggled(bool)), indicatorPrevButton, SLOT(setEnabled(bool))); connect(indicateFocus, TQ_SIGNAL(toggled(bool)), indicatorPrevButton, TQ_SLOT(setEnabled(bool)));
connect(indicateFocus, SIGNAL(toggled(bool)), indicateFocusFrame, SLOT(setEnabled(bool))); connect(indicateFocus, TQ_SIGNAL(toggled(bool)), indicateFocusFrame, TQ_SLOT(setEnabled(bool)));
@ -491,14 +491,14 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
textEffectLayout->addLayout(hbox17, 2, 0); textEffectLayout->addLayout(hbox17, 2, 0);
textEffectLayout->addMultiCellWidget( prTextEffectFrame, 1, 2, 1, 2 ); textEffectLayout->addMultiCellWidget( prTextEffectFrame, 1, 2, 1, 2 );
connect(drawTextEffect, SIGNAL(toggled(bool)), textEffectFrame, SLOT(setEnabled(bool))); connect(drawTextEffect, TQ_SIGNAL(toggled(bool)), textEffectFrame, TQ_SLOT(setEnabled(bool)));
connect(drawTextEffect, SIGNAL(toggled(bool)), this, SLOT(updateTextEffectSettings())); connect(drawTextEffect, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(updateTextEffectSettings()));
connect(textEffectModeCombo, SIGNAL( activated(int)), this, SLOT(textEffectModeChanged())); connect(textEffectModeCombo, TQ_SIGNAL( activated(int)), this, TQ_SLOT(textEffectModeChanged()));
connect(textEffectModeCombo, SIGNAL( activated(int)), this, SLOT(updateTextEffectSettings())); connect(textEffectModeCombo, TQ_SIGNAL( activated(int)), this, TQ_SLOT(updateTextEffectSettings()));
drawButtonSunkenShadow = new TQCheckBox(i18n("Draw a shadow on pressed sunken buttons"), scrollWidget); drawButtonSunkenShadow = new TQCheckBox(i18n("Draw a shadow on pressed sunken buttons"), scrollWidget);
connect(drawButtonSunkenShadow, SIGNAL(toggled(bool)), this, SLOT(updateButtonContourSettings())); connect(drawButtonSunkenShadow, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(updateButtonContourSettings()));
TQHBox *hbox21 = new TQHBox(scrollWidget); TQHBox *hbox21 = new TQHBox(scrollWidget);
hbox21->layout()->addItem(new TQSpacerItem(23, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) ); hbox21->layout()->addItem(new TQSpacerItem(23, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
@ -574,12 +574,12 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
buttonContourColorFrameLayout->addMultiCellWidget(prButtonContourColorFrame, 0, 3, 2, 2); buttonContourColorFrameLayout->addMultiCellWidget(prButtonContourColorFrame, 0, 3, 2, 2);
connect(buttonContourType, SIGNAL(activated(int)), this, SLOT(updateButtonContourSettings())); connect(buttonContourType, TQ_SIGNAL(activated(int)), this, TQ_SLOT(updateButtonContourSettings()));
connect(buttonContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateButtonContourSettings())); connect(buttonContourColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(updateButtonContourSettings()));
connect(buttonMouseOverContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateButtonContourSettings())); connect(buttonMouseOverContourColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(updateButtonContourSettings()));
connect(buttonPressedContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateButtonContourSettings())); connect(buttonPressedContourColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(updateButtonContourSettings()));
connect(buttonDefaultButtonContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateButtonContourSettings())); connect(buttonDefaultButtonContourColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(updateButtonContourSettings()));
@ -632,7 +632,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
//////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////
tabWidget2 = new DominoKTabWidget( page2, "tabWidget2" ); tabWidget2 = new DominoKTabWidget( page2, "tabWidget2" );
connect(tabWidget2, SIGNAL(testCanDecode(const TQDragMoveEvent *, bool &)), SLOT(testCanDecode(const TQDragMoveEvent *, bool &))); connect(tabWidget2, TQ_SIGNAL(testCanDecode(const TQDragMoveEvent *, bool &)), TQ_SLOT(testCanDecode(const TQDragMoveEvent *, bool &)));
page2layout->add(tabWidget2); page2layout->add(tabWidget2);
//////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////
@ -695,7 +695,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
groupBox8_2_2_2 = new TQGroupBox( groupBox22, "groupBox8_2_2_2" ); groupBox8_2_2_2 = new TQGroupBox( groupBox22, "groupBox8_2_2_2" );
groupBox8_2_2_2->setCheckable( TRUE ); groupBox8_2_2_2->setCheckable( TRUE );
connect(((TQCheckBox*)groupBox8_2_2_2->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(btn1GradientChanged())); connect(((TQCheckBox*)groupBox8_2_2_2->child("qt_groupbox_checkbox", 0, false)), TQ_SIGNAL(clicked()), TQ_SLOT(btn1GradientChanged()));
groupBox8_2_2_2->setColumnLayout(0, TQt::Vertical ); groupBox8_2_2_2->setColumnLayout(0, TQt::Vertical );
groupBox8_2_2_2->layout()->setSpacing( 7 ); groupBox8_2_2_2->layout()->setSpacing( 7 );
groupBox8_2_2_2->layout()->setMargin( 4 ); groupBox8_2_2_2->layout()->setMargin( 4 );
@ -747,7 +747,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
groupBox9_2_2_2 = new TQGroupBox( groupBox22, "groupBox9_2_2_2" ); groupBox9_2_2_2 = new TQGroupBox( groupBox22, "groupBox9_2_2_2" );
groupBox9_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2->sizePolicy().hasHeightForWidth() ) ); groupBox9_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2->sizePolicy().hasHeightForWidth() ) );
groupBox9_2_2_2->setCheckable( TRUE ); groupBox9_2_2_2->setCheckable( TRUE );
connect(((TQCheckBox*)groupBox9_2_2_2->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(btn2GradientChanged())); connect(((TQCheckBox*)groupBox9_2_2_2->child("qt_groupbox_checkbox", 0, false)), TQ_SIGNAL(clicked()), TQ_SLOT(btn2GradientChanged()));
groupBox9_2_2_2->setChecked( FALSE ); groupBox9_2_2_2->setChecked( FALSE );
groupBox9_2_2_2->setColumnLayout(0, TQt::Vertical ); groupBox9_2_2_2->setColumnLayout(0, TQt::Vertical );
groupBox9_2_2_2->layout()->setSpacing( 7 ); groupBox9_2_2_2->layout()->setSpacing( 7 );
@ -814,7 +814,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
layout9->addWidget( comboBox3_4 ); layout9->addWidget( comboBox3_4 );
pushButton4_4 = new TQPushButton( tab1, "pushButton4_4" ); pushButton4_4 = new TQPushButton( tab1, "pushButton4_4" );
connect(pushButton4_4, SIGNAL(clicked()), SLOT(copyColorsToButton())); connect(pushButton4_4, TQ_SIGNAL(clicked()), TQ_SLOT(copyColorsToButton()));
layout9->addWidget( pushButton4_4 ); layout9->addWidget( pushButton4_4 );
tab1Layout->addLayout( layout9 ); tab1Layout->addLayout( layout9 );
tabWidget2->insertTab( tab1, TQString::fromLatin1("") ); tabWidget2->insertTab( tab1, TQString::fromLatin1("") );
@ -839,7 +839,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
groupBox8_2_2_2_2 = new TQGroupBox( groupBox22_2, "groupBox8_2_2_2_2" ); groupBox8_2_2_2_2 = new TQGroupBox( groupBox22_2, "groupBox8_2_2_2_2" );
groupBox8_2_2_2_2->setCheckable( TRUE ); groupBox8_2_2_2_2->setCheckable( TRUE );
connect(((TQCheckBox*)groupBox8_2_2_2_2->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(tab1GradientChanged())); connect(((TQCheckBox*)groupBox8_2_2_2_2->child("qt_groupbox_checkbox", 0, false)), TQ_SIGNAL(clicked()), TQ_SLOT(tab1GradientChanged()));
groupBox8_2_2_2_2->setColumnLayout(0, TQt::Vertical ); groupBox8_2_2_2_2->setColumnLayout(0, TQt::Vertical );
groupBox8_2_2_2_2->layout()->setSpacing( 7 ); groupBox8_2_2_2_2->layout()->setSpacing( 7 );
groupBox8_2_2_2_2->layout()->setMargin( 4 ); groupBox8_2_2_2_2->layout()->setMargin( 4 );
@ -890,7 +890,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
groupBox9_2_2_2_2 = new TQGroupBox( groupBox22_2, "groupBox9_2_2_2_2" ); groupBox9_2_2_2_2 = new TQGroupBox( groupBox22_2, "groupBox9_2_2_2_2" );
groupBox9_2_2_2_2->setCheckable( TRUE ); groupBox9_2_2_2_2->setCheckable( TRUE );
connect(((TQCheckBox*)groupBox9_2_2_2_2->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(tab2GradientChanged())); connect(((TQCheckBox*)groupBox9_2_2_2_2->child("qt_groupbox_checkbox", 0, false)), TQ_SIGNAL(clicked()), TQ_SLOT(tab2GradientChanged()));
groupBox9_2_2_2_2->setChecked( FALSE ); groupBox9_2_2_2_2->setChecked( FALSE );
groupBox9_2_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2_2->sizePolicy().hasHeightForWidth() ) ); groupBox9_2_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2_2->sizePolicy().hasHeightForWidth() ) );
groupBox9_2_2_2_2->setColumnLayout(0, TQt::Vertical ); groupBox9_2_2_2_2->setColumnLayout(0, TQt::Vertical );
@ -1035,7 +1035,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
layout9_2->addWidget( comboBox3_4_2 ); layout9_2->addWidget( comboBox3_4_2 );
pushButton4_4_2 = new TQPushButton( tab2, "pushButton4_4_2" ); pushButton4_4_2 = new TQPushButton( tab2, "pushButton4_4_2" );
connect(pushButton4_4_2, SIGNAL(clicked()), SLOT(copyColorsToTab())); connect(pushButton4_4_2, TQ_SIGNAL(clicked()), TQ_SLOT(copyColorsToTab()));
layout9_2->addWidget( pushButton4_4_2 ); layout9_2->addWidget( pushButton4_4_2 );
tab2Layout->addLayout( layout9_2 ); tab2Layout->addLayout( layout9_2 );
@ -1065,7 +1065,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
groupBox8_2_2_2_2_4->layout()->setMargin( 4 ); groupBox8_2_2_2_2_4->layout()->setMargin( 4 );
groupBox8_2_2_2_2_4Layout = new TQGridLayout( groupBox8_2_2_2_2_4->layout() ); groupBox8_2_2_2_2_4Layout = new TQGridLayout( groupBox8_2_2_2_2_4->layout() );
groupBox8_2_2_2_2_4Layout->setAlignment( TQt::AlignTop ); groupBox8_2_2_2_2_4Layout->setAlignment( TQt::AlignTop );
connect(((TQCheckBox*)groupBox8_2_2_2_2_4->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(scrollBar1GradientChanged())); connect(((TQCheckBox*)groupBox8_2_2_2_2_4->child("qt_groupbox_checkbox", 0, false)), TQ_SIGNAL(clicked()), TQ_SLOT(scrollBar1GradientChanged()));
textLabel4_3_2_2_2_2_4 = new TQLabel( groupBox8_2_2_2_2_4, "textLabel4_3_2_2_2_2_4" ); textLabel4_3_2_2_2_2_4 = new TQLabel( groupBox8_2_2_2_2_4, "textLabel4_3_2_2_2_2_4" );
textLabel4_3_2_2_2_2_4->setTextFormat( TQLabel::PlainText ); textLabel4_3_2_2_2_2_4->setTextFormat( TQLabel::PlainText );
@ -1121,7 +1121,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
groupBox9_2_2_2_2_4Layout = new TQGridLayout( groupBox9_2_2_2_2_4->layout() ); groupBox9_2_2_2_2_4Layout = new TQGridLayout( groupBox9_2_2_2_2_4->layout() );
groupBox9_2_2_2_2_4Layout->setAlignment( TQt::AlignTop ); groupBox9_2_2_2_2_4Layout->setAlignment( TQt::AlignTop );
connect(((TQCheckBox*)groupBox9_2_2_2_2_4->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(scrollBar2GradientChanged())); connect(((TQCheckBox*)groupBox9_2_2_2_2_4->child("qt_groupbox_checkbox", 0, false)), TQ_SIGNAL(clicked()), TQ_SLOT(scrollBar2GradientChanged()));
textLabel4_4_2_2_2_2_4 = new TQLabel( groupBox9_2_2_2_2_4, "textLabel4_4_2_2_2_2_4" ); textLabel4_4_2_2_2_2_4 = new TQLabel( groupBox9_2_2_2_2_4, "textLabel4_4_2_2_2_2_4" );
textLabel4_4_2_2_2_2_4->setTextFormat( TQLabel::PlainText ); textLabel4_4_2_2_2_2_4->setTextFormat( TQLabel::PlainText );
@ -1229,7 +1229,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
layout6->addWidget( comboBox3_4_2_3 ); layout6->addWidget( comboBox3_4_2_3 );
pushButton4_4_2_3 = new TQPushButton( tab3, "pushButton4_4_2_3" ); pushButton4_4_2_3 = new TQPushButton( tab3, "pushButton4_4_2_3" );
connect(pushButton4_4_2_3, SIGNAL(clicked()), SLOT(copyColorsToScrollBar())); connect(pushButton4_4_2_3, TQ_SIGNAL(clicked()), TQ_SLOT(copyColorsToScrollBar()));
layout6->addWidget( pushButton4_4_2_3 ); layout6->addWidget( pushButton4_4_2_3 );
tab3Layout->addLayout( layout6 ); tab3Layout->addLayout( layout6 );
@ -1309,7 +1309,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
groupBox8_2_2_2_2_4_3 = new TQGroupBox( groupBox22_2_2_3, "groupBox8_2_2_2_2_4_3" ); groupBox8_2_2_2_2_4_3 = new TQGroupBox( groupBox22_2_2_3, "groupBox8_2_2_2_2_4_3" );
groupBox8_2_2_2_2_4_3->setCheckable( TRUE ); groupBox8_2_2_2_2_4_3->setCheckable( TRUE );
connect(((TQCheckBox*)groupBox8_2_2_2_2_4_3->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(header1GradientChanged())); connect(((TQCheckBox*)groupBox8_2_2_2_2_4_3->child("qt_groupbox_checkbox", 0, false)), TQ_SIGNAL(clicked()), TQ_SLOT(header1GradientChanged()));
groupBox8_2_2_2_2_4_3->setColumnLayout(0, TQt::Vertical ); groupBox8_2_2_2_2_4_3->setColumnLayout(0, TQt::Vertical );
groupBox8_2_2_2_2_4_3->layout()->setSpacing( 7 ); groupBox8_2_2_2_2_4_3->layout()->setSpacing( 7 );
@ -1362,7 +1362,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
groupBox9_2_2_2_2_4_3 = new TQGroupBox( groupBox22_2_2_3, "groupBox9_2_2_2_2_4_3" ); groupBox9_2_2_2_2_4_3 = new TQGroupBox( groupBox22_2_2_3, "groupBox9_2_2_2_2_4_3" );
groupBox9_2_2_2_2_4_3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2_2_4_3->sizePolicy().hasHeightForWidth() ) ); groupBox9_2_2_2_2_4_3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2_2_4_3->sizePolicy().hasHeightForWidth() ) );
groupBox9_2_2_2_2_4_3->setCheckable( TRUE ); groupBox9_2_2_2_2_4_3->setCheckable( TRUE );
connect(((TQCheckBox*)groupBox9_2_2_2_2_4_3->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(header2GradientChanged())); connect(((TQCheckBox*)groupBox9_2_2_2_2_4_3->child("qt_groupbox_checkbox", 0, false)), TQ_SIGNAL(clicked()), TQ_SLOT(header2GradientChanged()));
groupBox9_2_2_2_2_4_3->setChecked( FALSE ); groupBox9_2_2_2_2_4_3->setChecked( FALSE );
groupBox9_2_2_2_2_4_3->setColumnLayout(0, TQt::Vertical ); groupBox9_2_2_2_2_4_3->setColumnLayout(0, TQt::Vertical );
groupBox9_2_2_2_2_4_3->layout()->setSpacing( 7 ); groupBox9_2_2_2_2_4_3->layout()->setSpacing( 7 );
@ -1425,7 +1425,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
layout21->addWidget( comboBox3_4_2_3_3 ); layout21->addWidget( comboBox3_4_2_3_3 );
pushButton4_4_2_3_3 = new TQPushButton( tab4, "pushButton4_4_2_3_3" ); pushButton4_4_2_3_3 = new TQPushButton( tab4, "pushButton4_4_2_3_3" );
connect(pushButton4_4_2_3_3, SIGNAL(clicked()), SLOT(copyColorsToHeader())); connect(pushButton4_4_2_3_3, TQ_SIGNAL(clicked()), TQ_SLOT(copyColorsToHeader()));
layout21->addWidget( pushButton4_4_2_3_3 ); layout21->addWidget( pushButton4_4_2_3_3 );
tab4Layout->addLayout( layout21 ); tab4Layout->addLayout( layout21 );
tabWidget2->insertTab( tab4, TQString::fromLatin1("") ); tabWidget2->insertTab( tab4, TQString::fromLatin1("") );
@ -1447,7 +1447,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
groupBox8_2_2_2_2_4_3_2 = new TQGroupBox( groupBox22_2_2_3_2, "groupBox8_2_2_2_2_4_3_2" ); groupBox8_2_2_2_2_4_3_2 = new TQGroupBox( groupBox22_2_2_3_2, "groupBox8_2_2_2_2_4_3_2" );
groupBox8_2_2_2_2_4_3_2->setCheckable( TRUE ); groupBox8_2_2_2_2_4_3_2->setCheckable( TRUE );
connect(((TQCheckBox*)groupBox8_2_2_2_2_4_3_2->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(checkItem1GradientChanged())); connect(((TQCheckBox*)groupBox8_2_2_2_2_4_3_2->child("qt_groupbox_checkbox", 0, false)), TQ_SIGNAL(clicked()), TQ_SLOT(checkItem1GradientChanged()));
groupBox8_2_2_2_2_4_3_2->setChecked( FALSE ); groupBox8_2_2_2_2_4_3_2->setChecked( FALSE );
groupBox8_2_2_2_2_4_3_2->setColumnLayout(0, TQt::Vertical ); groupBox8_2_2_2_2_4_3_2->setColumnLayout(0, TQt::Vertical );
groupBox8_2_2_2_2_4_3_2->layout()->setSpacing( 7 ); groupBox8_2_2_2_2_4_3_2->layout()->setSpacing( 7 );
@ -1541,7 +1541,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
groupBox9_2_2_2_2_4_3_2 = new TQGroupBox( groupBox22_2_2_3_2, "groupBox9_2_2_2_2_4_3_2" ); groupBox9_2_2_2_2_4_3_2 = new TQGroupBox( groupBox22_2_2_3_2, "groupBox9_2_2_2_2_4_3_2" );
groupBox9_2_2_2_2_4_3_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2_2_4_3_2->sizePolicy().hasHeightForWidth() ) ); groupBox9_2_2_2_2_4_3_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2_2_4_3_2->sizePolicy().hasHeightForWidth() ) );
groupBox9_2_2_2_2_4_3_2->setCheckable( TRUE ); groupBox9_2_2_2_2_4_3_2->setCheckable( TRUE );
connect(((TQCheckBox*)groupBox9_2_2_2_2_4_3_2->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(checkItem2GradientChanged())); connect(((TQCheckBox*)groupBox9_2_2_2_2_4_3_2->child("qt_groupbox_checkbox", 0, false)), TQ_SIGNAL(clicked()), TQ_SLOT(checkItem2GradientChanged()));
groupBox9_2_2_2_2_4_3_2->setChecked( FALSE ); groupBox9_2_2_2_2_4_3_2->setChecked( FALSE );
groupBox9_2_2_2_2_4_3_2->setColumnLayout(0, TQt::Vertical ); groupBox9_2_2_2_2_4_3_2->setColumnLayout(0, TQt::Vertical );
@ -1605,7 +1605,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
layout22->addWidget( comboBox3_4_2_3_3_2 ); layout22->addWidget( comboBox3_4_2_3_3_2 );
pushButton4_4_2_3_3_2 = new TQPushButton( tab5, "pushButton4_4_2_3_3_2" ); pushButton4_4_2_3_3_2 = new TQPushButton( tab5, "pushButton4_4_2_3_3_2" );
connect(pushButton4_4_2_3_3_2, SIGNAL(clicked()), SLOT(copyColorsToCheckItem())); connect(pushButton4_4_2_3_3_2, TQ_SIGNAL(clicked()), TQ_SLOT(copyColorsToCheckItem()));
layout22->addWidget( pushButton4_4_2_3_3_2 ); layout22->addWidget( pushButton4_4_2_3_3_2 );
tab5Layout->addLayout( layout22 ); tab5Layout->addLayout( layout22 );
@ -1637,8 +1637,8 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
listView_ls->header()->setMovingEnabled(false); listView_ls->header()->setMovingEnabled(false);
listView_ls->setResizeMode(TQListView::LastColumn); listView_ls->setResizeMode(TQListView::LastColumn);
listView_ls->setShowSortIndicator(true); listView_ls->setShowSortIndicator(true);
connect(listView_ls, SIGNAL(selectionChanged(TQListViewItem*)), SLOT(slotDelPerm(TQListViewItem*))); connect(listView_ls, TQ_SIGNAL(selectionChanged(TQListViewItem*)), TQ_SLOT(slotDelPerm(TQListViewItem*)));
connect(listView_ls, SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), SLOT(slotLoad())); connect(listView_ls, TQ_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), TQ_SLOT(slotLoad()));
schemeList = new SchemeList(); schemeList = new SchemeList();
getConfigSchemes(); getConfigSchemes();
@ -1647,19 +1647,19 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
layout8 = new TQVBoxLayout( 0, 0, 6, "layout8"); layout8 = new TQVBoxLayout( 0, 0, 6, "layout8");
loadButton = new TQPushButton( groupBox_ls, "loadButton" ); loadButton = new TQPushButton( groupBox_ls, "loadButton" );
connect(loadButton, SIGNAL(clicked()), SLOT(slotLoad())); connect(loadButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotLoad()));
layout8->addWidget( loadButton ); layout8->addWidget( loadButton );
saveButton = new TQPushButton( groupBox_ls, "saveButton" ); saveButton = new TQPushButton( groupBox_ls, "saveButton" );
connect(saveButton, SIGNAL(clicked()), SLOT(slotSave())); connect(saveButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotSave()));
layout8->addWidget( saveButton ); layout8->addWidget( saveButton );
deleteButton = new TQPushButton( groupBox_ls, "deleteButton" ); deleteButton = new TQPushButton( groupBox_ls, "deleteButton" );
connect(deleteButton, SIGNAL(clicked()), SLOT(slotDelete())); connect(deleteButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotDelete()));
layout8->addWidget( deleteButton ); layout8->addWidget( deleteButton );
importButton = new TQPushButton( groupBox_ls, "importButton" ); importButton = new TQPushButton( groupBox_ls, "importButton" );
connect(importButton, SIGNAL(clicked()), SLOT(slotImport())); connect(importButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotImport()));
layout8->addWidget( importButton ); layout8->addWidget( importButton );
spacer32 = new TQSpacerItem( 31, 141, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); spacer32 = new TQSpacerItem( 31, 141, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
@ -1683,84 +1683,84 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
updateChanged(); // enable or disable widgets updateChanged(); // enable or disable widgets
// scrollbar buttons or groove // scrollbar buttons or groove
connect(comboBox7, SIGNAL( activated(const TQString &)), SLOT(userLoadScrollBarConfig())); connect(comboBox7, TQ_SIGNAL( activated(const TQString &)), TQ_SLOT(userLoadScrollBarConfig()));
// btn // btn
connect(kColorButton2_4_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(btnPv1(const TQColor&))); connect(kColorButton2_4_2_2_2, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(btnPv1(const TQColor&)));
connect(kColorButton1_2_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(btnPv2(const TQColor&))); connect(kColorButton1_2_2_2_2, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(btnPv2(const TQColor&)));
connect(kColorButton2_5_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(btnPv3(const TQColor&))); connect(kColorButton2_5_2_2_2, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(btnPv3(const TQColor&)));
connect(kColorButton1_3_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(btnPv4(const TQColor&))); connect(kColorButton1_3_2_2_2, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(btnPv4(const TQColor&)));
connect(kColorButton27_2, SIGNAL(changed(const TQColor&)),this, SLOT(btnPv5(const TQColor&))); connect(kColorButton27_2, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(btnPv5(const TQColor&)));
connect(spinBox1_2_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(btnPv6(int))); connect(spinBox1_2_2_2_2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(btnPv6(int)));
connect(spinBox2_2_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(btnPv7(int))); connect(spinBox2_2_2_2_2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(btnPv7(int)));
connect(spinBox1_3_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(btnPv8(int))); connect(spinBox1_3_2_2_2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(btnPv8(int)));
connect(spinBox2_3_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(btnPv9(int))); connect(spinBox2_3_2_2_2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(btnPv9(int)));
// header // header
connect(kColorButton2_4_2_2_2_2_4_3, SIGNAL(changed(const TQColor&)),this, SLOT(hPv1(const TQColor&))); connect(kColorButton2_4_2_2_2_2_4_3, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(hPv1(const TQColor&)));
connect(kColorButton1_2_2_2_2_2_4_3, SIGNAL(changed(const TQColor&)),this, SLOT(hPv2(const TQColor&))); connect(kColorButton1_2_2_2_2_2_4_3, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(hPv2(const TQColor&)));
connect(kColorButton2_5_2_2_2_2_4_3, SIGNAL(changed(const TQColor&)),this, SLOT(hPv3(const TQColor&))); connect(kColorButton2_5_2_2_2_2_4_3, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(hPv3(const TQColor&)));
connect(kColorButton1_3_2_2_2_2_4_3, SIGNAL(changed(const TQColor&)),this, SLOT(hPv4(const TQColor&))); connect(kColorButton1_3_2_2_2_2_4_3, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(hPv4(const TQColor&)));
connect(kColorButton27_2_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(hPv5(const TQColor&))); connect(kColorButton27_2_2_2_2, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(hPv5(const TQColor&)));
connect(spinBox1_2_2_2_2_2_4_3, SIGNAL(valueChanged(int)), this, SLOT(hPv6(int))); connect(spinBox1_2_2_2_2_2_4_3, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(hPv6(int)));
connect(spinBox2_2_2_2_2_2_4_3, SIGNAL(valueChanged(int)), this, SLOT(hPv7(int))); connect(spinBox2_2_2_2_2_2_4_3, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(hPv7(int)));
connect(spinBox1_3_2_2_2_2_4_3, SIGNAL(valueChanged(int)), this, SLOT(hPv8(int))); connect(spinBox1_3_2_2_2_2_4_3, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(hPv8(int)));
connect(spinBox2_3_2_2_2_2_4_3, SIGNAL(valueChanged(int)), this, SLOT(hPv9(int))); connect(spinBox2_3_2_2_2_2_4_3, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(hPv9(int)));
// checkBox // checkBox
connect(kColorButton2_4_2_2_2_2_4_3_2, SIGNAL(changed(const TQColor&)),this, SLOT(chbPv1(const TQColor&))); connect(kColorButton2_4_2_2_2_2_4_3_2, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(chbPv1(const TQColor&)));
connect(kColorButton1_2_2_2_2_2_4_3_2, SIGNAL(changed(const TQColor&)),this, SLOT(chbPv2(const TQColor&))); connect(kColorButton1_2_2_2_2_2_4_3_2, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(chbPv2(const TQColor&)));
connect(kColorButton2_5_2_2_2_2_4_3_2, SIGNAL(changed(const TQColor&)),this, SLOT(chbPv3(const TQColor&))); connect(kColorButton2_5_2_2_2_2_4_3_2, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(chbPv3(const TQColor&)));
connect(kColorButton1_3_2_2_2_2_4_3_2, SIGNAL(changed(const TQColor&)),this, SLOT(chbPv4(const TQColor&))); connect(kColorButton1_3_2_2_2_2_4_3_2, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(chbPv4(const TQColor&)));
connect(kColorButton27_2_2_2_3, SIGNAL(changed(const TQColor&)),this, SLOT(chbPv5(const TQColor&))); connect(kColorButton27_2_2_2_3, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(chbPv5(const TQColor&)));
connect(spinBox1_2_2_2_2_2_4_3_2, SIGNAL(valueChanged(int)), this, SLOT(chbPv6(int))); connect(spinBox1_2_2_2_2_2_4_3_2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(chbPv6(int)));
connect(spinBox2_2_2_2_2_2_4_3_2, SIGNAL(valueChanged(int)), this, SLOT(chbPv7(int))); connect(spinBox2_2_2_2_2_2_4_3_2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(chbPv7(int)));
connect(spinBox1_3_2_2_2_2_4_3_2, SIGNAL(valueChanged(int)), this, SLOT(chbPv8(int))); connect(spinBox1_3_2_2_2_2_4_3_2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(chbPv8(int)));
connect(spinBox2_3_2_2_2_2_4_3_2, SIGNAL(valueChanged(int)), this, SLOT(chbPv9(int))); connect(spinBox2_3_2_2_2_2_4_3_2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(chbPv9(int)));
// scrollbar // scrollbar
connect(kColorButton2_4_2_2_2_2_4, SIGNAL(changed(const TQColor&)),this, SLOT(sbPv1(const TQColor&))); connect(kColorButton2_4_2_2_2_2_4, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(sbPv1(const TQColor&)));
connect(kColorButton1_2_2_2_2_2_4, SIGNAL(changed(const TQColor&)),this, SLOT(sbPv2(const TQColor&))); connect(kColorButton1_2_2_2_2_2_4, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(sbPv2(const TQColor&)));
connect(kColorButton2_5_2_2_2_2_4, SIGNAL(changed(const TQColor&)),this, SLOT(sbPv3(const TQColor&))); connect(kColorButton2_5_2_2_2_2_4, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(sbPv3(const TQColor&)));
connect(kColorButton1_3_2_2_2_2_4, SIGNAL(changed(const TQColor&)),this, SLOT(sbPv4(const TQColor&))); connect(kColorButton1_3_2_2_2_2_4, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(sbPv4(const TQColor&)));
connect(kColorButton27_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(sbPv5(const TQColor&))); connect(kColorButton27_2_2_2, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(sbPv5(const TQColor&)));
connect(spinBox1_2_2_2_2_2_4, SIGNAL(valueChanged(int)), this, SLOT(sbPv6(int))); connect(spinBox1_2_2_2_2_2_4, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(sbPv6(int)));
connect(spinBox2_2_2_2_2_2_4, SIGNAL(valueChanged(int)), this, SLOT(sbPv7(int))); connect(spinBox2_2_2_2_2_2_4, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(sbPv7(int)));
connect(spinBox1_3_2_2_2_2_4, SIGNAL(valueChanged(int)), this, SLOT(sbPv8(int))); connect(spinBox1_3_2_2_2_2_4, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(sbPv8(int)));
connect(spinBox2_3_2_2_2_2_4, SIGNAL(valueChanged(int)), this, SLOT(sbPv9(int))); connect(spinBox2_3_2_2_2_2_4, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(sbPv9(int)));
// tab // tab
connect(kColorButton2_4_2_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(tabPv1(const TQColor&))); connect(kColorButton2_4_2_2_2_2, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(tabPv1(const TQColor&)));
connect(kColorButton1_2_2_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(tabPv2(const TQColor&))); connect(kColorButton1_2_2_2_2_2, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(tabPv2(const TQColor&)));
connect(kColorButton2_5_2_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(tabPv3(const TQColor&))); connect(kColorButton2_5_2_2_2_2, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(tabPv3(const TQColor&)));
connect(kColorButton1_3_2_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(tabPv4(const TQColor&))); connect(kColorButton1_3_2_2_2_2, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(tabPv4(const TQColor&)));
connect(kColorButton27_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(tabPv5(const TQColor&))); connect(kColorButton27_2_2, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(tabPv5(const TQColor&)));
connect(spinBox1_2_2_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(tabPv6(int))); connect(spinBox1_2_2_2_2_2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(tabPv6(int)));
connect(spinBox2_2_2_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(tabPv7(int))); connect(spinBox2_2_2_2_2_2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(tabPv7(int)));
connect(spinBox1_3_2_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(tabPv8(int))); connect(spinBox1_3_2_2_2_2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(tabPv8(int)));
connect(spinBox2_3_2_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(tabPv9(int))); connect(spinBox2_3_2_2_2_2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(tabPv9(int)));
connect(tabPosCombo, SIGNAL( activated(int)), SLOT(userLoadTabConfig())); connect(tabPosCombo, TQ_SIGNAL( activated(int)), TQ_SLOT(userLoadTabConfig()));
connect(tabStateCombo, SIGNAL( activated(int)), SLOT(userLoadTabConfig())); connect(tabStateCombo, TQ_SIGNAL( activated(int)), TQ_SLOT(userLoadTabConfig()));
connect(customCheckMarkColor, SIGNAL(toggled(bool)), SLOT(updateChanged())); connect(customCheckMarkColor, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(customCheckMarkColor, SIGNAL(toggled(bool)), SLOT(updateCheckItemIndicators())); connect(customCheckMarkColor, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateCheckItemIndicators()));
connect(checkMarkColor, SIGNAL(changed(const TQColor&)), SLOT(updateCheckItemIndicators())); connect(checkMarkColor, TQ_SIGNAL(changed(const TQColor&)), TQ_SLOT(updateCheckItemIndicators()));
connect(customToolTipColor, SIGNAL(toggled(bool)), SLOT(updateChanged())); connect(customToolTipColor, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(customPopupMenuColor, SIGNAL(toggled(bool)), SLOT( updateChanged())); connect(customPopupMenuColor, TQ_SIGNAL(toggled(bool)), TQ_SLOT( updateChanged()));
connect(customSelMenuItemColor, SIGNAL(toggled(bool)), SLOT( updateChanged())); connect(customSelMenuItemColor, TQ_SIGNAL(toggled(bool)), TQ_SLOT( updateChanged()));
connect(tintGroupBoxBackground, SIGNAL(toggled(bool)), SLOT( updateChanged())); connect(tintGroupBoxBackground, TQ_SIGNAL(toggled(bool)), TQ_SLOT( updateChanged()));
connect(indicatorColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateFocusIndicatorSettings())); connect(indicatorColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(updateFocusIndicatorSettings()));
connect(indicatorBtnColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateFocusIndicatorSettings())); connect(indicatorBtnColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(updateFocusIndicatorSettings()));
connect(indicatorOpacity, SIGNAL(valueChanged(int)), this, SLOT(updateFocusIndicatorSettings())); connect(indicatorOpacity, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(updateFocusIndicatorSettings()));
connect(indicatorBtnOpacity, SIGNAL(valueChanged(int)), this, SLOT(updateFocusIndicatorSettings())); connect(indicatorBtnOpacity, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(updateFocusIndicatorSettings()));
connect(textEffectColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateTextEffectSettings())); connect(textEffectColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(updateTextEffectSettings()));
connect(textEffectPos, SIGNAL(activated(int)), this, SLOT(updateTextEffectSettings())); connect(textEffectPos, TQ_SIGNAL(activated(int)), this, TQ_SLOT(updateTextEffectSettings()));
connect(textEffectOpacity, SIGNAL(valueChanged(int)), this, SLOT(updateTextEffectSettings())); connect(textEffectOpacity, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(updateTextEffectSettings()));
connect(textEffectButtonColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateTextEffectSettings())); connect(textEffectButtonColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(updateTextEffectSettings()));
connect(textEffectButtonPos, SIGNAL(activated(int)), this, SLOT(updateTextEffectSettings())); connect(textEffectButtonPos, TQ_SIGNAL(activated(int)), this, TQ_SLOT(updateTextEffectSettings()));
connect(textEffectButtonOpacity, SIGNAL(valueChanged(int)), this, SLOT(updateTextEffectSettings())); connect(textEffectButtonOpacity, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(updateTextEffectSettings()));
//languageChange(); //languageChange();
clearWState( WState_Polished ); clearWState( WState_Polished );

Loading…
Cancel
Save