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 1a4ba02b..a4558319 100644
--- a/lib/koproperty/widgetproxy.cpp
+++ b/lib/koproperty/widgetproxy.cpp
@@ -22,7 +22,7 @@
#include "widget.h"
#include "factory.h"
-#include <layout.h>
+#include <tqlayout.h>
#include <tqvariant.h>
namespace KoProperty {
@@ -30,7 +30,7 @@ class WidgetProxyPrivate
{
public:
WidgetProxyPrivate()
- : property(0), widget(0), type(Invalid), layout(0)
+ : property(0), widget(0), type(Invalid), tqlayout(0)
{}
~WidgetProxyPrivate() {}
@@ -38,7 +38,7 @@ class WidgetProxyPrivate
Widget *widget;
PropertyType type;
- TQHBoxLayout *layout;
+ TQHBoxLayout *tqlayout;
};
}
@@ -49,7 +49,7 @@ WidgetProxy::WidgetProxy(TQWidget *parent, const char *name)
{
d = new WidgetProxyPrivate();
d->property = new Property();
- d->layout = new TQHBoxLayout(this, 0, 0);
+ d->tqlayout = 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->layout->addWidget(d->widget);
+ d->tqlayout->addWidget(d->widget);
}
}