summaryrefslogtreecommitdiffstats
path: root/src/piklab-test
diff options
context:
space:
mode:
Diffstat (limited to 'src/piklab-test')
-rw-r--r--src/piklab-test/base/generator_check.h2
-rw-r--r--src/piklab-test/checksum/checksum_check.cpp2
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());