From 32b66c9ae78f439199a6d281cc33218e57c5106d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:47 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- knode/knmainwidget.cpp | 2 +- knode/main.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'knode') diff --git a/knode/knmainwidget.cpp b/knode/knmainwidget.cpp index 701bee28..5b43de69 100644 --- a/knode/knmainwidget.cpp +++ b/knode/knmainwidget.cpp @@ -2199,7 +2199,7 @@ void KNMainWidget::editArticle() bool KNMainWidget::handleCommandLine() { bool doneSomething = false; - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if (args->count()>0) { KURL url=args->url(0); // we take only one URL openURL(url); diff --git a/knode/main.cpp b/knode/main.cpp index dd84d8f8..e433b543 100644 --- a/knode/main.cpp +++ b/knode/main.cpp @@ -29,8 +29,8 @@ int main(int argc, char* argv[]) { AboutData aboutData; - KCmdLineArgs::init( argc, argv, &aboutData ); - KCmdLineArgs::addCmdLineOptions( knode_options ); + TDECmdLineArgs::init( argc, argv, &aboutData ); + TDECmdLineArgs::addCmdLineOptions( knode_options ); KUniqueApplication::addCmdLineOptions(); if (!KNApplication::start()) -- cgit v1.2.3