summaryrefslogtreecommitdiff
path: root/qmake/include/qintdict.h
Side-by-side diff
Diffstat (limited to 'qmake/include/qintdict.h') (more/less context) (ignore whitespace changes)
-rw-r--r--qmake/include/qintdict.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qmake/include/qintdict.h b/qmake/include/qintdict.h
index b4cb223..0299879 100644
--- a/qmake/include/qintdict.h
+++ b/qmake/include/qintdict.h
@@ -90,25 +90,29 @@ template<> inline void QIntDict<void>::deleteItem( QPtrCollection::Item )
#endif
template<class type> inline void QIntDict<type>::deleteItem( QPtrCollection::Item d )
{
if ( del_item ) delete (type*)d;
}
template<class type>
class QIntDictIterator : public QGDictIterator
{
public:
QIntDictIterator(const QIntDict<type> &d) :QGDictIterator((QGDict &)d) {}
~QIntDictIterator() {}
uint count() const { return dict->count(); }
bool isEmpty() const { return dict->count() == 0; }
type *toFirst() { return (type *)QGDictIterator::toFirst(); }
operator type *() const { return (type *)QGDictIterator::get(); }
type *current() const { return (type *)QGDictIterator::get(); }
long currentKey() const { return QGDictIterator::getKeyInt(); }
type *operator()() { return (type *)QGDictIterator::operator()(); }
type *operator++() { return (type *)QGDictIterator::operator++(); }
type *operator+=(uint j) { return (type *)QGDictIterator::operator+=(j);}
};
+#ifdef QT_QWINEXPORT
+#define Q_DEFINED_QINTDICT
+#include "qwinexport.h"
+#endif /* QT_QWINEXPORT */
#endif // QINTDICT_H