From d41050ea3f6904e5156d35f664346b816b9e4d12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:43 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- kioslave/home/kio_home.cpp | 6 +++--- kioslave/home/testhome.cpp | 2 +- 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 c8a77acc5..eb9acd15a 100644 --- a/kioslave/home/kio_home.cpp +++ b/kioslave/home/kio_home.cpp @@ -42,13 +42,13 @@ extern "C" { { // KApplication is necessary to use other ioslaves putenv(strdup("SESSION_MANAGER=")); - KCmdLineArgs::init(argc, argv, "kio_home", 0, 0, 0, 0); - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::init(argc, argv, "kio_home", 0, 0, 0, 0); + TDECmdLineArgs::addCmdLineOptions( options ); KApplication app( false, false ); // We want to be anonymous even if we use DCOP app.dcopClient()->attach(); - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); HomeProtocol slave( args->arg(0), args->arg(1), args->arg(2) ); slave.dispatchLoop(); return 0; diff --git a/kioslave/home/testhome.cpp b/kioslave/home/testhome.cpp index 61e7d9fa6..e35b443c7 100644 --- a/kioslave/home/testhome.cpp +++ b/kioslave/home/testhome.cpp @@ -47,7 +47,7 @@ static bool check(const TQString& txt, TQString a, TQString b) int main(int argc, char *argv[]) { KApplication::disableAutoDcopRegistration(); - KCmdLineArgs::init(argc,argv,"testhome", 0, 0, 0, 0); + TDECmdLineArgs::init(argc,argv,"testhome", 0, 0, 0, 0); KApplication app; TestHome test; -- cgit v1.2.1