summaryrefslogtreecommitdiffstats
path: root/src/otrplugin.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:01 -0600
commit79e320ac2390400ace1779f77b280accfdcbd393 (patch)
treef208b54c81d1b8a42996ab9d9009d85251a17684 /src/otrplugin.cpp
parent9f51f088d1c9b4ad562f6e1107b2ccb3159b44ce (diff)
downloadkopete-otr-79e320ac2390400ace1779f77b280accfdcbd393.tar.gz
kopete-otr-79e320ac2390400ace1779f77b280accfdcbd393.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 9f51f088d1c9b4ad562f6e1107b2ccb3159b44ce.
Diffstat (limited to 'src/otrplugin.cpp')
-rw-r--r--src/otrplugin.cpp8
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 );