summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kvilib/core/kvi_pointerlist.h4
-rw-r--r--src/kvirc/ui/kvi_channel.cpp4
-rw-r--r--src/kvirc/ui/kvi_console.h2
-rw-r--r--src/kvirc/ui/kvi_customtoolbar.cpp8
-rw-r--r--src/kvirc/ui/kvi_window.cpp16
-rw-r--r--src/kvirc/ui/kvi_window.h2
6 files changed, 18 insertions, 18 deletions
diff --git a/src/kvilib/core/kvi_pointerlist.h b/src/kvilib/core/kvi_pointerlist.h
index 50970005..c9746c29 100644
--- a/src/kvilib/core/kvi_pointerlist.h
+++ b/src/kvilib/core/kvi_pointerlist.h
@@ -297,11 +297,11 @@ public:
/// since the list provides the autoDelete() method
/// which vould implicitly violate constness.
/// If you have to deal with const objects then
-/// you need to use a TQList instead.
+/// you need to use a TQPtrList instead.
///
/// Your objects also do not need to support copy constructors
/// or >= operators. This class will work fine without them
-/// as opposed to a plain TQList.
+/// as opposed to a plain TQPtrList.
///
/// This class also supports automatic deletion of the inseted items.
/// See the setAutoDelete() and autoDelete() members for the
diff --git a/src/kvirc/ui/kvi_channel.cpp b/src/kvirc/ui/kvi_channel.cpp
index 03ab82e3..1716a03d 100644
--- a/src/kvirc/ui/kvi_channel.cpp
+++ b/src/kvirc/ui/kvi_channel.cpp
@@ -302,9 +302,9 @@ void KviChannel::saveProperties(KviConfig *cfg)
cfg->writeEntry("TopSplitter",m_pTopSplitter->sizes());
cfg->writeEntry("Splitter",m_pSplitter->sizes());
#ifdef COMPILE_USE_QT4
- TQList<int> tmp = m_pVertSplitter->sizes();
+ TQPtrList<int> tmp = m_pVertSplitter->sizes();
KviValueList<int> tmp2;
- for(TQList<int>::Iterator it = tmp.begin();it != tmp.end();++it)
+ for(TQPtrList<int>::Iterator it = tmp.begin();it != tmp.end();++it)
tmp2.append(*it);
cfg->writeEntry("VertSplitter",m_pMessageView ? tmp2 : m_VertSplitterSizesList);
#else
diff --git a/src/kvirc/ui/kvi_console.h b/src/kvirc/ui/kvi_console.h
index a5314925..9332f40c 100644
--- a/src/kvirc/ui/kvi_console.h
+++ b/src/kvirc/ui/kvi_console.h
@@ -51,7 +51,7 @@ class KviProxy;
class KviChannel;
class KviQuery;
#else
- // windoze wants it to compile TQList<KviChannel> and TQList<KviQuery>
+ // windoze wants it to compile TQPtrList<KviChannel> and TQPtrList<KviQuery>
#include "kvi_channel.h"
#include "kvi_query.h"
#endif
diff --git a/src/kvirc/ui/kvi_customtoolbar.cpp b/src/kvirc/ui/kvi_customtoolbar.cpp
index c7bca49e..0e7bcade 100644
--- a/src/kvirc/ui/kvi_customtoolbar.cpp
+++ b/src/kvirc/ui/kvi_customtoolbar.cpp
@@ -171,8 +171,8 @@ void KviCustomToolBar::beginCustomize()
m_pFilteredChildren->setAutoDelete(true);
// filter the events for all the children
#ifdef COMPILE_USE_QT4
- TQList<TQObject*> l = children();
- for(TQList<TQObject*>::Iterator it = l.begin();it != l.end();++it)
+ TQPtrList<TQObject*> l = children();
+ for(TQPtrList<TQObject*>::Iterator it = l.begin();it != l.end();++it)
{
if((*it)->isWidgetType())
filterChild(*it);
@@ -193,8 +193,8 @@ void KviCustomToolBar::endCustomize()
{
// stop filtering events
#ifdef COMPILE_USE_QT4
- TQList<TQObject*> l = children();
- for(TQList<TQObject*>::Iterator it = l.begin();it != l.end();++it)
+ TQPtrList<TQObject*> l = children();
+ for(TQPtrList<TQObject*>::Iterator it = l.begin();it != l.end();++it)
{
if((*it)->isWidgetType())
unfilterChild(*it);
diff --git a/src/kvirc/ui/kvi_window.cpp b/src/kvirc/ui/kvi_window.cpp
index e031a9bf..1a824096 100644
--- a/src/kvirc/ui/kvi_window.cpp
+++ b/src/kvirc/ui/kvi_window.cpp
@@ -1006,8 +1006,8 @@ void KviWindow::focusInEvent(TQFocusEvent *)
if(m_pIrcView)m_pFocusHandler = m_pIrcView;
else {
#ifdef COMPILE_USE_QT4
- TQList<TQObject *> list = children();
- for(TQList<TQObject *>::Iterator it = list.begin();it != list.end();++it)
+ TQPtrList<TQObject *> list = children();
+ for(TQPtrList<TQObject *>::Iterator it = list.begin();it != list.end();++it)
{
TQObject * c = *it;
if(c->isWidgetType())
@@ -1124,8 +1124,8 @@ void KviWindow::childInserted(TQWidget * o)
}
#ifdef COMPILE_USE_QT4
- TQList<TQObject *> list = o->children();
- for(TQList<TQObject *>::Iterator it = list.begin();it != list.end();++it)
+ TQPtrList<TQObject *> list = o->children();
+ for(TQPtrList<TQObject *>::Iterator it = list.begin();it != list.end();++it)
{
TQObject * c = *it;
if(c->isWidgetType())
@@ -1162,8 +1162,8 @@ void KviWindow::childRemoved(TQWidget * o)
m_pLastFocusedChild = 0;
#ifdef COMPILE_USE_QT4
- TQList<TQObject *> list = o->children();
- for(TQList<TQObject *>::Iterator it = list.begin();it != list.end();++it)
+ TQPtrList<TQObject *> list = o->children();
+ for(TQPtrList<TQObject *>::Iterator it = list.begin();it != list.end();++it)
{
TQObject * c = *it;
if(c->isWidgetType())
@@ -1217,11 +1217,11 @@ void KviWindow::updateBackgrounds(TQObject * obj)
if(!obj)
obj = TQT_TQOBJECT(this);
#ifdef COMPILE_USE_QT4
- TQList<TQObject *> list = obj->children();
+ TQPtrList<TQObject *> list = obj->children();
if (list.count())
{
- for(TQList<TQObject *>::Iterator it = list.begin();it != list.end();++it)
+ for(TQPtrList<TQObject *>::Iterator it = list.begin();it != list.end();++it)
{
TQObject * child = *it;
if(child->metaObject()->indexOfProperty("TransparencyCapable") != -1){
diff --git a/src/kvirc/ui/kvi_window.h b/src/kvirc/ui/kvi_window.h
index a52afd0f..dce8a13b 100644
--- a/src/kvirc/ui/kvi_window.h
+++ b/src/kvirc/ui/kvi_window.h
@@ -30,7 +30,7 @@
#include "kvi_settings.h"
#ifdef COMPILE_ON_WINDOWS
- // The brain-damaged MSVC compiler can't instantiate TQList templates without a destructor definition
+ // The brain-damaged MSVC compiler can't instantiate TQPtrList templates without a destructor definition
#include "kvi_mdichild.h"
#else
class KviMdiChild;