Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 03646332ca
commit 2bcacec247

@ -999,8 +999,8 @@ return a.exec();
3 KAboutData about("kscribble", I18N_NOOP("KScribble"), version, description, 3 KAboutData about("kscribble", I18N_NOOP("KScribble"), version, description,
4 KAboutData::License_GPL, "(C) 2002 Dit Navn", 0, 0, "du@du.se"); 4 KAboutData::License_GPL, "(C) 2002 Dit Navn", 0, 0, "du@du.se");
5 about.addAuthor( "Dit Navn", 0, "du@du.se" ); 5 about.addAuthor( "Dit Navn", 0, "du@du.se" );
6 KCmdLineArgs::init(argc, argv, &about); 6 TDECmdLineArgs::init(argc, argv, &about);
7 KCmdLineArgs::addCmdLineOptions(options); 7 TDECmdLineArgs::addCmdLineOptions(options);
8 TDEApplication app; 8 TDEApplication app;
9 9
10 // registrer os som en DCOP-klient 10 // registrer os som en DCOP-klient
@ -1012,7 +1012,7 @@ return a.exec();
16 else 16 else
17 { 17 {
18 // ingen session.. start kun som almindeligt 18 // ingen session.. start kun som almindeligt
19 KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); 19 TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
20 if (args->count() == 0) 20 if (args->count() == 0)
21 { 21 {
22 KScribble *widget = new KScribble; 22 KScribble *widget = new KScribble;

@ -184,8 +184,8 @@
<listitem <listitem
><formalpara ><formalpara
><title ><title
><ulink url="kdeapi:tdecore/KCmdLineArgs" ><ulink url="kdeapi:tdecore/TDECmdLineArgs"
>KCmdLineArgs</ulink >TDECmdLineArgs</ulink
></title> ></title>
<para <para
>Behandling af kommandolinjeflag. </para> >Behandling af kommandolinjeflag. </para>

@ -1005,8 +1005,8 @@ return a.exec();
3 KAboutData about("kscribble", I18N_NOOP("KScribble"), version, description, 3 KAboutData about("kscribble", I18N_NOOP("KScribble"), version, description,
4 KAboutData::License_GPL, "(C) 2002 Su nombre", 0, 0, "you@you.com"); 4 KAboutData::License_GPL, "(C) 2002 Su nombre", 0, 0, "you@you.com");
5 about.addAuthor( "Your Name", 0, "you@you.com" ); 5 about.addAuthor( "Your Name", 0, "you@you.com" );
6 KCmdLineArgs::init(argc, argv, &amp;about); 6 TDECmdLineArgs::init(argc, argv, &amp;about);
7 KCmdLineArgs::addCmdLineOptions(options); 7 TDECmdLineArgs::addCmdLineOptions(options);
8 TDEApplication app; 8 TDEApplication app;
9 9
10 // registrarnos como cliente dcop 10 // registrarnos como cliente dcop
@ -1018,7 +1018,7 @@ return a.exec();
16 else 16 else
17 { 17 {
18 // sin sesión... comenzar de modo normal 18 // sin sesión... comenzar de modo normal
19 KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); 19 TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
20 if (args->count() == 0) 20 if (args->count() == 0)
21 { 21 {
22 KScribble *widget = new KScribble; 22 KScribble *widget = new KScribble;

@ -184,8 +184,8 @@
<listitem <listitem
><formalpara ><formalpara
><title ><title
><ulink url="kdeapi:tdecore/KCmdLineArgs" ><ulink url="kdeapi:tdecore/TDECmdLineArgs"
>KCmdLineArgs</ulink >TDECmdLineArgs</ulink
></title> ></title>
<para <para
>Procesamiento de argumentos de la línea de órdenes. </para> >Procesamiento de argumentos de la línea de órdenes. </para>

@ -999,8 +999,8 @@ return a.exec();
3 KAboutData about("kscribble", I18N_NOOP("KScribble"), version, description, 3 KAboutData about("kscribble", I18N_NOOP("KScribble"), version, description,
4 KAboutData::License_GPL, "(C) 2002 Sinu nimi", 0, 0, "sina@sina.ee"); 4 KAboutData::License_GPL, "(C) 2002 Sinu nimi", 0, 0, "sina@sina.ee");
5 about.addAuthor( "Sinu nimi", 0, "sina@sina.ee" ); 5 about.addAuthor( "Sinu nimi", 0, "sina@sina.ee" );
6 KCmdLineArgs::init(argc, argv, &amp;about); 6 TDECmdLineArgs::init(argc, argv, &amp;about);
7 KCmdLineArgs::addCmdLineOptions(options); 7 TDECmdLineArgs::addCmdLineOptions(options);
8 TDEApplication app; 8 TDEApplication app;
9 9
10 // register ourselves as a dcop client 10 // register ourselves as a dcop client
@ -1012,7 +1012,7 @@ return a.exec();
16 else 16 else
17 { 17 {
18 // no session.. just start up normally 18 // no session.. just start up normally
19 KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); 19 TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
20 if (args->count() == 0) 20 if (args->count() == 0)
21 { 21 {
22 KScribble *widget = new KScribble; 22 KScribble *widget = new KScribble;

@ -184,8 +184,8 @@
<listitem <listitem
><formalpara ><formalpara
><title ><title
><ulink url="kdeapi:tdecore/KCmdLineArgs" ><ulink url="kdeapi:tdecore/TDECmdLineArgs"
>KCmdLineArgs</ulink >TDECmdLineArgs</ulink
></title> ></title>
<para <para
>Käsurea argumentide töötlemine. </para> >Käsurea argumentide töötlemine. </para>

@ -184,8 +184,8 @@
<listitem <listitem
><formalpara ><formalpara
><title ><title
><ulink url="kdeapi:tdecore/KCmdLineArgs" ><ulink url="kdeapi:tdecore/TDECmdLineArgs"
>KCmdLineArgs</ulink >TDECmdLineArgs</ulink
></title> ></title>
<para <para
>Traitement des arguments en ligne de commande. </para> >Traitement des arguments en ligne de commande. </para>

@ -997,8 +997,8 @@ return a.exec();
3 KAboutData about("kscribble", I18N_NOOP("KScribble"), version, description, 3 KAboutData about("kscribble", I18N_NOOP("KScribble"), version, description,
4 KAboutData::License_GPL, "(C) 2002 Your Name", 0, 0, "you@you.com"); 4 KAboutData::License_GPL, "(C) 2002 Your Name", 0, 0, "you@you.com");
5 about.addAuthor( "Your Name", 0, "you@you.com" ); 5 about.addAuthor( "Your Name", 0, "you@you.com" );
6 KCmdLineArgs::init(argc, argv, &amp;about); 6 TDECmdLineArgs::init(argc, argv, &amp;about);
7 KCmdLineArgs::addCmdLineOptions(options); 7 TDECmdLineArgs::addCmdLineOptions(options);
8 TDEApplication app; 8 TDEApplication app;
9 9
10 // register ourselves as a dcop client 10 // register ourselves as a dcop client
@ -1010,7 +1010,7 @@ return a.exec();
16 else 16 else
17 { 17 {
18 // no session.. just start up normally 18 // no session.. just start up normally
19 KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); 19 TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
20 if (args->count() == 0) 20 if (args->count() == 0)
21 { 21 {
22 KScribble *widget = new KScribble; 22 KScribble *widget = new KScribble;

@ -184,8 +184,8 @@
<listitem <listitem
><formalpara ><formalpara
><title ><title
><ulink url="kdeapi:tdecore/KCmdLineArgs" ><ulink url="kdeapi:tdecore/TDECmdLineArgs"
>KCmdLineArgs</ulink >TDECmdLineArgs</ulink
></title> ></title>
<para <para
>Elabora gli argomenti a linea di comando. </para> >Elabora gli argomenti a linea di comando. </para>

@ -1005,8 +1005,8 @@ return a.exec();
3 KAboutData about("kscribble", I18N_NOOP("KScribble"), version, description, 3 KAboutData about("kscribble", I18N_NOOP("KScribble"), version, description,
4 KAboutData::License_GPL, "(C) 2002 O Seu Nome", 0, 0, "voce@o-proprio.com"); 4 KAboutData::License_GPL, "(C) 2002 O Seu Nome", 0, 0, "voce@o-proprio.com");
5 about.addAuthor( "O Seu Nome", 0, "voce@o-proprio.com" ); 5 about.addAuthor( "O Seu Nome", 0, "voce@o-proprio.com" );
6 KCmdLineArgs::init(argc, argv, &amp;about); 6 TDECmdLineArgs::init(argc, argv, &amp;about);
7 KCmdLineArgs::addCmdLineOptions(options); 7 TDECmdLineArgs::addCmdLineOptions(options);
8 TDEApplication app; 8 TDEApplication app;
9 9
10 // registar-nos como um cliente dcop 10 // registar-nos como um cliente dcop
@ -1018,7 +1018,7 @@ return a.exec();
16 else 16 else
17 { 17 {
18 // sem sessão... começar normalmente 18 // sem sessão... começar normalmente
19 KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); 19 TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
20 if (args->count() == 0) 20 if (args->count() == 0)
21 { 21 {
22 KScribble *widget = new KScribble; 22 KScribble *widget = new KScribble;

@ -184,8 +184,8 @@
<listitem <listitem
><formalpara ><formalpara
><title ><title
><ulink url="kdeapi:tdecore/KCmdLineArgs" ><ulink url="kdeapi:tdecore/TDECmdLineArgs"
>KCmdLineArgs</ulink >TDECmdLineArgs</ulink
></title> ></title>
<para <para
>Processamento de argumentos da linha de comandos. </para> >Processamento de argumentos da linha de comandos. </para>

@ -997,8 +997,8 @@ return a.exec();
3 KAboutData about("kscribble", I18N_NOOP("KScribble"), version, description, 3 KAboutData about("kscribble", I18N_NOOP("KScribble"), version, description,
4 KAboutData::License_GPL, "(C) 2002 Your Name", 0, 0, "you@you.com"); 4 KAboutData::License_GPL, "(C) 2002 Your Name", 0, 0, "you@you.com");
5 about.addAuthor( "Your Name", 0, "you@you.com" ); 5 about.addAuthor( "Your Name", 0, "you@you.com" );
6 KCmdLineArgs::init(argc, argv, &amp;about); 6 TDECmdLineArgs::init(argc, argv, &amp;about);
7 KCmdLineArgs::addCmdLineOptions(options); 7 TDECmdLineArgs::addCmdLineOptions(options);
8 TDEApplication app; 8 TDEApplication app;
9 9
10 // register ourselves as a dcop client 10 // register ourselves as a dcop client
@ -1010,7 +1010,7 @@ return a.exec();
16 else 16 else
17 { 17 {
18 // no session.. just start up normally 18 // no session.. just start up normally
19 KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); 19 TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
20 if (args->count() == 0) 20 if (args->count() == 0)
21 { 21 {
22 KScribble *widget = new KScribble; 22 KScribble *widget = new KScribble;

@ -184,8 +184,8 @@
<listitem <listitem
><formalpara ><formalpara
><title ><title
><ulink url="kdeapi:tdecore/KCmdLineArgs" ><ulink url="kdeapi:tdecore/TDECmdLineArgs"
>KCmdLineArgs</ulink >TDECmdLineArgs</ulink
></title> ></title>
<para <para
>Обработка ключей командной строки. </para> >Обработка ключей командной строки. </para>

@ -999,8 +999,8 @@ return a.exec();
3 KAboutData about("kscribble", I18N_NOOP("KScribble"), version, description, 3 KAboutData about("kscribble", I18N_NOOP("KScribble"), version, description,
4 KAboutData::License_GPL, "(C) 2002 Ditt Namn", 0, 0, "du@du.se"); 4 KAboutData::License_GPL, "(C) 2002 Ditt Namn", 0, 0, "du@du.se");
5 about.addAuthor( "Ditt Namn", 0, "du@du.se" ); 5 about.addAuthor( "Ditt Namn", 0, "du@du.se" );
6 KCmdLineArgs::init(argc, argv, &amp;about); 6 TDECmdLineArgs::init(argc, argv, &amp;about);
7 KCmdLineArgs::addCmdLineOptions(options); 7 TDECmdLineArgs::addCmdLineOptions(options);
8 TDEApplication app; 8 TDEApplication app;
9 9
10 // registrera oss som en DCOP-klient 10 // registrera oss som en DCOP-klient
@ -1012,7 +1012,7 @@ return a.exec();
16 else 16 else
17 { 17 {
18 // ingen session.. starta bara som vanligt 18 // ingen session.. starta bara som vanligt
19 KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); 19 TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
20 if (args->count() == 0) 20 if (args->count() == 0)
21 { 21 {
22 KScribble *widget = new KScribble; 22 KScribble *widget = new KScribble;

@ -184,8 +184,8 @@
<listitem <listitem
><formalpara ><formalpara
><title ><title
><ulink url="kdeapi:tdecore/KCmdLineArgs" ><ulink url="kdeapi:tdecore/TDECmdLineArgs"
>KCmdLineArgs</ulink >TDECmdLineArgs</ulink
></title> ></title>
<para <para
>Behandling av kommandoradsväljare. </para> >Behandling av kommandoradsväljare. </para>

Loading…
Cancel
Save