diff options
Diffstat (limited to 'libtdepim/weaver.h')
| -rw-r--r-- | libtdepim/weaver.h | 24 | 
1 files changed, 12 insertions, 12 deletions
| diff --git a/libtdepim/weaver.h b/libtdepim/weaver.h index 20e076f4..5cffc86f 100644 --- a/libtdepim/weaver.h +++ b/libtdepim/weaver.h @@ -29,7 +29,7 @@ extern "C"  #include <tqmutex.h>  #include <tqevent.h> -#include <kdemacros.h> +#include <tdemacros.h>  namespace KPIM {  namespace ThreadWeaver { @@ -50,22 +50,22 @@ namespace ThreadWeaver {          Use setDebugLevel () to integrate adapt debug () to your platform.      */ -    KDE_EXPORT extern bool Debug; -    KDE_EXPORT extern int DebugLevel; +    TDE_EXPORT extern bool Debug; +    TDE_EXPORT extern int DebugLevel; -    KDE_EXPORT inline void setDebugLevel (bool debug, int level) +    TDE_EXPORT inline void setDebugLevel (bool debug, int level)          {              Debug = debug;              DebugLevel = level;          } -    KDE_EXPORT inline void debug(int severity, const char * cformat, ...) +    TDE_EXPORT inline void debug(int severity, const char * cformat, ...)  #ifdef __GNUC__          __attribute__ ( (format (printf, 2, 3 ) ) )  #endif  ; -    KDE_EXPORT inline void debug(int severity, const char * cformat, ...) +    TDE_EXPORT inline void debug(int severity, const char * cformat, ...)      {          if ( Debug == true && ( severity<=DebugLevel || severity == 0) )          { @@ -96,7 +96,7 @@ namespace ThreadWeaver {          Note: Do not create and use SPR/APR events, use Job::triggerSPR or          Job::triggerAPR to create the requests. */ -    class KDE_EXPORT Event : public TQCustomEvent +    class TDE_EXPORT Event : public TQCustomEvent      {      public:          enum Action { @@ -160,9 +160,9 @@ namespace ThreadWeaver {          Note: When using an APR, you better make sure to receive the signal          with some object, otherwise the calling thread will block forever!      */ -    class KDE_EXPORT Job : public TQObject +    class TDE_EXPORT Job : public TQObject      { -        Q_OBJECT +        TQ_OBJECT      public:          /** Construct a Job object. */ @@ -246,7 +246,7 @@ namespace ThreadWeaver {      /** The class Thread is used to represent the worker threads in          the weaver's inventory. It is not meant to be overloaded. */ -    class KDE_EXPORT Thread : public TQThread +    class TDE_EXPORT Thread : public TQThread      {      public:          /** Create a thread. @@ -293,9 +293,9 @@ namespace ThreadWeaver {      /** A weaver is the manager of worker threads (Thread objects) to          which it assigns jobs from it's queue. */ -    class KDE_EXPORT Weaver : public TQObject +    class TDE_EXPORT Weaver : public TQObject      { -        Q_OBJECT +        TQ_OBJECT      public:          Weaver (TQObject* parent=0, const char* name=0, | 
