diff options
Diffstat (limited to 'src/otrplugin.cpp')
-rw-r--r-- | src/otrplugin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/otrplugin.cpp b/src/otrplugin.cpp index c99b316..93f1720 100644 --- a/src/otrplugin.cpp +++ b/src/otrplugin.cpp @@ -18,7 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#include <stylesheet.h> +#include <tqstylesheet.h> #include <tqtimer.h> #include <tqregexp.h> #include <tqfile.h> @@ -143,7 +143,7 @@ OTRPlugin::OTRPlugin( TQObject *parent, const char *name, const TQStringList & / //adding menu to contaclists menubar and contacts popup menu TQStringList policies; policies << i18n("&Default") << i18n("Al&ways") << i18n("&Opportunistic") << i18n("&Manual") << i18n("Ne&ver"); - otrPolicyMenu = new KSelectAction( i18n( "&OTR Policy" ), TQString::fromLatin1("kopete_otr"), 0, actionCollection(), "otr_policy" ); + otrPolicyMenu = new KSelectAction( i18n( "&OTR Policy" ), TQString::tqfromLatin1("kopete_otr"), 0, actionCollection(), "otr_policy" ); otrPolicyMenu->setItems( policies ); otrPolicyMenu->popupMenu()->insertSeparator( 1 ); otrPolicyMenu->setEnabled( false ); @@ -222,9 +222,9 @@ void OTRPlugin::slotEnableOtr( Kopete::ChatSession *session, bool enable ){ TQString body = otrlChatInterface->getDefaultQuery( session->account()->accountId() ); Kopete::Message msg1( session->account()->myself(), session->members().getFirst(), TQString( body ), Kopete::Message::Outbound ); if( otrlChatInterface->privState( session ) > 0 ){ - body = i18n("Attempting to refresh the OTR session with <b>%1</b>...").arg( otrlChatInterface->formatContact( session->members().getFirst()->contactId() ) ); + body = i18n("Attempting to refresh the OTR session with <b>%1</b>...").tqarg( otrlChatInterface->formatContact( session->members().getFirst()->contactId() ) ); } else { - body = i18n("Attempting to start a private OTR session with <b>%1</b>...").arg( otrlChatInterface->formatContact( session->members().getFirst()->contactId() ) ); + body = i18n("Attempting to start a private OTR session with <b>%1</b>...").tqarg( otrlChatInterface->formatContact( session->members().getFirst()->contactId() ) ); } Kopete::Message msg2( session->account()->myself(), session->members().getFirst(), body, Kopete::Message::Internal, Kopete::Message::RichText ); |