summaryrefslogtreecommitdiffstats
path: root/parts/filelist/toolbarguibuilder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/filelist/toolbarguibuilder.cpp')
-rw-r--r--parts/filelist/toolbarguibuilder.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/parts/filelist/toolbarguibuilder.cpp b/parts/filelist/toolbarguibuilder.cpp
index c48e7496..b4e1a993 100644
--- a/parts/filelist/toolbarguibuilder.cpp
+++ b/parts/filelist/toolbarguibuilder.cpp
@@ -22,7 +22,7 @@
#include <ktoolbar.h>
-ToolbarGUIBuilder::ToolbarGUIBuilder(QWidget *parent, QWidget *widget)
+ToolbarGUIBuilder::ToolbarGUIBuilder(TQWidget *parent, TQWidget *widget)
: KXMLGUIBuilder(widget), KToolBar(parent, "ToolbarGUIbuilder"), m_parent(parent)
{
// setHidden(true);
@@ -34,11 +34,11 @@ ToolbarGUIBuilder::~ToolbarGUIBuilder()
{
}
-QWidget * ToolbarGUIBuilder::createContainer(QWidget *parent, int index, const QDomElement &element, int &id)
+TQWidget * ToolbarGUIBuilder::createContainer(TQWidget *parent, int index, const TQDomElement &element, int &id)
{
if (element.tagName().lower() == "toolbar")
{
- reparent(m_parent, QPoint(0, 0), true);
+ reparent(m_parent, TQPoint(0, 0), true);
return this;
} else
{
@@ -46,12 +46,12 @@ QWidget * ToolbarGUIBuilder::createContainer(QWidget *parent, int index, const Q
}
}
-void ToolbarGUIBuilder::removeContainer(QWidget *container, QWidget *parent, QDomElement &element, int id)
+void ToolbarGUIBuilder::removeContainer(TQWidget *container, TQWidget *parent, TQDomElement &element, int id)
{
if (container == this)
{
// i need to reparent to prevent a crash
- reparent(0, QPoint(0, 0));
+ reparent(0, TQPoint(0, 0));
}
else
KXMLGUIBuilder::removeContainer(container, parent, element, id);