|
|
@ -3950,7 +3950,7 @@ void NotationView::readjustCanvasSize()
|
|
|
|
|
|
|
|
|
|
|
|
void NotationView::slotNoteAction()
|
|
|
|
void NotationView::slotNoteAction()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
const TQObject* sigSender = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender()));
|
|
|
|
const TQObject* sigSender = sender();
|
|
|
|
|
|
|
|
|
|
|
|
NoteActionDataMap::Iterator noteAct =
|
|
|
|
NoteActionDataMap::Iterator noteAct =
|
|
|
|
m_noteActionDataMap->find(sigSender->name());
|
|
|
|
m_noteActionDataMap->find(sigSender->name());
|
|
|
@ -3981,7 +3981,7 @@ void NotationView::slotLastNoteAction()
|
|
|
|
|
|
|
|
|
|
|
|
void NotationView::slotAddMark()
|
|
|
|
void NotationView::slotAddMark()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
const TQObject *s = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender()));
|
|
|
|
const TQObject *s = sender();
|
|
|
|
if (!m_currentEventSelection)
|
|
|
|
if (!m_currentEventSelection)
|
|
|
|
return ;
|
|
|
|
return ;
|
|
|
|
|
|
|
|
|
|
|
@ -3995,7 +3995,7 @@ void NotationView::slotAddMark()
|
|
|
|
|
|
|
|
|
|
|
|
void NotationView::slotNoteChangeAction()
|
|
|
|
void NotationView::slotNoteChangeAction()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
const TQObject* sigSender = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender()));
|
|
|
|
const TQObject* sigSender = sender();
|
|
|
|
|
|
|
|
|
|
|
|
NoteChangeActionDataMap::Iterator noteAct =
|
|
|
|
NoteChangeActionDataMap::Iterator noteAct =
|
|
|
|
m_noteChangeActionDataMap->find(sigSender->name());
|
|
|
|
m_noteChangeActionDataMap->find(sigSender->name());
|
|
|
@ -4304,7 +4304,7 @@ NotationView::slotChangeSpacingFromStringValue(const TQString& spacingT)
|
|
|
|
void
|
|
|
|
void
|
|
|
|
NotationView::slotChangeSpacingFromAction()
|
|
|
|
NotationView::slotChangeSpacingFromAction()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
const TQObject *s = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender()));
|
|
|
|
const TQObject *s = sender();
|
|
|
|
TQString name = s->name();
|
|
|
|
TQString name = s->name();
|
|
|
|
|
|
|
|
|
|
|
|
if (name.left(8) == "spacing_") {
|
|
|
|
if (name.left(8) == "spacing_") {
|
|
|
@ -4364,7 +4364,7 @@ NotationView::slotChangeProportionFromIndex(int n)
|
|
|
|
void
|
|
|
|
void
|
|
|
|
NotationView::slotChangeProportionFromAction()
|
|
|
|
NotationView::slotChangeProportionFromAction()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
const TQObject *s = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender()));
|
|
|
|
const TQObject *s = sender();
|
|
|
|
TQString name = s->name();
|
|
|
|
TQString name = s->name();
|
|
|
|
|
|
|
|
|
|
|
|
if (name.left(11) == "proportion_") {
|
|
|
|
if (name.left(11) == "proportion_") {
|
|
|
@ -4413,7 +4413,7 @@ NotationView::slotChangeProportion(int proportion)
|
|
|
|
void
|
|
|
|
void
|
|
|
|
NotationView::slotChangeFontFromAction()
|
|
|
|
NotationView::slotChangeFontFromAction()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
const TQObject *s = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender()));
|
|
|
|
const TQObject *s = sender();
|
|
|
|
TQString name = s->name();
|
|
|
|
TQString name = s->name();
|
|
|
|
if (name.left(10) == "note_font_") {
|
|
|
|
if (name.left(10) == "note_font_") {
|
|
|
|
name = name.right(name.length() - 10);
|
|
|
|
name = name.right(name.length() - 10);
|
|
|
@ -4427,7 +4427,7 @@ NotationView::slotChangeFontFromAction()
|
|
|
|
void
|
|
|
|
void
|
|
|
|
NotationView::slotChangeFontSizeFromAction()
|
|
|
|
NotationView::slotChangeFontSizeFromAction()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
const TQObject *s = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender()));
|
|
|
|
const TQObject *s = sender();
|
|
|
|
TQString name = s->name();
|
|
|
|
TQString name = s->name();
|
|
|
|
|
|
|
|
|
|
|
|
if (name.left(15) == "note_font_size_") {
|
|
|
|
if (name.left(15) == "note_font_size_") {
|
|
|
@ -5557,7 +5557,7 @@ void NotationView::slotTransformsRemoveQuantization()
|
|
|
|
|
|
|
|
|
|
|
|
void NotationView::slotSetStyleFromAction()
|
|
|
|
void NotationView::slotSetStyleFromAction()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
const TQObject *s = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender()));
|
|
|
|
const TQObject *s = sender();
|
|
|
|
TQString name = s->name();
|
|
|
|
TQString name = s->name();
|
|
|
|
|
|
|
|
|
|
|
|
if (!m_currentEventSelection)
|
|
|
|
if (!m_currentEventSelection)
|
|
|
@ -5580,7 +5580,7 @@ void NotationView::slotSetStyleFromAction()
|
|
|
|
|
|
|
|
|
|
|
|
void NotationView::slotInsertNoteFromAction()
|
|
|
|
void NotationView::slotInsertNoteFromAction()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
const TQObject *s = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender()));
|
|
|
|
const TQObject *s = sender();
|
|
|
|
TQString name = s->name();
|
|
|
|
TQString name = s->name();
|
|
|
|
|
|
|
|
|
|
|
|
Segment &segment = m_staffs[m_currentStaff]->getSegment();
|
|
|
|
Segment &segment = m_staffs[m_currentStaff]->getSegment();
|
|
|
@ -5907,7 +5907,7 @@ void NotationView::slotAddDotNotationOnly()
|
|
|
|
|
|
|
|
|
|
|
|
void NotationView::slotAddSlashes()
|
|
|
|
void NotationView::slotAddSlashes()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
const TQObject *s = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender()));
|
|
|
|
const TQObject *s = sender();
|
|
|
|
if (!m_currentEventSelection)
|
|
|
|
if (!m_currentEventSelection)
|
|
|
|
return ;
|
|
|
|
return ;
|
|
|
|
|
|
|
|
|
|
|
@ -5948,7 +5948,7 @@ void NotationView::slotMarksAddFingeringMark()
|
|
|
|
|
|
|
|
|
|
|
|
void NotationView::slotMarksAddFingeringMarkFromAction()
|
|
|
|
void NotationView::slotMarksAddFingeringMarkFromAction()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
const TQObject *s = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender()));
|
|
|
|
const TQObject *s = sender();
|
|
|
|
TQString name = s->name();
|
|
|
|
TQString name = s->name();
|
|
|
|
|
|
|
|
|
|
|
|
if (name.left(14) == "add_fingering_") {
|
|
|
|
if (name.left(14) == "add_fingering_") {
|
|
|
|