diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /parts/filelist/toolbarguibuilder.cpp | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/filelist/toolbarguibuilder.cpp')
-rw-r--r-- | parts/filelist/toolbarguibuilder.cpp | 10 |
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); |