@ -30,7 +30,7 @@
#include <kcmdlineargs.h>
#include <kurl.h>
static const KCmdLineOptions options[] =
static const TDECmdLineOptions options[] =
{
{"silent", "Enable Parser debug output", 0},
{"!debug", "Disable output of the generated AST", 0},
@ -32,10 +32,10 @@ static const char description[] =
static const char version[] = "0.2";
static KCmdLineOptions options[] =
static TDECmdLineOptions options[] =
{ "+[URL]", I18N_NOOP( "Document to open" ), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};
int main(int argc, char **argv)
@ -13,9 +13,9 @@ static const char description[] =
static const char version[] = "0.1";
int main (int argc, char *argv[])
@ -12,10 +12,10 @@ static const char description[] =
static const char version[] = "%{VERSION}";
@ -18,7 +18,7 @@ int main(int argc, char **argv)
about.addAuthor( ki18n("%{AUTHOR}"), KLocalizedString(), "%{EMAIL}" );
TDECmdLineArgs::init(argc, argv, &about);
KCmdLineOptions options;
TDECmdLineOptions options;
options.add("+[URL]", ki18n( "Document to open" ));
TDECmdLineArgs::addCmdLineOptions(options);
TDEApplication app;
@ -11,10 +11,10 @@ static const char description[] =
// { "+[URL]", I18N_NOOP( "Document to open" ), 0 },
@ -9,10 +9,10 @@ static const char description[] = I18N_NOOP("A TDE Application");
@ -12,10 +12,10 @@
#include "%{APPNAMELC}_aboutdata.h"
static const KCmdLineOptions options[]=
static const TDECmdLineOptions options[]=
{"+[file]", I18N_NOOP("File to open"),0},
int main( int argc, char **argv )
@ -10,10 +10,10 @@ static const char description[] =
@ -13,10 +13,10 @@ I18N_NOOP("A simple tdemdi app");
static const char version[] = "0.0.1";
@ -443,11 +443,11 @@ void ProgressDialog::okClicked()
int main(int argc, char *argv[])
{ "c", I18N_NOOP( "Update user's htdig configuration file only" ), 0 },
{ "i", I18N_NOOP( "-c and generate index" ), 0 },
TDEAboutData aboutData("tdevelop-htdig", I18N_NOOP("TDevelop ht://Dig Indexer"),
@ -33,7 +33,7 @@ Example:
#include "myappextension.h"
{ "profile <profile>", I18N_NOOP("Profile to load"), 0 },
{ 0,0,0 }
@ -20,7 +20,7 @@
#include "kdevideextension.h"
{ "+file(s)", I18N_NOOP("Files to load"), 0 },
#include "kdevassistantextension.h"
/* { "+file(s)", I18N_NOOP("Files to load"), 0 },*/
@ -23,9 +23,9 @@
#include "profileeditor.h"