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/progs/manager/breakpoint.h | |
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/progs/manager/breakpoint.h')
-rw-r--r-- | src/progs/manager/breakpoint.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/progs/manager/breakpoint.h b/src/progs/manager/breakpoint.h index 07f5263..f0f1a5b 100644 --- a/src/progs/manager/breakpoint.h +++ b/src/progs/manager/breakpoint.h @@ -47,9 +47,9 @@ public: void clear(); uint count() const { return _list.count(); } const Data &data(uint i) const { return _list[i].data; } - bool tqcontains(const Data &data) const { return tqfind(data)!=_list.end(); } - State state(const Data &data) const { return (*tqfind(data)).state; } - Address address(const Data &data) const { return (*tqfind(data)).address; } + bool contains(const Data &data) const { return find(data)!=_list.end(); } + State state(const Data &data) const { return (*find(data)).state; } + Address address(const Data &data) const { return (*find(data)).address; } void setState(const Data &data, State state); void setAddress(const Data &data, Address address); @@ -62,8 +62,8 @@ private: State state; }; TQValueList<StateData> _list; - TQValueList<StateData>::const_iterator tqfind(const Data &data) const; - TQValueList<StateData>::iterator tqfind(const Data &data); + TQValueList<StateData>::const_iterator find(const Data &data) const; + TQValueList<StateData>::iterator find(const Data &data); }; } // namespace |