summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/latex/latexguiclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/plugins/latex/latexguiclient.cpp')
-rw-r--r--kopete/plugins/latex/latexguiclient.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kopete/plugins/latex/latexguiclient.cpp b/kopete/plugins/latex/latexguiclient.cpp
index ea9420fb..154a176a 100644
--- a/kopete/plugins/latex/latexguiclient.cpp
+++ b/kopete/plugins/latex/latexguiclient.cpp
@@ -33,13 +33,13 @@
#include "latexplugin.h"
#include "latexguiclient.h"
-LatexGUIClient::LatexGUIClient( Kopete::ChatSession *parent, const char *name )
-: TQObject( parent, name ), KXMLGUIClient( parent )
+LatexGUIClient::LatexGUIClient( Kopete::ChatSession *tqparent, const char *name )
+: TQObject( tqparent, name ), KXMLGUIClient( tqparent )
{
setInstance( LatexPlugin::plugin()->instance() );
connect( LatexPlugin::plugin(), TQT_SIGNAL( destroyed( TQObject * ) ), this, TQT_SLOT( deleteLater() ) );
- m_manager = parent;
+ m_manager = tqparent;
new KAction( i18n( "Preview Latex Images" ), "latex", CTRL + Key_L, this, TQT_SLOT( slotPreview() ), actionCollection(), "latexPreview" );
@@ -57,14 +57,14 @@ void LatexGUIClient::slotPreview()
Kopete::Message msg = m_manager->view()->currentMessage();
TQString messageText = msg.plainBody();
- if(!messageText.contains("$$")) //we haven't found any latex strings
+ if(!messageText.tqcontains("$$")) //we haven't found any latex strings
{
KMessageBox::sorry(reinterpret_cast<TQWidget*>(m_manager->view()) , i18n("There are no latex in the message you are typing. The latex formula must be included between $$ and $$ "), i18n("No Latex Formula") );
return;
}
msg=Kopete::Message( msg.from() , msg.to() ,
- i18n("<b>Preview of the latex message :</b> <br />%1").arg(msg.plainBody()),
+ i18n("<b>Preview of the latex message :</b> <br />%1").tqarg(msg.plainBody()),
Kopete::Message::Internal , Kopete::Message::RichText);
m_manager->appendMessage(msg) ;
}