diff options
Diffstat (limited to 'kopete/protocols/yahoo/libkyahoo/yabtask.cpp')
-rw-r--r-- | kopete/protocols/yahoo/libkyahoo/yabtask.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kopete/protocols/yahoo/libkyahoo/yabtask.cpp b/kopete/protocols/yahoo/libkyahoo/yabtask.cpp index 1066640e..be274230 100644 --- a/kopete/protocols/yahoo/libkyahoo/yabtask.cpp +++ b/kopete/protocols/yahoo/libkyahoo/yabtask.cpp @@ -27,7 +27,7 @@ #include <kio/jobclasses.h> #include <klocale.h> -YABTask::YABTask(Task* parent) : Task(parent) +YABTask::YABTask(Task* tqparent) : Task(tqparent) { kdDebug(YAHOO_RAW_DEBUG) ; } @@ -82,7 +82,7 @@ void YABTask::parseContactDetails( YMSGTransfer* t ) TQDomDocument doc; doc.setContent( s ); YABEntry *entry = new YABEntry; - entry->fromQDomDocument( doc ); + entry->fromTQDomDocument( doc ); entry->source = YABEntry::SourceContact; entry->dump(); emit gotEntry( entry ); @@ -93,14 +93,14 @@ void YABTask::parseContactDetails( YMSGTransfer* t ) void YABTask::getAllEntries( long lastMerge, long lastRemoteRevision ) { kdDebug(YAHOO_RAW_DEBUG) << "LastMerge: " << lastMerge << " LastRemoteRevision: " << lastRemoteRevision << endl; - m_data = TQString::null; - TQString url = TQString::fromLatin1("http://address.yahoo.com/yab/us?v=XM&prog=ymsgr&.intl=us&diffs=1&t=%1&tags=short&rt=%2&prog-ver=%3") - .arg( lastMerge ).arg( lastRemoteRevision ).arg( YMSG_PROGRAM_VERSION_STRING ); + m_data = TQString(); + TQString url = TQString::tqfromLatin1("http://address.yahoo.com/yab/us?v=XM&prog=ymsgr&.intl=us&diffs=1&t=%1&tags=short&rt=%2&prog-ver=%3") + .tqarg( lastMerge ).tqarg( lastRemoteRevision ).tqarg( YMSG_PROGRAM_VERSION_STRING ); m_transferJob = KIO::get( url , false, false ); m_transferJob->addMetaData("cookies", "manual"); - m_transferJob->addMetaData("setcookies", TQString::fromLatin1("Cookie: Y=%1; T=%2; C=%3;") - .arg(client()->yCookie()).arg(client()->tCookie()).arg(client()->cCookie()) ); + m_transferJob->addMetaData("setcookies", TQString::tqfromLatin1("Cookie: Y=%1; T=%2; C=%3;") + .tqarg(client()->yCookie()).tqarg(client()->tCookie()).tqarg(client()->cCookie()) ); connect( m_transferJob, TQT_SIGNAL( data( KIO::Job *, const TQByteArray & ) ), this, TQT_SLOT( slotData( KIO::Job*, const TQByteArray & ) ) ); connect( m_transferJob, TQT_SIGNAL( result( KIO::Job *) ), this, TQT_SLOT( slotResult( KIO::Job* ) ) ); } @@ -149,7 +149,7 @@ void YABTask::slotResult( KIO::Job* job ) e = list.item( it ).toElement(); YABEntry *entry = new YABEntry; - entry->fromQDomElement( e ); + entry->fromTQDomElement( e ); entry->source = YABEntry::SourceYAB; emit gotEntry( entry ); } |