summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-write/qcleanuphandler.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-write/qcleanuphandler.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-write/qcleanuphandler.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/noncore/apps/opie-write/qcleanuphandler.h b/noncore/apps/opie-write/qcleanuphandler.h
index 5c5bf16..2d6eb7c 100644
--- a/noncore/apps/opie-write/qcleanuphandler.h
+++ b/noncore/apps/opie-write/qcleanuphandler.h
@@ -38,17 +38,13 @@
#ifndef QT_H
#include <qlist.h>
#endif // QT_H
template<class Type>
-#ifdef Q_NO_TEMPLATE_EXPORT
class QCleanupHandler
-#else
-class Q_EXPORT QCleanupHandler
-#endif
{
public:
QCleanupHandler() : cleanupObjects( 0 ) {}
~QCleanupHandler() { clear(); }
Type* add( Type **object ) {
@@ -85,17 +81,13 @@ public:
private:
QPtrList<Type*> *cleanupObjects;
};
template<class Type>
-#ifdef Q_NO_TEMPLATE_EXPORT
class QSingleCleanupHandler
-#else
-class Q_EXPORT QSingleCleanupHandler
-#endif
{
public:
QSingleCleanupHandler() : object( 0 ) {}
~QSingleCleanupHandler() {
if ( object ) {
delete *object;
@@ -109,17 +101,13 @@ public:
void reset() { object = 0; }
private:
Type **object;
};
template<class Type>
-#ifdef Q_NO_TEMPLATE_EXPORT
class QSharedCleanupHandler
-#else
-class Q_EXPORT QSharedCleanupHandler
-#endif
{
public:
QSharedCleanupHandler() : object( 0 ) {}
~QSharedCleanupHandler() {
if ( object ) {
if ( (*object)->deref() )