Rename KLock and KTrader to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 11 years ago
parent 3120329f81
commit ced2058eaf

@ -77,8 +77,8 @@ TQStringList KRecGlobal::exportFormats() const {
TQString KRecGlobal::exportFormatEndings() const {
TQString out;
KTrader::OfferList offers = KTrader::self()->query( "KRec/exportplugin" );
KTrader::OfferList::iterator it = offers.begin();
TDETrader::OfferList offers = TDETrader::self()->query( "KRec/exportplugin" );
TDETrader::OfferList::iterator it = offers.begin();
while ( it!=offers.end() ) {
out += " *.";
out += ( *it )->property( "X-TDE-ExportSuffix" ).toStringList().join( " *." );
@ -89,8 +89,8 @@ TQString KRecGlobal::exportFormatEndings() const {
}
KRecExportItem* KRecGlobal::getExportItemForEnding( const TQString &ending ) {
KTrader::OfferList offers = KTrader::self()->query( "KRec/exportplugin" );
KTrader::OfferList::iterator it = offers.begin();
TDETrader::OfferList offers = TDETrader::self()->query( "KRec/exportplugin" );
TDETrader::OfferList::iterator it = offers.begin();
while ( it!=offers.end() ) {
kdDebug(60005) << ( *it )->property( "X-TDE-ExportSuffix" ).toStringList() << endl;
if ( ( *it )->property( "X-TDE-ExportSuffix" ).toStringList().grep( ending ).count() ) {

Loading…
Cancel
Save