summaryrefslogtreecommitdiffstats
path: root/libkpimexchange/core/exchangeaccount.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
commit3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch)
tree89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /libkpimexchange/core/exchangeaccount.cpp
parent1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff)
downloadtdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz
tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'libkpimexchange/core/exchangeaccount.cpp')
-rw-r--r--libkpimexchange/core/exchangeaccount.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libkpimexchange/core/exchangeaccount.cpp b/libkpimexchange/core/exchangeaccount.cpp
index acff34f12..085292309 100644
--- a/libkpimexchange/core/exchangeaccount.cpp
+++ b/libkpimexchange/core/exchangeaccount.cpp
@@ -21,7 +21,7 @@
*/
#include <tqstring.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqapplication.h>
#include <tqdom.h>
#include <tqwidgetlist.h>
@@ -89,8 +89,8 @@ TQString endecryptStr( const TQString &aStr )
{
TQString result;
for (uint i = 0; i < aStr.length(); i++)
- result += (aStr[i].tqunicode() < 0x20) ? aStr[i] :
- TQChar(0x1001F - aStr[i].tqunicode());
+ result += (aStr[i].unicode() < 0x20) ? aStr[i] :
+ TQChar(0x1001F - aStr[i].unicode());
return result;
}
@@ -163,7 +163,7 @@ bool ExchangeAccount::authenticate( TQWidget *window )
bool ExchangeAccount::authenticate()
{
long windowId;
- TQWidgetList *widgets = TQApplication::tqtopLevelWidgets();
+ TQWidgetList *widgets = TQApplication::topLevelWidgets();
if ( widgets->isEmpty() )
windowId = 0;
else
@@ -249,7 +249,7 @@ void ExchangeAccount::slotFolderResult( KIO::Job *job )
if ( job->error() ) {
kdError() << "Error: Cannot get well-know folder names; " << job->error() << endl;
TQString text = i18n("ExchangeAccount\nError accessing '%1': %2")
- .tqarg( baseURL().prettyURL() ).tqarg( job->errorString() );
+ .arg( baseURL().prettyURL() ).arg( job->errorString() );
KMessageBox::error( 0, text );
mError = true;
return;