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