From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kresources/blogging/bloggingcalendaradaptor.cpp | 46 ++++++++++++------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'kresources/blogging/bloggingcalendaradaptor.cpp') diff --git a/kresources/blogging/bloggingcalendaradaptor.cpp b/kresources/blogging/bloggingcalendaradaptor.cpp index 252452788..1255cab38 100644 --- a/kresources/blogging/bloggingcalendaradaptor.cpp +++ b/kresources/blogging/bloggingcalendaradaptor.cpp @@ -36,8 +36,8 @@ using namespace KCal; // http://www.blogger.com/developers/api/1_docs/register.html // for the "KDE-Pim libkcal blogging resource". // TODO: -/*QString BloggingCalendarAdaptor::mAppID = - QString("20ffffffd7ffffffc5ffffffbdffffff87ffffffb72d39fffffffe5c4bfffff" +/*TQString BloggingCalendarAdaptor::mAppID = + TQString("20ffffffd7ffffffc5ffffffbdffffff87ffffffb72d39fffffffe5c4bfffff" "fcfffffff80ffffffd4665cfffffff375ffffff88ffffff871a0cffffff8029"); */ @@ -102,18 +102,18 @@ void BloggingCalendarAdaptor::setAPI( KBlog::APIBlog *api ) delete mAPI; mAPI = api; mAuthenticated = false; - connect( api, SIGNAL( userInfoRetrieved( const QString &, const QString &, - const QString & ) ), - SLOT( slotUserInfoRetrieved( const QString &, const QString &, - const QString & ) ) ); - connect( api, SIGNAL( folderInfoRetrieved( const QString &, const QString & ) ), - SLOT( slotFolderInfoRetrieved( const QString&, const QString & ) ) ); - connect( api, SIGNAL( itemOnServer( const KURL & ) ), - SIGNAL( itemOnServer( const KURL & ) ) ); - connect( api, SIGNAL( itemDownloaded( KCal::Incidence *, const QString &, - const KURL &, const QString &, const QString & ) ), - SLOT( calendarItemDownloaded( KCal::Incidence *, const QString &, - const KURL &, const QString &, const QString & ) ) ); + connect( api, TQT_SIGNAL( userInfoRetrieved( const TQString &, const TQString &, + const TQString & ) ), + TQT_SLOT( slotUserInfoRetrieved( const TQString &, const TQString &, + const TQString & ) ) ); + connect( api, TQT_SIGNAL( folderInfoRetrieved( const TQString &, const TQString & ) ), + TQT_SLOT( slotFolderInfoRetrieved( const TQString&, const TQString & ) ) ); + connect( api, TQT_SIGNAL( itemOnServer( const KURL & ) ), + TQT_SIGNAL( itemOnServer( const KURL & ) ) ); + connect( api, TQT_SIGNAL( itemDownloaded( KCal::Incidence *, const TQString &, + const KURL &, const TQString &, const TQString & ) ), + TQT_SLOT( calendarItemDownloaded( KCal::Incidence *, const TQString &, + const KURL &, const TQString &, const TQString & ) ) ); } @@ -125,13 +125,13 @@ KPIM::GroupwareUploadItem *BloggingCalendarAdaptor::newUploadItem( KCal::Inciden -void BloggingCalendarAdaptor::slotFolderInfoRetrieved( const QString &id, const QString &name ) +void BloggingCalendarAdaptor::slotFolderInfoRetrieved( const TQString &id, const TQString &name ) { emit folderInfoRetrieved( KURL(id), name, KPIM::FolderLister::Journal ); } -void BloggingCalendarAdaptor::slotUserInfoRetrieved( const QString &/*nick*/, - const QString &/*user*/, const QString &/*email*/ ) +void BloggingCalendarAdaptor::slotUserInfoRetrieved( const TQString &/*nick*/, + const TQString &/*user*/, const TQString &/*email*/ ) { kdDebug() << "BloggingCalendarAdaptor::slotUserInfoRetrieved"<setURL( url ); @@ -236,7 +236,7 @@ kdDebug() << "BloggingCalendarAdaptor::interpretListFoldersJob" << endl; bool BloggingCalendarAdaptor::interpretListItemsJob( KIO::Job *job, - const QString &/*jobData*/ ) + const TQString &/*jobData*/ ) { if ( mAPI ) { return mAPI->interpretListItemsJob( job ); @@ -247,7 +247,7 @@ bool BloggingCalendarAdaptor::interpretListItemsJob( KIO::Job *job, bool BloggingCalendarAdaptor::interpretDownloadItemsJob( KIO::Job *job, - const QString &/*jobData*/ ) + const TQString &/*jobData*/ ) { if ( mAPI ) { return mAPI->interpretDownloadItemsJob( job ); -- cgit v1.2.1