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 | d98fea1f859d23e1b1220a65d7a8eda3b757fd08 (patch) | |
tree | a7e6a450baf5017f93f73636f9e8f9b5e9a56f05 /src/piklab-test | |
parent | 704123e8152edcd80447659317f1c8b31a1576e6 (diff) | |
download | piklab-d98fea1f859d23e1b1220a65d7a8eda3b757fd08.tar.gz piklab-d98fea1f859d23e1b1220a65d7a8eda3b757fd08.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/piklab-test')
-rw-r--r-- | src/piklab-test/base/generator_check.h | 2 | ||||
-rw-r--r-- | src/piklab-test/checksum/checksum_check.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/piklab-test/base/generator_check.h b/src/piklab-test/base/generator_check.h index c7529d0..2edb4c5 100644 --- a/src/piklab-test/base/generator_check.h +++ b/src/piklab-test/base/generator_check.h @@ -25,7 +25,7 @@ public: virtual void initSupported() = 0; virtual bool init(const Device::Data &data) = 0; void cleanup(); - bool isSupported(const Device::Data &data) const { return _supported.tqcontains(&data); } + bool isSupported(const Device::Data &data) const { return _supported.contains(&data); } virtual PURL::FileType sourceFileType() const = 0; const Tool::SourceGenerator *generator() const { return _generator; } virtual SourceLine::List configEndLines() const = 0; diff --git a/src/piklab-test/checksum/checksum_check.cpp b/src/piklab-test/checksum/checksum_check.cpp index 1a472ae..031688b 100644 --- a/src/piklab-test/checksum/checksum_check.cpp +++ b/src/piklab-test/checksum/checksum_check.cpp @@ -56,7 +56,7 @@ bool ChecksumCheck::checkChecksum(BitValue checksum, const TQString &label) void ChecksumCheck::checkChecksum(const Pic::Data &pdata, const TQString &maskName, const TQString &valueName, bool &ok) { - if ( !pdata.checksums().tqcontains(valueName) ) { + if ( !pdata.checksums().contains(valueName) ) { const Pic::Config::Mask *tqmask = pdata.config().findMask(maskName); TQString label = valueName + (tqmask ? "/" + tqmask->name : TQString()); printf("Missing checksum for \"%s\"", label.latin1()); |