From 68a4fdfd2c2b70a7c22c4c6d6c916e604a0efac2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:28 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- lib/kofficecore/KoApplication.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/kofficecore/KoApplication.cpp') diff --git a/lib/kofficecore/KoApplication.cpp b/lib/kofficecore/KoApplication.cpp index b4cfd2c4c..5346ff0ab 100644 --- a/lib/kofficecore/KoApplication.cpp +++ b/lib/kofficecore/KoApplication.cpp @@ -73,7 +73,7 @@ KoApplication::KoApplication() // This gets called before entering KApplication::KApplication bool KoApplication::initHack() { - KCmdLineArgs::addCmdLineOptions( options, I18N_NOOP("KOffice"), "koffice", "kde" ); + TDECmdLineArgs::addCmdLineOptions( options, I18N_NOOP("KOffice"), "koffice", "kde" ); return true; } @@ -102,10 +102,10 @@ bool KoApplication::start() } // Get the command line arguments which we have to parse - KCmdLineArgs *args= KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args= TDECmdLineArgs::parsedArgs(); int argsCount = args->count(); - KCmdLineArgs *koargs = KCmdLineArgs::parsedArgs("koffice"); + TDECmdLineArgs *koargs = TDECmdLineArgs::parsedArgs("koffice"); TQCString dpiValues = koargs->getOption( "dpi" ); if ( !dpiValues.isEmpty() ) { int sep = dpiValues.find( TQRegExp( "[x, ]" ) ); -- cgit v1.2.3