summaryrefslogtreecommitdiffstats
path: root/src/gui/general/EditTool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/general/EditTool.cpp')
-rw-r--r--src/gui/general/EditTool.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/general/EditTool.cpp b/src/gui/general/EditTool.cpp
index f48017c..8a07fe8 100644
--- a/src/gui/general/EditTool.cpp
+++ b/src/gui/general/EditTool.cpp
@@ -41,8 +41,8 @@ namespace Rosegarden
{
EditTool::EditTool(const TQString& menuName, EditView* view)
- : BaseTool(menuName, view->factory(), view),
- m_parentView(view)
+ : BaseTool(menuName, view->factory(), TQT_TQOBJECT(view)),
+ m_tqparentView(view)
{}
void EditTool::handleMousePress(timeT time,
@@ -123,9 +123,9 @@ void EditTool::createMenu()
RG_DEBUG << "BaseTool::createMenu() " << m_rcFileName << " - " << m_menuName << endl;
setXMLFile(m_rcFileName);
- m_parentFactory->addClient(this);
+ m_tqparentFactory->addClient(this);
- TQWidget* tmp = m_parentFactory->container(m_menuName, this);
+ TQWidget* tmp = m_tqparentFactory->container(m_menuName, this);
if (!tmp)
RG_DEBUG << "BaseTool::createMenu(" << m_rcFileName