summaryrefslogtreecommitdiffstats
path: root/arts/gui/kde/kartswidget.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/kartswidget.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/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);
}