summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:31 -0600
commita152c5c6deba587e630f1d5e954365a69fc9ffbb (patch)
treed70e8386194c69d22c8f7a3fad7c2e67a4ac8144
parente5171f0eb853cc97e6264bdbc110db9e6d5a0a78 (diff)
downloadkrename-a152c5c6deba587e630f1d5e954365a69fc9ffbb.tar.gz
krename-a152c5c6deba587e630f1d5e954365a69fc9ffbb.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
-rw-r--r--krename/krenameimpl.cpp2
-rw-r--r--krename/main.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/krename/krenameimpl.cpp b/krename/krenameimpl.cpp
index cad2c87..ca4462a 100644
--- a/krename/krenameimpl.cpp
+++ b/krename/krenameimpl.cpp
@@ -184,7 +184,7 @@ const TQString KRenameImpl::title( int index ) const
void KRenameImpl::parseCommandline()
{
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
QCStringList optlist = args->getOptionList ( "r" );
for (QCStringList::ConstIterator it=optlist.begin(); it!=optlist.end(); ++it)
diff --git a/krename/main.cpp b/krename/main.cpp
index 0609a50..d5cf5b5 100644
--- a/krename/main.cpp
+++ b/krename/main.cpp
@@ -114,8 +114,8 @@ int main(int argc, char *argv[])
aboutData.addCredit("Ilya Ivkov", I18N_NOOP("Translated KRename into Russian"), "ilya-ivkov@yandex.ru" );
aboutData.addCredit("Asim Husanovic", I18N_NOOP("Translated KRename into Bosnian"), "asim.h@megatel.ba" );
- KCmdLineArgs::init( argc, argv, &aboutData );
- KCmdLineArgs::addCmdLineOptions( options );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::addCmdLineOptions( options );
KApplication a;
a.connect( &a, TQT_SIGNAL( lastWindowClosed() ), &a, TQT_SLOT( quit() ) );