summaryrefslogtreecommitdiffstats
path: root/kmilo
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-20 17:21:59 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-02-03 21:40:22 +0900
commit2f64e55b006125b1110fcdb05df19909159cee71 (patch)
tree113f02dbb3164ef83f2b7cec5e26adb6b5dc97f3 /kmilo
parent1feaed7cc0457e3cdafe0c0ce8119ae6ec618cb8 (diff)
downloadtdeutils-2f64e55b006125b1110fcdb05df19909159cee71.tar.gz
tdeutils-2f64e55b006125b1110fcdb05df19909159cee71.zip
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmilo')
-rw-r--r--kmilo/delli8k/delli8k.cpp4
-rw-r--r--kmilo/generic/generic_monitor.cpp8
-rw-r--r--kmilo/kmilo_kvaio/kvaio.cpp4
-rw-r--r--kmilo/thinkpad/thinkpad.cpp2
4 files changed, 9 insertions, 9 deletions
diff --git a/kmilo/delli8k/delli8k.cpp b/kmilo/delli8k/delli8k.cpp
index e647d89..2bcb9ed 100644
--- a/kmilo/delli8k/delli8k.cpp
+++ b/kmilo/delli8k/delli8k.cpp
@@ -145,7 +145,7 @@ bool DellI8kMonitor::retrieveVolume()
if (kmix_error)
{
// maybe the error occurred because kmix wasn't running
- if( kapp->startServiceByDesktopName( "kmix" ) == 0 ) // trying to start kmix
+ if( tdeApp->startServiceByDesktopName( "kmix" ) == 0 ) // trying to start kmix
{
// trying again
reply = kmixClient->call( "masterVolume");
@@ -210,7 +210,7 @@ bool DellI8kMonitor::retrieveMute()
if (kmix_error)
{
// maybe the error occurred because kmix wasn't running
- if( kapp->startServiceByDesktopName( "kmix" ) == 0 ) // trying to start kmix
+ if( tdeApp->startServiceByDesktopName( "kmix" ) == 0 ) // trying to start kmix
{
// trying again
reply = kmixClient->call( "masterVolume" );
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()
diff --git a/kmilo/kmilo_kvaio/kvaio.cpp b/kmilo/kmilo_kvaio/kvaio.cpp
index 004f15e..c9b114d 100644
--- a/kmilo/kmilo_kvaio/kvaio.cpp
+++ b/kmilo/kmilo_kvaio/kvaio.cpp
@@ -478,7 +478,7 @@ bool KVaio::retrieveVolume() {
{
// _interface->displayText
showTextMsg(i18n("Starting KMix..."));
- if (kapp->startServiceByDesktopName("kmix")==0) // trying to start kmix
+ if (tdeApp->startServiceByDesktopName("kmix")==0) // trying to start kmix
{
// trying again
reply = kmixClient->call("masterVolume");
@@ -545,7 +545,7 @@ bool KVaio::retrieveMute()
// maybe the error occurred because kmix wasn't running
//_interface->displayText
showTextMsg(i18n("Starting KMix..."));
- if (kapp->startServiceByDesktopName("kmix")==0) // trying to start kmix
+ if (tdeApp->startServiceByDesktopName("kmix")==0) // trying to start kmix
{
// trying again
reply = kmixClient->call("masterMute");
diff --git a/kmilo/thinkpad/thinkpad.cpp b/kmilo/thinkpad/thinkpad.cpp
index 16e22a9..50bc532 100644
--- a/kmilo/thinkpad/thinkpad.cpp
+++ b/kmilo/thinkpad/thinkpad.cpp
@@ -461,7 +461,7 @@ bool ThinkPadMonitor::retrieveVolume() {
}
if (kmix_error) { // maybe the error occurred because kmix wasn't running
- if (kapp->startServiceByDesktopName("kmix")==0) { // trying to start kmix
+ if (tdeApp->startServiceByDesktopName("kmix")==0) { // trying to start kmix
// trying again
reply = kmixClient->call("masterVolume");
if (reply.isValid()) {