From 47c8a359c5276062c4bc17f0e82410f29081b502 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:48:06 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kopete/plugins/translator/translatorplugin.h | 30 ++++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'kopete/plugins/translator/translatorplugin.h') 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 -#include -#include -#include +#include +#include +#include +#include #include @@ -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 -- cgit v1.2.1