diff options
Diffstat (limited to 'src/gui/editors/segment/segmentcanvas/SegmentTool.cpp')
-rw-r--r-- | src/gui/editors/segment/segmentcanvas/SegmentTool.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/editors/segment/segmentcanvas/SegmentTool.cpp b/src/gui/editors/segment/segmentcanvas/SegmentTool.cpp index 438cc51..b74cc9f 100644 --- a/src/gui/editors/segment/segmentcanvas/SegmentTool.cpp +++ b/src/gui/editors/segment/segmentcanvas/SegmentTool.cpp @@ -42,7 +42,7 @@ namespace Rosegarden { SegmentTool::SegmentTool(CompositionView* canvas, RosegardenGUIDoc *doc) - : BaseTool("segment_tool_menu", dynamic_cast<KMainWindow*>(doc->parent())->factory(), canvas), + : BaseTool("segment_tool_menu", dynamic_cast<KMainWindow*>(doc->tqparent())->factory(), TQT_TQOBJECT(canvas)), m_canvas(canvas), m_doc(doc), m_changeMade(false) @@ -54,7 +54,7 @@ SegmentTool::~SegmentTool() void SegmentTool::ready() { - m_canvas->viewport()->setCursor(Qt::arrowCursor); + m_canvas->viewport()->setCursor(TQt::arrowCursor); } void @@ -86,12 +86,12 @@ SegmentTool::createMenu() RG_DEBUG << "SegmentTool::createMenu()\n"; RosegardenGUIApp *app = - dynamic_cast<RosegardenGUIApp*>(m_doc->parent()); + dynamic_cast<RosegardenGUIApp*>(m_doc->tqparent()); if (app) { m_menu = static_cast<TQPopupMenu*> //(app->factory()->container("segment_tool_menu", app)); - (m_parentFactory->container("segment_tool_menu", app)); + (m_tqparentFactory->container("segment_tool_menu", app)); if (!m_menu) { RG_DEBUG << "SegmentTool::createMenu() failed\n"; |