summaryrefslogtreecommitdiffstats
path: root/src/gui/seqmanager/SequenceManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/seqmanager/SequenceManager.cpp')
-rw-r--r--src/gui/seqmanager/SequenceManager.cpp20
1 files changed, 10 insertions, 10 deletions
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);