summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/translator/translatorplugin.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/plugins/translator/translatorplugin.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/plugins/translator/translatorplugin.h')
-rw-r--r--kopete/plugins/translator/translatorplugin.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kopete/plugins/translator/translatorplugin.h b/kopete/plugins/translator/translatorplugin.h
index 2a04b509..823b6eef 100644
--- a/kopete/plugins/translator/translatorplugin.h
+++ b/kopete/plugins/translator/translatorplugin.h
@@ -21,10 +21,10 @@
#ifndef BABELFISHPLUGIN_H
#define BABELFISHPLUGIN_H
-#include <qobject.h>
-#include <qmap.h>
-#include <qcstring.h>
-#include <qintdict.h>
+#include <tqobject.h>
+#include <tqmap.h>
+#include <tqcstring.h>
+#include <tqintdict.h>
#include <kio/job.h>
@@ -58,7 +58,7 @@ friend class TranslatorGUIClient;
public:
static TranslatorPlugin *plugin();
- TranslatorPlugin( QObject *parent, const char *name, const QStringList &args );
+ TranslatorPlugin( TQObject *parent, const char *name, const TQStringList &args );
~TranslatorPlugin();
enum TranslateMode
@@ -72,7 +72,7 @@ public:
private slots:
void slotIncomingMessage( Kopete::Message& msg );
void slotOutgoingMessage( Kopete::Message& msg );
- void slotDataReceived ( KIO::Job *, const QByteArray &data);
+ void slotDataReceived ( KIO::Job *, const TQByteArray &data);
void slotJobDone ( KIO::Job *);
void slotSetLanguage();
void slotSelectionChanged(bool);
@@ -80,17 +80,17 @@ private slots:
void loadSettings();
public:
- QString translateMessage( const QString &, const QString &, const QString & );
- void translateMessage( const QString &, const QString &, const QString & , QObject * , const char*);
+ TQString translateMessage( const TQString &, const TQString &, const TQString & );
+ void translateMessage( const TQString &, const TQString &, const TQString & , TQObject * , const char*);
protected:
- QString googleTranslateMessage( const QString &, const QString &, const QString & );
- QString babelTranslateMessage(const QString &, const QString &, const QString & );
+ TQString googleTranslateMessage( const TQString &, const TQString &, const TQString & );
+ TQString babelTranslateMessage(const TQString &, const TQString &, const TQString & );
private:
- QMap< KIO::Job *, QCString> m_data;
- QMap< KIO::Job *, bool> m_completed;
+ TQMap< KIO::Job *, TQCString> m_data;
+ TQMap< KIO::Job *, bool> m_completed;
KSelectAction* m_actionLanguage;
@@ -98,13 +98,13 @@ private:
TranslatorLanguages *m_languages;
//Settings
- QString m_myLang;
- QString m_service;
+ TQString m_myLang;
+ TQString m_service;
unsigned int m_outgoingMode;
unsigned int m_incomingMode;
private:
- void sendTranslation(Kopete::Message &msg, const QString &translated);
+ void sendTranslation(Kopete::Message &msg, const TQString &translated);
};
#endif