summaryrefslogtreecommitdiffstats
path: root/src/gui/application/RosegardenApplication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/application/RosegardenApplication.cpp')
-rw-r--r--src/gui/application/RosegardenApplication.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/gui/application/RosegardenApplication.cpp b/src/gui/application/RosegardenApplication.cpp
index 6e85aab..b6282c3 100644
--- a/src/gui/application/RosegardenApplication.cpp
+++ b/src/gui/application/RosegardenApplication.cpp
@@ -37,10 +37,10 @@
#include <kmessagebox.h>
#include <kprocess.h>
#include <kuniqueapplication.h>
-#include <qcstring.h>
-#include <qeventloop.h>
-#include <qsessionmanager.h>
-#include <qstring.h>
+#include <tqcstring.h>
+#include <tqeventloop.h>
+#include <tqsessionmanager.h>
+#include <tqstring.h>
#include <dcopclient.h>
#include <kconfig.h>
#include <kstatusbar.h>
@@ -72,7 +72,7 @@ bool RosegardenApplication::isSequencerRegistered()
return dcopClient()->isApplicationRegistered(ROSEGARDEN_SEQUENCER_APP_NAME);
}
-bool RosegardenApplication::sequencerSend(QCString dcopCall, QByteArray params)
+bool RosegardenApplication::sequencerSend(TQCString dcopCall, TQByteArray params)
{
if (noSequencerMode())
return false;
@@ -82,8 +82,8 @@ bool RosegardenApplication::sequencerSend(QCString dcopCall, QByteArray params)
dcopCall, params);
}
-bool RosegardenApplication::sequencerCall(QCString dcopCall, QCString& replyType, QByteArray& replyData,
- QByteArray params, bool useEventLoop)
+bool RosegardenApplication::sequencerCall(TQCString dcopCall, TQCString& replyType, TQByteArray& replyData,
+ TQByteArray params, bool useEventLoop)
{
if (noSequencerMode())
return false;
@@ -95,9 +95,9 @@ bool RosegardenApplication::sequencerCall(QCString dcopCall, QCString& replyType
void RosegardenApplication::sfxLoadExited(KProcess *proc)
{
if (!proc->normalExit()) {
- QString configGroup = config()->group();
+ TQString configGroup = config()->group();
config()->setGroup(SequencerOptionsConfigGroup);
- QString soundFontPath = config()->readEntry("soundfontpath", "");
+ TQString soundFontPath = config()->readEntry("soundfontpath", "");
config()->setGroup(configGroup);
KMessageBox::error(mainWidget(),
@@ -108,13 +108,13 @@ void RosegardenApplication::sfxLoadExited(KProcess *proc)
}
-void RosegardenApplication::slotSetStatusMessage(QString msg)
+void RosegardenApplication::slotSetStatusMessage(TQString msg)
{
KMainWindow* mainWindow = dynamic_cast<KMainWindow*>(mainWidget());
if (mainWindow) {
if (msg.isEmpty())
msg = KTmpStatusMsg::getDefaultMsg();
- mainWindow->statusBar()->changeItem(QString(" %1").arg(msg), KTmpStatusMsg::getDefaultId());
+ mainWindow->statusBar()->changeItem(TQString(" %1").arg(msg), KTmpStatusMsg::getDefaultId());
}
}
@@ -122,8 +122,8 @@ void RosegardenApplication::slotSetStatusMessage(QString msg)
void
RosegardenApplication::refreshGUI(int maxTime)
{
- eventLoop()->processEvents(QEventLoop::ExcludeUserInput |
- QEventLoop::ExcludeSocketNotifiers,
+ eventLoop()->processEvents(TQEventLoop::ExcludeUserInput |
+ TQEventLoop::ExcludeSocketNotifiers,
maxTime);
}
@@ -138,7 +138,7 @@ RosegardenApplication* RosegardenApplication::rgApp()
return dynamic_cast<RosegardenApplication*>(kApplication());
}
-QByteArray RosegardenApplication::Empty;
+TQByteArray RosegardenApplication::Empty;
}