summaryrefslogtreecommitdiffstats
path: root/khelpcenter
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-19 18:46:43 -0600
committerTimothy Pearson <[email protected]>2013-01-19 18:46:43 -0600
commitd41050ea3f6904e5156d35f664346b816b9e4d12 (patch)
tree7b3ff517432a631adc61a2a93080dc3bacfab604 /khelpcenter
parentc16d0f2191af1e4810391dbd1a06d7713fb38666 (diff)
downloadtdebase-d41050ea3f6904e5156d35f664346b816b9e4d12.tar.gz
tdebase-d41050ea3f6904e5156d35f664346b816b9e4d12.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'khelpcenter')
-rw-r--r--khelpcenter/application.cpp6
-rw-r--r--khelpcenter/htmlsearch/index.cpp6
-rw-r--r--khelpcenter/khc_indexbuilder.cpp6
-rw-r--r--khelpcenter/testmetainfo.cpp2
4 files changed, 10 insertions, 10 deletions
diff --git a/khelpcenter/application.cpp b/khelpcenter/application.cpp
index a15f77cd6..89a664d1c 100644
--- a/khelpcenter/application.cpp
+++ b/khelpcenter/application.cpp
@@ -35,7 +35,7 @@ int Application::newInstance()
{
if (restoringSession()) return 0;
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
KURL url;
if ( args->count() )
@@ -74,8 +74,8 @@ extern "C" int KDE_EXPORT kdemain( int argc, char **argv )
aboutData.addAuthor( "Wojciech Smigaj", I18N_NOOP("Info page support"),
- KCmdLineArgs::init( argc, argv, &aboutData );
- KCmdLineArgs::addCmdLineOptions( options );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::addCmdLineOptions( options );
KApplication::addCmdLineOptions();
KHC::Application app;
diff --git a/khelpcenter/htmlsearch/index.cpp b/khelpcenter/htmlsearch/index.cpp
index 4b1642fa5..77bf2d62d 100644
--- a/khelpcenter/htmlsearch/index.cpp
+++ b/khelpcenter/htmlsearch/index.cpp
@@ -19,13 +19,13 @@ int main(int argc, char *argv[])
"",
I18N_NOOP("TDE Index generator for help files."));
- KCmdLineArgs::init(argc, argv, &aboutData);
- KCmdLineArgs::addCmdLineOptions( options );
+ TDECmdLineArgs::init(argc, argv, &aboutData);
+ TDECmdLineArgs::addCmdLineOptions( options );
KGlobal::locale()->setMainCatalogue("htmlsearch");
KApplication app;
HTMLSearch search;
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
search.generateIndex(args->getOption("lang"));
}
diff --git a/khelpcenter/khc_indexbuilder.cpp b/khelpcenter/khc_indexbuilder.cpp
index 63231fe9f..ca12b5b91 100644
--- a/khelpcenter/khc_indexbuilder.cpp
+++ b/khelpcenter/khc_indexbuilder.cpp
@@ -179,13 +179,13 @@ int main( int argc, char **argv )
aboutData.addAuthor( "Cornelius Schumacher", 0, "[email protected]" );
- KCmdLineArgs::init( argc, argv, &aboutData );
- KCmdLineArgs::addCmdLineOptions( options );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::addCmdLineOptions( options );
KUniqueApplication::addCmdLineOptions();
KApplication app;
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if ( args->count() != 2 ) {
kdDebug(1402) << "Wrong number of arguments." << endl;
diff --git a/khelpcenter/testmetainfo.cpp b/khelpcenter/testmetainfo.cpp
index 5e0a4e208..13b0e1800 100644
--- a/khelpcenter/testmetainfo.cpp
+++ b/khelpcenter/testmetainfo.cpp
@@ -89,7 +89,7 @@ class AsyncTraverser : public DocEntryTraverser
int main(int argc,char **argv)
{
KAboutData aboutData("testmetainfo","TestDocMetaInfo","0.1");
- KCmdLineArgs::init(argc,argv,&aboutData);
+ TDECmdLineArgs::init(argc,argv,&aboutData);
KApplication app;