From 024ff8e11434010d878e12ec57f6edfa8483e47b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 6 Feb 2013 19:34:07 -0600 Subject: [PATCH] Rename KCmd to avoid conflicts with KDE4 --- KMFIPTInterface/main.cpp | 4 ++-- KMFSysTray/main.cpp | 2 +- kmyfirewall/main.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/KMFIPTInterface/main.cpp b/KMFIPTInterface/main.cpp index 12334df..83d5ca8 100644 --- a/KMFIPTInterface/main.cpp +++ b/KMFIPTInterface/main.cpp @@ -32,9 +32,9 @@ static const char description[] = static const char version[] = "0.1"; -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { - KCmdLineLastOption + TDECmdLineLastOption }; int main ( int argc, char *argv[] ) { diff --git a/KMFSysTray/main.cpp b/KMFSysTray/main.cpp index 7a16c0a..9c3c6e3 100644 --- a/KMFSysTray/main.cpp +++ b/KMFSysTray/main.cpp @@ -33,7 +33,7 @@ static const char description[] = I18N_NOOP( "KMFSysTray - IPTables monitor" ); -static KCmdLineOptions options[] = { +static TDECmdLineOptions options[] = { { "+[URL]", I18N_NOOP( "Files/URLs to Open." ), 0 }, { "--test ", I18N_NOOP("A short option which takes an argument."), 0 }, { 0, 0, 0} diff --git a/kmyfirewall/main.cpp b/kmyfirewall/main.cpp index dd4f5a9..35a577c 100644 --- a/kmyfirewall/main.cpp +++ b/kmyfirewall/main.cpp @@ -35,11 +35,11 @@ static const char description[] = I18N_NOOP( "KMyFirewall - IPTables configuration tool" ); -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "+[URL]", I18N_NOOP( "Files/URLs to Open." ), 0 }, { "i ", I18N_NOOP("Select the interface to use at startup. Use 'iptables' for the iptables/netfilter interface or 'generic' for the generic GUI. By default the interface selection dialog is shown if the user did not specify to allways use one of the interfaces by default."), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; int main( int argc, char *argv[] ) {