diff options
Diffstat (limited to 'kopete/plugins/translator/translatorlanguages.h')
-rw-r--r-- | kopete/plugins/translator/translatorlanguages.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kopete/plugins/translator/translatorlanguages.h b/kopete/plugins/translator/translatorlanguages.h index cbd6385f..3ef4fb16 100644 --- a/kopete/plugins/translator/translatorlanguages.h +++ b/kopete/plugins/translator/translatorlanguages.h @@ -22,8 +22,8 @@ #ifndef TRANSLATORLANGUAGES_H_ #define TRANSLATORLANGUAGES_H_ -#include <qmap.h> -#include <qstringlist.h> +#include <tqmap.h> +#include <tqstringlist.h> class QString; @@ -37,28 +37,28 @@ public: * Language APIs * ***************************************************************************/ - const QString& languageName( const QString &key ) + const TQString& languageName( const TQString &key ) { return m_langs[key]; }; - const int languageIndex ( const QString &key ) + const int languageIndex ( const TQString &key ) { return m_langKeyIntMap[key]; }; - const QString& languageKey( const int index ) + const TQString& languageKey( const int index ) { return m_langIntKeyMap[index]; }; - const QMap<QString,QString>& languagesMap() + const TQMap<TQString,TQString>& languagesMap() { return m_langs; }; - const QMap<QString,QString>& servicesMap() + const TQMap<TQString,TQString>& servicesMap() { return m_services; }; - const QStringList& supported( const QString &servicekey ) + const TQStringList& supported( const TQString &servicekey ) { return m_supported[servicekey]; }; - const int serviceIndex ( const QString &key ) + const int serviceIndex ( const TQString &key ) { return m_servicesKeyIntMap[key]; }; - const QString& serviceKey( const int index ) + const TQString& serviceKey( const int index ) { return m_servicesIntKeyMap[index]; }; int numLanguages() { return m_lc; }; @@ -68,21 +68,21 @@ public: private: /* Known Languages key -> desc ie: en -> English */ - QMap< QString, QString> m_langs; + TQMap< TQString, TQString> m_langs; /* Known Services key -> desc ie: en -> English */ - QMap< QString, QString> m_services; + TQMap< TQString, TQString> m_services; /* Supported translations per service, src_dst format ( ie: en_es )*/ - QMap< QString, QStringList > m_supported; + TQMap< TQString, TQStringList > m_supported; /* int to lang key and viceversa*/ - QMap<int, QString> m_langIntKeyMap; - QMap<QString, int> m_langKeyIntMap; + TQMap<int, TQString> m_langIntKeyMap; + TQMap<TQString, int> m_langKeyIntMap; /* int to services key and viceversa*/ - QMap<int, QString> m_servicesIntKeyMap; - QMap<QString, int> m_servicesKeyIntMap; + TQMap<int, TQString> m_servicesIntKeyMap; + TQMap<TQString, int> m_servicesKeyIntMap; /* Lang counter */ int m_lc; |