From d98fea1f859d23e1b1220a65d7a8eda3b757fd08 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- src/devices/base/register.cpp | 6 +++--- src/devices/base/register.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/devices/base') diff --git a/src/devices/base/register.cpp b/src/devices/base/register.cpp index dcd4c18..946f668 100644 --- a/src/devices/base/register.cpp +++ b/src/devices/base/register.cpp @@ -83,7 +83,7 @@ void Register::List::init() void Register::List::setWatched(const TypeData &data, bool watched) { if (watched) { - if ( _watched.tqcontains(data) ) return; + if ( _watched.contains(data) ) return; _watched.append(data); } else _watched.remove(data); delayedChanged(); @@ -122,7 +122,7 @@ void Register::List::setPortData(uint index, const TQMap &watched() const { return _watched; } - bool isWatched(const TypeData &data) const { return _watched.tqcontains(data); } + bool isWatched(const TypeData &data) const { return _watched.contains(data); } void setValue(const TypeData &data, BitValue value); BitValue value(const TypeData &data) const; BitValue oldValue(const TypeData &data) const; -- cgit v1.2.1