diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/ebrowsing/plugins/ikws/searchprovider.cpp | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/ebrowsing/plugins/ikws/searchprovider.cpp')
-rw-r--r-- | kcontrol/ebrowsing/plugins/ikws/searchprovider.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kcontrol/ebrowsing/plugins/ikws/searchprovider.cpp b/kcontrol/ebrowsing/plugins/ikws/searchprovider.cpp index c9e13dc1f..11b7ee692 100644 --- a/kcontrol/ebrowsing/plugins/ikws/searchprovider.cpp +++ b/kcontrol/ebrowsing/plugins/ikws/searchprovider.cpp @@ -30,7 +30,7 @@ SearchProvider::SearchProvider(const KService::Ptr service) m_charset = service->property("Charset").toString(); } -void SearchProvider::setName(const QString &name) +void SearchProvider::setName(const TQString &name) { if (m_name == name) return; @@ -38,7 +38,7 @@ void SearchProvider::setName(const QString &name) m_dirty = true; } -void SearchProvider::setQuery(const QString &query) +void SearchProvider::setQuery(const TQString &query) { if (m_query == query) return; @@ -46,7 +46,7 @@ void SearchProvider::setQuery(const QString &query) m_dirty = true; } -void SearchProvider::setKeys(const QStringList &keys) +void SearchProvider::setKeys(const TQStringList &keys) { if (m_keys == keys) return; @@ -54,7 +54,7 @@ void SearchProvider::setKeys(const QStringList &keys) m_dirty = true; } -void SearchProvider::setCharset(const QString &charset) +void SearchProvider::setCharset(const TQString &charset) { if (m_charset == charset) return; @@ -62,17 +62,17 @@ void SearchProvider::setCharset(const QString &charset) m_dirty = true; } -SearchProvider *SearchProvider::findByDesktopName(const QString &name) +SearchProvider *SearchProvider::findByDesktopName(const TQString &name) { KService::Ptr service = - KService::serviceByDesktopPath(QString("searchproviders/%1.desktop").arg(name)); + KService::serviceByDesktopPath(TQString("searchproviders/%1.desktop").arg(name)); return service ? new SearchProvider(service) : 0; } -SearchProvider *SearchProvider::findByKey(const QString &key) +SearchProvider *SearchProvider::findByKey(const TQString &key) { KTrader::OfferList providers = - KTrader::self()->query("SearchProvider", QString("'%1' in Keys").arg(key)); + KTrader::self()->query("SearchProvider", TQString("'%1' in Keys").arg(key)); return providers.count() ? new SearchProvider(providers[0]) : 0; } |