summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/texteffect/texteffectplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/plugins/texteffect/texteffectplugin.cpp')
-rw-r--r--kopete/plugins/texteffect/texteffectplugin.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kopete/plugins/texteffect/texteffectplugin.cpp b/kopete/plugins/texteffect/texteffectplugin.cpp
index 5374b2ca..47bdbc14 100644
--- a/kopete/plugins/texteffect/texteffectplugin.cpp
+++ b/kopete/plugins/texteffect/texteffectplugin.cpp
@@ -28,7 +28,7 @@
typedef KGenericFactory<TextEffectPlugin> TextEffectPluginFactory;
K_EXPORT_COMPONENT_FACTORY( kopete_texteffect, TextEffectPluginFactory( "kopete_texteffect" ) )
-TextEffectPlugin::TextEffectPlugin( QObject *parent, const char *name, const QStringList &/*args*/ )
+TextEffectPlugin::TextEffectPlugin( TQObject *parent, const char *name, const TQStringList &/*args*/ )
: Kopete::Plugin( TextEffectPluginFactory::instance(), parent, name )
{
if( !pluginStatic_ )
@@ -36,11 +36,11 @@ TextEffectPlugin::TextEffectPlugin( QObject *parent, const char *name, const QSt
m_config = new TextEffectConfig;
- connect ( this , SIGNAL( settingsChanged() ) , this , SLOT( slotSettingsChanged() ) );
+ connect ( this , TQT_SIGNAL( settingsChanged() ) , this , TQT_SLOT( slotSettingsChanged() ) );
connect( Kopete::ChatSessionManager::self(),
- SIGNAL( aboutToSend( Kopete::Message & ) ),
- SLOT( slotOutgoingMessage( Kopete::Message & ) ) );
+ TQT_SIGNAL( aboutToSend( Kopete::Message & ) ),
+ TQT_SLOT( slotOutgoingMessage( Kopete::Message & ) ) );
last_color=0;
}
@@ -64,19 +64,19 @@ void TextEffectPlugin::slotOutgoingMessage( Kopete::Message& msg )
if(msg.direction() != Kopete::Message::Outbound)
return;
- QStringList colors=m_config->colors();
+ TQStringList colors=m_config->colors();
if(m_config->colorChar() || m_config->colorWords() || m_config->lamer() || m_config->waves() )
{
- QString original=msg.plainBody();
- QString resultat;
+ TQString original=msg.plainBody();
+ TQString resultat;
unsigned int c=0;
bool wavein=false;
for(unsigned int f=0;f<original.length();f++)
{
- QChar x=original[f];
+ TQChar x=original[f];
if(f==0 || m_config->colorChar() || (m_config->colorWords() && x==' ' ))
{
if(f!=0)
@@ -184,7 +184,7 @@ void TextEffectPlugin::slotOutgoingMessage( Kopete::Message& msg )
last_color=0;
}
- msg.setFg(QColor (colors[last_color]));
+ msg.setFg(TQColor (colors[last_color]));
}
}