summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-10-17 23:25:56 +0900
committerMichele Calgaro <[email protected]>2018-10-17 23:25:56 +0900
commit5f696ce0d8a7081b29c1ebfadaa30fe7100c6ddd (patch)
treefb0bb5dab1291da7cb161969b9853ba2ba5ca6a6
parent259dc8ceee764e0beb3726b000277b7d3ca8b92a (diff)
downloadknights-5f696ce0d8a7081b29c1ebfadaa30fe7100c6ddd.tar.gz
knights-5f696ce0d8a7081b29c1ebfadaa30fe7100c6ddd.zip
Removed obsolete Qt2's TQList/TQListIterator classes and replaced
with TQt3's TQPtrList/TQPtrListIterator ones. Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--knights/setpageengines.cpp4
-rw-r--r--knights/setpageservers.cpp4
-rw-r--r--knights/thinbuttons.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/knights/setpageengines.cpp b/knights/setpageengines.cpp
index c652819..a7c8b99 100644
--- a/knights/setpageengines.cpp
+++ b/knights/setpageengines.cpp
@@ -218,7 +218,7 @@ void setPageEngines::slotEngine_Add( void )
void setPageEngines::slotEngine_Modify( void )
{
TQListViewItem *Item;
- TQList<TQListViewItem> Select = Engines_ListView->selectedItems();
+ TQPtrList<TQListViewItem> Select = Engines_ListView->selectedItems();
if( Select.isEmpty() ) return;
Item = Select.first();
@@ -235,7 +235,7 @@ void setPageEngines::slotEngine_Delete( void )
{
engineList::Iterator enginesIT;
TQListViewItem *Item;
- TQList<TQListViewItem> Select = Engines_ListView->selectedItems();
+ TQPtrList<TQListViewItem> Select = Engines_ListView->selectedItems();
if( Select.isEmpty() ) return;
Item = Select.first();
diff --git a/knights/setpageservers.cpp b/knights/setpageservers.cpp
index ec2a50f..e639684 100644
--- a/knights/setpageservers.cpp
+++ b/knights/setpageservers.cpp
@@ -215,7 +215,7 @@ void setPageServers::slotServer_Add( void )
void setPageServers::slotServer_Modify( void )
{
TQListViewItem *Item;
- TQList<TQListViewItem> Select = Servers_ListView->selectedItems();
+ TQPtrList<TQListViewItem> Select = Servers_ListView->selectedItems();
if( Select.isEmpty() ) return;
Item = Select.first();
@@ -232,7 +232,7 @@ void setPageServers::slotServer_Delete( void )
{
serverList::Iterator serversIT;
TQListViewItem *Item;
- TQList<TQListViewItem> Select = Servers_ListView->selectedItems();
+ TQPtrList<TQListViewItem> Select = Servers_ListView->selectedItems();
if( Select.isEmpty() ) return;
Item = Select.first();
diff --git a/knights/thinbuttons.h b/knights/thinbuttons.h
index 71b775e..c636136 100644
--- a/knights/thinbuttons.h
+++ b/knights/thinbuttons.h
@@ -64,7 +64,7 @@ class thinbuttons : public TQFrame
private:
resource *Resource;
TDEPopupMenu *matchMenu;
- TQList<Buttons> buttons;
+ TQPtrList<Buttons> buttons;
int buttWidth;
int rightClickID;
};