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.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/arts/gui/kde/kwidget_impl.cpp b/arts/gui/kde/kwidget_impl.cpp
index ede8ad38..b899f0cd 100644
--- a/arts/gui/kde/kwidget_impl.cpp
+++ b/arts/gui/kde/kwidget_impl.cpp
@@ -34,7 +34,7 @@ KWidget_impl::KWidget_impl( TQWidget * widget )
_widgetID = KWidgetRepo::the()->add( this, _qwidget );
/*
- * KWidgetGuard will protect us against deleting the widget if Qt already
+ * KWidgetGuard will protect us against deleting the widget if TQt already
* has done so (for instance if our widget was inside a panel, and
* the panel got deleted, our widget will be gone, too)
*/
@@ -65,24 +65,24 @@ long KWidget_impl::widgetID()
return _widgetID;
}
-Widget KWidget_impl::parent()
+Widget KWidget_impl::tqparent()
{
return KWidgetRepo::the()->lookupWidget(_parentID);
}
-void KWidget_impl::parent(Arts::Widget newParent)
+void KWidget_impl::tqparent(Arts::Widget newParent)
{
if(!newParent.isNull())
{
_parentID = newParent.widgetID();
- TQWidget *qparent;
- qparent = KWidgetRepo::the()->lookupQWidget(newParent.widgetID());
- if( qparent != 0 )
+ TQWidget *qtqparent;
+ qtqparent = KWidgetRepo::the()->lookupTQWidget(newParent.widgetID());
+ if( qtqparent != 0 )
{
TQPoint pos(x(),y());
bool showIt = visible();
- _qwidget->reparent(qparent, pos, showIt);
+ _qwidget->reparent(qtqparent, pos, showIt);
}
}
else
@@ -143,26 +143,26 @@ void KWidget_impl::visible(bool newVisible)
SizePolicy KWidget_impl::hSizePolicy()
{
- return ( SizePolicy )_qwidget->sizePolicy().horData();
+ return ( SizePolicy )_qwidget->tqsizePolicy().horData();
}
void KWidget_impl::hSizePolicy( SizePolicy p )
{
- TQSizePolicy sp = _qwidget->sizePolicy();
+ TQSizePolicy sp = _qwidget->tqsizePolicy();
sp.setHorData( ( TQSizePolicy::SizeType )p );
- _qwidget->setSizePolicy( sp );
+ _qwidget->tqsetSizePolicy( sp );
}
SizePolicy KWidget_impl::vSizePolicy()
{
- return ( SizePolicy )_qwidget->sizePolicy().verData();
+ return ( SizePolicy )_qwidget->tqsizePolicy().verData();
}
void KWidget_impl::vSizePolicy( SizePolicy p )
{
- TQSizePolicy sp = _qwidget->sizePolicy();
+ TQSizePolicy sp = _qwidget->tqsizePolicy();
sp.setVerData( ( TQSizePolicy::SizeType )p );
- _qwidget->setSizePolicy( sp );
+ _qwidget->tqsetSizePolicy( sp );
}
void KWidget_impl::show()