summaryrefslogtreecommitdiffstats
path: root/src/gui/application/main.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-02 11:38:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-05 17:29:20 +0900
commita3a855ce18bdb905ef57b9feb174afc441132665 (patch)
tree19c604d8c26146c0f36e8b13cfa02982f2196025 /src/gui/application/main.cpp
parent0d651f25b2871e8e16bf7a1c3563066489a7a0b2 (diff)
downloadrosegarden-a3a855ce18bdb905ef57b9feb174afc441132665.tar.gz
rosegarden-a3a855ce18bdb905ef57b9feb174afc441132665.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit e9f46130c2656aaf299d8793556310c9bf95daee)
Diffstat (limited to 'src/gui/application/main.cpp')
-rw-r--r--src/gui/application/main.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/application/main.cpp b/src/gui/application/main.cpp
index 011a0c6..ecb8e40 100644
--- a/src/gui/application/main.cpp
+++ b/src/gui/application/main.cpp
@@ -479,7 +479,7 @@ int main(int argc, char *argv[])
// Ensure quit on last window close
// Register main DCOP interface
//
- TQObject::connect(&app, TQT_SIGNAL(lastWindowClosed()), &app, TQT_SLOT(quit()));
+ TQObject::connect(&app, TQ_SIGNAL(lastWindowClosed()), &app, TQ_SLOT(quit()));
app.dcopClient()->registerAs(app.name(), false);
app.dcopClient()->setDefaultObject(ROSEGARDEN_GUI_IFACE_NAME);
@@ -624,8 +624,8 @@ int main(int argc, char *argv[])
}
- TQObject::connect(&app, TQT_SIGNAL(aboutToSaveState()),
- rosegardengui, TQT_SLOT(slotDeleteTransport()));
+ TQObject::connect(&app, TQ_SIGNAL(aboutToSaveState()),
+ rosegardengui, TQ_SLOT(slotDeleteTransport()));
// Now that we've started up, raise start logo
//
@@ -661,8 +661,8 @@ int main(int argc, char *argv[])
(*sfxLoadProcess) << sfxLoadPath << soundFontPath;
RG_DEBUG << "Starting sfxload : " << sfxLoadPath << " " << soundFontPath << endl;
- TQObject::connect(sfxLoadProcess, TQT_SIGNAL(processExited(TDEProcess*)),
- &app, TQT_SLOT(sfxLoadExited(TDEProcess*)));
+ TQObject::connect(sfxLoadProcess, TQ_SIGNAL(processExited(TDEProcess*)),
+ &app, TQ_SLOT(sfxLoadExited(TDEProcess*)));
sfxLoadProcess->start();
} else {
@@ -694,7 +694,7 @@ int main(int argc, char *argv[])
if (visibleFor < RealTime(2, 0)) {
int waitTime = visibleFor.sec * 1000 + visibleFor.msec();
- TQTimer::singleShot(2500 - waitTime, startLogo, TQT_SLOT(close()));
+ TQTimer::singleShot(2500 - waitTime, startLogo, TQ_SLOT(close()));
} else {
startLogo->close();
}