summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-05-23 21:21:04 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-05-23 21:21:04 +0900
commit292fa30f0fade0c2742ef4b4ccc28be79dfe747c (patch)
tree227b09b1a61514e2ccd3fbc548b5431a6fee6229 /src
parentf0869718763cd6d04c9b225db8966df08ddaef44 (diff)
downloadtqt3-292fa30f0fade0c2742ef4b4ccc28be79dfe747c.tar.gz
tqt3-292fa30f0fade0c2742ef4b4ccc28be79dfe747c.zip
Removed obsolete Qt2's TQStack class and replaced with TQt3's TQPtrStack.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src')
-rw-r--r--src/compat/ntqstack.h27
-rw-r--r--src/tools/ntqptrstack.h4
2 files changed, 0 insertions, 31 deletions
diff --git a/src/compat/ntqstack.h b/src/compat/ntqstack.h
deleted file mode 100644
index 41c5992f0..000000000
--- a/src/compat/ntqstack.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/****************************************************************************
-**
-** Compatibility file - should only be included by legacy code.
-** It #includes the file which obsoletes this one.
-**
-** Copyright (C) 1998-2008 Trolltech ASA. All rights reserved.
-** This file is part of the TQt GUI Toolkit.
-**
-** This file may be distributed under the terms of the Q Public License
-** as defined by Trolltech ASA of Norway and appearing in the file
-** LICENSE.TQPL included in the packaging of this file.
-**
-** Licensees holding valid TQt Professional Edition licenses may use this
-** file in accordance with the TQt Professional Edition License Agreement
-** provided with the TQt Professional Edition.
-**
-** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
-** information about the Professional Edition licensing, or see
-** http://www.trolltech.com/qpl/ for TQPL licensing information.
-**
-*****************************************************************************/
-#ifndef TQSTACK_H
-#define TQSTACK_H
-#ifndef TQT_NO_COMPAT
-#include "ntqptrstack.h"
-#endif
-#endif
diff --git a/src/tools/ntqptrstack.h b/src/tools/ntqptrstack.h
index d47416530..6f404f1b9 100644
--- a/src/tools/ntqptrstack.h
+++ b/src/tools/ntqptrstack.h
@@ -87,8 +87,4 @@ template<class type> inline void TQPtrStack<type>::deleteItem( TQPtrCollection::
if ( del_item ) delete (type *)d;
}
-#ifndef TQT_NO_COMPAT
-#define TQStack TQPtrStack
-#endif
-
#endif // TQPTRSTACK_H