-rw-r--r-- | qmake/include/qasciidict.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qmake/include/qasciidict.h b/qmake/include/qasciidict.h index 8f344cd..ecd9c9f 100644 --- a/qmake/include/qasciidict.h +++ b/qmake/include/qasciidict.h @@ -86,33 +86,37 @@ private: void deleteItem( Item d ); }; #if !defined(Q_BROKEN_TEMPLATE_SPECIALIZATION) template<> inline void QAsciiDict<void>::deleteItem( QPtrCollection::Item ) { } #endif template<class type> inline void QAsciiDict<type>::deleteItem( QPtrCollection::Item d ) { if ( del_item ) delete (type *)d; } template<class type> class QAsciiDictIterator : public QGDictIterator { public: QAsciiDictIterator(const QAsciiDict<type> &d) : QGDictIterator((QGDict &)d) {} ~QAsciiDictIterator() {} 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(); } const char *currentKey() const { return QGDictIterator::getKeyAscii(); } 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_QASCIIDICT +#include "qwinexport.h" +#endif /* QT_QWINEXPORT */ #endif // QASCIIDICT_H |