summaryrefslogtreecommitdiffstats
path: root/kresources/blogging/bloggingcalendaradaptor.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kresources/blogging/bloggingcalendaradaptor.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kresources/blogging/bloggingcalendaradaptor.cpp')
-rw-r--r--kresources/blogging/bloggingcalendaradaptor.cpp46
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 );