diff options
Diffstat (limited to 'tdm/kfrontend/themer/tdmitem.cpp')
-rw-r--r-- | tdm/kfrontend/themer/tdmitem.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tdm/kfrontend/themer/tdmitem.cpp b/tdm/kfrontend/themer/tdmitem.cpp index ce5904a26..befcb7c35 100644 --- a/tdm/kfrontend/themer/tdmitem.cpp +++ b/tdm/kfrontend/themer/tdmitem.cpp @@ -232,13 +232,13 @@ KdmItem::setWidget( TQWidget *widget ) myWidget->show(); // Remove borders so that it blends nicely with the theme background - TQFrame* frame = ::tqqt_cast<TQFrame *>( widget ); + TQFrame* frame = ::tqt_cast<TQFrame *>( widget ); if (frame) frame->setFrameStyle( TQFrame::NoFrame ); setGeometry(area, true); - connect( myWidget, TQT_SIGNAL(destroyed()), TQT_SLOT(widgetGone()) ); + connect( myWidget, TQ_SIGNAL(destroyed()), TQ_SLOT(widgetGone()) ); } void @@ -253,11 +253,11 @@ KdmItem::setLayoutItem( TQLayoutItem *item ) myLayoutItem = item; // XXX hiding not supported - it think it's pointless here if (myLayoutItem->widget()) - connect( myLayoutItem->widget(), TQT_SIGNAL(destroyed()), - TQT_SLOT(layoutItemGone()) ); + connect( myLayoutItem->widget(), TQ_SIGNAL(destroyed()), + TQ_SLOT(layoutItemGone()) ); else if (myLayoutItem->layout()) - connect( myLayoutItem->layout(), TQT_SIGNAL(destroyed()), - TQT_SLOT(layoutItemGone()) ); + connect( myLayoutItem->layout(), TQ_SIGNAL(destroyed()), + TQ_SLOT(layoutItemGone()) ); } void @@ -307,7 +307,7 @@ KdmItem::paint( TQPainter *p, const TQRect &rect ) } if (myWidget || (myLayoutItem && myLayoutItem->widget())) { - // TDEListView because it's missing a Q_OBJECT + // TDEListView because it's missing a TQ_OBJECT // FIXME: This is a nice idea in theory, but in practice it is // very confusing for the user not to see the empty list box // delineated from the rest of the greeter. @@ -379,7 +379,7 @@ KdmItem::paint( TQPainter *p, const TQRect &rect ) #ifdef DRAW_OUTLINE // Draw bounding rect for this item - p->setPen( Qt::white ); + p->setPen( TQt::white ); p->drawRect( area ); #endif @@ -583,8 +583,8 @@ KdmItem::addChildItem( KdmItem *item ) } // signal bounce from child to parent - connect( item, TQT_SIGNAL(needUpdate( int, int, int, int )), TQT_SIGNAL(needUpdate( int, int, int, int )) ); - connect( item, TQT_SIGNAL(activated( const TQString & )), TQT_SIGNAL(activated( const TQString & )) ); + connect( item, TQ_SIGNAL(needUpdate( int, int, int, int )), TQ_SIGNAL(needUpdate( int, int, int, int )) ); + connect( item, TQ_SIGNAL(activated( const TQString & )), TQ_SIGNAL(activated( const TQString & )) ); } void @@ -663,7 +663,7 @@ KdmItem::parentWidget() const if (!this->parent()) return 0; - if (parent()->tqt_cast(TQWIDGET_OBJECT_NAME_STRING)) + if (parent()->tqt_cast("TQWidget")) return (TQWidget*)parent(); return ((KdmItem*)parent())->parentWidget(); } |