From e654398e46e37abf457b2b1122ab898d2c51c49f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:43:15 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- arts/gui/kde/kwidget_impl.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'arts/gui/kde/kwidget_impl.cpp') diff --git a/arts/gui/kde/kwidget_impl.cpp b/arts/gui/kde/kwidget_impl.cpp index f5c47055..ede8ad38 100644 --- a/arts/gui/kde/kwidget_impl.cpp +++ b/arts/gui/kde/kwidget_impl.cpp @@ -28,8 +28,8 @@ using namespace Arts; -KWidget_impl::KWidget_impl( QWidget * widget ) - : _qwidget( widget ? widget : new QWidget ) +KWidget_impl::KWidget_impl( TQWidget * widget ) + : _qwidget( widget ? widget : new TQWidget ) { _widgetID = KWidgetRepo::the()->add( this, _qwidget ); @@ -39,8 +39,8 @@ KWidget_impl::KWidget_impl( QWidget * widget ) * the panel got deleted, our widget will be gone, too) */ _guard = new KWidgetGuard(this); - QObject::connect(_qwidget, SIGNAL(destroyed()), - _guard, SLOT(widgetDestroyed())); + TQObject::connect(_qwidget, TQT_SIGNAL(destroyed()), + _guard, TQT_SLOT(widgetDestroyed())); } KWidget_impl::~KWidget_impl() @@ -76,11 +76,11 @@ void KWidget_impl::parent(Arts::Widget newParent) { _parentID = newParent.widgetID(); - QWidget *qparent; + TQWidget *qparent; qparent = KWidgetRepo::the()->lookupQWidget(newParent.widgetID()); if( qparent != 0 ) { - QPoint pos(x(),y()); + TQPoint pos(x(),y()); bool showIt = visible(); _qwidget->reparent(qparent, pos, showIt); } @@ -148,8 +148,8 @@ SizePolicy KWidget_impl::hSizePolicy() void KWidget_impl::hSizePolicy( SizePolicy p ) { - QSizePolicy sp = _qwidget->sizePolicy(); - sp.setHorData( ( QSizePolicy::SizeType )p ); + TQSizePolicy sp = _qwidget->sizePolicy(); + sp.setHorData( ( TQSizePolicy::SizeType )p ); _qwidget->setSizePolicy( sp ); } @@ -160,8 +160,8 @@ SizePolicy KWidget_impl::vSizePolicy() void KWidget_impl::vSizePolicy( SizePolicy p ) { - QSizePolicy sp = _qwidget->sizePolicy(); - sp.setVerData( ( QSizePolicy::SizeType )p ); + TQSizePolicy sp = _qwidget->sizePolicy(); + sp.setVerData( ( TQSizePolicy::SizeType )p ); _qwidget->setSizePolicy( sp ); } -- cgit v1.2.1