summaryrefslogtreecommitdiffstats
path: root/src/progs/manager/breakpoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/manager/breakpoint.h')
-rw-r--r--src/progs/manager/breakpoint.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/progs/manager/breakpoint.h b/src/progs/manager/breakpoint.h
index fca0570..07f5263 100644
--- a/src/progs/manager/breakpoint.h
+++ b/src/progs/manager/breakpoint.h
@@ -39,6 +39,7 @@ extern List &list();
class List : public GenericStorage
{
Q_OBJECT
+ TQ_OBJECT
public:
List() {}
void append(const Data &data);
@@ -46,9 +47,9 @@ public:
void clear();
uint count() const { return _list.count(); }
const Data &data(uint i) const { return _list[i].data; }
- 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; }
+ 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; }
void setState(const Data &data, State state);
void setAddress(const Data &data, Address address);
@@ -60,9 +61,9 @@ private:
Address address;
State state;
};
- QValueList<StateData> _list;
- QValueList<StateData>::const_iterator find(const Data &data) const;
- QValueList<StateData>::iterator find(const Data &data);
+ TQValueList<StateData> _list;
+ TQValueList<StateData>::const_iterator tqfind(const Data &data) const;
+ TQValueList<StateData>::iterator tqfind(const Data &data);
};
} // namespace