Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 11 years ago
parent e5171f0eb8
commit a152c5c6de

@ -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)

@ -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() ) );

Loading…
Cancel
Save