summaryrefslogtreecommitdiffstats
path: root/kradio3/src/include/interfaces.h
diff options
context:
space:
mode:
Diffstat (limited to 'kradio3/src/include/interfaces.h')
-rw-r--r--kradio3/src/include/interfaces.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kradio3/src/include/interfaces.h b/kradio3/src/include/interfaces.h
index 1719315..7e53a24 100644
--- a/kradio3/src/include/interfaces.h
+++ b/kradio3/src/include/interfaces.h
@@ -373,7 +373,7 @@ public:
thisIF *initThisInterfacePointer();
thisIF *getThisInterfacePointer() const { return me; }
bool isThisInterfacePointerValid() const { return me_valid; }
- bool hasConnectionTo(cmplInterface *other) const { return iConnections.tqcontainsRef(other); }
+ bool hasConnectionTo(cmplInterface *other) const { return iConnections.containsRef(other); }
void appendConnectionTo(cmplInterface *other) { iConnections.append(other); }
void removeConnectionTo(cmplInterface *other) { iConnections.removeRef(other); }
@@ -576,7 +576,7 @@ bool InterfaceBase<thisIF, cmplIF>::connectI (Interface *__i)
cmplIF *i = _i->initThisInterfacePointer();
if (i && me) {
- bool i_connected = iConnections.tqcontainsRef(i);
+ bool i_connected = iConnections.containsRef(i);
bool me_connected = i->hasConnectionTo(me);
if (i_connected || me_connected) {
@@ -673,7 +673,7 @@ void InterfaceBase<thisIF, cmplIF>::disconnectAllI()
template <class thisIF, class cmplIF>
bool InterfaceBase<thisIF, cmplIF>::addListener(const cmplInterface *i, TQPtrList<cmplInterface> &list)
{
- if (iConnections.tqcontainsRef(i) && !list.tqcontains(i)) {
+ if (iConnections.containsRef(i) && !list.contains(i)) {
list.append(i);
m_FineListeners[i].append(&list);
return true;
@@ -687,7 +687,7 @@ template <class thisIF, class cmplIF>
void InterfaceBase<thisIF, cmplIF>::removeListener(const cmplInterface *i, TQPtrList<cmplInterface> &list)
{
list.remove(i);
- if (m_FineListeners.tqcontains(i))
+ if (m_FineListeners.contains(i))
m_FineListeners[i].remove(&list);
}
@@ -695,7 +695,7 @@ void InterfaceBase<thisIF, cmplIF>::removeListener(const cmplInterface *i, TQPtr
template <class thisIF, class cmplIF>
void InterfaceBase<thisIF, cmplIF>::removeListener(const cmplInterface *i)
{
- if (m_FineListeners.tqcontains(i)) {
+ if (m_FineListeners.contains(i)) {
TQPtrList<TQPtrList<cmplInterface> > &list = m_FineListeners[i];
TQPtrListIterator<TQPtrList<cmplInterface> > it(list);
for (; it.current(); ++it) {