diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 3fcef18c75f7cd751ed706c12977230242fb817d (patch) | |
tree | a94c2497a3923ed9972e71c5bbba0697882c1427 /src/gui/seqmanager | |
parent | 80ee419f074dc252449791628d4584b5c0ea0c9b (diff) | |
download | rosegarden-3fcef18c75f7cd751ed706c12977230242fb817d.tar.gz rosegarden-3fcef18c75f7cd751ed706c12977230242fb817d.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/seqmanager')
-rw-r--r-- | src/gui/seqmanager/MidiFilterDialog.cpp | 4 | ||||
-rw-r--r-- | src/gui/seqmanager/MidiFilterDialog.h | 2 | ||||
-rw-r--r-- | src/gui/seqmanager/SequenceManager.cpp | 20 |
3 files changed, 13 insertions, 13 deletions
diff --git a/src/gui/seqmanager/MidiFilterDialog.cpp b/src/gui/seqmanager/MidiFilterDialog.cpp index 3a8eec0..0227eff 100644 --- a/src/gui/seqmanager/MidiFilterDialog.cpp +++ b/src/gui/seqmanager/MidiFilterDialog.cpp @@ -41,9 +41,9 @@ namespace Rosegarden { -MidiFilterDialog::MidiFilterDialog(TQWidget *tqparent, +MidiFilterDialog::MidiFilterDialog(TQWidget *parent, RosegardenGUIDoc *doc): - KDialogBase(tqparent, 0, true, i18n("Modify MIDI filters..."), + KDialogBase(parent, 0, true, i18n("Modify MIDI filters..."), Ok | Apply | Close | Help), m_doc(doc), m_modified(true) diff --git a/src/gui/seqmanager/MidiFilterDialog.h b/src/gui/seqmanager/MidiFilterDialog.h index 370ea14..1050e55 100644 --- a/src/gui/seqmanager/MidiFilterDialog.h +++ b/src/gui/seqmanager/MidiFilterDialog.h @@ -44,7 +44,7 @@ class MidiFilterDialog : public KDialogBase Q_OBJECT TQ_OBJECT public: - MidiFilterDialog(TQWidget *tqparent, + MidiFilterDialog(TQWidget *parent, RosegardenGUIDoc *doc); void setModified(bool value); diff --git a/src/gui/seqmanager/SequenceManager.cpp b/src/gui/seqmanager/SequenceManager.cpp index 4e82b85..ec80707 100644 --- a/src/gui/seqmanager/SequenceManager.cpp +++ b/src/gui/seqmanager/SequenceManager.cpp @@ -114,7 +114,7 @@ SequenceManager::SequenceManager(RosegardenGUIDoc *doc, // m_compositionMmapper->cleanup(); m_countdownDialog = new CountdownDialog(dynamic_cast<TQWidget*> - (m_doc->tqparent())->parentWidget()); + (m_doc->parent())->parentWidget()); // Connect these for use later // connect(m_countdownTimer, TQT_SIGNAL(timeout()), @@ -180,7 +180,7 @@ void SequenceManager::setDocument(RosegardenGUIDoc* doc) delete m_compositionMmapperResetTimer; m_countdownDialog = new CountdownDialog(dynamic_cast<TQWidget*> - (m_doc->tqparent())->parentWidget()); + (m_doc->parent())->parentWidget()); // Bug 933041: no longer connect the CountdownDialog from // SequenceManager; instead let the RosegardenGUIApp connect it to @@ -898,7 +898,7 @@ punchin: //m_countdownDialog->show(); } else { - // Stop immediately - turn off buttons in tqparent + // Stop immediately - turn off buttons in parent // m_transporttqStatus = STOPPED; @@ -1010,13 +1010,13 @@ SequenceManager::processAsynchronousMidi(const MappedComposition &mC, } else if ((*i)->getData1() == MappedEvent::FailureJackRestartFailed) { KMessageBox::error( - dynamic_cast<TQWidget*>(m_doc->tqparent())->parentWidget(), + dynamic_cast<TQWidget*>(m_doc->parent())->parentWidget(), i18n("The JACK Audio subsystem has failed or it has stopped Rosegarden from processing audio.\nPlease restart Rosegarden to continue working with audio.\nQuitting other running applications may improve Rosegarden's performance.")); } else if ((*i)->getData1() == MappedEvent::FailureJackRestart) { KMessageBox::error( - dynamic_cast<TQWidget*>(m_doc->tqparent())->parentWidget(), + dynamic_cast<TQWidget*>(m_doc->parent())->parentWidget(), i18n("The JACK Audio subsystem has stopped Rosegarden from processing audio, probably because of a processing overload.\nAn attempt to restart the audio service has been made, but some problems may remain.\nQuitting other running applications may improve Rosegarden's performance.")); } else if ((*i)->getData1() == MappedEvent::FailureCPUOverload) { @@ -1027,7 +1027,7 @@ SequenceManager::processAsynchronousMidi(const MappedComposition &mC, stopping(); KMessageBox::error( - dynamic_cast<TQWidget*>(m_doc->tqparent())->parentWidget(), + dynamic_cast<TQWidget*>(m_doc->parent())->parentWidget(), i18n("Run out of processor power for real-time audio processing. Cannot continue.")); #endif @@ -1146,13 +1146,13 @@ SequenceManager::processAsynchronousMidi(const MappedComposition &mC, if ((*i)->getData1() == MappedEvent::FailureJackRestartFailed) { KMessageBox::error( - dynamic_cast<TQWidget*>(m_doc->tqparent()), + dynamic_cast<TQWidget*>(m_doc->parent()), i18n("The JACK Audio subsystem has failed or it has stopped Rosegarden from processing audio.\nPlease restart Rosegarden to continue working with audio.\nQuitting other running applications may improve Rosegarden's performance.")); } else if ((*i)->getData1() == MappedEvent::FailureJackRestart) { KMessageBox::error( - dynamic_cast<TQWidget*>(m_doc->tqparent()), + dynamic_cast<TQWidget*>(m_doc->parent()), i18n("The JACK Audio subsystem has stopped Rosegarden from processing audio, probably because of a processing overload.\nAn attempt to restart the audio service has been made, but some problems may remain.\nQuitting other running applications may improve Rosegarden's performance.")); } else if ((*i)->getData1() == MappedEvent::WarningImpreciseTimer && @@ -1166,7 +1166,7 @@ SequenceManager::processAsynchronousMidi(const MappedComposition &mC, RosegardenGUIApp::self()->awaitDialogClearance(); KMessageBox::information( - dynamic_cast<TQWidget*>(m_doc->tqparent()), + dynamic_cast<TQWidget*>(m_doc->parent()), i18n("<h3>System timer resolution is too low</h3><p>Rosegarden was unable to find a high-resolution timing source for MIDI performance.</p><p>This may mean you are using a Linux system with the kernel timer resolution set too low. Please contact your Linux distributor for more information.</p><p>Some Linux distributors already provide low latency kernels, see <a href=\"http://rosegarden.wiki.sourceforge.net/Low+latency+kernels\">http://rosegarden.wiki.sourceforge.net/Low+latency+kernels</a> for instructions.</p>"), NULL, NULL, KMessageBox::Notify + KMessageBox::AllowLink); @@ -1184,7 +1184,7 @@ SequenceManager::processAsynchronousMidi(const MappedComposition &mC, RosegardenGUIApp::self()->awaitDialogClearance(); KMessageBox::information( - dynamic_cast<TQWidget*>(m_doc->tqparent()), + dynamic_cast<TQWidget*>(m_doc->parent()), i18n("<h3>System timer resolution is too low</h3><p>Rosegarden was unable to find a high-resolution timing source for MIDI performance.</p><p>You may be able to solve this problem by loading the RTC timer kernel module. To do this, try running <b>sudo modprobe snd-rtctimer</b> in a terminal window and then restarting Rosegarden.</p><p>Alternatively, check whether your Linux distributor provides a multimedia-optimized kernel. See <a href=\"http://rosegarden.wiki.sourceforge.net/Low+latency+kernels\">http://rosegarden.wiki.sourceforge.net/Low+latency+kernels</a> for notes about this.</p>"), NULL, NULL, KMessageBox::Notify + KMessageBox::AllowLink); |