summaryrefslogtreecommitdiffstats
path: root/kresources/groupwise/soap/gwjobs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/groupwise/soap/gwjobs.cpp')
-rw-r--r--kresources/groupwise/soap/gwjobs.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kresources/groupwise/soap/gwjobs.cpp b/kresources/groupwise/soap/gwjobs.cpp
index f1cdd049a..43d5d58df 100644
--- a/kresources/groupwise/soap/gwjobs.cpp
+++ b/kresources/groupwise/soap/gwjobs.cpp
@@ -26,7 +26,7 @@
#include <libkcal/incidence.h>
#include <libkcal/resourcecached.h>
-#include <qtimer.h>
+#include <tqtimer.h>
#include "contactconverter.h"
#include "incidenceconverter.h"
@@ -38,19 +38,19 @@
#define READ_ADDRESS_FOLDER_CHUNK_SIZE 50
#define READ_CALENDAR_FOLDER_CHUNK_SIZE 50
-GWJob::GWJob( GroupwiseServer *server, struct soap *soap, const QString &url,
+GWJob::GWJob( GroupwiseServer *server, struct soap *soap, const TQString &url,
const std::string &session )
: mServer( server ), mSoap( soap ), mUrl( url ), mSession( session ), mError( GroupWise::NoError )
{
}
ReadAddressBooksJob::ReadAddressBooksJob( GroupwiseServer *server,
- struct soap *soap, const QString &url, const std::string &session )
+ struct soap *soap, const TQString &url, const std::string &session )
: GWJob( server, soap, url, session )
{
}
-void ReadAddressBooksJob::setAddressBookIds( const QStringList &ids )
+void ReadAddressBooksJob::setAddressBookIds( const TQStringList &ids )
{
mAddressBookIds = ids;
@@ -82,7 +82,7 @@ void ReadAddressBooksJob::run()
if ( !(*it)->id ) {
kdError() << "No addressbook id" << endl;
} else {
- QString id = GWConverter::stringToQString( (*it)->id );
+ TQString id = GWConverter::stringToQString( (*it)->id );
kdDebug() << "Reading ID: " << id << endl;
if ( mAddressBookIds.find( id ) != mAddressBookIds.end() ) {
readAddressBook( *(*it)->id );
@@ -93,8 +93,8 @@ void ReadAddressBooksJob::run()
}
#else
GWConverter conv( mSoap );
- QStringList::Iterator it = mAddressBookIds.begin();
- const QStringList::Iterator end = mAddressBookIds.end();
+ TQStringList::Iterator it = mAddressBookIds.begin();
+ const TQStringList::Iterator end = mAddressBookIds.end();
for ( ; it != end; ++it )
{
std::string* id = conv.qStringToString( *it );
@@ -158,7 +158,7 @@ void ReadAddressBooksJob::readAddressBook( std::string &id )
addr.insertCustom( "GWRESOURCE", "CONTAINER", converter.stringToQString( id ) );
- QString remoteUid = converter.stringToQString( (*it)->id );
+ TQString remoteUid = converter.stringToQString( (*it)->id );
KABC::Addressee oldAddressee = mResource->findByUid( mResource->idMapper().localId( remoteUid ) );
if ( oldAddressee.isEmpty() ) // new addressee
@@ -323,7 +323,7 @@ void ReadAddressBooksJob::readAddressBook( std::string &id )
#endif
}
-ReadCalendarJob::ReadCalendarJob( GroupwiseServer *server, struct soap *soap, const QString &url,
+ReadCalendarJob::ReadCalendarJob( GroupwiseServer *server, struct soap *soap, const TQString &url,
const std::string &session )
: GWJob( server, soap, url, session ), mCalendar( 0 )
{
@@ -475,8 +475,8 @@ void ReadCalendarJob::readCalendarFolder( const std::string &id, ReadItemCounts
ngwt__Filter *filter = soap_new_ngwm__Filter( mSoap, -1 );
ngwt__FilterEntry *filterEntry = soap_new_ngwm__FilterEntry( mSoap, -1 );
filterEntry->op = gte;
- filterEntry->field = QString::fromLatin1( "startDate" ).utf8();
- filterEntry->value = QDateTime::currentDateTime().toString( "yyyyMMddThhmmZ" ).utf8();
+ filterEntry->field = TQString::fromLatin1( "startDate" ).utf8();
+ filterEntry->value = TQDateTime::currentDateTime().toString( "yyyyMMddThhmmZ" ).utf8();
filter->element = filterEntry;
@@ -636,12 +636,12 @@ void ReadCalendarJob::readCalendarFolder( const std::string &id, ReadItemCounts
}
UpdateAddressBooksJob::UpdateAddressBooksJob( GroupwiseServer *server,
- struct soap *soap, const QString &url, const std::string &session )
+ struct soap *soap, const TQString &url, const std::string &session )
: GWJob( server, soap, url, session )
{
}
-void UpdateAddressBooksJob::setAddressBookIds( const QStringList &ids )
+void UpdateAddressBooksJob::setAddressBookIds( const TQStringList &ids )
{
mAddressBookIds = ids;