summaryrefslogtreecommitdiffstats
path: root/arts/gui/kde/kartswidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arts/gui/kde/kartswidget.cpp')
-rw-r--r--arts/gui/kde/kartswidget.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/arts/gui/kde/kartswidget.cpp b/arts/gui/kde/kartswidget.cpp
index 1a9c6b0e..dde61820 100644
--- a/arts/gui/kde/kartswidget.cpp
+++ b/arts/gui/kde/kartswidget.cpp
@@ -24,48 +24,48 @@
#include "kartswidget.h"
#include "kwidgetrepo.h"
#include "debug.h"
-#include "qlayout.h"
+#include "tqlayout.h"
class KArtsWidgetPrivate {
public:
- QHBoxLayout *layout;
+ TQHBoxLayout *layout;
};
-KArtsWidget::KArtsWidget( QWidget* parent, const char* name )
- :QWidget( parent, name ), _content( Arts::Widget::null() )
+KArtsWidget::KArtsWidget( TQWidget* parent, const char* name )
+ :TQWidget( parent, name ), _content( Arts::Widget::null() )
{
d = new KArtsWidgetPrivate;
- d->layout = new QHBoxLayout(this);
+ d->layout = new TQHBoxLayout(this);
}
-KArtsWidget::KArtsWidget( Arts::Widget content, QWidget* parent, const char* name )
- :QWidget( parent, name ), _content( Arts::Widget::null())
+KArtsWidget::KArtsWidget( Arts::Widget content, TQWidget* parent, const char* name )
+ :TQWidget( parent, name ), _content( Arts::Widget::null())
{
d = new KArtsWidgetPrivate;
- d->layout = new QHBoxLayout(this);
+ d->layout = new TQHBoxLayout(this);
setContent(content);
}
-KArtsWidget::KArtsWidget( Arts::Widget content, QWidget* parent, const char* name, WFlags wflags )
- :QWidget( parent, name, wflags ), _content( Arts::Widget::null() )
+KArtsWidget::KArtsWidget( Arts::Widget content, TQWidget* parent, const char* name, WFlags wflags )
+ :TQWidget( parent, name, wflags ), _content( Arts::Widget::null() )
{
d = new KArtsWidgetPrivate;
- d->layout = new QHBoxLayout( this );
+ d->layout = new TQHBoxLayout( this );
setContent( content );
}
-KArtsWidget::KArtsWidget(QWidget* parent, const char* name, WFlags wflags )
- :QWidget(parent, name, wflags ), _content(Arts::Widget::null())
+KArtsWidget::KArtsWidget(TQWidget* parent, const char* name, WFlags wflags )
+ :TQWidget(parent, name, wflags ), _content(Arts::Widget::null())
{
d = new KArtsWidgetPrivate;
- d->layout = new QHBoxLayout(this);
+ d->layout = new TQHBoxLayout(this);
}
KArtsWidget::~KArtsWidget()
{
- QWidget *contentAsWidget
+ TQWidget *contentAsWidget
= KWidgetRepo::the()->lookupQWidget(_content.widgetID());
- contentAsWidget->reparent(0,QPoint(0,0),_content.visible());
+ contentAsWidget->reparent(0,TQPoint(0,0),_content.visible());
delete d;
d = 0;
}
@@ -74,12 +74,12 @@ KArtsWidget::~KArtsWidget()
void KArtsWidget::setContent(Arts::Widget content)
{
arts_return_if_fail(!content.isNull());
- QWidget *contentAsWidget
+ TQWidget *contentAsWidget
= KWidgetRepo::the()->lookupQWidget(content.widgetID());
arts_return_if_fail(contentAsWidget != 0);
_content = content;
- contentAsWidget->reparent(this,QPoint(0,0),content.visible());
+ contentAsWidget->reparent(this,TQPoint(0,0),content.visible());
d->layout->addWidget(contentAsWidget);
}