summaryrefslogtreecommitdiffstats
path: root/kicker-applets/mediacontrol
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:14:45 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:14:45 -0600
commit8f06b9a8882be84f3d0e5b0f5e3b8e51515e723f (patch)
tree153d468e6403953c97f22688905f76cedbe05f27 /kicker-applets/mediacontrol
parent4b5c71fdded4cfec525273c795bfb0b79bb8a5dd (diff)
downloadtdeaddons-8f06b9a8882be84f3d0e5b0f5e3b8e51515e723f.tar.gz
tdeaddons-8f06b9a8882be84f3d0e5b0f5e3b8e51515e723f.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'kicker-applets/mediacontrol')
-rw-r--r--kicker-applets/mediacontrol/playerInterface.cpp2
-rw-r--r--kicker-applets/mediacontrol/simplebutton.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/kicker-applets/mediacontrol/playerInterface.cpp b/kicker-applets/mediacontrol/playerInterface.cpp
index 9517aa8..564f783 100644
--- a/kicker-applets/mediacontrol/playerInterface.cpp
+++ b/kicker-applets/mediacontrol/playerInterface.cpp
@@ -26,7 +26,7 @@ PlayerInterface::~PlayerInterface() { } // Destructor
void PlayerInterface::startPlayer(const TQString &desktopname)
{
- if (KApplication::startServiceByDesktopName(desktopname, TQStringList(),
+ if (TDEApplication::startServiceByDesktopName(desktopname, TQStringList(),
0, 0, 0, "", false) > 0)
{
KMessageBox::error(0, i18n("Could not start media player."));
diff --git a/kicker-applets/mediacontrol/simplebutton.cpp b/kicker-applets/mediacontrol/simplebutton.cpp
index 0bc34b5..2706af2 100644
--- a/kicker-applets/mediacontrol/simplebutton.cpp
+++ b/kicker-applets/mediacontrol/simplebutton.cpp
@@ -47,7 +47,7 @@ SimpleButton::SimpleButton(TQWidget *parent, const char *name)
kapp->addKipcEventMask( KIPC::SettingsChanged );
kapp->addKipcEventMask( KIPC::IconChanged );
- slotSettingsChanged( KApplication::SETTINGS_MOUSE );
+ slotSettingsChanged( TDEApplication::SETTINGS_MOUSE );
}
void SimpleButton::setPixmap(const TQPixmap &pix)
@@ -142,7 +142,7 @@ void SimpleButton::generateIcons()
void SimpleButton::slotSettingsChanged(int category)
{
- if (category != KApplication::SETTINGS_MOUSE)
+ if (category != TDEApplication::SETTINGS_MOUSE)
{
return;
}