Removed obsolete Qt2's TQVector class and replaced

with TQt3's TQPtrVector.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 6 years ago
parent d645e29e68
commit 27f453ad1b
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -29,16 +29,9 @@
#include <tqmap.h>
#include <tqvaluevector.h>
#include <tqtextcodec.h>
#include "libchmtextencoding.h"
// TQt3/TQt4 compatibility: in TQt3 TQVector stores pointers, not values - so TQValueVector should be used.
// In TQt4 TQVector stores values, so we can use TQVector
#if defined (USE_TQT_4)
#define QT34VECTOR TQVector
#else
#define QT34VECTOR TQValueVector
#endif
#define QT34VECTOR TQValueVector
//! Contains different (non-standard) image types

@ -24,21 +24,10 @@
#include <tqregexp.h>
#include <tqstring.h>
// TQt3/TQt4 compatibility: in TQt3 TQVector stores pointers, not values - so TQValueVector should be used.
// In TQt4 TQVector stores values, so we can use TQVector
#if defined (USE_TQT_4)
#define LIBCHMVector TQVector
#else
#include <tqvaluevector.h>
#define LIBCHMVector TQValueVector
#endif
#if defined (USE_TQT_4)
#define LIBCHMMemArray TQVector
#else
#define LIBCHMMemArray TQMemArray
#endif
#define LIBCHMVector TQValueVector
#define LIBCHMMemArray TQMemArray
class LIBCHMCString
{

Loading…
Cancel
Save