Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c801de6afa)
r14.1.x
Michele Calgaro 11 months ago
parent b0e0c34a73
commit bae40f8a90
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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() ) {

@ -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") ) {

Loading…
Cancel
Save