From 11f31c37e5fa4889d9989f10272f44845449cb7b Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 6 Sep 2010 20:59:29 +0000 Subject: Initial TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gui/editors/segment/segmentcanvas/SegmentToolBox.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui/editors/segment/segmentcanvas/SegmentToolBox.cpp') diff --git a/src/gui/editors/segment/segmentcanvas/SegmentToolBox.cpp b/src/gui/editors/segment/segmentcanvas/SegmentToolBox.cpp index cb0dec9..5ce8a58 100644 --- a/src/gui/editors/segment/segmentcanvas/SegmentToolBox.cpp +++ b/src/gui/editors/segment/segmentcanvas/SegmentToolBox.cpp @@ -36,7 +36,7 @@ #include "SegmentPencil.h" #include "SegmentResizer.h" #include "SegmentSplitter.h" -#include +#include #include namespace Rosegarden @@ -48,11 +48,11 @@ SegmentToolBox::SegmentToolBox(CompositionView* parent, RosegardenGUIDoc* doc) m_doc(doc) {} -SegmentTool* SegmentToolBox::createTool(const QString& toolName) +SegmentTool* SegmentToolBox::createTool(const TQString& toolName) { SegmentTool* tool = 0; - QString toolNamelc = toolName.lower(); + TQString toolNamelc = toolName.lower(); if (toolNamelc == SegmentPencil::ToolName) @@ -83,7 +83,7 @@ SegmentTool* SegmentToolBox::createTool(const QString& toolName) tool = new SegmentJoiner(m_canvas, m_doc); else { - KMessageBox::error(0, QString("SegmentToolBox::createTool : unrecognised toolname %1 (%2)") + KMessageBox::error(0, TQString("SegmentToolBox::createTool : unrecognised toolname %1 (%2)") .arg(toolName).arg(toolNamelc)); return 0; } @@ -93,7 +93,7 @@ SegmentTool* SegmentToolBox::createTool(const QString& toolName) return tool; } -SegmentTool* SegmentToolBox::getTool(const QString& toolName) +SegmentTool* SegmentToolBox::getTool(const TQString& toolName) { return dynamic_cast(BaseToolBox::getTool(toolName)); } -- cgit v1.2.1