summaryrefslogtreecommitdiffstats
path: root/kmilo/generic
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-20 17:21:59 +0900
committerMichele Calgaro <[email protected]>2025-02-03 21:40:22 +0900
commit2f64e55b006125b1110fcdb05df19909159cee71 (patch)
tree113f02dbb3164ef83f2b7cec5e26adb6b5dc97f3 /kmilo/generic
parent1feaed7cc0457e3cdafe0c0ce8119ae6ec618cb8 (diff)
downloadtdeutils-2f64e55b006125b1110fcdb05df19909159cee71.tar.gz
tdeutils-2f64e55b006125b1110fcdb05df19909159cee71.zip
Use tdeApp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kmilo/generic')
-rw-r--r--kmilo/generic/generic_monitor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmilo/generic/generic_monitor.cpp b/kmilo/generic/generic_monitor.cpp
index e1933c9..2c15ad5 100644
--- a/kmilo/generic/generic_monitor.cpp
+++ b/kmilo/generic/generic_monitor.cpp
@@ -147,7 +147,7 @@ bool GenericMonitor::retrieveVolume(int &volume)
// maybe the error occurred because kmix wasn't running. Try to start it
_interface->displayText(i18n("Starting KMix..."));
- if (kapp->startServiceByDesktopName("kmix") == 0)
+ if (tdeApp->startServiceByDesktopName("kmix") == 0)
{
// trying again
reply = kmixClient->call("volume");
@@ -215,7 +215,7 @@ bool GenericMonitor::retrieveMute(bool &muted)
// maybe the error occurred because kmix wasn't running. Try to start it
_interface->displayText(i18n("Starting KMix..."));
- if (kapp->startServiceByDesktopName("kmix") == 0)
+ if (tdeApp->startServiceByDesktopName("kmix") == 0)
{
// trying again
reply = kmixClient->call("mute");
@@ -324,12 +324,12 @@ void GenericMonitor::launch(TQString configKey, TQString defaultApplication)
void GenericMonitor::launchMail()
{
kdDebug() << "launchMail" << endl;
- kapp->invokeMailer("", "", "", "", "", "", "", "");
+ tdeApp->invokeMailer("", "", "", "", "", "", "", "");
}
void GenericMonitor::launchBrowser()
{
- kapp->invokeBrowser("");
+ tdeApp->invokeBrowser("");
}
void GenericMonitor::launchSearch()