From 8f06b9a8882be84f3d0e5b0f5e3b8e51515e723f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 20 Jan 2013 00:14:45 -0600 Subject: Rename KApplication to TDEApplication to avoid conflicts with KDE4 --- noatun-plugins/nexscope/nex.cpp | 2 +- noatun-plugins/noatunmadness/madness.cpp | 4 ++-- noatun-plugins/oblique/selector.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'noatun-plugins') diff --git a/noatun-plugins/nexscope/nex.cpp b/noatun-plugins/nexscope/nex.cpp index 958ae13..0bcafbe 100644 --- a/noatun-plugins/nexscope/nex.cpp +++ b/noatun-plugins/nexscope/nex.cpp @@ -577,7 +577,7 @@ int main(int argc, char **argv) "charles@kde.org"); TDECmdLineArgs::init( argc, argv, &aboutData ); - KApplication app; + TDEApplication app; (new Control)->show(); diff --git a/noatun-plugins/noatunmadness/madness.cpp b/noatun-plugins/noatunmadness/madness.cpp index 6936889..32014f6 100644 --- a/noatun-plugins/noatunmadness/madness.cpp +++ b/noatun-plugins/noatunmadness/madness.cpp @@ -99,8 +99,8 @@ void Madness::scopeEvent(float *d, int size) int y=area.y(); - int dx=(int)((delta*lightness*(area.height()/10)/100))*(KApplication::random()%2 ? -1 : 1); - int dy=(int)((delta*lightness*(area.width()/10)/100))*(KApplication::random()%2 ? -1 : 1); + int dx=(int)((delta*lightness*(area.height()/10)/100))*(TDEApplication::random()%2 ? -1 : 1); + int dy=(int)((delta*lightness*(area.width()/10)/100))*(TDEApplication::random()%2 ? -1 : 1); if (dx < 0 && (x - dx < mWorkArea.left())) dx = -dx; diff --git a/noatun-plugins/oblique/selector.cpp b/noatun-plugins/oblique/selector.cpp index f28c333..b4af114 100644 --- a/noatun-plugins/oblique/selector.cpp +++ b/noatun-plugins/oblique/selector.cpp @@ -179,7 +179,7 @@ Item *RandomSelector::next() for (int tries=15; tries; tries--) { - int randomIndex = KApplication::random() % (mTree->playableItemCount()); + int randomIndex = TDEApplication::random() % (mTree->playableItemCount()); TreeItem *nowCurrent = randomItem(randomIndex, mTree->firstChild()); if (!nowCurrent) continue; -- cgit v1.2.1