diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:36:04 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-26 02:48:25 +0200 |
commit | 634df849851ae2f74314b8bbe42055f512d80a11 (patch) | |
tree | 462cb719f2e1300a3adde47a0fd949bd9946b122 /katapult/plugins | |
parent | 33422087300783a8d134b43542ba9227e4e3d0d1 (diff) | |
download | katapult-634df849851ae2f74314b8bbe42055f512d80a11.tar.gz katapult-634df849851ae2f74314b8bbe42055f512d80a11.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit 5bef00662dd19d74dc2bd1d6a55659d8d7dfd32a)
Diffstat (limited to 'katapult/plugins')
5 files changed, 8 insertions, 8 deletions
diff --git a/katapult/plugins/catalogs/amarokcatalog/amarokcatalog.cpp b/katapult/plugins/catalogs/amarokcatalog/amarokcatalog.cpp index 2425469..6ad0892 100644 --- a/katapult/plugins/catalogs/amarokcatalog/amarokcatalog.cpp +++ b/katapult/plugins/catalogs/amarokcatalog/amarokcatalog.cpp @@ -89,8 +89,8 @@ void AmarokCatalog::queryChanged() queryList = TQStringList::split ( TQString(" "), TQString(queryString).replace(TQChar(':')," ").replace(TQChar('\''), " ").replace(TQChar('\''), "%") ); for(TQStringList::Iterator it = queryList.begin(); it != queryList.end(); ++it) { - sqlQuery.append(TQString(" AND (t.title LIKE '\%%1\%'").tqarg(*it)); - sqlQuery.append(TQString(" OR a.name LIKE '\%%1\%')").tqarg(*it)); + sqlQuery.append(TQString(" AND (t.title LIKE '\%%1\%'").arg(*it)); + sqlQuery.append(TQString(" OR a.name LIKE '\%%1\%')").arg(*it)); } sqlQuery.append(" ORDER BY a.name, t.title, s.percentage DESC"); @@ -163,8 +163,8 @@ void AmarokCatalog::queryChanged() TQStringList clauses; for(TQStringList::Iterator it = queryList.begin(); it != queryList.end(); ++it) { - clauses += TQString(" (t.title LIKE '\%%1\%'").tqarg(*it) + - TQString(" OR a.name LIKE '\%%1\%')").tqarg(*it); + clauses += TQString(" (t.title LIKE '\%%1\%'").arg(*it) + + TQString(" OR a.name LIKE '\%%1\%')").arg(*it); } sqlQuery.append(clauses.join(TQString(" AND "))); sqlQuery.append(" ORDER BY a.name, t.title, s.percentage DESC"); diff --git a/katapult/plugins/catalogs/documentcatalog/actionopendocument.cpp b/katapult/plugins/catalogs/documentcatalog/actionopendocument.cpp index 3de6f5a..06c71da 100644 --- a/katapult/plugins/catalogs/documentcatalog/actionopendocument.cpp +++ b/katapult/plugins/catalogs/documentcatalog/actionopendocument.cpp @@ -51,7 +51,7 @@ void ActionOpenDocument::execute(const KatapultItem* item) const { if(strcmp(item->className(), "Document") == 0 || strcmp(item->className(), "Directory") == 0) { const Document *document = (const Document *) item; - qDebug("%s", TQString("Running: %1").tqarg(document->path()).latin1()); + qDebug("%s", TQString("Running: %1").arg(document->path()).latin1()); new KRun(document->path()); } } diff --git a/katapult/plugins/catalogs/execcatalog/execcatalog.cpp b/katapult/plugins/catalogs/execcatalog/execcatalog.cpp index 75642c8..7915065 100644 --- a/katapult/plugins/catalogs/execcatalog/execcatalog.cpp +++ b/katapult/plugins/catalogs/execcatalog/execcatalog.cpp @@ -99,7 +99,7 @@ TQWidget * ExecCatalog::configure() settings->triggerWordLE->setText(_triggerWord); connect(settings->triggerWordLE, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(triggerWordChanged(const TQString&))); - settings->introLabel->setText(i18n("Use with \"%1 exec query\"").tqarg(_triggerWord)); + settings->introLabel->setText(i18n("Use with \"%1 exec query\"").arg(_triggerWord)); return settings; } diff --git a/katapult/plugins/catalogs/googlecatalog/googlecatalog.cpp b/katapult/plugins/catalogs/googlecatalog/googlecatalog.cpp index 0c0b7c2..a6493e6 100644 --- a/katapult/plugins/catalogs/googlecatalog/googlecatalog.cpp +++ b/katapult/plugins/catalogs/googlecatalog/googlecatalog.cpp @@ -99,7 +99,7 @@ TQWidget * GoogleCatalog::configure() settings->triggerWordLE->setText(_triggerWord); connect(settings->triggerWordLE, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(triggerWordChanged(const TQString&))); - settings->introLabel->setText(i18n("Use with \"%1 search query\"").tqarg(_triggerWord)); + settings->introLabel->setText(i18n("Use with \"%1 search query\"").arg(_triggerWord)); return settings; } diff --git a/katapult/plugins/catalogs/spellcatalog/spellcatalog.cpp b/katapult/plugins/catalogs/spellcatalog/spellcatalog.cpp index 93e103c..fce2495 100644 --- a/katapult/plugins/catalogs/spellcatalog/spellcatalog.cpp +++ b/katapult/plugins/catalogs/spellcatalog/spellcatalog.cpp @@ -99,7 +99,7 @@ TQWidget * SpellCatalog::configure() settings->triggerWordLE->setText(_triggerWord); connect(settings->triggerWordLE, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(triggerWordChanged(const TQString&))); - settings->introLabel->setText(i18n("Use with \"%1 myword\"").tqarg(_triggerWord)); + settings->introLabel->setText(i18n("Use with \"%1 myword\"").arg(_triggerWord)); return settings; } |