summaryrefslogtreecommitdiffstats
path: root/kcoloredit
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:45 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:45 -0600
commitc705f8f0619865875d6247d9470dced55241bc79 (patch)
tree6ba0329616c0b5ff176ec8fc4afeac5f51770593 /kcoloredit
parentf0e6b090da1687ded291a141c138d470f0890218 (diff)
downloadtdegraphics-c705f8f0619865875d6247d9470dced55241bc79.tar.gz
tdegraphics-c705f8f0619865875d6247d9470dced55241bc79.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'kcoloredit')
-rw-r--r--kcoloredit/kcolorchooser.cpp6
-rw-r--r--kcoloredit/main.cpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/kcoloredit/kcolorchooser.cpp b/kcoloredit/kcolorchooser.cpp
index a2427285..72ec0930 100644
--- a/kcoloredit/kcolorchooser.cpp
+++ b/kcoloredit/kcolorchooser.cpp
@@ -48,8 +48,8 @@ int main(int argc, char *argv[])
version, description, KAboutData::License_BSD,
"(c) 2000, Waldo Bastian");
aboutData.addAuthor("Waldo Bastian",0, "bastian@kde.org");
- KCmdLineArgs::init( argc, argv, &aboutData );
- KCmdLineArgs::addCmdLineOptions( options );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
@@ -62,7 +62,7 @@ int main(int argc, char *argv[])
dlg.show();
app.exec();
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
const TQColor c = dlg.color();
if ( args->isSet("print") && c.isValid() ) {
std::cout << TQString(c.name()).utf8().data() << std::endl;
diff --git a/kcoloredit/main.cpp b/kcoloredit/main.cpp
index fcc2ac66..d0d4893e 100644
--- a/kcoloredit/main.cpp
+++ b/kcoloredit/main.cpp
@@ -43,8 +43,8 @@ int main(int argc, char *argv[])
aboutData.addAuthor("Artur Rataj",0, "art@zeus.polsl.gliwice.pl");
aboutData.addCredit( "Nadeem Hasan", I18N_NOOP( "Rewrote UI code "
"to be KDE standards compliant" ), "nhasan@kde.org" );
- KCmdLineArgs::init( argc, argv, &aboutData );
- KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
+ TDECmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication app;
@@ -57,7 +57,7 @@ int main(int argc, char *argv[])
KColorEditApp *kcoloredit = new KColorEditApp();
kcoloredit->show();
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (args->count())
{