summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-06 19:45:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-06 19:45:41 -0600
commit78b4b738d3bd15c2c820bb566c4725f7cea1ff8d (patch)
treeed9cc8dc203cf9cf98a1768602bef9caebc70763
parent580d345952faf597f69347256e0ad3411725988a (diff)
downloadtdegraphics-78b4b738d3bd15c2c820bb566c4725f7cea1ff8d.tar.gz
tdegraphics-78b4b738d3bd15c2c820bb566c4725f7cea1ff8d.zip
Rename KCmd to avoid conflicts with KDE4
-rw-r--r--kcoloredit/kcolorchooser.cpp4
-rw-r--r--kcoloredit/main.cpp4
-rw-r--r--kdvi/main.cpp4
-rw-r--r--kfax/kfax.cpp4
-rw-r--r--kfaxview/main.cpp4
-rw-r--r--kghostview/main.cpp4
-rw-r--r--kiconedit/main.cpp4
-rw-r--r--kolourpaint/kolourpaint.cpp4
-rw-r--r--kooka/main.cpp4
-rw-r--r--kpdf/shell/main.cpp4
-rw-r--r--kpovmodeler/main.cpp4
-rw-r--r--kruler/main.cpp4
-rw-r--r--ksnapshot/main.cpp2
-rw-r--r--ksvg/test/external/printnodetest.cpp4
-rw-r--r--ksvg/test/external/svgdisplay.cc4
-rw-r--r--kuickshow/src/main.cpp4
-rw-r--r--kview/kviewcanvas/test/main.cpp4
-rw-r--r--kview/kviewviewer/test/main.cpp4
-rw-r--r--kview/main.cpp4
-rw-r--r--kviewshell/main.cpp4
20 files changed, 39 insertions, 39 deletions
diff --git a/kcoloredit/kcolorchooser.cpp b/kcoloredit/kcolorchooser.cpp
index 350069d8..9e7e95e6 100644
--- a/kcoloredit/kcolorchooser.cpp
+++ b/kcoloredit/kcolorchooser.cpp
@@ -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[])
diff --git a/kcoloredit/main.cpp b/kcoloredit/main.cpp
index b9a091f4..f20effea 100644
--- a/kcoloredit/main.cpp
+++ b/kcoloredit/main.cpp
@@ -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
};
diff --git a/kdvi/main.cpp b/kdvi/main.cpp
index 51dc9306..f258e324 100644
--- a/kdvi/main.cpp
+++ b/kdvi/main.cpp
@@ -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
};
diff --git a/kfax/kfax.cpp b/kfax/kfax.cpp
index 1a3d2046..ecb8c285 100644
--- a/kfax/kfax.cpp
+++ b/kfax/kfax.cpp
@@ -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)
diff --git a/kfaxview/main.cpp b/kfaxview/main.cpp
index 70921c9c..9a7162c6 100644
--- a/kfaxview/main.cpp
+++ b/kfaxview/main.cpp
@@ -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
};
diff --git a/kghostview/main.cpp b/kghostview/main.cpp
index e777e15b..e3621342 100644
--- a/kghostview/main.cpp
+++ b/kghostview/main.cpp
@@ -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 )
diff --git a/kiconedit/main.cpp b/kiconedit/main.cpp
index 4b93c6bb..942b115c 100644
--- a/kiconedit/main.cpp
+++ b/kiconedit/main.cpp
@@ -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)
diff --git a/kolourpaint/kolourpaint.cpp b/kolourpaint/kolourpaint.cpp
index 6f2cbf8a..3c09535c 100644
--- a/kolourpaint/kolourpaint.cpp
+++ b/kolourpaint/kolourpaint.cpp
@@ -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
};
diff --git a/kooka/main.cpp b/kooka/main.cpp
index df42cc9f..997dba64 100644
--- a/kooka/main.cpp
+++ b/kooka/main.cpp
@@ -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
};
diff --git a/kpdf/shell/main.cpp b/kpdf/shell/main.cpp
index 5d8f0be0..7e491cce 100644
--- a/kpdf/shell/main.cpp
+++ b/kpdf/shell/main.cpp
@@ -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)
diff --git a/kpovmodeler/main.cpp b/kpovmodeler/main.cpp
index 12cbe719..bcc8b4e5 100644
--- a/kpovmodeler/main.cpp
+++ b/kpovmodeler/main.cpp
@@ -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[] )
diff --git a/kruler/main.cpp b/kruler/main.cpp
index 89096993..9b835be7 100644
--- a/kruler/main.cpp
+++ b/kruler/main.cpp
@@ -27,9 +27,9 @@ static const char freeFormText[] =
-static KCmdLineOptions options[] =
+static TDECmdLineOptions options[] =
{
- KCmdLineLastOption
+ TDECmdLineLastOption
// INSERT YOUR COMMANDLINE OPTIONS HERE
};
diff --git a/ksnapshot/main.cpp b/ksnapshot/main.cpp
index 8f03f2bf..72d3e3c4 100644
--- a/ksnapshot/main.cpp
+++ b/ksnapshot/main.cpp
@@ -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 },
diff --git a/ksvg/test/external/printnodetest.cpp b/ksvg/test/external/printnodetest.cpp
index 83ffafde..94206b19 100644
--- a/ksvg/test/external/printnodetest.cpp
+++ b/ksvg/test/external/printnodetest.cpp
@@ -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)
diff --git a/ksvg/test/external/svgdisplay.cc b/ksvg/test/external/svgdisplay.cc
index cf176bd1..fe14aa4a 100644
--- a/ksvg/test/external/svgdisplay.cc
+++ b/ksvg/test/external/svgdisplay.cc
@@ -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)
diff --git a/kuickshow/src/main.cpp b/kuickshow/src/main.cpp
index ed0ad319..e8df1417 100644
--- a/kuickshow/src/main.cpp
+++ b/kuickshow/src/main.cpp
@@ -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)
diff --git a/kview/kviewcanvas/test/main.cpp b/kview/kviewcanvas/test/main.cpp
index 4c6fa3f7..f4cebb29 100644
--- a/kview/kviewcanvas/test/main.cpp
+++ b/kview/kviewcanvas/test/main.cpp
@@ -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)
diff --git a/kview/kviewviewer/test/main.cpp b/kview/kviewviewer/test/main.cpp
index 5a562b08..5cf59deb 100644
--- a/kview/kviewviewer/test/main.cpp
+++ b/kview/kviewviewer/test/main.cpp
@@ -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)
diff --git a/kview/main.cpp b/kview/main.cpp
index 43b6d907..2b232ef0 100644
--- a/kview/main.cpp
+++ b/kview/main.cpp
@@ -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 )
diff --git a/kviewshell/main.cpp b/kviewshell/main.cpp
index a78f3620..a62b52e6 100644
--- a/kviewshell/main.cpp
+++ b/kviewshell/main.cpp
@@ -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
};