summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/gadu/gadusession.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:34 -0600
commit83677e35509b4dafac63b76995652bdf3b49f209 (patch)
tree591f1dc22278addb439726c42896376b17bb42bd /kopete/protocols/gadu/gadusession.cpp
parent808e453c56036211f57482ed847d54aca01bba68 (diff)
downloadtdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.tar.gz
tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 808e453c56036211f57482ed847d54aca01bba68.
Diffstat (limited to 'kopete/protocols/gadu/gadusession.cpp')
-rw-r--r--kopete/protocols/gadu/gadusession.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kopete/protocols/gadu/gadusession.cpp b/kopete/protocols/gadu/gadusession.cpp
index a0cf70d6..a9a84691 100644
--- a/kopete/protocols/gadu/gadusession.cpp
+++ b/kopete/protocols/gadu/gadusession.cpp
@@ -30,7 +30,7 @@
#include "kopetemessage.h"
#include <tqsocketnotifier.h>
-#include <textcodec.h>
+#include <tqtextcodec.h>
#include <tqdatetime.h>
#include "gadurichtextformat.h"
@@ -279,7 +279,7 @@ GaduSession::sendMessage( uin_t recipient, const Kopete::Message& msg, int msgCl
}
int
-GaduSession::changeStatus( int status, bool forFriends )
+GaduSession::changetqStatus( int status, bool forFriends )
{
kdDebug(14101)<<"## Changing to "<<status<<endl;
if ( isConnected() ) {
@@ -424,8 +424,8 @@ GaduSession::pubDirSearch( ResLine& query, int ageFrom, int ageTo, bool onlyAli
(const char*)textcodec->fromUnicode( query.city ) );
}
if ( ageFrom || ageTo ) {
- TQString yearFrom = TQString::number( TQDate::currentDate().year() - ageFrom );
- TQString yearTo = TQString::number( TQDate::currentDate().year() - ageTo );
+ TQString yearFrom = TQString::number( TQDate::tqcurrentDate().year() - ageFrom );
+ TQString yearTo = TQString::number( TQDate::tqcurrentDate().year() - ageTo );
if ( ageFrom && ageTo ) {
gg_pubdir50_add( searchRequest, GG_PUBDIR50_BIRTHYEAR,
@@ -490,7 +490,7 @@ GaduSession::sendResult( gg_pubdir50_t result )
resultLine.status = stat.toInt();
age = resultLine.age.toInt();
if ( age ) {
- resultLine.age = TQString::number( TQDate::currentDate().year() - age );
+ resultLine.age = TQString::number( TQDate::tqcurrentDate().year() - age );
}
else {
resultLine.age.truncate( 0 );
@@ -617,7 +617,7 @@ GaduSession::errorDescription( int err )
case GG_ERROR_WRITING:
return i18n( "Writing error." );
default:
- return i18n( "Unknown error number %1." ).arg( TQString::number( (unsigned int)err ) );
+ return i18n( "Unknown error number %1." ).tqarg( TQString::number( (unsigned int)err ) );
}
}
@@ -642,7 +642,7 @@ GaduSession::failureDescription( gg_failure_t f )
case GG_FAILURE_TLS:
return i18n( "Unable to connect over encrypted channel.\nTry to turn off encryption support in Gadu account settings and reconnect." );
default:
- return i18n( "Unknown error number %1." ).arg( TQString::number( (unsigned int)f ) );
+ return i18n( "Unknown error number %1." ).tqarg( TQString::number( (unsigned int)f ) );
}
}