diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-06 12:59:08 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-06 12:59:08 +0900 |
commit | c801de6afa4a469abb4254d3eff3452bbb13fc3c (patch) | |
tree | 8c574907940f88b739470a6e64fe138b8931fb77 /style | |
parent | 037ba5112aa3ab3b7f48b916504d65ef428ff292 (diff) | |
download | tde-style-lipstik-c801de6afa4a469abb4254d3eff3452bbb13fc3c.tar.gz tde-style-lipstik-c801de6afa4a469abb4254d3eff3452bbb13fc3c.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'style')
-rw-r--r-- | style/config/lipstikconf.cpp | 72 | ||||
-rw-r--r-- | style/lipstik.cpp | 6 |
2 files changed, 39 insertions, 39 deletions
diff --git a/style/config/lipstikconf.cpp b/style/config/lipstikconf.cpp index 7f0be55..21f7906 100644 --- a/style/config/lipstikconf.cpp +++ b/style/config/lipstikconf.cpp @@ -402,42 +402,42 @@ LipstikStyleConfig::LipstikStyleConfig(TQWidget* parent): TQWidget(parent) origTabHighlightColor = s.readEntry("/lipstikstyle/Settings/tabHighlightColor", "/TQt/KWinPalette/activeBackground"); tabHighlightColor->setColor(origTabHighlightColor); - connect(reverseGradients, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(paintGroove, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(sharperMenuGradient, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(alterMenuGradients, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(menuLeftSideBar, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(flatStripe, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(drawStatusBarFrame, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(drawToolBarHandle, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(comboboxColored, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(coloredMenuBar, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(drawTabHighlight, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(menuSpacing, TQT_SIGNAL( valueChanged(int) ), TQT_SLOT( updateChanged() ) ); - connect(toolBarSpacing, TQT_SIGNAL( valueChanged(int) ), TQT_SLOT( updateChanged() ) ); - connect(scrollBarStyle, TQT_SIGNAL( activated(int) ), TQT_SLOT( updateChanged() ) ); - connect(scrollBarWidth, TQT_SIGNAL( activated(int) ), TQT_SLOT( updateChanged() ) ); - connect(sliderStyle, TQT_SIGNAL( activated(int) ), TQT_SLOT( updateChanged() ) ); - connect(animateProgressBar, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(drawToolBarSeparator, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(drawToolBarGradient, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(invertBarGrad, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(drawToolBarItemSeparator, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(drawFocusRect, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(flatHeaders, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(tickCheckMark, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(drawTriangularExpander, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(inputFocusHighlight, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(customOverHighlightColor, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(overHighlightColor, TQT_SIGNAL( pressed() ), TQT_SLOT( updateChanged() ) ); - connect(customMenuStripeColor, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(menuStripeColor, TQT_SIGNAL( pressed() ), TQT_SLOT( updateChanged() ) ); - connect(customFocusHighlightColor, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(focusHighlightColor, TQT_SIGNAL( pressed() ), TQT_SLOT( updateChanged() ) ); - connect(customCheckMarkColor, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(checkMarkColor, TQT_SIGNAL( pressed() ), TQT_SLOT( updateChanged() ) ); - connect(customTabHighlightColor, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(tabHighlightColor, TQT_SIGNAL( pressed() ), TQT_SLOT( updateChanged() ) ); + connect(reverseGradients, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(paintGroove, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(sharperMenuGradient, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(alterMenuGradients, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(menuLeftSideBar, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(flatStripe, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(drawStatusBarFrame, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(drawToolBarHandle, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(comboboxColored, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(coloredMenuBar, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(drawTabHighlight, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(menuSpacing, TQ_SIGNAL( valueChanged(int) ), TQ_SLOT( updateChanged() ) ); + connect(toolBarSpacing, TQ_SIGNAL( valueChanged(int) ), TQ_SLOT( updateChanged() ) ); + connect(scrollBarStyle, TQ_SIGNAL( activated(int) ), TQ_SLOT( updateChanged() ) ); + connect(scrollBarWidth, TQ_SIGNAL( activated(int) ), TQ_SLOT( updateChanged() ) ); + connect(sliderStyle, TQ_SIGNAL( activated(int) ), TQ_SLOT( updateChanged() ) ); + connect(animateProgressBar, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(drawToolBarSeparator, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(drawToolBarGradient, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(invertBarGrad, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(drawToolBarItemSeparator, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(drawFocusRect, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(flatHeaders, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(tickCheckMark, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(drawTriangularExpander, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(inputFocusHighlight, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(customOverHighlightColor, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(overHighlightColor, TQ_SIGNAL( pressed() ), TQ_SLOT( updateChanged() ) ); + connect(customMenuStripeColor, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(menuStripeColor, TQ_SIGNAL( pressed() ), TQ_SLOT( updateChanged() ) ); + connect(customFocusHighlightColor, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(focusHighlightColor, TQ_SIGNAL( pressed() ), TQ_SLOT( updateChanged() ) ); + connect(customCheckMarkColor, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(checkMarkColor, TQ_SIGNAL( pressed() ), TQ_SLOT( updateChanged() ) ); + connect(customTabHighlightColor, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(tabHighlightColor, TQ_SIGNAL( pressed() ), TQ_SLOT( updateChanged() ) ); //Menu Stripe if ( menuLeftSideBar->isChecked() ) { diff --git a/style/lipstik.cpp b/style/lipstik.cpp index 69fc5d0..e03594b 100644 --- a/style/lipstik.cpp +++ b/style/lipstik.cpp @@ -234,7 +234,7 @@ LipstikStyle::LipstikStyle() : TDEStyle( AllowMenuTransparency, ThreeButtonScrol if ( _animateProgressBar ) { animationTimer = new TQTimer( this ); - connect( animationTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(updateProgressPos()) ); + connect( animationTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(updateProgressPos()) ); } } @@ -293,7 +293,7 @@ void LipstikStyle::polish(const TQStyleControlElementData &ceData, ControlElemen if( !strcmp(widget->name(), "__tdehtml") ) { // is it a tdehtml widget...? tdehtmlWidgets[widget] = true; - connect(widget, TQT_SIGNAL(destroyed(TQObject*)), this, TQT_SLOT(tdehtmlWidgetDestroyed(TQObject*))); + connect(widget, TQ_SIGNAL(destroyed(TQObject*)), this, TQ_SLOT(tdehtmlWidgetDestroyed(TQObject*))); } // use tqt_cast where possible to check if the widget inheits one of the classes. might improve @@ -324,7 +324,7 @@ void LipstikStyle::polish(const TQStyleControlElementData &ceData, ControlElemen if( _animateProgressBar && ::tqt_cast<TQProgressBar*>(widget) ) { installObjectEventHandler(ceData, elementFlags, ptr, this); progAnimWidgets[widget] = 0; - connect(widget, TQT_SIGNAL(destroyed(TQObject*)), this, TQT_SLOT(progressBarDestroyed(TQObject*))); + connect(widget, TQ_SIGNAL(destroyed(TQObject*)), this, TQ_SLOT(progressBarDestroyed(TQObject*))); if (!animationTimer->isActive()) animationTimer->start( 50, false ); } else if( !qstrcmp(widget->className(), "KonqFrameStatusBar") ) { |