summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation/ClefInserter.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/editors/notation/ClefInserter.cpp
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz
rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/editors/notation/ClefInserter.cpp')
-rw-r--r--src/gui/editors/notation/ClefInserter.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/editors/notation/ClefInserter.cpp b/src/gui/editors/notation/ClefInserter.cpp
index f39327e..5e324a9 100644
--- a/src/gui/editors/notation/ClefInserter.cpp
+++ b/src/gui/editors/notation/ClefInserter.cpp
@@ -37,8 +37,8 @@
#include "NotationView.h"
#include "NotePixmapFactory.h"
#include <kaction.h>
-#include <qiconset.h>
-#include <qstring.h>
+#include <tqiconset.h>
+#include <tqstring.h>
namespace Rosegarden
@@ -48,21 +48,21 @@ ClefInserter::ClefInserter(NotationView* view)
: NotationTool("ClefInserter", view),
m_clef(Clef::Treble)
{
- QIconSet icon = QIconSet(NotePixmapFactory::toQPixmap(NotePixmapFactory::
+ TQIconSet icon = TQIconSet(NotePixmapFactory::toQPixmap(NotePixmapFactory::
makeToolbarPixmap("select")));
new KAction(i18n("Switch to Select Tool"), icon, 0, this,
- SLOT(slotSelectSelected()), actionCollection(),
+ TQT_SLOT(slotSelectSelected()), actionCollection(),
"select");
new KAction(i18n("Switch to Erase Tool"), "eraser", 0, this,
- SLOT(slotEraseSelected()), actionCollection(),
+ TQT_SLOT(slotEraseSelected()), actionCollection(),
"erase");
icon = QIconSet
(NotePixmapFactory::toQPixmap(NotePixmapFactory::
makeToolbarPixmap("crotchet")));
new KAction(i18n("Switch to Inserting Notes"), icon, 0, this,
- SLOT(slotNotesSelected()), actionCollection(),
+ TQT_SLOT(slotNotesSelected()), actionCollection(),
"notes");
createMenu("clefinserter.rc");
@@ -97,7 +97,7 @@ void ClefInserter::setClef(std::string clefType)
void ClefInserter::handleLeftButtonPress(timeT,
int,
int staffNo,
- QMouseEvent* e,
+ TQMouseEvent* e,
ViewElement*)
{
if (staffNo < 0)
@@ -126,7 +126,7 @@ void ClefInserter::handleLeftButtonPress(timeT,
m_nParentView->setSingleSelectedEvent(staffNo, event);
}
-const QString ClefInserter::ToolName = "clefinserter";
+const TQString ClefInserter::ToolName = "clefinserter";
}
#include "ClefInserter.moc"