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.cpp214
1 files changed, 107 insertions, 107 deletions
diff --git a/src/gui/seqmanager/SequenceManager.cpp b/src/gui/seqmanager/SequenceManager.cpp
index 12334f6..4ebe945 100644
--- a/src/gui/seqmanager/SequenceManager.cpp
+++ b/src/gui/seqmanager/SequenceManager.cpp
@@ -66,16 +66,16 @@
#include <kconfig.h>
#include <kglobal.h>
#include <kmessagebox.h>
-#include <qapplication.h>
-#include <qcstring.h>
-#include <qcursor.h>
-#include <qdatastream.h>
-#include <qevent.h>
-#include <qobject.h>
-#include <qpushbutton.h>
-#include <qstring.h>
-#include <qstringlist.h>
-#include <qtimer.h>
+#include <tqapplication.h>
+#include <tqcstring.h>
+#include <tqcursor.h>
+#include <tqdatastream.h>
+#include <tqevent.h>
+#include <tqobject.h>
+#include <tqpushbutton.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
+#include <tqtimer.h>
#include <algorithm>
@@ -95,14 +95,14 @@ SequenceManager::SequenceManager(RosegardenGUIDoc *doc,
m_transport(transport),
m_lastRewoundAt(clock()),
m_countdownDialog(0),
- m_countdownTimer(new QTimer(m_doc)),
+ m_countdownTimer(new TQTimer(m_doc)),
m_shownOverrunWarning(false),
- m_recordTime(new QTime()),
+ m_recordTime(new TQTime()),
m_compositionRefreshStatusId(m_doc->getComposition().getNewRefreshStatusId()),
m_updateRequested(true),
- m_compositionMmapperResetTimer(new QTimer(m_doc)),
+ m_compositionMmapperResetTimer(new TQTimer(m_doc)),
m_sequencerMapper(0),
- m_reportTimer(new QTimer(m_doc)),
+ m_reportTimer(new TQTimer(m_doc)),
m_canReport(true),
m_lastLowLatencySwitchSent(false),
m_lastTransportStartPosition(0),
@@ -113,22 +113,22 @@ SequenceManager::SequenceManager(RosegardenGUIDoc *doc,
// in the autoload (that have only just been mapped by the ctor!)
// m_compositionMmapper->cleanup();
- m_countdownDialog = new CountdownDialog(dynamic_cast<QWidget*>
+ m_countdownDialog = new CountdownDialog(dynamic_cast<TQWidget*>
(m_doc->parent())->parentWidget());
// Connect these for use later
//
- connect(m_countdownTimer, SIGNAL(timeout()),
- this, SLOT(slotCountdownTimerTimeout()));
+ connect(m_countdownTimer, TQT_SIGNAL(timeout()),
+ this, TQT_SLOT(slotCountdownTimerTimeout()));
- connect(m_reportTimer, SIGNAL(timeout()),
- this, SLOT(slotAllowReport()));
+ connect(m_reportTimer, TQT_SIGNAL(timeout()),
+ this, TQT_SLOT(slotAllowReport()));
- connect(m_compositionMmapperResetTimer, SIGNAL(timeout()),
- this, SLOT(slotScheduledCompositionMmapperReset()));
+ connect(m_compositionMmapperResetTimer, TQT_SIGNAL(timeout()),
+ this, TQT_SLOT(slotScheduledCompositionMmapperReset()));
- connect(doc->getCommandHistory(), SIGNAL(commandExecuted()),
- this, SLOT(update()));
+ connect(doc->getCommandHistory(), TQT_SIGNAL(commandExecuted()),
+ this, TQT_SLOT(update()));
m_doc->getComposition().addObserver(this);
@@ -164,7 +164,7 @@ void SequenceManager::setDocument(RosegardenGUIDoc* doc)
DataBlockRepository::clear();
m_doc->getComposition().removeObserver(this);
- disconnect(m_doc->getCommandHistory(), SIGNAL(commandExecuted()));
+ disconnect(m_doc->getCommandHistory(), TQT_SIGNAL(commandExecuted()));
m_segments.clear();
m_triggerSegments.clear();
@@ -179,25 +179,25 @@ void SequenceManager::setDocument(RosegardenGUIDoc* doc)
delete m_countdownTimer;
delete m_compositionMmapperResetTimer;
- m_countdownDialog = new CountdownDialog(dynamic_cast<QWidget*>
+ m_countdownDialog = new CountdownDialog(dynamic_cast<TQWidget*>
(m_doc->parent())->parentWidget());
// Bug 933041: no longer connect the CountdownDialog from
// SequenceManager; instead let the RosegardenGUIApp connect it to
// its own slotStop to ensure the right housekeeping is done
- m_countdownTimer = new QTimer(m_doc);
+ m_countdownTimer = new TQTimer(m_doc);
// Connect this for use later
//
- connect(m_countdownTimer, SIGNAL(timeout()),
- this, SLOT(slotCountdownTimerTimeout()));
+ connect(m_countdownTimer, TQT_SIGNAL(timeout()),
+ this, TQT_SLOT(slotCountdownTimerTimeout()));
m_compositionRefreshStatusId = comp.getNewRefreshStatusId();
comp.addObserver(this);
- connect(m_doc->getCommandHistory(), SIGNAL(commandExecuted()),
- this, SLOT(update()));
+ connect(m_doc->getCommandHistory(), TQT_SIGNAL(commandExecuted()),
+ this, TQT_SLOT(update()));
for (Composition::iterator i = comp.begin(); i != comp.end(); ++i) {
@@ -216,9 +216,9 @@ void SequenceManager::setDocument(RosegardenGUIDoc* doc)
}
- m_compositionMmapperResetTimer = new QTimer(m_doc);
- connect(m_compositionMmapperResetTimer, SIGNAL(timeout()),
- this, SLOT(slotScheduledCompositionMmapperReset()));
+ m_compositionMmapperResetTimer = new TQTimer(m_doc);
+ connect(m_compositionMmapperResetTimer, TQT_SIGNAL(timeout()),
+ this, TQT_SLOT(slotScheduledCompositionMmapperReset()));
resetCompositionMmapper();
@@ -320,18 +320,18 @@ SequenceManager::play()
if (lowLat != m_lastLowLatencySwitchSent) {
- QByteArray data;
- QDataStream streamOut(data, IO_WriteOnly);
+ TQByteArray data;
+ TQDataStream streamOut(data, IO_WriteOnly);
streamOut << lowLat;
rgapp->sequencerSend("setLowLatencyMode(bool)", data);
m_lastLowLatencySwitchSent = lowLat;
}
- QByteArray data;
- QCString replyType;
- QByteArray replyData;
- QDataStream streamOut(data, IO_WriteOnly);
+ TQByteArray data;
+ TQCString replyType;
+ TQByteArray replyData;
+ TQDataStream streamOut(data, IO_WriteOnly);
// playback start position
streamOut << (long)startPos.sec;
@@ -374,7 +374,7 @@ SequenceManager::play()
}
// ensure the return type is ok
- QDataStream streamIn(replyData, IO_ReadOnly);
+ TQDataStream streamIn(replyData, IO_ReadOnly);
int result;
streamIn >> result;
@@ -464,10 +464,10 @@ SequenceManager::stop()
// wait cursor
//
- QApplication::setOverrideCursor(QCursor(Qt::waitCursor));
+ TQApplication::setOverrideCursor(TQCursor(Qt::waitCursor));
- QCString replyType;
- QByteArray replyData;
+ TQCString replyType;
+ TQByteArray replyData;
bool failed = false;
if (!rgapp->sequencerCall("stop()", replyType, replyData)) {
@@ -475,7 +475,7 @@ SequenceManager::stop()
}
// restore
- QApplication::restoreOverrideCursor();
+ TQApplication::restoreOverrideCursor();
TransportStatus status = m_transportStatus;
@@ -573,8 +573,8 @@ SequenceManager::notifySequencerStatus(TransportStatus status)
void
SequenceManager::sendSequencerJump(const RealTime &time)
{
- QByteArray data;
- QDataStream streamOut(data, IO_WriteOnly);
+ TQByteArray data;
+ TQDataStream streamOut(data, IO_WriteOnly);
streamOut << (long)time.sec;
streamOut << (long)time.nsec;
@@ -648,9 +648,9 @@ SequenceManager::record(bool toggled)
if (m_transportStatus == RECORDING) {
SEQMAN_DEBUG << "SequenceManager::record - stop recording and keep playing\n";
- QByteArray data;
- QCString replyType;
- QByteArray replyData;
+ TQByteArray data;
+ TQCString replyType;
+ TQByteArray replyData;
// Send Record to the Sequencer to signal it to drop out of record mode
if (!rgapp->sequencerCall("punchOut()", replyType, replyData, data)) {
@@ -798,18 +798,18 @@ punchin:
if (lowLat != m_lastLowLatencySwitchSent) {
- QByteArray data;
- QDataStream streamOut(data, IO_WriteOnly);
+ TQByteArray data;
+ TQDataStream streamOut(data, IO_WriteOnly);
streamOut << lowLat;
rgapp->sequencerSend("setLowLatencyMode(bool)", data);
m_lastLowLatencySwitchSent = lowLat;
}
- QByteArray data;
- QCString replyType;
- QByteArray replyData;
- QDataStream streamOut(data, IO_WriteOnly);
+ TQByteArray data;
+ TQCString replyType;
+ TQByteArray replyData;
+ TQDataStream streamOut(data, IO_WriteOnly);
// playback start position
streamOut << (long)startPos.sec;
@@ -858,7 +858,7 @@ punchin:
}
// ensure the return type is ok
- QDataStream streamIn(replyData, IO_ReadOnly);
+ TQDataStream streamIn(replyData, IO_ReadOnly);
int result;
streamIn >> result;
@@ -985,7 +985,7 @@ SequenceManager::processAsynchronousMidi(const MappedComposition &mC,
/*KConfig* config = kapp->config();
config->setGroup(SequencerOptionsConfigGroup);
- QString recordDeviceStr = config->readEntry("midirecorddevice");
+ TQString recordDeviceStr = config->readEntry("midirecorddevice");
sendMIDIRecordingDevice(recordDeviceStr);*/
restoreRecordSubscriptions();
}
@@ -1010,13 +1010,13 @@ SequenceManager::processAsynchronousMidi(const MappedComposition &mC,
} else if ((*i)->getData1() == MappedEvent::FailureJackRestartFailed) {
KMessageBox::error(
- dynamic_cast<QWidget*>(m_doc->parent())->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<QWidget*>(m_doc->parent())->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<QWidget*>(m_doc->parent())->parentWidget(),
+ dynamic_cast<TQWidget*>(m_doc->parent())->parentWidget(),
i18n("Run out of processor power for real-time audio processing. Cannot continue."));
#endif
@@ -1054,7 +1054,7 @@ SequenceManager::processAsynchronousMidi(const MappedComposition &mC,
if (tv.tv_sec - warningShownAt >= 5 &&
!boolShowingALSAWarning) {
- QString message = i18n("A serious error has occurred in the ALSA MIDI subsystem. It may not be possible to continue sequencing. Please check console output for more information.");
+ TQString message = i18n("A serious error has occurred in the ALSA MIDI subsystem. It may not be possible to continue sequencing. Please check console output for more information.");
boolShowingALSAWarning = true;
KMessageBox::information(0, message);
@@ -1075,7 +1075,7 @@ SequenceManager::processAsynchronousMidi(const MappedComposition &mC,
if (tv.tv_sec - warningShownAt >= 5 &&
!boolShowingWarning) {
- QString message = i18n("JACK Audio subsystem is losing sample frames.");
+ TQString message = i18n("JACK Audio subsystem is losing sample frames.");
boolShowingWarning = true;
KMessageBox::information(0, message);
@@ -1088,7 +1088,7 @@ SequenceManager::processAsynchronousMidi(const MappedComposition &mC,
} else if (!m_shownOverrunWarning) {
- QString message;
+ TQString message;
switch ((*i)->getData1()) {
@@ -1146,13 +1146,13 @@ SequenceManager::processAsynchronousMidi(const MappedComposition &mC,
if ((*i)->getData1() == MappedEvent::FailureJackRestartFailed) {
KMessageBox::error(
- dynamic_cast<QWidget*>(m_doc->parent()),
+ 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<QWidget*>(m_doc->parent()),
+ 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<QWidget*>(m_doc->parent()),
+ 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<QWidget*>(m_doc->parent()),
+ 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);
@@ -1252,8 +1252,8 @@ SequenceManager::setLoop(const timeT &lhs, const timeT &rhs)
// Let the sequencer know about the loop markers
//
- QByteArray data;
- QDataStream streamOut(data, IO_WriteOnly);
+ TQByteArray data;
+ TQDataStream streamOut(data, IO_WriteOnly);
RealTime loopStart =
m_doc->getComposition().getElapsedRealTime(lhs);
@@ -1271,21 +1271,21 @@ SequenceManager::setLoop(const timeT &lhs, const timeT &rhs)
void
SequenceManager::checkSoundDriverStatus(bool warnUser)
{
- QByteArray data;
- QCString replyType;
- QByteArray replyData;
- QDataStream streamOut(data, IO_WriteOnly);
+ TQByteArray data;
+ TQCString replyType;
+ TQByteArray replyData;
+ TQDataStream streamOut(data, IO_WriteOnly);
- streamOut << QString(VERSION);
+ streamOut << TQString(VERSION);
- if (! rgapp->sequencerCall("getSoundDriverStatus(QString)",
+ if (! rgapp->sequencerCall("getSoundDriverStatus(TQString)",
replyType, replyData, data)) {
m_soundDriverStatus = NO_DRIVER;
} else {
- QDataStream streamIn(replyData, IO_ReadOnly);
+ TQDataStream streamIn(replyData, IO_ReadOnly);
unsigned int result;
streamIn >> result;
m_soundDriverStatus = result;
@@ -1306,7 +1306,7 @@ SequenceManager::checkSoundDriverStatus(bool warnUser)
KStartupLogo::hideIfStillThere();
CurrentProgressDialog::freeze();
- QString text = "";
+ TQString text = "";
if (m_soundDriverStatus == NO_DRIVER) {
text = i18n("<p>Both MIDI and Audio subsystems have failed to initialize.</p><p>You may continue without the sequencer, but we suggest closing Rosegarden, running \"alsaconf\" as root, and starting Rosegarden again. If you wish to run with no sequencer by design, then use \"rosegarden --nosequencer\" to avoid seeing this error in the future.</p>");
@@ -1479,7 +1479,7 @@ SequenceManager::resetMidiNetwork()
}
void
-SequenceManager::sendMIDIRecordingDevice(const QString recordDeviceStr)
+SequenceManager::sendMIDIRecordingDevice(const TQString recordDeviceStr)
{
if (recordDeviceStr) {
@@ -1503,10 +1503,10 @@ SequenceManager::restoreRecordSubscriptions()
{
KConfig* config = kapp->config();
config->setGroup(SequencerOptionsConfigGroup);
- //QString recordDeviceStr = config->readEntry("midirecorddevice");
- QStringList devList = config->readListEntry("midirecorddevice");
+ //TQString recordDeviceStr = config->readEntry("midirecorddevice");
+ TQStringList devList = config->readListEntry("midirecorddevice");
- for ( QStringList::ConstIterator it = devList.begin();
+ for ( TQStringList::ConstIterator it = devList.begin();
it != devList.end(); ++it) {
sendMIDIRecordingDevice(*it);
}
@@ -1518,7 +1518,7 @@ SequenceManager::reinitialiseSequencerStudio()
{
KConfig* config = kapp->config();
config->setGroup(SequencerOptionsConfigGroup);
- //QString recordDeviceStr = config->readEntry("midirecorddevice");
+ //TQString recordDeviceStr = config->readEntry("midirecorddevice");
//sendMIDIRecordingDevice(recordDeviceStr);
restoreRecordSubscriptions();
@@ -1669,9 +1669,9 @@ void SequenceManager::resetControlBlockMmapper()
m_controlBlockMmapper->setDocument(m_doc);
}
-bool SequenceManager::event(QEvent *e)
+bool SequenceManager::event(TQEvent *e)
{
- if (e->type() == QEvent::User) {
+ if (e->type() == TQEvent::User) {
SEQMAN_DEBUG << "SequenceManager::event() with user event\n";
if (m_updateRequested) {
SEQMAN_DEBUG << "SequenceManager::event(): update requested\n";
@@ -1680,7 +1680,7 @@ bool SequenceManager::event(QEvent *e)
}
return true;
} else {
- return QObject::event(e);
+ return TQObject::event(e);
}
}
@@ -1688,9 +1688,9 @@ void SequenceManager::update()
{
SEQMAN_DEBUG << "SequenceManager::update()\n";
// schedule a refresh-status check for the next event loop
- QEvent *e = new QEvent(QEvent::User);
+ TQEvent *e = new TQEvent(TQEvent::User);
m_updateRequested = true;
- QApplication::postEvent(this, e);
+ TQApplication::postEvent(this, e);
}
void SequenceManager::checkRefreshStatus()
@@ -1771,16 +1771,16 @@ void SequenceManager::segmentModified(Segment* s)
<< sizeChanged << endl;
if ((m_transportStatus == PLAYING) && sizeChanged) {
- QByteArray data;
- QDataStream streamOut(data, IO_WriteOnly);
+ TQByteArray data;
+ TQDataStream streamOut(data, IO_WriteOnly);
- streamOut << (QString)m_compositionMmapper->getSegmentFileName(s);
+ streamOut << (TQString)m_compositionMmapper->getSegmentFileName(s);
streamOut << (size_t)m_compositionMmapper->getSegmentFileSize(s);
SEQMAN_DEBUG << "SequenceManager::segmentModified() : DCOP-call sequencer remapSegment"
<< m_compositionMmapper->getSegmentFileName(s) << endl;
- rgapp->sequencerSend("remapSegment(QString, size_t)", data);
+ rgapp->sequencerSend("remapSegment(TQString, size_t)", data);
}
}
@@ -1816,7 +1816,7 @@ void SequenceManager::segmentEventsTimingChanged(const Composition*, Segment * s
SEQMAN_DEBUG << "SequenceManager::segmentEventsTimingChanged(" << s << ", " << t << ")\n";
segmentModified(s);
if (s && s->getType() == Segment::Audio && m_transportStatus == PLAYING) {
- QByteArray data;
+ TQByteArray data;
rgapp->sequencerSend("remapTracks()", data);
}
}
@@ -1832,7 +1832,7 @@ void SequenceManager::segmentTrackChanged(const Composition*, Segment *s, TrackI
SEQMAN_DEBUG << "SequenceManager::segmentTrackChanged(" << s << ", " << id << ")\n";
segmentModified(s);
if (s && s->getType() == Segment::Audio && m_transportStatus == PLAYING) {
- QByteArray data;
+ TQByteArray data;
rgapp->sequencerSend("remapTracks()", data);
}
}
@@ -1851,12 +1851,12 @@ void SequenceManager::processAddedSegment(Segment* s)
if (m_transportStatus == PLAYING) {
- QByteArray data;
- QDataStream streamOut(data, IO_WriteOnly);
+ TQByteArray data;
+ TQDataStream streamOut(data, IO_WriteOnly);
streamOut << m_compositionMmapper->getSegmentFileName(s);
- if (!rgapp->sequencerSend("addSegment(QString)", data)) {
+ if (!rgapp->sequencerSend("addSegment(TQString)", data)) {
m_transportStatus = STOPPED;
}
}
@@ -1871,17 +1871,17 @@ void SequenceManager::processRemovedSegment(Segment* s)
{
SEQMAN_DEBUG << "SequenceManager::processRemovedSegment(" << s << ")\n";
- QString filename = m_compositionMmapper->getSegmentFileName(s);
+ TQString filename = m_compositionMmapper->getSegmentFileName(s);
m_compositionMmapper->segmentDeleted(s);
if (m_transportStatus == PLAYING) {
- QByteArray data;
- QDataStream streamOut(data, IO_WriteOnly);
+ TQByteArray data;
+ TQDataStream streamOut(data, IO_WriteOnly);
streamOut << filename;
- if (!rgapp->sequencerSend("deleteSegment(QString)", data)) {
+ if (!rgapp->sequencerSend("deleteSegment(TQString)", data)) {
// failed
m_transportStatus = STOPPED;
}
@@ -1908,7 +1908,7 @@ void SequenceManager::trackChanged(const Composition *, Track* t)
m_controlBlockMmapper->updateTrackData(t);
if (m_transportStatus == PLAYING) {
- QByteArray data;
+ TQByteArray data;
rgapp->sequencerSend("remapTracks()", data);
}
}
@@ -1974,7 +1974,7 @@ void SequenceManager::soloChanged(const Composition *, bool solo, TrackId select
{
if (m_controlBlockMmapper->updateSoloData(solo, selectedTrack)) {
if (m_transportStatus == PLAYING) {
- QByteArray data;
+ TQByteArray data;
rgapp->sequencerSend("remapTracks()", data);
}
}
@@ -2097,7 +2097,7 @@ SequenceManager::slotCountdownTimerTimeout()
}
void
-SequenceManager::slotFoundMountPoint(const QString&,
+SequenceManager::slotFoundMountPoint(const TQString&,
unsigned long kBSize,
unsigned long /*kBUsed*/,
unsigned long kBAvail)
@@ -2117,10 +2117,10 @@ SequenceManager::getSampleRate()
{
if (m_sampleRate != 0) return m_sampleRate;
- QCString replyType;
- QByteArray replyData;
+ TQCString replyType;
+ TQByteArray replyData;
if (rgapp->sequencerCall("getSampleRate()", replyType, replyData)) {
- QDataStream streamIn(replyData, IO_ReadOnly);
+ TQDataStream streamIn(replyData, IO_ReadOnly);
unsigned int result;
streamIn >> m_sampleRate;
}
@@ -2132,7 +2132,7 @@ bool
SequenceManager::shouldWarnForImpreciseTimer()
{
kapp->config()->setGroup(SequencerOptionsConfigGroup);
- QString timer = kapp->config()->readEntry("timer");
+ TQString timer = kapp->config()->readEntry("timer");
if (timer == "(auto)" || timer == "") return true;
else return false; // if the user has chosen the timer, leave them alone
}