diff options
Diffstat (limited to 'kresources/blogging/bloggingcalendaradaptor.cpp')
-rw-r--r-- | kresources/blogging/bloggingcalendaradaptor.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
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"<<endl; mAuthenticated = true; @@ -144,7 +144,7 @@ void BloggingCalendarAdaptor::setBaseURL( const KURL &url ) } } -void BloggingCalendarAdaptor::setUser( const QString &user ) +void BloggingCalendarAdaptor::setUser( const TQString &user ) { CalendarAdaptor::setUser( user ); if ( mAPI ) { @@ -152,7 +152,7 @@ void BloggingCalendarAdaptor::setUser( const QString &user ) } } -void BloggingCalendarAdaptor::setPassword( const QString &password ) +void BloggingCalendarAdaptor::setPassword( const TQString &password ) { CalendarAdaptor::setPassword( password ); if ( mAPI ) { @@ -168,8 +168,8 @@ void BloggingCalendarAdaptor::setUserPassword( KURL & ) KIO::Job *BloggingCalendarAdaptor::createLoginJob( const KURL &url, - const QString &user, - const QString &password ) + const TQString &user, + const TQString &password ) { if ( mAPI ) { mAPI->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 ); |