summaryrefslogtreecommitdiffstats
path: root/libtdepim
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:47 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:47 -0600
commit32b66c9ae78f439199a6d281cc33218e57c5106d (patch)
treee92cf1651596c736188317c75eeb1ce5662d57bd /libtdepim
parentd29a9ff5829fa930c466b98cb93a4cbdd24b1fa2 (diff)
downloadtdepim-32b66c9ae78f439199a6d281cc33218e57c5106d.tar.gz
tdepim-32b66c9ae78f439199a6d281cc33218e57c5106d.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'libtdepim')
-rw-r--r--libtdepim/cfgc/autoexample.cpp2
-rw-r--r--libtdepim/cfgc/example.cpp2
-rw-r--r--libtdepim/komposer/core/tests/main.cpp6
-rw-r--r--libtdepim/komposer/core/tests/testkomposer.cpp2
-rw-r--r--libtdepim/komposer/core/tests/testmanager.cpp2
-rw-r--r--libtdepim/komposer/test/test.cpp2
-rw-r--r--libtdepim/tests/testaddresseelineedit.cpp2
-rw-r--r--libtdepim/tests/testaddresseeselector.cpp2
-rw-r--r--libtdepim/tests/testdateedit.cpp2
-rw-r--r--libtdepim/tests/testdistrlist.cpp2
-rw-r--r--libtdepim/tests/testkincidencechooser.cpp2
-rw-r--r--libtdepim/tests/testlinklocator.cpp2
-rw-r--r--libtdepim/tests/testwizard.cpp6
13 files changed, 17 insertions, 17 deletions
diff --git a/libtdepim/cfgc/autoexample.cpp b/libtdepim/cfgc/autoexample.cpp
index 45617e6f6..85ce92ed7 100644
--- a/libtdepim/cfgc/autoexample.cpp
+++ b/libtdepim/cfgc/autoexample.cpp
@@ -41,7 +41,7 @@ int main( int argc, char **argv )
KAboutData aboutData( "example", I18N_NOOP("autoconfig example"), "0.1" );
aboutData.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" );
- KCmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication app;
diff --git a/libtdepim/cfgc/example.cpp b/libtdepim/cfgc/example.cpp
index 4f818e900..bb3bd3947 100644
--- a/libtdepim/cfgc/example.cpp
+++ b/libtdepim/cfgc/example.cpp
@@ -37,7 +37,7 @@ int main( int argc, char **argv )
KAboutData aboutData( "example", I18N_NOOP("cfgc example"), "0.1" );
aboutData.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" );
- KCmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication app;
diff --git a/libtdepim/komposer/core/tests/main.cpp b/libtdepim/komposer/core/tests/main.cpp
index 4a33a2f13..2d394a228 100644
--- a/libtdepim/komposer/core/tests/main.cpp
+++ b/libtdepim/komposer/core/tests/main.cpp
@@ -39,12 +39,12 @@ static const KCmdLineOptions options[] =
int main( int argc, char** argv )
{
KAboutData aboutData( "tests","Test","0.1" );
- KCmdLineArgs::init( argc, argv, &aboutData );
- KCmdLineArgs::addCmdLineOptions( options );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
Q_UNUSED( args );
TestFactory t;
diff --git a/libtdepim/komposer/core/tests/testkomposer.cpp b/libtdepim/komposer/core/tests/testkomposer.cpp
index b7997e8c3..31462a7e3 100644
--- a/libtdepim/komposer/core/tests/testkomposer.cpp
+++ b/libtdepim/komposer/core/tests/testkomposer.cpp
@@ -7,7 +7,7 @@
int main( int argc, char **argv )
{
- KCmdLineArgs::init( argc, argv, "test", "test", "test", "0.1" );
+ TDECmdLineArgs::init( argc, argv, "test", "test", "test", "0.1" );
KApplication app;
Komposer::Core *core = new Komposer::Core();
diff --git a/libtdepim/komposer/core/tests/testmanager.cpp b/libtdepim/komposer/core/tests/testmanager.cpp
index 0fcba16b9..a9b06171d 100644
--- a/libtdepim/komposer/core/tests/testmanager.cpp
+++ b/libtdepim/komposer/core/tests/testmanager.cpp
@@ -44,7 +44,7 @@ void TestManager::slotPluginLoaded( Plugin *plugin )
int main( int argc, char **argv )
{
- KCmdLineArgs::init( argc, argv, "test", "test", "test", "0.1" );
+ TDECmdLineArgs::init( argc, argv, "test", "test", "test", "0.1" );
KApplication app;
TestManager manager( &app );
diff --git a/libtdepim/komposer/test/test.cpp b/libtdepim/komposer/test/test.cpp
index 62e95e100..c6cf91518 100644
--- a/libtdepim/komposer/test/test.cpp
+++ b/libtdepim/komposer/test/test.cpp
@@ -40,7 +40,7 @@ int main(int argc, char **argv)
KAboutData::License_GPL, "(C) 2001-2003 The Kontact developers", 0, "http://kontact.kde.org", "zack@kde.org" );
about.addAuthor( "Zack Rusin", 0, "zack@kde.org" );
- KCmdLineArgs::init( argc, argv, &about );
+ TDECmdLineArgs::init( argc, argv, &about );
KUniqueApplication app;
// see if we are starting with session management
diff --git a/libtdepim/tests/testaddresseelineedit.cpp b/libtdepim/tests/testaddresseelineedit.cpp
index 12eb3c6b1..201a1128d 100644
--- a/libtdepim/tests/testaddresseelineedit.cpp
+++ b/libtdepim/tests/testaddresseelineedit.cpp
@@ -30,7 +30,7 @@
int main(int argc, char* argv[])
{
KAboutData aboutData("testaddresseelineedit","Test AddresseeLineEdit","0.1");
- KCmdLineArgs::init(argc,argv,&aboutData);
+ TDECmdLineArgs::init(argc,argv,&aboutData);
KApplication app;
diff --git a/libtdepim/tests/testaddresseeselector.cpp b/libtdepim/tests/testaddresseeselector.cpp
index 6b910e4b9..7f1ae17d4 100644
--- a/libtdepim/tests/testaddresseeselector.cpp
+++ b/libtdepim/tests/testaddresseeselector.cpp
@@ -31,7 +31,7 @@
int main( int argc, char **argv )
{
KAboutData aboutData( "testaddresseeseletor", "Test AddresseeSelector", "0.1" );
- KCmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication app;
diff --git a/libtdepim/tests/testdateedit.cpp b/libtdepim/tests/testdateedit.cpp
index 4da2bb823..97f8408ab 100644
--- a/libtdepim/tests/testdateedit.cpp
+++ b/libtdepim/tests/testdateedit.cpp
@@ -54,7 +54,7 @@ void DateEdit::dateChanged( const TQDate &date )
int main(int argc,char **argv)
{
KAboutData aboutData( "testdateedit", "Test KDateEdit", "0.1" );
- KCmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication app;
diff --git a/libtdepim/tests/testdistrlist.cpp b/libtdepim/tests/testdistrlist.cpp
index 99edc235c..ae27b0547 100644
--- a/libtdepim/tests/testdistrlist.cpp
+++ b/libtdepim/tests/testdistrlist.cpp
@@ -47,7 +47,7 @@ int main(int argc, char *argv[])
setenv( "TDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup
KApplication::disableAutoDcopRegistration();
- KCmdLineArgs::init(argc,argv,"testdistrlist", 0, 0, 0, 0);
+ TDECmdLineArgs::init(argc,argv,"testdistrlist", 0, 0, 0, 0);
KApplication app( false, false );
TestDistrList test;
diff --git a/libtdepim/tests/testkincidencechooser.cpp b/libtdepim/tests/testkincidencechooser.cpp
index 1204f8dc2..eea14019e 100644
--- a/libtdepim/tests/testkincidencechooser.cpp
+++ b/libtdepim/tests/testkincidencechooser.cpp
@@ -29,7 +29,7 @@ using namespace KPIM;
int main( int argc, char **argv )
{
- KCmdLineArgs::init( argc, argv, "testkincidencechooser", 0,
+ TDECmdLineArgs::init( argc, argv, "testkincidencechooser", 0,
"KIncidenceChooserTest", "1.0",
"kincidencechooser test app" );
KApplication app;
diff --git a/libtdepim/tests/testlinklocator.cpp b/libtdepim/tests/testlinklocator.cpp
index 548f61a9b..1744904dd 100644
--- a/libtdepim/tests/testlinklocator.cpp
+++ b/libtdepim/tests/testlinklocator.cpp
@@ -60,7 +60,7 @@ static bool checkGetEmailAddress( const TQString & input,
int main(int argc, char *argv[])
{
KApplication::disableAutoDcopRegistration();
- KCmdLineArgs::init( argc, argv, "testlinklocator", 0, 0, 0, 0 );
+ TDECmdLineArgs::init( argc, argv, "testlinklocator", 0, 0, 0, 0 );
KApplication app( false, false );
// empty input
diff --git a/libtdepim/tests/testwizard.cpp b/libtdepim/tests/testwizard.cpp
index d9c9d806c..236636995 100644
--- a/libtdepim/tests/testwizard.cpp
+++ b/libtdepim/tests/testwizard.cpp
@@ -84,12 +84,12 @@ static const KCmdLineOptions options[] =
int main(int argc,char **argv)
{
KAboutData aboutData("testwizard","Test KConfigWizard","0.1");
- KCmdLineArgs::init(argc,argv,&aboutData);
- KCmdLineArgs::addCmdLineOptions( options );
+ TDECmdLineArgs::init(argc,argv,&aboutData);
+ TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
bool verbose = false;
if ( args->isSet( "verbose" ) ) verbose = true;