diff options
Diffstat (limited to 'kopete/plugins/translator/translatorplugin.h')
-rw-r--r-- | kopete/plugins/translator/translatorplugin.h | 30 |
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 |