Rename KCmd to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 580d345952
commit 78b4b738d3

@ -35,10 +35,10 @@ static const char description[] =
static const char version[] = "v1.0.1";
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "print", I18N_NOOP("Print the selected color to stdout"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};
int main(int argc, char *argv[])

@ -27,10 +27,10 @@ static const char description[] =
// INSERT A DESCRIPTION FOR YOUR APPLICATION HERE
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "+[File]", I18N_NOOP("File to open"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
// INSERT YOUR COMMANDLINE OPTIONS HERE
};

@ -15,14 +15,14 @@
#include "kviewshell.h"
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "u", 0, 0 },
{ "unique", I18N_NOOP("Check if the file is loaded in another KDVI.\nIf it is, bring up the other KDVI. Otherwise, load the file."), 0 },
{ "g", 0, 0 },
{ "goto <pagenumber>", I18N_NOOP("Navigate to this page"), 0 },
{ "+file(s)", I18N_NOOP("Files to load"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};

@ -1622,7 +1622,7 @@ void setFaxDefaults(){
static const char description[] =
I18N_NOOP("TDE G3/G4 Fax Viewer");
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{"f", 0, 0 },
{"fine", I18N_NOOP( "Fine resolution" ), 0 },
@ -1644,7 +1644,7 @@ static KCmdLineOptions options[] =
{"2" , I18N_NOOP( "Raw files are g3-2d" ), 0 },
{"4", I18N_NOOP( "Raw files are g4" ), 0 },
{"+file(s)", I18N_NOOP( "Fax file(s) to show" ), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};
int main (int argc, char **argv)

@ -15,7 +15,7 @@
#include "kviewshell.h"
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "unique", I18N_NOOP("Check if the file is loaded in another KFaxView instance.\nIf it is, bring up the other KFaxView. Otherwise, load the file."), 0 },
{ "g", 0, 0 },
@ -41,7 +41,7 @@ static KCmdLineOptions options[] =
{ "2" , I18N_NOOP("(obsolete)"), 0 },
{ "4", I18N_NOOP("(obsolete)"), 0 },
{ "+file(s)", I18N_NOOP("Files to load"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};

@ -28,7 +28,7 @@
#include "kgv_view.h"
#include "displayoptions.h"
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "page <page-no>", I18N_NOOP( "Page to open. Use --page=3 to show the third page, for example. Note that if the page does not exist, any other page may be displayed" ), "1" },
{ "scale <factor>", I18N_NOOP( "Magnification of the display" ), "1.0" },
@ -40,7 +40,7 @@ static KCmdLineOptions options[] =
// { "watch", I18N_NOOP( "Turns on watching of a file. This means that whenever the file changes while you are viewing it, kghostview automatically reloads it. This option (which can also be turned on in the menu) is especially useful if you are generating your files from latex or a similar tool." ), 0 },
// { "page-size", I18N_NOOP( "The page size.\nUse either something like \"A4\" or you can display exact pixel size width-height" ), "auto" }
{ "+[URL]", I18N_NOOP( "Location to open" ), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};
int main( int argc, char** argv )

@ -34,10 +34,10 @@
static const char description[] =
I18N_NOOP("TDE Icon Editor");
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "+[file(s)]" , I18N_NOOP("Icon file(s) to open"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};
int main(int argc, char **argv)

@ -48,10 +48,10 @@
#include <kolourpaintversion.h>
static const KCmdLineOptions cmdLineOptions [] =
static const TDECmdLineOptions cmdLineOptions [] =
{
{"+[file]", I18N_NOOP ("Image file to open"), 0},
KCmdLineLastOption
TDECmdLineLastOption
};

@ -62,11 +62,11 @@ static const char license[] =
"without including the source code for TQt in the source distribution.\n";
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "d ", I18N_NOOP("The SANE compatible device specification (e.g. umax:/dev/sg0)"), "" },
{ "g", I18N_NOOP("Gallery mode - do not connect to scanner"), "" },
KCmdLineLastOption
TDECmdLineLastOption
};

@ -23,10 +23,10 @@ I18N_NOOP("kpdf, a kde pdf viewer based on xpdf");
static const char version[] = "0.5.10";
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "+[URL]", I18N_NOOP("Document to open"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};
int main(int argc, char** argv)

@ -27,12 +27,12 @@
#include "version.h"
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "+[file]", I18N_NOOP( "File to open" ), 0 },
{ "no-opengl", I18N_NOOP( "Disables OpenGL rendering" ), 0 },
{ "no-dri", I18N_NOOP( "Disables direct rendering" ), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};
int main( int argc, char* argv[] )

@ -27,9 +27,9 @@ static const char freeFormText[] =
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
KCmdLineLastOption
TDECmdLineLastOption
// INSERT YOUR COMMANDLINE OPTIONS HERE
};

@ -33,7 +33,7 @@
static const char description[] =
I18N_NOOP("TDE Screenshot Utility");
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "c", 0, 0 },
{ "current", I18N_NOOP("Captures the window under the mouse on startup (instead of the desktop)"), 0 },

@ -13,10 +13,10 @@
using namespace KSVG;
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "+URL", I18N_NOOP("SVG file to open"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};
Worker::Worker(const KURL &url)

@ -4,10 +4,10 @@
#include <kaboutdata.h>
#include "SVGTestWidget.h"
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "+URL", I18N_NOOP("SVG file to open"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};
int main(int argc, char **argv)

@ -27,13 +27,13 @@
#include "kuickshow.h"
#include "version.h"
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "lastfolder", I18N_NOOP("Start in the last visited folder, not the "
"current working folder."), 0 },
{ "d", 0, 0 }, // short option for --lastdir
{ "+[files]", I18N_NOOP("Optional image filenames/urls to show"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};
extern "C" KDE_EXPORT int kdemain(int argc, char **argv)

@ -9,10 +9,10 @@ static const char description[] =
static const char version[] = "v0.1";
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "+[URL]", I18N_NOOP( "Image to open" ), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};
int main(int argc, char **argv)

@ -9,10 +9,10 @@ static const char description[] =
static const char version[] = "v0.1";
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "+[URL]", I18N_NOOP( "Image to open" ), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};
int main(int argc, char **argv)

@ -25,10 +25,10 @@
static const char description[] = I18N_NOOP( "TDE Image Viewer" );
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "+[URL]", I18N_NOOP( "Image to open" ), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};
extern "C" KDE_EXPORT int kdemain( int argc, char ** argv )

@ -16,7 +16,7 @@
#include "kviewshell.h"
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{
{ "u", 0, 0},
{ "unique", I18N_NOOP("Check if the file is loaded in another kviewshell.\nIf it is, bring up the other kviewshell. Otherwise, load the file."), 0 },
@ -25,7 +25,7 @@ static KCmdLineOptions options[] =
{ "g", 0, 0},
{ "goto <pagenumber>", I18N_NOOP("Navigate to this page"), 0 },
{ "+file(s)", I18N_NOOP("Files to load"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};

Loading…
Cancel
Save