From 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 00:30:31 +0000 Subject: TQt4 port kdenetwork This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kopete/libkopete/kopeteutils.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'kopete/libkopete/kopeteutils.h') diff --git a/kopete/libkopete/kopeteutils.h b/kopete/libkopete/kopeteutils.h index c90ba054..3221827b 100644 --- a/kopete/libkopete/kopeteutils.h +++ b/kopete/libkopete/kopeteutils.h @@ -53,10 +53,10 @@ bool isHostReachable( const TQString &host ); * explanation, Kopete will use a default explanation. */ void KOPETE_EXPORT notifyConnectionLost( const Account *account, - const TQString &caption = TQString::null, - const TQString &message = TQString::null, - const TQString &explanation = TQString::null, - const TQString &debugInfo = TQString::null ); + const TQString &caption = TQString(), + const TQString &message = TQString(), + const TQString &explanation = TQString(), + const TQString &debugInfo = TQString() ); /** @@ -70,8 +70,8 @@ void KOPETE_EXPORT notifyConnectionLost( const Account *account, * explanation, Kopete will use a default explanation. */ void KOPETE_EXPORT notifyCannotConnect( const Account *account, - const TQString &explanation = TQString::null, - const TQString &debugInfo = TQString::null); + const TQString &explanation = TQString(), + const TQString &debugInfo = TQString()); /** * Notifies the user that an error on a connection occcured without coupling plugins with GUI code. @@ -86,10 +86,10 @@ void KOPETE_EXPORT notifyCannotConnect( const Account *account, * explanation, Kopete will use a default explanation. */ void KOPETE_EXPORT notifyConnectionError( const Account *account, - const TQString &caption = TQString::null, - const TQString &message = TQString::null, - const TQString &explanation = TQString::null, - const TQString &debugInfo = TQString::null ); + const TQString &caption = TQString(), + const TQString &message = TQString(), + const TQString &explanation = TQString(), + const TQString &debugInfo = TQString() ); /** * Notifies the user that an error on the server occcured without coupling plugins with GUI code. @@ -104,10 +104,10 @@ void KOPETE_EXPORT notifyConnectionError( const Account *account, * explanation, Kopete will use a default explanation. */ void KOPETE_EXPORT notifyServerError( const Account *account, - const TQString &caption = TQString::null, - const TQString &message = TQString::null, - const TQString &explanation = TQString::null, - const TQString &debugInfo = TQString::null ); + const TQString &caption = TQString(), + const TQString &message = TQString(), + const TQString &explanation = TQString(), + const TQString &debugInfo = TQString() ); } // end ns Utils } // end ns Kopete -- cgit v1.2.1