summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoQueryTrader.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /lib/kofficecore/KoQueryTrader.cpp
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'lib/kofficecore/KoQueryTrader.cpp')
-rw-r--r--lib/kofficecore/KoQueryTrader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kofficecore/KoQueryTrader.cpp b/lib/kofficecore/KoQueryTrader.cpp
index 0003d00d..84a1be4b 100644
--- a/lib/kofficecore/KoQueryTrader.cpp
+++ b/lib/kofficecore/KoQueryTrader.cpp
@@ -76,14 +76,14 @@ KoDocument* KoDocumentEntry::createDoc( KoDocument* parent, const char* name ) c
KoDocumentEntry KoDocumentEntry::queryByMimeType( const TQString & mimetype )
{
- TQString constr = TQString::tqfromLatin1( "[X-KDE-NativeMimeType] == '%1' or '%2' in [X-KDE-ExtraNativeMimeTypes]" ).tqarg( mimetype ).tqarg( mimetype );
+ TQString constr = TQString::fromLatin1( "[X-KDE-NativeMimeType] == '%1' or '%2' in [X-KDE-ExtraNativeMimeTypes]" ).arg( mimetype ).arg( mimetype );
TQValueList<KoDocumentEntry> vec = query( false,constr );
if ( vec.isEmpty() )
{
kdWarning(30003) << "Got no results with " << constr << endl;
// Fallback to the old way (which was probably wrong, but better be safe)
- TQString constr = TQString::tqfromLatin1( "'%1' in ServiceTypes" ).tqarg( mimetype );
+ TQString constr = TQString::fromLatin1( "'%1' in ServiceTypes" ).arg( mimetype );
vec = query( constr );
if ( vec.isEmpty() )
{