summaryrefslogtreecommitdiff
path: root/qmake/include/qptrvector.h
authorllornkcor <llornkcor>2003-07-10 02:40:10 (UTC)
committer llornkcor <llornkcor>2003-07-10 02:40:10 (UTC)
commit155d68c1e7d7dc0fed2534ac43d6d77ce2781f55 (patch) (side-by-side diff)
treee6edaa5a7040fe6c224c3943d1094dcf02e4f74c /qmake/include/qptrvector.h
parent86703e8a5527ef114facd02c005b6b3a7e62e263 (diff)
downloadopie-155d68c1e7d7dc0fed2534ac43d6d77ce2781f55.zip
opie-155d68c1e7d7dc0fed2534ac43d6d77ce2781f55.tar.gz
opie-155d68c1e7d7dc0fed2534ac43d6d77ce2781f55.tar.bz2
update qmake to 1.05a
Diffstat (limited to 'qmake/include/qptrvector.h') (more/less context) (show whitespace changes)
-rw-r--r--qmake/include/qptrvector.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qmake/include/qptrvector.h b/qmake/include/qptrvector.h
index f6d9623..49b40b7 100644
--- a/qmake/include/qptrvector.h
+++ b/qmake/include/qptrvector.h
@@ -89,25 +89,29 @@ protected:
virtual int compareItems( QPtrCollection::Item d1, QPtrCollection::Item d2 );
virtual QDataStream& read( QDataStream &s, QPtrCollection::Item &d );
virtual QDataStream& write( QDataStream &s, QPtrCollection::Item d ) const;
#endif
private:
void deleteItem( Item d );
};
#if !defined(Q_BROKEN_TEMPLATE_SPECIALIZATION)
template<> inline void QPtrVector<void>::deleteItem( QPtrCollection::Item )
{
}
#endif
template<class type> inline void QPtrVector<type>::deleteItem( QPtrCollection::Item d )
{
if ( del_item ) delete (type *)d;
}
#ifndef QT_NO_COMPAT
#define QVector QPtrVector
#endif
+#ifdef QT_QWINEXPORT
+#define Q_DEFINED_QPTRVECTOR
+#include "qwinexport.h"
+#endif /* QT_QWINEXPORT */
#endif // QVECTOR_H