Rename KCmd to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 516ce728ff
commit 9a03aa40e3

@ -20,12 +20,12 @@
#include "application.h"
#include "toplevel.h"
static KCmdLineOptions knoptions[] =
static TDECmdLineOptions knoptions[] =
{
{ "c", 0, 0 },
{ "clipboard", I18N_NOOP("Define X11-clipboard content (selected text)"), 0 },
{ "+[word/phrase]", I18N_NOOP("Lookup the given word/phrase"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};

@ -47,10 +47,10 @@ static const char description[] = I18N_NOOP("An advanced download manager for TD
static const char version[] = KGETVERSION;
static KCmdLineOptions option[] = {
static TDECmdLineOptions option[] = {
{ "showDropTarget", I18N_NOOP("Start KGet with drop target"), 0 },
{"+[URL(s)]", I18N_NOOP("URL(s) to download"), 0},
KCmdLineLastOption
TDECmdLineLastOption
};
static void cleanup(void);

@ -25,11 +25,11 @@ static const char version[] = "0.3";
static const char description[] = I18N_NOOP("A frontend to the KNewsTicker configuration");
static const char copyright[] = I18N_NOOP("(c)2000, 2001 Frerich Raabe");
static const KCmdLineOptions options[] =
static const TDECmdLineOptions options[] =
{
{"a", 0, 0},
{"addrdf <url>", I18N_NOOP("Add the RDF/RSS file referenced by <url>"), 0},
KCmdLineLastOption
TDECmdLineLastOption
};
int main(int argc, char **argv)

@ -29,7 +29,7 @@
static const char description[] =
I18N_NOOP( "Kopete, the TDE Instant Messenger" );
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "noplugins", I18N_NOOP( "Do not load plugins. This option overrides all other options." ), 0 },
{ "noconnect", I18N_NOOP( "Disable auto-connection" ), 0 },
@ -44,7 +44,7 @@ static KCmdLineOptions options[] =
// { "url <url>", I18N_NOOP( "Load the given Kopete URL" ), 0 },
// { "!+[plugin]", I18N_NOOP( "Load specified plugins" ), 0 },
{ "!+[URL]", I18N_NOOP("URLs to pass to kopete / emoticon themes to install"), 0},
KCmdLineLastOption
TDECmdLineLastOption
};
int main( int argc, char *argv[] )

@ -30,14 +30,14 @@
static TQTextStream _out( stdout, IO_WriteOnly );
static KCmdLineOptions opts[] =
static TDECmdLineOptions opts[] =
{
{ "id <id>", I18N_NOOP("Config group to store password in"), "TestAccount" },
{ "set <new>", I18N_NOOP("Set password to new"), 0 },
{ "error", I18N_NOOP("Claim password was erroneous"), 0 },
{ "prompt <prompt>", I18N_NOOP("Password prompt"), "Enter a password" },
{ "image <filename>", I18N_NOOP("Image to display in password dialog"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};
using namespace Kopete;

@ -63,7 +63,7 @@ int main( int argc, char *argv[] )
{
TDEAboutData aboutData( "kopetewallettest", "kopetewallettest", "version" );
TDECmdLineArgs::init( argc, argv, &aboutData );
KCmdLineOptions opts[] = { {"+action",0,0}, KCmdLineLastOption };
TDECmdLineOptions opts[] = { {"+action",0,0}, TDECmdLineLastOption };
TDECmdLineArgs::addCmdLineOptions( opts );
TDEApplication app( "kopetewallettest" );

@ -25,7 +25,7 @@
static const char description[] = I18N_NOOP("SMPPPDClientTests");
static const char version[] = "0.1";
static KCmdLineOptions options[] = { KCmdLineLastOption };
static TDECmdLineOptions options[] = { TDECmdLineLastOption };
int main( int argc, char** argv ) {
TDEAboutData about("SMPPPDClientTests", I18N_NOOP("SMPPPDClientTests"), version, description,

@ -39,10 +39,10 @@ static const char description[] =
static const char version[] = "v0.0.2";
static KCmdLineOptions option[] =
static TDECmdLineOptions option[] =
{
{ "kppp", I18N_NOOP("Run in KPPP mode"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};

@ -65,7 +65,7 @@
static const char description[] =
I18N_NOOP("A dialer and front-end to pppd");
static const KCmdLineOptions options[] =
static const TDECmdLineOptions options[] =
{
{ "c <account_name>", I18N_NOOP("Connect using 'account_name'"), 0 },
{ "m <modem_name>", I18N_NOOP("Connect using 'modem_name'"), 0 },
@ -74,7 +74,7 @@ static const KCmdLineOptions options[] =
{ "r <rule_file>", I18N_NOOP("Check syntax of rule_file"), 0 },
{ "T", I18N_NOOP("Enable test-mode"), 0 },
{ "dev <device_name>", I18N_NOOP("Use the specified device"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};

@ -45,7 +45,7 @@ KWallet::Wallet *wallet = 0;
static const char description[] = I18N_NOOP("Remote desktop connection");
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "f", 0, 0 },
{ "fullscreen", I18N_NOOP("Start in fullscreen mode"), 0 },
@ -66,7 +66,7 @@ static KCmdLineOptions options[] =
{ "p", 0, 0 },
{ "password-file ", I18N_NOOP("Provide the password in a file"), 0 },
{ "+[host]", I18N_NOOP("The name of the host, e.g. 'localhost:1'"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};

@ -47,10 +47,10 @@ static const char description[] = I18N_NOOP("VNC-compatible server to share "
#define ARG_KINETD "kinetd"
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ ARG_KINETD " ", I18N_NOOP("Used for calling from kinetd"), 0},
KCmdLineLastOption
TDECmdLineLastOption
};
void checkKInetd(bool &kinetdAvailable, bool &krfbAvailable) {

@ -35,14 +35,14 @@ static const char description[] =
//TQDict<KSircTopLevel> TopList;
//TQDict<KSircMessageReceiver> TopList;
class KCmdLineOptions options[] =
class TDECmdLineOptions options[] =
{
{ "nick <nickname>", I18N_NOOP( "Nickname to use" ), 0 } ,
{ "server <server>", I18N_NOOP( "Server to connect to on startup" ), 0 },
{ "channel <#channel>", I18N_NOOP( "Channel to connect to on startup" ), 0 },
{ "o", 0, 0 },
{ "noautoconnect", I18N_NOOP( "Do not autoconnect on startup" ), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};
class KSircSessionManaged : public KSessionManaged

@ -60,11 +60,11 @@ class TimeoutDialog : public TQMessageBox {
{TQT_TQOBJECT(this)->killTimers (); done (Rejected);}
};
static KCmdLineOptions option[] =
static TDECmdLineOptions option[] =
{
{ "+user@host", I18N_NOOP("Caller identification"), 0 },
{ "+[callee]", I18N_NOOP("Name of the callee, if he doesn't exist on this system (we're taking his call)"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};
static const char description[] =

@ -52,12 +52,12 @@
#include "dnssd.h"
static const KCmdLineOptions options[] =
static const TDECmdLineOptions options[] =
{
{ "+protocol", I18N_NOOP( "Protocol name" ), 0 },
{ "+pool", I18N_NOOP( "Socket name" ), 0 },
{ "+app", I18N_NOOP( "Socket name" ), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};
ZeroConfProtocol::ZeroConfProtocol(const TQCString& protocol, const TQCString &pool_socket, const TQCString &app_socket)

@ -29,8 +29,8 @@ static const char description[] =
I18N_NOOP ("KWiFiManager - Wireless LAN Manager for TDE");
static KCmdLineOptions options[] = {
KCmdLineLastOption
static TDECmdLineOptions options[] = {
TDECmdLineLastOption
};
int

Loading…
Cancel
Save