diff options
Diffstat (limited to 'kresources/groupware/kcal_resourcegroupware.cpp')
-rw-r--r-- | kresources/groupware/kcal_resourcegroupware.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kresources/groupware/kcal_resourcegroupware.cpp b/kresources/groupware/kcal_resourcegroupware.cpp index 9adbffdd7..b651d7390 100644 --- a/kresources/groupware/kcal_resourcegroupware.cpp +++ b/kresources/groupware/kcal_resourcegroupware.cpp @@ -28,11 +28,11 @@ #include <libkcal/icalformat.h> #include <libkcal/calendarlocal.h> -#include <qapplication.h> -#include <qdatetime.h> -#include <qptrlist.h> -#include <qstringlist.h> -#include <qtimer.h> +#include <tqapplication.h> +#include <tqdatetime.h> +#include <tqptrlist.h> +#include <tqstringlist.h> +#include <tqtimer.h> #include <kabc/locknull.h> #include <kdebug.h> @@ -152,19 +152,19 @@ bool ResourceGroupware::doLoad() kdDebug() << "Download URL: " << url << endl; - mJobData = QString::null; + mJobData = TQString::null; mDownloadJob = KPIM::GroupwareJob::getCalendar( url ); - connect( mDownloadJob, SIGNAL( result( KIO::Job * ) ), - SLOT( slotJobResult( KIO::Job * ) ) ); - connect( mDownloadJob, SIGNAL( data( KIO::Job *, const QByteArray & ) ), - SLOT( slotJobData( KIO::Job *, const QByteArray & ) ) ); + connect( mDownloadJob, TQT_SIGNAL( result( KIO::Job * ) ), + TQT_SLOT( slotJobResult( KIO::Job * ) ) ); + connect( mDownloadJob, TQT_SIGNAL( data( KIO::Job *, const TQByteArray & ) ), + TQT_SLOT( slotJobData( KIO::Job *, const TQByteArray & ) ) ); mProgress = KPIM::ProgressManager::instance()->createProgressItem( KPIM::ProgressManager::getUniqueID(), i18n("Downloading calendar") ); connect( mProgress, - SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ), - SLOT( cancelLoad() ) ); + TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ), + TQT_SLOT( cancelLoad() ) ); return true; } @@ -193,8 +193,8 @@ void ResourceGroupware::slotJobResult( KIO::Job *job ) for( it = incidences.begin(); it != incidences.end(); ++it ) { // kdDebug() << "INCIDENCE: " << (*it)->summary() << endl; Incidence *i = (*it)->clone(); - QString remote = (*it)->customProperty( "GWRESOURCE", "UID" ); - QString local = idMapper().localId( remote ); + TQString remote = (*it)->customProperty( "GWRESOURCE", "UID" ); + TQString local = idMapper().localId( remote ); if ( local.isEmpty() ) { idMapper().setRemoteId( i->uid(), remote ); } else { @@ -217,7 +217,7 @@ void ResourceGroupware::slotJobResult( KIO::Job *job ) mProgress = 0; } -void ResourceGroupware::slotJobData( KIO::Job *, const QByteArray &data ) +void ResourceGroupware::slotJobData( KIO::Job *, const TQByteArray &data ) { // kdDebug() << "ResourceGroupware::slotJobData()" << endl; @@ -281,7 +281,7 @@ bool ResourceGroupware::confirmSave() dlg.addIncidences( deletedIncidences(), i18n("Deleted") ); int result = dlg.exec(); - return result == QDialog::Accepted; + return result == TQDialog::Accepted; } KABC::Lock *ResourceGroupware::lock() |