diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | a66f7ec245037f5a3d9c57717d749d4f7d06f2ca (patch) | |
tree | 5e8c277053cfe1bea935427b01ba21c9ba4ba74d /common/config_file.c-orig | |
parent | f99a392f816fcaa1cb6dc17a020402d2e9c738af (diff) | |
download | tde-style-qtcurve-a66f7ec245037f5a3d9c57717d749d4f7d06f2ca.tar.gz tde-style-qtcurve-a66f7ec245037f5a3d9c57717d749d4f7d06f2ca.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kde-style-qtcurve@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'common/config_file.c-orig')
-rw-r--r-- | common/config_file.c-orig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/config_file.c-orig b/common/config_file.c-orig index 499c345..772e4e7 100644 --- a/common/config_file.c-orig +++ b/common/config_file.c-orig @@ -427,7 +427,7 @@ TQtCConfig::TQtCConfig(const TQString &filename) #if [[[TQT_VERSION IS DEPRECATED]]] >= 0x040000 int pos=line.indexOf('='); #else - int pos=line.tqfind('='); + int pos=line.find('='); #endif if(-1!=pos) values[line.left(pos)]=line.mid(pos+1); @@ -438,7 +438,7 @@ TQtCConfig::TQtCConfig(const TQString &filename) inline const TQString & TQtCConfig::readEntry(const char *key, const TQString &def) { - return values.tqcontains(key) ? values[key] : def; + return values.contains(key) ? values[key] : def; } inline TQString readStringEntry(TQtCConfig &cfg, const char *key) |