summaryrefslogtreecommitdiffstats
path: root/src/progs/manager/breakpoint.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
commit0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 (patch)
treeb95c0ca86c4876dd139af376b9f4afd8917cf0cd /src/progs/manager/breakpoint.cpp
parentb79a2c28534cf09987eeeba3077fff9236df182a (diff)
downloadpiklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.tar.gz
piklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.zip
TQt4 port piklab
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1238822 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/progs/manager/breakpoint.cpp')
-rw-r--r--src/progs/manager/breakpoint.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/progs/manager/breakpoint.cpp b/src/progs/manager/breakpoint.cpp
index 15e08e0..dc7d836 100644
--- a/src/progs/manager/breakpoint.cpp
+++ b/src/progs/manager/breakpoint.cpp
@@ -23,7 +23,7 @@ Breakpoint::List &Breakpoint::list()
void Breakpoint::List::append(const Data &data)
{
- Q_ASSERT( !contains(data) );
+ Q_ASSERT( !tqcontains(data) );
StateData sdata;
sdata.data = data;
_list.append(sdata);
@@ -32,8 +32,8 @@ void Breakpoint::List::append(const Data &data)
void Breakpoint::List::remove(const Data &data)
{
- Q_ASSERT( contains(data) );
- _list.remove(find(data));
+ Q_ASSERT( tqcontains(data) );
+ _list.remove(tqfind(data));
delayedChanged();
}
@@ -43,17 +43,17 @@ void Breakpoint::List::clear()
delayedChanged();
}
-QValueList<Breakpoint::List::StateData>::iterator Breakpoint::List::find(const Data &data)
+TQValueList<Breakpoint::List::StateData>::iterator Breakpoint::List::tqfind(const Data &data)
{
- QValueList<StateData>::iterator it;
+ TQValueList<StateData>::iterator it;
for (it=_list.begin(); it!=_list.end(); ++it)
if ( (*it).data==data ) return it;
return _list.end();
}
-QValueList<Breakpoint::List::StateData>::const_iterator Breakpoint::List::find(const Data &data) const
+TQValueList<Breakpoint::List::StateData>::const_iterator Breakpoint::List::tqfind(const Data &data) const
{
- QValueList<StateData>::const_iterator it;
+ TQValueList<StateData>::const_iterator it;
for (it=_list.begin(); it!=_list.end(); ++it)
if ( (*it).data==data ) return it;
return _list.end();
@@ -61,14 +61,14 @@ QValueList<Breakpoint::List::StateData>::const_iterator Breakpoint::List::find(c
void Breakpoint::List::setState(const Data &data, State state)
{
- Q_ASSERT( contains(data) );
- (*find(data)).state = state;
+ Q_ASSERT( tqcontains(data) );
+ (*tqfind(data)).state = state;
delayedChanged();
}
void Breakpoint::List::setAddress(const Data &data, Address address)
{
- Q_ASSERT( contains(data) );
- (*find(data)).address = address;
+ Q_ASSERT( tqcontains(data) );
+ (*tqfind(data)).address = address;
delayedChanged();
}