diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-06 12:58:35 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-09 10:15:44 +0900 |
commit | 8f6829a20f2439f2bcfb7f39ce64eef133e93234 (patch) | |
tree | 1dc5e354119d6224d9f90d93647947db49b88bdb /deco | |
parent | 210aaadd2d93af34c05914ba67a83895458601f9 (diff) | |
download | tde-style-baghira-8f6829a20f2439f2bcfb7f39ce64eef133e93234.tar.gz tde-style-baghira-8f6829a20f2439f2bcfb7f39ce64eef133e93234.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 936a0c73f552cce101c9aa5ec64800fad86542a2)
Diffstat (limited to 'deco')
-rw-r--r-- | deco/baghiraclient.cpp | 36 | ||||
-rw-r--r-- | deco/config/baghiraconfig.cpp | 218 | ||||
-rw-r--r-- | deco/config/colorpicker.cpp | 12 | ||||
-rw-r--r-- | deco/config/new/baghiraconfig.cpp | 218 |
4 files changed, 242 insertions, 242 deletions
diff --git a/deco/baghiraclient.cpp b/deco/baghiraclient.cpp index ba55883..4ea47f3 100644 --- a/deco/baghiraclient.cpp +++ b/deco/baghiraclient.cpp @@ -189,13 +189,13 @@ void DeMaximizer::setClient(BaghiraClient *client) { if (client_) { - TQObject::disconnect ( client_, SIGNAL(hide()), this, SLOT(hide()) ); + TQObject::disconnect ( client_, TQ_SIGNAL(hide()), this, TQ_SLOT(hide()) ); client_ = 0L; } if (client) { client_ = client; - connect ( client_, SIGNAL(hide()), SLOT(hide()) ); + connect ( client_, TQ_SIGNAL(hide()), TQ_SLOT(hide()) ); setState(0); } // repaint(); @@ -1278,7 +1278,7 @@ void BaghiraButton::enterEvent( TQEvent *e ) { if (type_ == CloseButton) { _blocked = true; - TQTimer::singleShot(250,this,SLOT(delayedEnterEvent())); + TQTimer::singleShot(250,this,TQ_SLOT(delayedEnterEvent())); TQButton::enterEvent( e ); return; } @@ -1662,8 +1662,8 @@ void BaghiraClient::addButtons( TQBoxLayout *layout, const TQString& s ) if ( !button[ MenuButton ] ) { button[ MenuButton ] = new BaghiraButton( this, "menu", i18n( "Menu" ), isTool(), MenuButton ); - connect( button[ MenuButton ], SIGNAL( pressed() ), this, - SLOT( menuButtonPressed() ) ); + connect( button[ MenuButton ], TQ_SIGNAL( pressed() ), this, + TQ_SLOT( menuButtonPressed() ) ); layout->addWidget( button[ MenuButton ] ); buttonAdded = true; excursion = excursion + plusminus * MENUBUTTONWIDTH; @@ -1680,8 +1680,8 @@ void BaghiraClient::addButtons( TQBoxLayout *layout, const TQString& s ) } button[ StickyButton ] = new BaghiraButton( this, "sticky", tip, isTool(), StickyButton ); - connect( button[ StickyButton ], SIGNAL( clicked() ), this, - SLOT( toggleOnAllDesktops() ) ); + connect( button[ StickyButton ], TQ_SIGNAL( clicked() ), this, + TQ_SLOT( toggleOnAllDesktops() ) ); layout->addWidget( button[ StickyButton ] ); buttonAdded = true; excursion = excursion + plusminus * BUTTONSIZE; @@ -1693,8 +1693,8 @@ void BaghiraClient::addButtons( TQBoxLayout *layout, const TQString& s ) if ( ( !button[ HelpButton ] ) && providesContextHelp() ) { button[ HelpButton ] = new BaghiraButton( this, "help", i18n( "Help" ), isTool(), HelpButton ); - connect( button[ HelpButton ], SIGNAL( clicked() ), this, - SLOT( showContextHelp() ) ); + connect( button[ HelpButton ], TQ_SIGNAL( clicked() ), this, + TQ_SLOT( showContextHelp() ) ); layout->addWidget( button[ HelpButton ] ); buttonAdded = true; excursion = excursion + plusminus * BUTTONSIZE; @@ -1706,8 +1706,8 @@ void BaghiraClient::addButtons( TQBoxLayout *layout, const TQString& s ) if ( ( !button[ MinButton ] ) && isMinimizable() ) { button[ MinButton ] = new BaghiraButton( this, "iconify", i18n( "Minimize" ), isTool(), MinButton ); - connect( button[ MinButton ], SIGNAL( clicked() ), this, - SLOT( minimize() ) ); + connect( button[ MinButton ], TQ_SIGNAL( clicked() ), this, + TQ_SLOT( minimize() ) ); layout->addWidget( button[ MinButton ] ); buttonAdded = true; excursion = excursion + plusminus * BUTTONSIZE; @@ -1724,8 +1724,8 @@ void BaghiraClient::addButtons( TQBoxLayout *layout, const TQString& s ) } button[ MaxButton ] = new BaghiraButton( this, "maximize", tip, isTool(), MaxButton ); - connect( button[ MaxButton ], SIGNAL( clicked() ), this, - SLOT( maxButtonPressed() ) ); + connect( button[ MaxButton ], TQ_SIGNAL( clicked() ), this, + TQ_SLOT( maxButtonPressed() ) ); layout->addWidget( button[ MaxButton ] ); buttonAdded = true; excursion = excursion + plusminus * BUTTONSIZE; @@ -1737,8 +1737,8 @@ void BaghiraClient::addButtons( TQBoxLayout *layout, const TQString& s ) if ( ( !button[ CloseButton ] ) && isCloseable() ) { button[ CloseButton ] = new BaghiraButton( this, "close", i18n( "Close" ), isTool(), CloseButton ); - connect( button[ CloseButton ], SIGNAL( clicked() ), this, - SLOT( closeWindow() ) ); + connect( button[ CloseButton ], TQ_SIGNAL( clicked() ), this, + TQ_SLOT( closeWindow() ) ); layout->addWidget( button[ CloseButton ] ); buttonAdded = true; excursion = excursion + plusminus * BUTTONSIZE; @@ -1756,7 +1756,7 @@ void BaghiraClient::addButtons( TQBoxLayout *layout, const TQString& s ) { button[AboveBelowButton] = new BaghiraButton(this, "above", i18n("Keep Above/Below Others"), isTool(), AboveBelowButton); button[AboveBelowButton]->setDown( keepAbove() || keepBelow() ); - connect(button[AboveBelowButton], SIGNAL(clicked()), this, SLOT(aboveBelowButtonPressed())); + connect(button[AboveBelowButton], TQ_SIGNAL(clicked()), this, TQ_SLOT(aboveBelowButtonPressed())); layout->addWidget(button[AboveBelowButton]); buttonAdded = true; excursion = excursion + plusminus * BUTTONSIZE; @@ -1767,7 +1767,7 @@ void BaghiraClient::addButtons( TQBoxLayout *layout, const TQString& s ) if ((!button[ShadeButton] && isShadeable())) { button[ShadeButton] = new BaghiraButton(this, "shade", isSetShade() ? tip = i18n("Unshade") : tip = i18n("Shade"), isTool(), ShadeButton); button[ShadeButton]->setDown( isShade() ); - connect(button[ShadeButton], SIGNAL(clicked()), this, SLOT(shadeButtonPressed())); + connect(button[ShadeButton], TQ_SIGNAL(clicked()), this, TQ_SLOT(shadeButtonPressed())); layout->addWidget(button[ShadeButton]); buttonAdded = true; excursion = excursion + plusminus * BUTTONSIZE; @@ -1778,7 +1778,7 @@ void BaghiraClient::addButtons( TQBoxLayout *layout, const TQString& s ) // if ((!button[ShadeButton] && isShadeable())) { // button[ShadeButton] = new BaghiraButton(this, "shade", isSetShade() ? tip = i18n("Unshade") : tip = i18n("Shade"), isTool(), ShadeButton); // button[ShadeButton]->setDown( isShade() ); -// connect(button[ShadeButton], SIGNAL(clicked()), this, SLOT(shadeButtonPressed())); +// connect(button[ShadeButton], TQ_SIGNAL(clicked()), this, TQ_SLOT(shadeButtonPressed())); // layout->addWidget(button[ShadeButton]); // buttonAdded = true; // excursion = excursion + plusminus * BUTTONSIZE; diff --git a/deco/config/baghiraconfig.cpp b/deco/config/baghiraconfig.cpp index 2ea55a8..9a09a94 100644 --- a/deco/config/baghiraconfig.cpp +++ b/deco/config/baghiraconfig.cpp @@ -53,96 +53,96 @@ BaghiraConfig::BaghiraConfig(TDEConfig*, TQWidget* parent) dialog_->show(); - connect(dialog_->ButtonColorConfig, SIGNAL(clicked()), buttonDialog_, SLOT(exec())); - connect(buttonDialog_->ok, SIGNAL(clicked()), SIGNAL(changed())); + connect(dialog_->ButtonColorConfig, TQ_SIGNAL(clicked()), buttonDialog_, TQ_SLOT(exec())); + connect(buttonDialog_->ok, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); // connections - connect(dialog_->titlealign, SIGNAL(clicked(int)), SIGNAL(changed())); - connect(dialog_->drawComicFrame, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->addAutoSpacing, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->allowEasyClosing, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->ResizeGrip, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->maxResizable, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->fullSpec, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->noModalDeco, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->delAppname, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->defaultMode, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->minTH, SIGNAL(valueChanged(int)), SIGNAL(changed())); + connect(dialog_->titlealign, TQ_SIGNAL(clicked(int)), TQ_SIGNAL(changed())); + connect(dialog_->drawComicFrame, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->addAutoSpacing, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->allowEasyClosing, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->ResizeGrip, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->maxResizable, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->fullSpec, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->noModalDeco, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->delAppname, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->defaultMode, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->minTH, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); - connect(dialog_->activeColor1_J, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->activeColor2_J, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->inactiveColor1_J, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->inactiveColor2_J, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->buttonStyle_J, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->shapeUL_J, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeUR_J, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeLL_J, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeLR_J, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->drawIcon_J, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->titleeffect_J, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->i_titleeffect_J, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->_3DImpact_J, SIGNAL(valueChanged(int)), SIGNAL(changed())); - connect(dialog_->LineImpact_J, SIGNAL(valueChanged(int)), SIGNAL(changed())); - connect(dialog_->borderSize_J, SIGNAL(valueChanged(int)), SIGNAL(changed())); + connect(dialog_->activeColor1_J, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->activeColor2_J, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->inactiveColor1_J, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->inactiveColor2_J, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->buttonStyle_J, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->shapeUL_J, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeUR_J, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeLL_J, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeLR_J, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->drawIcon_J, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->titleeffect_J, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->i_titleeffect_J, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->_3DImpact_J, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(dialog_->LineImpact_J, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(dialog_->borderSize_J, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); - connect(dialog_->activeColor1_P, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->activeColor2_P, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->inactiveColor1_P, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->inactiveColor2_P, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->buttonStyle_P, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->shapeUL_P, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeUR_P, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeLL_P, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeLR_P, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->drawIcon_P, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->titleeffect_P, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->i_titleeffect_P, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->_3DImpact_P, SIGNAL(valueChanged(int)), SIGNAL(changed())); - connect(dialog_->LineImpact_P, SIGNAL(valueChanged(int)), SIGNAL(changed())); - connect(dialog_->borderSize_P, SIGNAL(valueChanged(int)), SIGNAL(changed())); + connect(dialog_->activeColor1_P, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->activeColor2_P, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->inactiveColor1_P, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->inactiveColor2_P, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->buttonStyle_P, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->shapeUL_P, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeUR_P, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeLL_P, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeLR_P, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->drawIcon_P, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->titleeffect_P, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->i_titleeffect_P, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->_3DImpact_P, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(dialog_->LineImpact_P, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(dialog_->borderSize_P, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); - connect(dialog_->activeColor1_B, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->activeColor2_B, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->inactiveColor1_B, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->inactiveColor2_B, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->buttonStyle_B, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->shapeUL_B, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeUR_B, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeLL_B, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeLR_B, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->drawIcon_B, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->titleeffect_B, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->i_titleeffect_B, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->_3DImpact_B, SIGNAL(valueChanged(int)), SIGNAL(changed())); - connect(dialog_->LineImpact_B, SIGNAL(valueChanged(int)), SIGNAL(changed())); - connect(dialog_->borderSize_B, SIGNAL(valueChanged(int)), SIGNAL(changed())); + connect(dialog_->activeColor1_B, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->activeColor2_B, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->inactiveColor1_B, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->inactiveColor2_B, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->buttonStyle_B, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->shapeUL_B, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeUR_B, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeLL_B, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeLR_B, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->drawIcon_B, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->titleeffect_B, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->i_titleeffect_B, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->_3DImpact_B, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(dialog_->LineImpact_B, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(dialog_->borderSize_B, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); - connect(dialog_->activeColor1_T, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->activeColor2_T, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->buttonStyle_T, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->shapeUL_T, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeUR_T, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeLL_T, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeLR_T, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->drawIcon_T, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->_3DImpact_T, SIGNAL(valueChanged(int)), SIGNAL(changed())); - connect(dialog_->borderSize_T, SIGNAL(valueChanged(int)), SIGNAL(changed())); + connect(dialog_->activeColor1_T, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->activeColor2_T, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->buttonStyle_T, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->shapeUL_T, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeUR_T, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeLL_T, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeLR_T, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->drawIcon_T, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->_3DImpact_T, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(dialog_->borderSize_T, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); - connect(dialog_->activeColor1_S, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->activeColor2_S, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->inactiveColor1_S, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->inactiveColor2_S, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->buttonStyle_S, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->shapeUL_S, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeUR_S, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeLL_S, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeLR_S, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->drawIcon_S, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->titleeffect_S, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->i_titleeffect_S, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->_3DImpact_S, SIGNAL(valueChanged(int)), SIGNAL(changed())); - connect(dialog_->LineImpact_S, SIGNAL(valueChanged(int)), SIGNAL(changed())); - connect(dialog_->borderSize_S, SIGNAL(valueChanged(int)), SIGNAL(changed())); + connect(dialog_->activeColor1_S, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->activeColor2_S, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->inactiveColor1_S, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->inactiveColor2_S, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->buttonStyle_S, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->shapeUL_S, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeUR_S, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeLL_S, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeLR_S, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->drawIcon_S, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->titleeffect_S, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->i_titleeffect_S, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->_3DImpact_S, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(dialog_->LineImpact_S, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(dialog_->borderSize_S, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); // config_->endGroup(); } @@ -596,34 +596,34 @@ ButtonColors::ButtonColors(TQWidget *parent, const char * name) : TQDialog(paren resize( TQSize(485, 177).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); - connect(presets_,SIGNAL(activated(int)), this, SLOT(setColorGroup(int))); - connect(ok, SIGNAL(clicked()), this, SLOT(setSave())); - connect(ok, SIGNAL(clicked()), this, SLOT(close()) ); - connect(ok, SIGNAL(clicked()), this, SLOT(init()) ); - connect(cancel, SIGNAL(clicked()), this, SLOT(close()) ); - connect(cancel, SIGNAL(clicked()), this, SLOT(reset()) ); + connect(presets_,TQ_SIGNAL(activated(int)), this, TQ_SLOT(setColorGroup(int))); + connect(ok, TQ_SIGNAL(clicked()), this, TQ_SLOT(setSave())); + connect(ok, TQ_SIGNAL(clicked()), this, TQ_SLOT(close()) ); + connect(ok, TQ_SIGNAL(clicked()), this, TQ_SLOT(init()) ); + connect(cancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(close()) ); + connect(cancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(reset()) ); - connect(inactiveButton, SIGNAL(clicked()), this, SLOT(activateInactive()) ); - connect(closeButton, SIGNAL(clicked()), this, SLOT(activateClose()) ); - connect(minButton, SIGNAL(clicked()), this, SLOT(activateMin()) ); - connect(maxButton, SIGNAL(clicked()), this, SLOT(activateMax()) ); - connect(menuButton, SIGNAL(clicked()), this, SLOT(activateMenu()) ); - connect(helpButton, SIGNAL(clicked()), this, SLOT(activateHelp()) ); - connect(stickyButton, SIGNAL(clicked()), this, SLOT(activateSticky()) ); - connect(aboveButton, SIGNAL(clicked()), this, SLOT(activateAbove()) ); - connect(behindButton, SIGNAL(clicked()), this, SLOT(activateBehind()) ); - connect(shadeButton, SIGNAL(clicked()), this, SLOT(activateShade()) ); + connect(inactiveButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateInactive()) ); + connect(closeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateClose()) ); + connect(minButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateMin()) ); + connect(maxButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateMax()) ); + connect(menuButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateMenu()) ); + connect(helpButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateHelp()) ); + connect(stickyButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateSticky()) ); + connect(aboveButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateAbove()) ); + connect(behindButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateBehind()) ); + connect(shadeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateShade()) ); - 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)) ); + connect(inactiveColor, TQ_SIGNAL(colorChanged(TQColor)), inactiveButton, TQ_SLOT(setColor(TQColor)) ); + connect(closeColor, TQ_SIGNAL(colorChanged(TQColor)), closeButton, TQ_SLOT(setColor(TQColor)) ); + connect(minColor, TQ_SIGNAL(colorChanged(TQColor)), minButton, TQ_SLOT(setColor(TQColor)) ); + connect(maxColor, TQ_SIGNAL(colorChanged(TQColor)), maxButton, TQ_SLOT(setColor(TQColor)) ); + connect(menuColor, TQ_SIGNAL(colorChanged(TQColor)), menuButton, TQ_SLOT(setColor(TQColor)) ); + connect(helpColor, TQ_SIGNAL(colorChanged(TQColor)), helpButton, TQ_SLOT(setColor(TQColor)) ); + connect(stickyColor, TQ_SIGNAL(colorChanged(TQColor)), stickyButton, TQ_SLOT(setColor(TQColor)) ); + connect(aboveColor, TQ_SIGNAL(colorChanged(TQColor)), aboveButton, TQ_SLOT(setColor(TQColor)) ); + connect(behindColor, TQ_SIGNAL(colorChanged(TQColor)), behindButton, TQ_SLOT(setColor(TQColor)) ); + connect(shadeColor, TQ_SIGNAL(colorChanged(TQColor)), shadeButton, TQ_SLOT(setColor(TQColor)) ); } diff --git a/deco/config/colorpicker.cpp b/deco/config/colorpicker.cpp index c5301c1..7f1e677 100644 --- a/deco/config/colorpicker.cpp +++ b/deco/config/colorpicker.cpp @@ -48,12 +48,12 @@ ColorPicker::ColorPicker(TQWidget* parent, const char* name) : TQGroupBox( paren // resize( TQSize(350, 100).expandedTo(minimumSizeHint()) ); //connections - connect(redSlider, SIGNAL(valueChanged (int)), this, SLOT(setRed(int))); - connect(greenSlider, SIGNAL(valueChanged (int)), this, SLOT(setGreen(int))); - connect(blueSlider, SIGNAL(valueChanged (int)), this, SLOT(setBlue(int))); - connect(redValue, SIGNAL(valueChanged (int)), this, SLOT(setRed(int))); - connect(greenValue, SIGNAL(valueChanged (int)), this, SLOT(setGreen(int))); - connect(blueValue, SIGNAL(valueChanged (int)), this, SLOT(setBlue(int))); + connect(redSlider, TQ_SIGNAL(valueChanged (int)), this, TQ_SLOT(setRed(int))); + connect(greenSlider, TQ_SIGNAL(valueChanged (int)), this, TQ_SLOT(setGreen(int))); + connect(blueSlider, TQ_SIGNAL(valueChanged (int)), this, TQ_SLOT(setBlue(int))); + connect(redValue, TQ_SIGNAL(valueChanged (int)), this, TQ_SLOT(setRed(int))); + connect(greenValue, TQ_SIGNAL(valueChanged (int)), this, TQ_SLOT(setGreen(int))); + connect(blueValue, TQ_SIGNAL(valueChanged (int)), this, TQ_SLOT(setBlue(int))); } ColorPicker::~ColorPicker(){ diff --git a/deco/config/new/baghiraconfig.cpp b/deco/config/new/baghiraconfig.cpp index c03e90e..6b967cf 100644 --- a/deco/config/new/baghiraconfig.cpp +++ b/deco/config/new/baghiraconfig.cpp @@ -54,96 +54,96 @@ BaghiraConfig::BaghiraConfig(TDEConfig*, TQWidget* parent) dialog_->show(); - connect(dialog_->ButtonColorConfig, SIGNAL(clicked()), buttonDialog_, SLOT(exec())); - connect(buttonDialog_->ok, SIGNAL(clicked()), SIGNAL(changed())); + connect(dialog_->ButtonColorConfig, TQ_SIGNAL(clicked()), buttonDialog_, TQ_SLOT(exec())); + connect(buttonDialog_->ok, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); // connections - connect(dialog_->titlealign, SIGNAL(clicked(int)), SIGNAL(changed())); - connect(dialog_->drawComicFrame, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->addAutoSpacing, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->allowEasyClosing, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->ResizeGrip, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->maxResizable, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->fullSpec, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->noModalDeco, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->delAppname, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->defaultMode, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->minTH, SIGNAL(valueChanged(int)), SIGNAL(changed())); + connect(dialog_->titlealign, TQ_SIGNAL(clicked(int)), TQ_SIGNAL(changed())); + connect(dialog_->drawComicFrame, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->addAutoSpacing, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->allowEasyClosing, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->ResizeGrip, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->maxResizable, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->fullSpec, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->noModalDeco, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->delAppname, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->defaultMode, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->minTH, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); - connect(dialog_->activeColor1_J, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->activeColor2_J, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->inactiveColor1_J, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->inactiveColor2_J, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->buttonStyle_J, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->shapeUL_J, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeUR_J, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeLL_J, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeLR_J, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->drawIcon_J, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->titleeffect_J, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->i_titleeffect_J, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->_3DImpact_J, SIGNAL(valueChanged(int)), SIGNAL(changed())); - connect(dialog_->LineImpact_J, SIGNAL(valueChanged(int)), SIGNAL(changed())); - connect(dialog_->borderSize_J, SIGNAL(valueChanged(int)), SIGNAL(changed())); + connect(dialog_->activeColor1_J, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->activeColor2_J, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->inactiveColor1_J, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->inactiveColor2_J, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->buttonStyle_J, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->shapeUL_J, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeUR_J, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeLL_J, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeLR_J, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->drawIcon_J, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->titleeffect_J, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->i_titleeffect_J, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->_3DImpact_J, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(dialog_->LineImpact_J, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(dialog_->borderSize_J, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); - connect(dialog_->activeColor1_P, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->activeColor2_P, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->inactiveColor1_P, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->inactiveColor2_P, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->buttonStyle_P, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->shapeUL_P, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeUR_P, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeLL_P, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeLR_P, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->drawIcon_P, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->titleeffect_P, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->i_titleeffect_P, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->_3DImpact_P, SIGNAL(valueChanged(int)), SIGNAL(changed())); - connect(dialog_->LineImpact_P, SIGNAL(valueChanged(int)), SIGNAL(changed())); - connect(dialog_->borderSize_P, SIGNAL(valueChanged(int)), SIGNAL(changed())); + connect(dialog_->activeColor1_P, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->activeColor2_P, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->inactiveColor1_P, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->inactiveColor2_P, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->buttonStyle_P, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->shapeUL_P, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeUR_P, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeLL_P, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeLR_P, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->drawIcon_P, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->titleeffect_P, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->i_titleeffect_P, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->_3DImpact_P, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(dialog_->LineImpact_P, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(dialog_->borderSize_P, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); - connect(dialog_->activeColor1_B, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->activeColor2_B, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->inactiveColor1_B, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->inactiveColor2_B, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->buttonStyle_B, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->shapeUL_B, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeUR_B, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeLL_B, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeLR_B, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->drawIcon_B, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->titleeffect_B, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->i_titleeffect_B, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->_3DImpact_B, SIGNAL(valueChanged(int)), SIGNAL(changed())); - connect(dialog_->LineImpact_B, SIGNAL(valueChanged(int)), SIGNAL(changed())); - connect(dialog_->borderSize_B, SIGNAL(valueChanged(int)), SIGNAL(changed())); + connect(dialog_->activeColor1_B, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->activeColor2_B, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->inactiveColor1_B, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->inactiveColor2_B, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->buttonStyle_B, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->shapeUL_B, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeUR_B, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeLL_B, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeLR_B, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->drawIcon_B, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->titleeffect_B, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->i_titleeffect_B, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->_3DImpact_B, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(dialog_->LineImpact_B, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(dialog_->borderSize_B, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); - connect(dialog_->activeColor1_T, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->activeColor2_T, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->buttonStyle_T, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->shapeUL_T, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeUR_T, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeLL_T, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeLR_T, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->drawIcon_T, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->_3DImpact_T, SIGNAL(valueChanged(int)), SIGNAL(changed())); - connect(dialog_->borderSize_T, SIGNAL(valueChanged(int)), SIGNAL(changed())); + connect(dialog_->activeColor1_T, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->activeColor2_T, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->buttonStyle_T, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->shapeUL_T, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeUR_T, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeLL_T, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeLR_T, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->drawIcon_T, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->_3DImpact_T, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(dialog_->borderSize_T, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); - connect(dialog_->activeColor1_S, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->activeColor2_S, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->inactiveColor1_S, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->inactiveColor2_S, SIGNAL(clicked()), SIGNAL(changed())); - connect(dialog_->buttonStyle_S, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->shapeUL_S, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeUR_S, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeLL_S, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->shapeLR_S, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->drawIcon_S, SIGNAL(toggled(bool)), SIGNAL(changed())); - connect(dialog_->titleeffect_S, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->i_titleeffect_S, SIGNAL(activated(int)), SIGNAL(changed())); - connect(dialog_->_3DImpact_S, SIGNAL(valueChanged(int)), SIGNAL(changed())); - connect(dialog_->LineImpact_S, SIGNAL(valueChanged(int)), SIGNAL(changed())); - connect(dialog_->borderSize_S, SIGNAL(valueChanged(int)), SIGNAL(changed())); + connect(dialog_->activeColor1_S, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->activeColor2_S, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->inactiveColor1_S, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->inactiveColor2_S, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); + connect(dialog_->buttonStyle_S, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->shapeUL_S, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeUR_S, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeLL_S, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->shapeLR_S, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->drawIcon_S, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(dialog_->titleeffect_S, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->i_titleeffect_S, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(dialog_->_3DImpact_S, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(dialog_->LineImpact_S, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(dialog_->borderSize_S, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); // config_->endGroup(); } @@ -597,34 +597,34 @@ ButtonColors::ButtonColors(TQWidget *parent, const char * name) : TQDialog(paren resize( TQSize(485, 177).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); - connect(presets_,SIGNAL(activated(int)), this, SLOT(setColorGroup(int))); - connect(ok, SIGNAL(clicked()), this, SLOT(setSave())); - connect(ok, SIGNAL(clicked()), this, SLOT(close()) ); - connect(ok, SIGNAL(clicked()), this, SLOT(init()) ); - connect(cancel, SIGNAL(clicked()), this, SLOT(close()) ); - connect(cancel, SIGNAL(clicked()), this, SLOT(reset()) ); + connect(presets_,TQ_SIGNAL(activated(int)), this, TQ_SLOT(setColorGroup(int))); + connect(ok, TQ_SIGNAL(clicked()), this, TQ_SLOT(setSave())); + connect(ok, TQ_SIGNAL(clicked()), this, TQ_SLOT(close()) ); + connect(ok, TQ_SIGNAL(clicked()), this, TQ_SLOT(init()) ); + connect(cancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(close()) ); + connect(cancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(reset()) ); - connect(inactiveButton, SIGNAL(clicked()), this, SLOT(activateInactive()) ); - connect(closeButton, SIGNAL(clicked()), this, SLOT(activateClose()) ); - connect(minButton, SIGNAL(clicked()), this, SLOT(activateMin()) ); - connect(maxButton, SIGNAL(clicked()), this, SLOT(activateMax()) ); - connect(menuButton, SIGNAL(clicked()), this, SLOT(activateMenu()) ); - connect(helpButton, SIGNAL(clicked()), this, SLOT(activateHelp()) ); - connect(stickyButton, SIGNAL(clicked()), this, SLOT(activateSticky()) ); - connect(aboveButton, SIGNAL(clicked()), this, SLOT(activateAbove()) ); - connect(behindButton, SIGNAL(clicked()), this, SLOT(activateBehind()) ); - connect(shadeButton, SIGNAL(clicked()), this, SLOT(activateShade()) ); + connect(inactiveButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateInactive()) ); + connect(closeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateClose()) ); + connect(minButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateMin()) ); + connect(maxButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateMax()) ); + connect(menuButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateMenu()) ); + connect(helpButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateHelp()) ); + connect(stickyButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateSticky()) ); + connect(aboveButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateAbove()) ); + connect(behindButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateBehind()) ); + connect(shadeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateShade()) ); - 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)) ); + connect(inactiveColor, TQ_SIGNAL(colorChanged(TQColor)), inactiveButton, TQ_SLOT(setColor(TQColor)) ); + connect(closeColor, TQ_SIGNAL(colorChanged(TQColor)), closeButton, TQ_SLOT(setColor(TQColor)) ); + connect(minColor, TQ_SIGNAL(colorChanged(TQColor)), minButton, TQ_SLOT(setColor(TQColor)) ); + connect(maxColor, TQ_SIGNAL(colorChanged(TQColor)), maxButton, TQ_SLOT(setColor(TQColor)) ); + connect(menuColor, TQ_SIGNAL(colorChanged(TQColor)), menuButton, TQ_SLOT(setColor(TQColor)) ); + connect(helpColor, TQ_SIGNAL(colorChanged(TQColor)), helpButton, TQ_SLOT(setColor(TQColor)) ); + connect(stickyColor, TQ_SIGNAL(colorChanged(TQColor)), stickyButton, TQ_SLOT(setColor(TQColor)) ); + connect(aboveColor, TQ_SIGNAL(colorChanged(TQColor)), aboveButton, TQ_SLOT(setColor(TQColor)) ); + connect(behindColor, TQ_SIGNAL(colorChanged(TQColor)), behindButton, TQ_SLOT(setColor(TQColor)) ); + connect(shadeColor, TQ_SIGNAL(colorChanged(TQColor)), shadeButton, TQ_SLOT(setColor(TQColor)) ); } |