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/home/kio_home.cpp | 4 ++-- kioslave/home/testhome.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kioslave/home') diff --git a/kioslave/home/kio_home.cpp b/kioslave/home/kio_home.cpp index eb9acd15a..3f307f6fd 100644 --- a/kioslave/home/kio_home.cpp +++ b/kioslave/home/kio_home.cpp @@ -40,11 +40,11 @@ static const KCmdLineOptions options[] = extern "C" { int KDE_EXPORT kdemain( int argc, char **argv ) { - // KApplication is necessary to use other ioslaves + // TDEApplication is necessary to use other ioslaves putenv(strdup("SESSION_MANAGER=")); TDECmdLineArgs::init(argc, argv, "kio_home", 0, 0, 0, 0); TDECmdLineArgs::addCmdLineOptions( options ); - KApplication app( false, false ); + TDEApplication app( false, false ); // We want to be anonymous even if we use DCOP app.dcopClient()->attach(); diff --git a/kioslave/home/testhome.cpp b/kioslave/home/testhome.cpp index e35b443c7..66b2df126 100644 --- a/kioslave/home/testhome.cpp +++ b/kioslave/home/testhome.cpp @@ -46,9 +46,9 @@ static bool check(const TQString& txt, TQString a, TQString b) int main(int argc, char *argv[]) { - KApplication::disableAutoDcopRegistration(); + TDEApplication::disableAutoDcopRegistration(); TDECmdLineArgs::init(argc,argv,"testhome", 0, 0, 0, 0); - KApplication app; + TDEApplication app; TestHome test; test.setup(); -- cgit v1.2.1