summaryrefslogtreecommitdiffstats
path: root/kmilo/kmilo_kvaio/kvaio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmilo/kmilo_kvaio/kvaio.cpp')
-rw-r--r--kmilo/kmilo_kvaio/kvaio.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/kmilo/kmilo_kvaio/kvaio.cpp b/kmilo/kmilo_kvaio/kvaio.cpp
index a7c28d5..c9b114d 100644
--- a/kmilo/kmilo_kvaio/kvaio.cpp
+++ b/kmilo/kmilo_kvaio/kvaio.cpp
@@ -1,5 +1,4 @@
-/* -*- C++ -*-
-
+/*
This file implements the KVaio class.
$ Author: Mirko Boehm $
@@ -70,8 +69,8 @@ KVaio::KVaio(KMiloKVaio *parent, const char* name)
kdDebug() << "KVaio: Cannot connect to driver." << endl;
} else {
kdDebug() << "KVaio: Connected to SonyPI driver." << endl;
- connect(mDriver, TQT_SIGNAL(vaioEvent(int)), TQT_SLOT(slotVaioEvent(int)));
- connect (mTimer, TQT_SIGNAL (timeout ()), TQT_SLOT (slotTimeout() ) );
+ connect(mDriver, TQ_SIGNAL(vaioEvent(int)), TQ_SLOT(slotVaioEvent(int)));
+ connect (mTimer, TQ_SIGNAL (timeout ()), TQ_SLOT (slotTimeout() ) );
mTimer->start (10000, true);
}
@@ -479,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");
@@ -546,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");