diff options
Diffstat (limited to 'libkpimexchange/core/exchangeaccount.cpp')
| -rw-r--r-- | libkpimexchange/core/exchangeaccount.cpp | 30 | 
1 files changed, 15 insertions, 15 deletions
| diff --git a/libkpimexchange/core/exchangeaccount.cpp b/libkpimexchange/core/exchangeaccount.cpp index a033b6b0..6979bcc5 100644 --- a/libkpimexchange/core/exchangeaccount.cpp +++ b/libkpimexchange/core/exchangeaccount.cpp @@ -96,40 +96,40 @@ TQString endecryptStr( const TQString &aStr )  void ExchangeAccount::save( TQString const &group )  { -  kapp->config()->setGroup( group ); -  kapp->config()->writeEntry( "host", mHost ); -  kapp->config()->writeEntry( "user", mAccount ); -  kapp->config()->writeEntry( "mailbox", mMailbox ); -  kapp->config()->writeEntry( "MS-ID", endecryptStr( mPassword ) ); -  kapp->config()->sync(); +  tdeApp->config()->setGroup( group ); +  tdeApp->config()->writeEntry( "host", mHost ); +  tdeApp->config()->writeEntry( "user", mAccount ); +  tdeApp->config()->writeEntry( "mailbox", mMailbox ); +  tdeApp->config()->writeEntry( "MS-ID", endecryptStr( mPassword ) ); +  tdeApp->config()->sync();  }  void ExchangeAccount::load( TQString const &group )  { -  kapp->config()->setGroup( group ); +  tdeApp->config()->setGroup( group ); -  TQString host = kapp->config()->readEntry( "host" ); +  TQString host = tdeApp->config()->readEntry( "host" );    if ( ! host.isNull() ) {      mHost = host;    } else {      mHost = "mail.company.com";    } -  TQString user = kapp->config()->readEntry( "user" ); +  TQString user = tdeApp->config()->readEntry( "user" );    if ( ! user.isNull() ) {      mAccount = user;    } else {      mAccount = "username";    } -  TQString mailbox = kapp->config()->readEntry( "mailbox" ); +  TQString mailbox = tdeApp->config()->readEntry( "mailbox" );    if ( ! mailbox.isNull() ) {      mMailbox = mailbox;    } else {      mMailbox = "webdav://" + host + "/exchange/" + mAccount;    } -  TQString password = endecryptStr( kapp->config()->readEntry( "MS-ID" ) ); +  TQString password = endecryptStr( tdeApp->config()->readEntry( "MS-ID" ) );    if ( ! password.isNull() ) {      mPassword = password;    } @@ -239,8 +239,8 @@ void ExchangeAccount::calcFolderURLs()    TDEIO::DavJob* job = TDEIO::davPropFind( baseURL(), doc, "1", false );    job->addMetaData( "errorPage", "false" ); -  connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), -           TQT_SLOT( slotFolderResult( TDEIO::Job * ) ) ); +  connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), +           TQ_SLOT( slotFolderResult( TDEIO::Job * ) ) );  }  void ExchangeAccount::slotFolderResult( TDEIO::Job *job ) @@ -313,10 +313,10 @@ TQString ExchangeAccount::tryMailbox( const TQString &_url, const TQString &user    TQString result;    while ( !stream.eof() ) {        line = stream.readLine(); // line of text excluding '\n' -      int pos = line.find( "<BASE href=\"", 0, FALSE ); +      int pos = line.find( "<BASE href=\"", 0, false );        if ( pos < 0 )          continue; -      int end = line.find( "\"", pos+12, FALSE ); +      int end = line.find( "\"", pos+12, false );        if ( pos < 0 ) {          kdWarning() << "Strange, found no closing quote in " << line << endl;          continue; | 
