summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-19 18:46:27 -0600
committerTimothy Pearson <[email protected]>2013-01-19 18:46:27 -0600
commitd9f2e70b9379766e6b0fe575e736d1da9c95b0c8 (patch)
treeff50212174f70dc7309f3055ff1a8f7311d0a1e7
parent3f685fc23fd2ae8434399e6a45861b1472331572 (diff)
downloadkmyfirewall-d9f2e70b9379766e6b0fe575e736d1da9c95b0c8.tar.gz
kmyfirewall-d9f2e70b9379766e6b0fe575e736d1da9c95b0c8.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
-rw-r--r--KMFIPTInterface/main.cpp4
-rw-r--r--KMFSysTray/main.cpp4
-rw-r--r--kmyfirewall/kmyfirewall.cpp2
-rw-r--r--kmyfirewall/main.cpp4
4 files changed, 7 insertions, 7 deletions
diff --git a/KMFIPTInterface/main.cpp b/KMFIPTInterface/main.cpp
index fbb2b78..305f29c 100644
--- a/KMFIPTInterface/main.cpp
+++ b/KMFIPTInterface/main.cpp
@@ -44,8 +44,8 @@ int main ( int argc, char *argv[] ) {
KAboutData::License_GPL, "(C) 2001, Christian Hubinger" );
aboutdata.addAuthor( "Christian Hubinger", I18N_NOOP( "Developer" ), "[email protected]" );
- KCmdLineArgs::init( argc, argv, &aboutdata );
- KCmdLineArgs::addCmdLineOptions( options );
+ TDECmdLineArgs::init( argc, argv, &aboutdata );
+ TDECmdLineArgs::addCmdLineOptions( options );
KUniqueApplication::addCmdLineOptions();
kdDebug() << "Starting up...!" << endl;
if ( ! KUniqueApplication::start() ) {
diff --git a/KMFSysTray/main.cpp b/KMFSysTray/main.cpp
index ef9b9d9..bfeea63 100644
--- a/KMFSysTray/main.cpp
+++ b/KMFSysTray/main.cpp
@@ -45,8 +45,8 @@ int main( int argc, char *argv[] ) {
COPYRIGHT_STRING, 0, 0, "[email protected]" );
aboutData.addAuthor( "Christian Hubinger", 0, "[email protected]" );
aboutData.setHomepage( "http://kmyfirewall.sourceforge.net" );
- KCmdLineArgs::init( argc, argv, &aboutData );
- KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
+ TDECmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication a;
// Details *mainWid = new Details( 0 );
diff --git a/kmyfirewall/kmyfirewall.cpp b/kmyfirewall/kmyfirewall.cpp
index 94ad1d6..4c0d74e 100644
--- a/kmyfirewall/kmyfirewall.cpp
+++ b/kmyfirewall/kmyfirewall.cpp
@@ -169,7 +169,7 @@ KMyFirewall::~KMyFirewall() {}
//############ Parse CommandLine #####################
void KMyFirewall::parseCommandLineArgs() {
kdDebug() << "############ Parse CommandLine ###############" << endl;
- KCmdLineArgs * args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs * args = TDECmdLineArgs::parsedArgs();
diff --git a/kmyfirewall/main.cpp b/kmyfirewall/main.cpp
index d923428..0eec9c2 100644
--- a/kmyfirewall/main.cpp
+++ b/kmyfirewall/main.cpp
@@ -54,8 +54,8 @@ int main( int argc, char *argv[] ) {
aboutData.addCredit( "Christian Deschka", I18N_NOOP("Artwork"), "[email protected]" );
aboutData.addCredit( "Anton Frennevi", I18N_NOOP("Artwork"), "[email protected]" );
aboutData.setHomepage( "http://kmyfirewall.sourceforge.net" );
- KCmdLineArgs::init( argc, argv, &aboutData );
- KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
+ TDECmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KMF::KMFApp a;