summaryrefslogtreecommitdiffstats
path: root/arts/gui/kde/kwidget_impl.cpp
diff options
context:
space:
mode:
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 );
}