[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenetwork/kopete/plugins
From: Olivier Goffart <ogoffart () tiscalinet ! be>
Date: 2004-07-24 17:32:56
Message-ID: 20040724173256.AA8C1126C2 () office ! kde ! org
[Download RAW message or body]
CVS commit by ogoffart:
Comments few more kdDebug.
Latex plugin has no debug zone
M +6 -10 latex/latexplugin.cpp 1.6
M +4 -0 translator/translatorplugin.cpp 1.58
--- kdenetwork/kopete/plugins/latex/latexplugin.cpp #1.5:1.6
@@ -41,5 +41,5 @@ LatexPlugin::LatexPlugin( QObject *paren
: KopetePlugin( LatexPluginFactory::instance(), parent, name )
{
- kdDebug() << k_funcinfo << endl;
+// kdDebug() << k_funcinfo << endl;
if( !s_pluginStatic )
s_pluginStatic = this;
@@ -70,13 +70,9 @@ LatexPlugin* LatexPlugin::s_pluginStatic
void LatexPlugin::slotHandleLatex( KopeteMessage& msg )
{
-
- kdDebug() << k_funcinfo << " Using converter: " << m_convScript << endl;
QString messageText = msg.plainBody();
-
if( !messageText.contains("$$"))
- {
return;
- }
+ //kdDebug() << k_funcinfo << " Using converter: " << m_convScript << endl;
// /\[([^]]).*?\[/$1\]/
@@ -110,5 +106,5 @@ void LatexPlugin::slotHandleLatex( Kopet
}
- kdDebug() << k_funcinfo << " captured: " << match << endl;
+// kdDebug() << k_funcinfo << " captured: " << match << endl;
QString latexFormula = match;
latexFormula.replace("$$","");
@@ -123,5 +119,5 @@ void LatexPlugin::slotHandleLatex( Kopet
fileName = tempFile.name();
- kdDebug() << k_funcinfo << " Rendering " << latexFormula << \
" to: " << fileName<< endl; +// kdDebug() << k_funcinfo << " \
Rendering " << latexFormula << " to: " << fileName<< endl;
p << m_convScript << "-o " + fileName << latexFormula ;
@@ -130,5 +126,5 @@ void LatexPlugin::slotHandleLatex( Kopet
p.start(KProcess::Block);
- kdDebug() << k_funcinfo << " render process finished..." << \
endl; +// kdDebug() << k_funcinfo << " render process \
finished..." << endl;
// get the image and encode it with base64
--- kdenetwork/kopete/plugins/translator/translatorplugin.cpp #1.57:1.58
@@ -52,4 +52,7 @@ TranslatorPlugin::TranslatorPlugin( QObj
: KopetePlugin( TranslatorPluginFactory::instance(), parent, name )
{
+ kdDebug( 14308 ) << k_funcinfo << endl;
+
+
if ( pluginStatic_ )
kdWarning( 14308 ) << k_funcinfo << "Translator already initialized" \
<< endl; @@ -90,4 +93,5 @@ TranslatorPlugin::TranslatorPlugin( QObj
TranslatorPlugin::~TranslatorPlugin()
{
+ kdDebug( 14308 ) << k_funcinfo << endl;
pluginStatic_ = 0L;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic