diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdecore/kprotocolinfofactory.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kprotocolinfofactory.cpp')
-rw-r--r-- | kdecore/kprotocolinfofactory.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kdecore/kprotocolinfofactory.cpp b/kdecore/kprotocolinfofactory.cpp index fc2544853..e47cbb881 100644 --- a/kdecore/kprotocolinfofactory.cpp +++ b/kdecore/kprotocolinfofactory.cpp @@ -45,7 +45,7 @@ KProtocolInfoFactory::createEntry(int offset) { KProtocolInfo *info = 0; KSycocaType type; - QDataStream *str = KSycoca::self()->findEntry(offset, type); + TQDataStream *str = KSycoca::self()->findEntry(offset, type); switch (type) { case KST_KProtocolInfo: @@ -63,9 +63,9 @@ KProtocolInfoFactory::createEntry(int offset) } -QStringList KProtocolInfoFactory::protocols() +TQStringList KProtocolInfoFactory::protocols() { - QStringList res; + TQStringList res; KSycocaEntry::List list = allEntries(); for( KSycocaEntry::List::Iterator it = list.begin(); @@ -82,11 +82,11 @@ QStringList KProtocolInfoFactory::protocols() } KProtocolInfo * -KProtocolInfoFactory::findProtocol(const QString &protocol) +KProtocolInfoFactory::findProtocol(const TQString &protocol) { if (!m_sycocaDict) return 0; // Error! - QMap<QString,KProtocolInfo::Ptr>::iterator it = m_cache.find(protocol); + TQMap<TQString,KProtocolInfo::Ptr>::iterator it = m_cache.find(protocol); if (it != m_cache.end()) return (*it); |