diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
commit | 560378aaca1784ba19806a0414a32b20c744de39 (patch) | |
tree | ce0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdecore/kcatalogue.cpp | |
parent | d4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff) | |
download | tdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip |
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kcatalogue.cpp')
-rw-r--r-- | kdecore/kcatalogue.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdecore/kcatalogue.cpp b/kdecore/kcatalogue.cpp index 3669b40b4..38cfad22c 100644 --- a/kdecore/kcatalogue.cpp +++ b/kdecore/kcatalogue.cpp @@ -26,7 +26,7 @@ #include "kcatalogue.h" #include "kstandarddirs.h" -char *k_nl_find_msg(struct kde_loaded_l10nfile *domain_file, +char *k_nl_tqfind_msg(struct kde_loaded_l10nfile *domain_file, const char *msgid); void k_nl_unload_domain (struct loaded_domain *domain); @@ -57,12 +57,12 @@ KCatalogue::KCatalogue(const TQString & name, const TQString & language ) { d->name = name; d->language = language; - // at the moment we do not know more. To find out the plural type we first have to look into + // at the moment we do not know more. To tqfind out the plural type we first have to look into // kdelibs.mo for the language. And for this we already need a catalog object. So this data // has to be set after we have the first catalog objects. d->pluralType = -1; - TQString path = TQString::fromLatin1("%1/LC_MESSAGES/%2.mo") + TQString path = TQString::tqfromLatin1("%1/LC_MESSAGES/%2.mo") .arg( d->language ) .arg( d->name ); @@ -143,7 +143,7 @@ TQString KCatalogue::fileName() const const char * KCatalogue::translate(const char * msgid) const { - return ::k_nl_find_msg( &d->domain, msgid ); + return ::k_nl_tqfind_msg( &d->domain, msgid ); } void KCatalogue::doUnload() |