Rename KCmd to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 11 years ago
parent fc02f656b0
commit 9b49f198f2

@ -903,10 +903,10 @@ void ArtsBuilderApp::end()
/*************************************************************/
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "+[file]", I18N_NOOP("Optional .arts file to be loaded"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};
#ifdef COMMON_BINARY

@ -41,10 +41,10 @@ static const char allan[] = I18N_NOOP("FLAC and MPC support");
static const char nathan[] = I18N_NOOP("Album cover manager");
static const char pascal[] = I18N_NOOP("Gimper of splash screen");
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "+[file(s)]", I18N_NOOP("File(s) to open"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};
int main(int argc, char *argv[])

@ -33,13 +33,13 @@ void noMessageOutput(TQtMsgType, const char *)
{
}
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "+[URL]", I18N_NOOP("URL to open"), 0 },
#ifndef NDEBUG
{ "qdebug", I18N_NOOP("Turn on TQt Debug output"), 0 },
#endif
KCmdLineLastOption
TDECmdLineLastOption
};
int main(int argc, char **argv)

@ -24,9 +24,9 @@
#include <kcmdlineargs.h>
#include <kaboutdata.h>
static const KCmdLineOptions options[] = {
static const TDECmdLineOptions options[] = {
{"+[device]",I18N_NOOP( "CD device, can be a path or a media:/ URL" ),0},
KCmdLineLastOption
TDECmdLineLastOption
};

@ -36,13 +36,13 @@
static const char description[] =
I18N_NOOP("kmixctrl - kmix volume save/restore utility");
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "s", 0, 0 },
{ "save", I18N_NOOP("Save current volumes as default"), 0 },
{ "r", 0, 0 },
{ "restore", I18N_NOOP("Restore default volumes"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
// INSERT YOUR COMMANDLINE OPTIONS HERE
};

@ -31,9 +31,9 @@
static const char description[] =
I18N_NOOP("KMix - TDE's full featured mini mixer");
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
KCmdLineLastOption
TDECmdLineLastOption
// INSERT YOUR COMMANDLINE OPTIONS HERE
};

@ -34,9 +34,9 @@ and you will find it there accepting sound\n\
for recording."
);
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
KCmdLineLastOption
TDECmdLineLastOption
// INSERT YOUR COMMANDLINE OPTIONS HERE
};

@ -1591,12 +1591,12 @@ void KSCD::populateSongList(TQString infoStatus)
emit trackChanged(m_cd->track(), m_cd->trackLength());
}
static const KCmdLineOptions options[] =
static const TDECmdLineOptions options[] =
{
{"s",0,0},
{"start",I18N_NOOP("Start playing"),0},
{"+[device]",I18N_NOOP("CD device, can be a path or a media:/ URL"),0},
KCmdLineLastOption
TDECmdLineLastOption
};

@ -8,10 +8,10 @@
static const char description[] = I18N_NOOP("The Fusion of Frequencies");
static const char version[] = NOATUN_VERSION;
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "+[URL]", I18N_NOOP("Files/URLs to open"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};
extern "C" KDE_EXPORT int kdemain(int argc, char **argv)

@ -65,12 +65,12 @@ using namespace KCDDB;
using namespace AudioCD;
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
};
int kdemain(int argc, char ** argv)

@ -58,10 +58,10 @@ int main(int argc, char **argv)
TDECmdLineArgs::init(argc, argv, KMidFactory::aboutData() );
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "+file", I18N_NOOP("File to open"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};
TDECmdLineArgs::addCmdLineOptions(options);

Loading…
Cancel
Save