summaryrefslogtreecommitdiffstats
path: root/arts/gui/kde/kwidget_impl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /arts/gui/kde/kwidget_impl.cpp
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'arts/gui/kde/kwidget_impl.cpp')
-rw-r--r--arts/gui/kde/kwidget_impl.cpp20
1 files changed, 10 insertions, 10 deletions
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 );
}