From e4e0479220e9e9616b68b2a11e42cff7a8af7b3d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 20 Jan 2013 00:17:06 -0600 Subject: Rename KApplication to TDEApplication to avoid conflicts with KDE4 --- kioslave/media/mounthelper/kio_media_mounthelper.cpp | 6 +++--- kioslave/media/mounthelper/kio_media_mounthelper.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kioslave/media/mounthelper') diff --git a/kioslave/media/mounthelper/kio_media_mounthelper.cpp b/kioslave/media/mounthelper/kio_media_mounthelper.cpp index 6289a85fc..23a207fab 100644 --- a/kioslave/media/mounthelper/kio_media_mounthelper.cpp +++ b/kioslave/media/mounthelper/kio_media_mounthelper.cpp @@ -61,7 +61,7 @@ const Medium MountHelper::findMedium(const KURL &url) } } -MountHelper::MountHelper() : KApplication() +MountHelper::MountHelper() : TDEApplication() { TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); @@ -269,10 +269,10 @@ int main(int argc, char **argv) TDECmdLineArgs::addCmdLineOptions( options ); KGlobal::locale()->setMainCatalogue("kio_media"); - KApplication::addCmdLineOptions(); + TDEApplication::addCmdLineOptions(); if (TDECmdLineArgs::parsedArgs()->count()==0) TDECmdLineArgs::usage(); - KApplication *app = new MountHelper(); + TDEApplication *app = new MountHelper(); KStartupInfo::appStarted(); app->dcopClient()->attach(); diff --git a/kioslave/media/mounthelper/kio_media_mounthelper.h b/kioslave/media/mounthelper/kio_media_mounthelper.h index 4779c75ec..ffb5d1dba 100644 --- a/kioslave/media/mounthelper/kio_media_mounthelper.h +++ b/kioslave/media/mounthelper/kio_media_mounthelper.h @@ -30,7 +30,7 @@ class Dialog; -class MountHelper : public KApplication +class MountHelper : public TDEApplication { Q_OBJECT public: -- cgit v1.2.1