diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/plugins/translator/translatorlanguages.h | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-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/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; |