From 31e5489c296e957aae6e52b077f296c72db7d223 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:31 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- krusader/krusader.cpp | 2 +- krusader/main.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/krusader/krusader.cpp b/krusader/krusader.cpp index e8cff4c..866992d 100644 --- a/krusader/krusader.cpp +++ b/krusader/krusader.cpp @@ -207,7 +207,7 @@ KAction *Krusader::actShowJSConsole = 0; Krusader::Krusader() : KParts::MainWindow(0,0,WType_TopLevel|WDestructiveClose|TQt::WStyle_ContextHelp), DCOPObject("Krusader-Interface"), status(NULL), sysTray( 0 ), isStarting( true ), isExiting( false ), directExit( false ) { // parse command line arguments - KCmdLineArgs * args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs * args = TDECmdLineArgs::parsedArgs(); kapp->ref(); // FIX: krusader exits at closing the viewer when minimized to tray diff --git a/krusader/main.cpp b/krusader/main.cpp index 4c4c32f..7b8482e 100644 --- a/krusader/main.cpp +++ b/krusader/main.cpp @@ -181,8 +181,8 @@ int main(int argc, char *argv[]) { aboutData.addCredit("Ivan Petrouchtchak","Ukrainian translation","connyosis@gmx.net",0); // Command line arguments ... - KCmdLineArgs::init( argc, argv, &aboutData ); - KCmdLineArgs::addCmdLineOptions( options ); // Add our own options. + TDECmdLineArgs::init( argc, argv, &aboutData ); + TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options. // check for command line arguments -- cgit v1.2.1