diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-06 12:58:45 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-09 10:16:33 +0900 |
commit | 10fe0f767ce93103af80b4cc4ae6efb6a589fe13 (patch) | |
tree | e60ec49c70af054d66119faded93f512ef9100d4 /dominoConfig | |
parent | e19e9e50139cbee2575da9623c6526f25c40630b (diff) | |
download | tde-style-domino-10fe0f767ce93103af80b4cc4ae6efb6a589fe13.tar.gz tde-style-domino-10fe0f767ce93103af80b4cc4ae6efb6a589fe13.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit bfa2c2aaa71232a905bc60a77407dab1423d0959)
Diffstat (limited to 'dominoConfig')
-rw-r--r-- | dominoConfig/dominoconf.cpp | 236 |
1 files changed, 118 insertions, 118 deletions
diff --git a/dominoConfig/dominoconf.cpp b/dominoConfig/dominoconf.cpp index 8d249eb..fcdd693 100644 --- a/dominoConfig/dominoconf.cpp +++ b/dominoConfig/dominoconf.cpp @@ -188,8 +188,8 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) labelArgbRubberOpacity->setEnabled(false); } - connect(btg, SIGNAL(released(int)), SLOT(rubberSelChanged(int))); - connect(argbRubber, SIGNAL(toggled(bool)), SLOT(updateArgbRubberOptions(bool))); + connect(btg, TQ_SIGNAL(released(int)), TQ_SLOT(rubberSelChanged(int))); + connect(argbRubber, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateArgbRubberOptions(bool))); // popupMenu options @@ -287,14 +287,14 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) grVBoxLayout2->addWidget(hbox13); grFrameLayout->addLayout(grVBoxLayout2); - connect(grSlider, SIGNAL(valueChanged(int)), this, SLOT(grValueLabelNum(int))); - connect(grSlider, SIGNAL(valueChanged(int)), this, SLOT(updateGroupBoxSettings())); - connect(groupBoxBackgroundColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateGroupBoxSettings())); - connect(tintGroupBoxBackground, SIGNAL(toggled(bool)), this, SLOT(updateGroupBoxSettings())); - connect(tintGroupBoxBackground, SIGNAL(toggled(bool)), this, SLOT(resetGroupBoxBackgroundColor())); - connect(tintGroupBoxBackground, SIGNAL(toggled(bool)), grFrame, SLOT(setEnabled(bool))); - connect(customGroupBoxBackgroundColor, SIGNAL(toggled(bool)), this, SLOT(updateGroupBoxSettings())); - connect(customGroupBoxBackgroundColor, SIGNAL(toggled(bool)), groupBoxBackgroundColor, SLOT(setEnabled(bool))); + connect(grSlider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(grValueLabelNum(int))); + connect(grSlider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(updateGroupBoxSettings())); + connect(groupBoxBackgroundColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(updateGroupBoxSettings())); + connect(tintGroupBoxBackground, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(updateGroupBoxSettings())); + connect(tintGroupBoxBackground, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(resetGroupBoxBackgroundColor())); + connect(tintGroupBoxBackground, TQ_SIGNAL(toggled(bool)), grFrame, TQ_SLOT(setEnabled(bool))); + connect(customGroupBoxBackgroundColor, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(updateGroupBoxSettings())); + connect(customGroupBoxBackgroundColor, TQ_SIGNAL(toggled(bool)), groupBoxBackgroundColor, TQ_SLOT(setEnabled(bool))); // focusIndicator @@ -376,10 +376,10 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) indicateFocusLayout->addLayout(hbox8, 2, 0); indicateFocusLayout->addMultiCellWidget( prFrame, 1, 2, 1, 2 ); - connect(indicatorModeCombo, SIGNAL( activated(int)), this, SLOT(indicatorModeChanged())); - connect(indicatorModeCombo, SIGNAL(activated(int)), this, SLOT(updateFocusIndicatorSettings())); - connect(indicateFocus, SIGNAL(toggled(bool)), indicatorPrevButton, SLOT(setEnabled(bool))); - connect(indicateFocus, SIGNAL(toggled(bool)), indicateFocusFrame, SLOT(setEnabled(bool))); + connect(indicatorModeCombo, TQ_SIGNAL( activated(int)), this, TQ_SLOT(indicatorModeChanged())); + connect(indicatorModeCombo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(updateFocusIndicatorSettings())); + connect(indicateFocus, TQ_SIGNAL(toggled(bool)), indicatorPrevButton, TQ_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->addMultiCellWidget( prTextEffectFrame, 1, 2, 1, 2 ); - connect(drawTextEffect, SIGNAL(toggled(bool)), textEffectFrame, SLOT(setEnabled(bool))); - connect(drawTextEffect, SIGNAL(toggled(bool)), this, SLOT(updateTextEffectSettings())); - connect(textEffectModeCombo, SIGNAL( activated(int)), this, SLOT(textEffectModeChanged())); - connect(textEffectModeCombo, SIGNAL( activated(int)), this, SLOT(updateTextEffectSettings())); + connect(drawTextEffect, TQ_SIGNAL(toggled(bool)), textEffectFrame, TQ_SLOT(setEnabled(bool))); + connect(drawTextEffect, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(updateTextEffectSettings())); + connect(textEffectModeCombo, TQ_SIGNAL( activated(int)), this, TQ_SLOT(textEffectModeChanged())); + connect(textEffectModeCombo, TQ_SIGNAL( activated(int)), this, TQ_SLOT(updateTextEffectSettings())); 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); 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); - 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(buttonMouseOverContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateButtonContourSettings())); - connect(buttonPressedContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateButtonContourSettings())); - connect(buttonDefaultButtonContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateButtonContourSettings())); + connect(buttonContourColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(updateButtonContourSettings())); + connect(buttonMouseOverContourColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(updateButtonContourSettings())); + connect(buttonPressedContourColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_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" ); - 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); //////////////////////////////////////////////////////////////////////////// @@ -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->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->layout()->setSpacing( 7 ); 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->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2->sizePolicy().hasHeightForWidth() ) ); 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->setColumnLayout(0, TQt::Vertical ); groupBox9_2_2_2->layout()->setSpacing( 7 ); @@ -814,7 +814,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) layout9->addWidget( comboBox3_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 ); tab1Layout->addLayout( layout9 ); 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->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->layout()->setSpacing( 7 ); 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->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->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 ); @@ -1035,7 +1035,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) layout9_2->addWidget( comboBox3_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 ); 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_4Layout = new TQGridLayout( groupBox8_2_2_2_2_4->layout() ); 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->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->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->setTextFormat( TQLabel::PlainText ); @@ -1229,7 +1229,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) layout6->addWidget( comboBox3_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 ); 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->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->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->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 ); - 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->setColumnLayout(0, TQt::Vertical ); 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 ); 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 ); tab4Layout->addLayout( layout21 ); 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->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->setColumnLayout(0, TQt::Vertical ); 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->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 ); - 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->setColumnLayout(0, TQt::Vertical ); @@ -1605,7 +1605,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) layout22->addWidget( comboBox3_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 ); tab5Layout->addLayout( layout22 ); @@ -1637,8 +1637,8 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) listView_ls->header()->setMovingEnabled(false); listView_ls->setResizeMode(TQListView::LastColumn); listView_ls->setShowSortIndicator(true); - connect(listView_ls, SIGNAL(selectionChanged(TQListViewItem*)), SLOT(slotDelPerm(TQListViewItem*))); - connect(listView_ls, SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), SLOT(slotLoad())); + connect(listView_ls, TQ_SIGNAL(selectionChanged(TQListViewItem*)), TQ_SLOT(slotDelPerm(TQListViewItem*))); + connect(listView_ls, TQ_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), TQ_SLOT(slotLoad())); schemeList = new SchemeList(); getConfigSchemes(); @@ -1647,19 +1647,19 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) layout8 = new TQVBoxLayout( 0, 0, 6, "layout8"); loadButton = new TQPushButton( groupBox_ls, "loadButton" ); - connect(loadButton, SIGNAL(clicked()), SLOT(slotLoad())); + connect(loadButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotLoad())); layout8->addWidget( loadButton ); saveButton = new TQPushButton( groupBox_ls, "saveButton" ); - connect(saveButton, SIGNAL(clicked()), SLOT(slotSave())); + connect(saveButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotSave())); layout8->addWidget( saveButton ); deleteButton = new TQPushButton( groupBox_ls, "deleteButton" ); - connect(deleteButton, SIGNAL(clicked()), SLOT(slotDelete())); + connect(deleteButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotDelete())); layout8->addWidget( deleteButton ); importButton = new TQPushButton( groupBox_ls, "importButton" ); - connect(importButton, SIGNAL(clicked()), SLOT(slotImport())); + connect(importButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotImport())); layout8->addWidget( importButton ); spacer32 = new TQSpacerItem( 31, 141, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); @@ -1683,84 +1683,84 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) updateChanged(); // enable or disable widgets // scrollbar buttons or groove - connect(comboBox7, SIGNAL( activated(const TQString &)), SLOT(userLoadScrollBarConfig())); + connect(comboBox7, TQ_SIGNAL( activated(const TQString &)), TQ_SLOT(userLoadScrollBarConfig())); // btn - connect(kColorButton2_4_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(btnPv1(const TQColor&))); - connect(kColorButton1_2_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(btnPv2(const TQColor&))); - connect(kColorButton2_5_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(btnPv3(const TQColor&))); - connect(kColorButton1_3_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(btnPv4(const TQColor&))); - connect(kColorButton27_2, SIGNAL(changed(const TQColor&)),this, SLOT(btnPv5(const TQColor&))); - connect(spinBox1_2_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(btnPv6(int))); - connect(spinBox2_2_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(btnPv7(int))); - connect(spinBox1_3_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(btnPv8(int))); - connect(spinBox2_3_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(btnPv9(int))); + connect(kColorButton2_4_2_2_2, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(btnPv1(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, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(btnPv3(const TQColor&))); + connect(kColorButton1_3_2_2_2, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(btnPv4(const TQColor&))); + connect(kColorButton27_2, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(btnPv5(const TQColor&))); + connect(spinBox1_2_2_2_2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(btnPv6(int))); + connect(spinBox2_2_2_2_2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(btnPv7(int))); + connect(spinBox1_3_2_2_2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(btnPv8(int))); + connect(spinBox2_3_2_2_2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(btnPv9(int))); // header - connect(kColorButton2_4_2_2_2_2_4_3, SIGNAL(changed(const TQColor&)),this, SLOT(hPv1(const TQColor&))); - connect(kColorButton1_2_2_2_2_2_4_3, SIGNAL(changed(const TQColor&)),this, SLOT(hPv2(const TQColor&))); - connect(kColorButton2_5_2_2_2_2_4_3, SIGNAL(changed(const TQColor&)),this, SLOT(hPv3(const TQColor&))); - connect(kColorButton1_3_2_2_2_2_4_3, SIGNAL(changed(const TQColor&)),this, SLOT(hPv4(const TQColor&))); - connect(kColorButton27_2_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(hPv5(const TQColor&))); - connect(spinBox1_2_2_2_2_2_4_3, SIGNAL(valueChanged(int)), this, SLOT(hPv6(int))); - connect(spinBox2_2_2_2_2_2_4_3, SIGNAL(valueChanged(int)), this, SLOT(hPv7(int))); - connect(spinBox1_3_2_2_2_2_4_3, SIGNAL(valueChanged(int)), this, SLOT(hPv8(int))); - connect(spinBox2_3_2_2_2_2_4_3, SIGNAL(valueChanged(int)), this, SLOT(hPv9(int))); + 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, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(hPv2(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, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(hPv4(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, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(hPv6(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, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(hPv8(int))); + connect(spinBox2_3_2_2_2_2_4_3, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(hPv9(int))); // checkBox - connect(kColorButton2_4_2_2_2_2_4_3_2, SIGNAL(changed(const TQColor&)),this, SLOT(chbPv1(const TQColor&))); - connect(kColorButton1_2_2_2_2_2_4_3_2, SIGNAL(changed(const TQColor&)),this, SLOT(chbPv2(const TQColor&))); - connect(kColorButton2_5_2_2_2_2_4_3_2, SIGNAL(changed(const TQColor&)),this, SLOT(chbPv3(const TQColor&))); - connect(kColorButton1_3_2_2_2_2_4_3_2, SIGNAL(changed(const TQColor&)),this, SLOT(chbPv4(const TQColor&))); - connect(kColorButton27_2_2_2_3, SIGNAL(changed(const TQColor&)),this, SLOT(chbPv5(const TQColor&))); - connect(spinBox1_2_2_2_2_2_4_3_2, SIGNAL(valueChanged(int)), this, SLOT(chbPv6(int))); - connect(spinBox2_2_2_2_2_2_4_3_2, SIGNAL(valueChanged(int)), this, SLOT(chbPv7(int))); - connect(spinBox1_3_2_2_2_2_4_3_2, SIGNAL(valueChanged(int)), this, SLOT(chbPv8(int))); - connect(spinBox2_3_2_2_2_2_4_3_2, SIGNAL(valueChanged(int)), this, SLOT(chbPv9(int))); + 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, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(chbPv2(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, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(chbPv4(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, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(chbPv6(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, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(chbPv8(int))); + connect(spinBox2_3_2_2_2_2_4_3_2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(chbPv9(int))); // scrollbar - connect(kColorButton2_4_2_2_2_2_4, SIGNAL(changed(const TQColor&)),this, SLOT(sbPv1(const TQColor&))); - connect(kColorButton1_2_2_2_2_2_4, SIGNAL(changed(const TQColor&)),this, SLOT(sbPv2(const TQColor&))); - connect(kColorButton2_5_2_2_2_2_4, SIGNAL(changed(const TQColor&)),this, SLOT(sbPv3(const TQColor&))); - connect(kColorButton1_3_2_2_2_2_4, SIGNAL(changed(const TQColor&)),this, SLOT(sbPv4(const TQColor&))); - connect(kColorButton27_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(sbPv5(const TQColor&))); - connect(spinBox1_2_2_2_2_2_4, SIGNAL(valueChanged(int)), this, SLOT(sbPv6(int))); - connect(spinBox2_2_2_2_2_2_4, SIGNAL(valueChanged(int)), this, SLOT(sbPv7(int))); - connect(spinBox1_3_2_2_2_2_4, SIGNAL(valueChanged(int)), this, SLOT(sbPv8(int))); - connect(spinBox2_3_2_2_2_2_4, SIGNAL(valueChanged(int)), this, SLOT(sbPv9(int))); + 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, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(sbPv2(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, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(sbPv4(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, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(sbPv6(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, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(sbPv8(int))); + connect(spinBox2_3_2_2_2_2_4, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(sbPv9(int))); // tab - connect(kColorButton2_4_2_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(tabPv1(const TQColor&))); - connect(kColorButton1_2_2_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(tabPv2(const TQColor&))); - connect(kColorButton2_5_2_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(tabPv3(const TQColor&))); - connect(kColorButton1_3_2_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(tabPv4(const TQColor&))); - connect(kColorButton27_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(tabPv5(const TQColor&))); - connect(spinBox1_2_2_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(tabPv6(int))); - connect(spinBox2_2_2_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(tabPv7(int))); - connect(spinBox1_3_2_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(tabPv8(int))); - connect(spinBox2_3_2_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(tabPv9(int))); - - connect(tabPosCombo, SIGNAL( activated(int)), SLOT(userLoadTabConfig())); - connect(tabStateCombo, SIGNAL( activated(int)), SLOT(userLoadTabConfig())); - - - connect(customCheckMarkColor, SIGNAL(toggled(bool)), SLOT(updateChanged())); - connect(customCheckMarkColor, SIGNAL(toggled(bool)), SLOT(updateCheckItemIndicators())); - connect(checkMarkColor, SIGNAL(changed(const TQColor&)), SLOT(updateCheckItemIndicators())); - connect(customToolTipColor, SIGNAL(toggled(bool)), SLOT(updateChanged())); - - connect(customPopupMenuColor, SIGNAL(toggled(bool)), SLOT( updateChanged())); - connect(customSelMenuItemColor, SIGNAL(toggled(bool)), SLOT( updateChanged())); - connect(tintGroupBoxBackground, SIGNAL(toggled(bool)), SLOT( updateChanged())); - - connect(indicatorColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateFocusIndicatorSettings())); - connect(indicatorBtnColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateFocusIndicatorSettings())); - connect(indicatorOpacity, SIGNAL(valueChanged(int)), this, SLOT(updateFocusIndicatorSettings())); - connect(indicatorBtnOpacity, SIGNAL(valueChanged(int)), this, SLOT(updateFocusIndicatorSettings())); - - connect(textEffectColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateTextEffectSettings())); - connect(textEffectPos, SIGNAL(activated(int)), this, SLOT(updateTextEffectSettings())); - connect(textEffectOpacity, SIGNAL(valueChanged(int)), this, SLOT(updateTextEffectSettings())); - - connect(textEffectButtonColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateTextEffectSettings())); - connect(textEffectButtonPos, SIGNAL(activated(int)), this, SLOT(updateTextEffectSettings())); - connect(textEffectButtonOpacity, SIGNAL(valueChanged(int)), this, SLOT(updateTextEffectSettings())); + 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, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(tabPv2(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, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(tabPv4(const TQColor&))); + connect(kColorButton27_2_2, TQ_SIGNAL(changed(const TQColor&)),this, TQ_SLOT(tabPv5(const TQColor&))); + connect(spinBox1_2_2_2_2_2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(tabPv6(int))); + connect(spinBox2_2_2_2_2_2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(tabPv7(int))); + connect(spinBox1_3_2_2_2_2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(tabPv8(int))); + connect(spinBox2_3_2_2_2_2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(tabPv9(int))); + + connect(tabPosCombo, TQ_SIGNAL( activated(int)), TQ_SLOT(userLoadTabConfig())); + connect(tabStateCombo, TQ_SIGNAL( activated(int)), TQ_SLOT(userLoadTabConfig())); + + + connect(customCheckMarkColor, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged())); + connect(customCheckMarkColor, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateCheckItemIndicators())); + connect(checkMarkColor, TQ_SIGNAL(changed(const TQColor&)), TQ_SLOT(updateCheckItemIndicators())); + connect(customToolTipColor, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged())); + + connect(customPopupMenuColor, TQ_SIGNAL(toggled(bool)), TQ_SLOT( updateChanged())); + connect(customSelMenuItemColor, TQ_SIGNAL(toggled(bool)), TQ_SLOT( updateChanged())); + connect(tintGroupBoxBackground, TQ_SIGNAL(toggled(bool)), TQ_SLOT( updateChanged())); + + connect(indicatorColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(updateFocusIndicatorSettings())); + connect(indicatorBtnColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(updateFocusIndicatorSettings())); + connect(indicatorOpacity, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(updateFocusIndicatorSettings())); + connect(indicatorBtnOpacity, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(updateFocusIndicatorSettings())); + + connect(textEffectColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(updateTextEffectSettings())); + connect(textEffectPos, TQ_SIGNAL(activated(int)), this, TQ_SLOT(updateTextEffectSettings())); + connect(textEffectOpacity, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(updateTextEffectSettings())); + + connect(textEffectButtonColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(updateTextEffectSettings())); + connect(textEffectButtonPos, TQ_SIGNAL(activated(int)), this, TQ_SLOT(updateTextEffectSettings())); + connect(textEffectButtonOpacity, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(updateTextEffectSettings())); //languageChange(); clearWState( WState_Polished ); |