summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/widgetproxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/koproperty/widgetproxy.cpp')
-rw-r--r--lib/koproperty/widgetproxy.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/koproperty/widgetproxy.cpp b/lib/koproperty/widgetproxy.cpp
index a4558319..1a4ba02b 100644
--- a/lib/koproperty/widgetproxy.cpp
+++ b/lib/koproperty/widgetproxy.cpp
@@ -22,7 +22,7 @@
#include "widget.h"
#include "factory.h"
-#include <tqlayout.h>
+#include <layout.h>
#include <tqvariant.h>
namespace KoProperty {
@@ -30,7 +30,7 @@ class WidgetProxyPrivate
{
public:
WidgetProxyPrivate()
- : property(0), widget(0), type(Invalid), tqlayout(0)
+ : property(0), widget(0), type(Invalid), layout(0)
{}
~WidgetProxyPrivate() {}
@@ -38,7 +38,7 @@ class WidgetProxyPrivate
Widget *widget;
PropertyType type;
- TQHBoxLayout *tqlayout;
+ TQHBoxLayout *layout;
};
}
@@ -49,7 +49,7 @@ WidgetProxy::WidgetProxy(TQWidget *parent, const char *name)
{
d = new WidgetProxyPrivate();
d->property = new Property();
- d->tqlayout = new TQHBoxLayout(this, 0, 0);
+ d->layout = new TQHBoxLayout(this, 0, 0);
}
WidgetProxy::~WidgetProxy()
@@ -118,7 +118,7 @@ WidgetProxy::setWidget()
if (d->widget) {
d->widget->reparent(this, TQPoint(0,0), true);
- d->tqlayout->addWidget(d->widget);
+ d->layout->addWidget(d->widget);
}
}