Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Michele Calgaro 5 months ago
parent 0f9a5cb5ae
commit c82a102a6d
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -72,13 +72,13 @@
extern "C" extern "C"
{ {
KDE_EXPORT TDECModule *create_kpilotconfig( TQWidget *parent, const char * ) TDE_EXPORT TDECModule *create_kpilotconfig( TQWidget *parent, const char * )
{ {
FUNCTIONSETUP; FUNCTIONSETUP;
return new ConduitConfigWidget( parent, "kcmkpilotconfig" ); return new ConduitConfigWidget( parent, "kcmkpilotconfig" );
} }
KDE_EXPORT ConfigWizard *create_wizard(TQWidget *parent, int m) TDE_EXPORT ConfigWizard *create_wizard(TQWidget *parent, int m)
{ {
FUNCTIONSETUP; FUNCTIONSETUP;
return new ConfigWizard(parent,"Wizard", m); return new ConfigWizard(parent,"Wizard", m);

@ -75,7 +75,7 @@ private:
} ; } ;
class KDE_EXPORT SyncConfigPage : public ConfigPage class TDE_EXPORT SyncConfigPage : public ConfigPage
{ {
public: public:
SyncConfigPage( TQWidget *, const char * ); SyncConfigPage( TQWidget *, const char * );

@ -54,7 +54,7 @@
* actions in the queue in sequence. * actions in the queue in sequence.
* *
*/ */
class KDE_EXPORT ActionQueue : public SyncAction class TDE_EXPORT ActionQueue : public SyncAction
{ {
TQ_OBJECT TQ_OBJECT

@ -42,7 +42,7 @@
* It is added automatically to a ActionQueue by queueInit() in order * It is added automatically to a ActionQueue by queueInit() in order
* to inform the user of the sync. * to inform the user of the sync.
*/ */
class KDE_EXPORT WelcomeAction : public SyncAction class TDE_EXPORT WelcomeAction : public SyncAction
{ {
public: public:
/** Constructor. */ /** Constructor. */
@ -58,7 +58,7 @@ protected:
* in cases when the hotsync starts while KPilot is busy configuring * in cases when the hotsync starts while KPilot is busy configuring
* something and can't be interrupted. * something and can't be interrupted.
*/ */
class KDE_EXPORT SorryAction : public SyncAction class TDE_EXPORT SorryAction : public SyncAction
{ {
public: public:
/** /**
@ -84,7 +84,7 @@ protected:
* device that the HotSync is over, it should be the last * device that the HotSync is over, it should be the last
* action executed. * action executed.
*/ */
class KDE_EXPORT CleanupAction : public SyncAction class TDE_EXPORT CleanupAction : public SyncAction
{ {
public: public:
/** Constructor. */ /** Constructor. */
@ -100,7 +100,7 @@ protected:
* and not do anything spectacular. It lists all the databases * and not do anything spectacular. It lists all the databases
* on the handheld in the sync log. * on the handheld in the sync log.
*/ */
class KDE_EXPORT TestLink : public SyncAction class TDE_EXPORT TestLink : public SyncAction
{ {
public: public:
/** Constructor. */ /** Constructor. */

@ -69,7 +69,7 @@ enum DeviceCustomEvents {
* handheld devices, which communicate with the PC * handheld devices, which communicate with the PC
* using DLP / SLP via the pilot-link library. * using DLP / SLP via the pilot-link library.
*/ */
class KDE_EXPORT KPilotDeviceLink : public KPilotLink class TDE_EXPORT KPilotDeviceLink : public KPilotLink
{ {
friend class PilotSerialDatabase; friend class PilotSerialDatabase;
friend class DeviceCommThread; friend class DeviceCommThread;

@ -168,7 +168,7 @@ class PilotDatabase;
* with a non-zero timeout and that timeout has elapsed. The * with a non-zero timeout and that timeout has elapsed. The
* tickler is stopped before timeout is emitted. * tickler is stopped before timeout is emitted.
*/ */
class KDE_EXPORT KPilotLink : public TQObject class TDE_EXPORT KPilotLink : public TQObject
{ {
TQ_OBJECT TQ_OBJECT

@ -40,7 +40,7 @@
* Implementation of the device link for file-system backed (ie. local, fake) * Implementation of the device link for file-system backed (ie. local, fake)
* devices. Uses a directory specified in the reset() call to serve databases. * devices. Uses a directory specified in the reset() call to serve databases.
*/ */
class KDE_EXPORT KPilotLocalLink : public KPilotLink class TDE_EXPORT KPilotLocalLink : public KPilotLink
{ {
TQ_OBJECT TQ_OBJECT

@ -67,9 +67,9 @@ inline std::ostream& operator <<(std::ostream &o, const TQCString &s)
#define DEBUG (1) #define DEBUG (1)
#endif #endif
extern KDE_EXPORT int debug_level; extern TDE_EXPORT int debug_level;
class KDE_EXPORT KPilotDepthCount class TDE_EXPORT KPilotDepthCount
{ {
public: public:
KPilotDepthCount(int, int level, const char *s); KPilotDepthCount(int, int level, const char *s);
@ -147,12 +147,12 @@ TQString rtExpand(const TQString &s, TQt::TextFormat richText);
/** /**
* Convert a struct tm from the pilot-link package to a TQDateTime * Convert a struct tm from the pilot-link package to a TQDateTime
*/ */
KDE_EXPORT TQDateTime readTm(const struct tm &t); TDE_EXPORT TQDateTime readTm(const struct tm &t);
/** /**
* Convert a TQDateTime to a struct tm for use with the pilot-link package * Convert a TQDateTime to a struct tm for use with the pilot-link package
*/ */
KDE_EXPORT struct tm writeTm(const TQDateTime &dt); TDE_EXPORT struct tm writeTm(const TQDateTime &dt);
KDE_EXPORT struct tm writeTm(const TQDate &dt); TDE_EXPORT struct tm writeTm(const TQDate &dt);
// Some layout macros // Some layout macros

@ -60,7 +60,7 @@ class PilotCategoryInfo; // ... and category information
* as mapping user-visible strings from UTF8 (KDE side) to * as mapping user-visible strings from UTF8 (KDE side) to
* the encoding used on the handheld. * the encoding used on the handheld.
*/ */
namespace Pilot KDE_EXPORT namespace Pilot TDE_EXPORT
{ {
/** Maximum size of an AppInfo block, taken roughly from the pilot-link source. */ /** Maximum size of an AppInfo block, taken roughly from the pilot-link source. */
static const int MAX_APPINFO_SIZE=8192; static const int MAX_APPINFO_SIZE=8192;

@ -59,7 +59,7 @@ typedef PilotAppInfo<
* A phone slot value may be invalid. If so, operations on it will * A phone slot value may be invalid. If so, operations on it will
* fail (yielding invalid again) and isValid() will return @c false. * fail (yielding invalid again) and isValid() will return @c false.
*/ */
class KDE_EXPORT PhoneSlot class TDE_EXPORT PhoneSlot
{ {
friend class PilotAddress; friend class PilotAddress;
protected: protected:
@ -125,7 +125,7 @@ private:
} ; } ;
class KDE_EXPORT PilotAddressInfo : public PilotAddressInfo_ class TDE_EXPORT PilotAddressInfo : public PilotAddressInfo_
{ {
public: public:
PilotAddressInfo(PilotDatabase *d) : PilotAddressInfo_(d) PilotAddressInfo(PilotDatabase *d) : PilotAddressInfo_(d)
@ -187,7 +187,7 @@ public:
* this order is kept. In other languages, main can replaced with * this order is kept. In other languages, main can replaced with
* Corporation. * Corporation.
*/ */
class KDE_EXPORT PilotAddress : public PilotRecordBase class TDE_EXPORT PilotAddress : public PilotRecordBase
{ {
public: public:
PilotAddress(PilotRecord *rec = 0L); PilotAddress(PilotRecord *rec = 0L);

@ -47,7 +47,7 @@
* *
* This class encapsulates the basic category table manipulations. * This class encapsulates the basic category table manipulations.
*/ */
class KDE_EXPORT PilotAppInfoBase class TDE_EXPORT PilotAppInfoBase
{ {
protected: protected:
/** Initialize class members after reading header, to alias data elsewhere. /** Initialize class members after reading header, to alias data elsewhere.

@ -47,7 +47,7 @@
* PilotDatabase methods when finished with them! * PilotDatabase methods when finished with them!
*/ */
class KDE_EXPORT PilotDatabase class TDE_EXPORT PilotDatabase
{ {
public: public:
PilotDatabase(const TQString &name = TQString()); PilotDatabase(const TQString &name = TQString());

@ -69,7 +69,7 @@ public:
}; };
/** This class is a wrapper for pilot-link's datebook entries (struct Appointment). */ /** This class is a wrapper for pilot-link's datebook entries (struct Appointment). */
class KDE_EXPORT PilotDateEntry : public PilotRecordBase class TDE_EXPORT PilotDateEntry : public PilotRecordBase
{ {
public: public:
/** Constructor. Zeroes out the appointment. */ /** Constructor. Zeroes out the appointment. */

@ -40,7 +40,7 @@
* PilotLocalDatabase represents databases in the same binary format * PilotLocalDatabase represents databases in the same binary format
* as on the handheld but which are stored on local disk. * as on the handheld but which are stored on local disk.
*/ */
class KDE_EXPORT PilotLocalDatabase : public PilotDatabase class TDE_EXPORT PilotLocalDatabase : public PilotDatabase
{ {
public: public:
/** /**

@ -36,7 +36,7 @@
#include "pilotRecord.h" #include "pilotRecord.h"
#include "pilotAppInfo.h" #include "pilotAppInfo.h"
class KDE_EXPORT PilotMemo : public PilotRecordBase class TDE_EXPORT PilotMemo : public PilotRecordBase
{ {
public: public:
/** /**

@ -45,7 +45,7 @@
* a common base class collecting methods to manipulate those * a common base class collecting methods to manipulate those
* common characteristics. * common characteristics.
*/ */
class KDE_EXPORT PilotRecordBase class TDE_EXPORT PilotRecordBase
{ {
public: public:
/** Constructor. Initialize the characteristics to the /** Constructor. Initialize the characteristics to the
@ -232,7 +232,7 @@ private:
* This binary blob only exposes the data via the data() and size() functions, * This binary blob only exposes the data via the data() and size() functions,
* and also exposes the common characteristics of all entries. * and also exposes the common characteristics of all entries.
*/ */
class KDE_EXPORT PilotRecord : public PilotRecordBase class TDE_EXPORT PilotRecord : public PilotRecordBase
{ {
public: public:
/** Constructor. Using the given @p data and @p length, create /** Constructor. Using the given @p data and @p length, create

@ -45,7 +45,7 @@ class KPilotDeviceLink;
* PilotSerialDatabase represents databases stored on the handheld * PilotSerialDatabase represents databases stored on the handheld
* and accessed through the SLP / DLP protocol. * and accessed through the SLP / DLP protocol.
*/ */
class KDE_EXPORT PilotSerialDatabase : public PilotDatabase class TDE_EXPORT PilotSerialDatabase : public PilotDatabase
{ {
friend class KPilotDeviceLink; friend class KPilotDeviceLink;
protected: protected:

@ -46,7 +46,7 @@
*/ */
/** A decoded ToDo item. */ /** A decoded ToDo item. */
class KDE_EXPORT PilotTodoEntry : public PilotRecordBase class TDE_EXPORT PilotTodoEntry : public PilotRecordBase
{ {
public: public:
/** Create an empty ToDo item. All attributes are 0. */ /** Create an empty ToDo item. All attributes are 0. */

@ -75,7 +75,7 @@ namespace Pilot
* seems a little foolish. * seems a little foolish.
* *
*/ */
class KDE_EXPORT ConduitConfigBase : public TQObject class TDE_EXPORT ConduitConfigBase : public TQObject
{ {
TQ_OBJECT TQ_OBJECT
@ -192,7 +192,7 @@ signals:
* by the conduit and offer rollback functionality if we think the * by the conduit and offer rollback functionality if we think the
* conduit has behaved improperly. * conduit has behaved improperly.
*/ */
class KDE_EXPORT CUDCounter class TDE_EXPORT CUDCounter
{ {
public: public:
/** Create new counter initialized to 0, and be told what /** Create new counter initialized to 0, and be told what
@ -258,7 +258,7 @@ private:
* conduit can read/write metadata and local settings. * conduit can read/write metadata and local settings.
*/ */
class KDE_EXPORT ConduitAction : public SyncAction class TDE_EXPORT ConduitAction : public SyncAction
{ {
TQ_OBJECT TQ_OBJECT
@ -388,7 +388,7 @@ protected:
} ; } ;
/** A namespace containing only static helper methods. */ /** A namespace containing only static helper methods. */
namespace PluginUtility KDE_EXPORT namespace PluginUtility TDE_EXPORT
{ {
/** Searches the argument list for --foo=bar and returns bar, TQString() if not found. /** Searches the argument list for --foo=bar and returns bar, TQString() if not found.
* Don't include the -- in the argname. */ * Don't include the -- in the argname. */

@ -47,7 +47,7 @@ class TQTimer;
class KPilotUser; class KPilotUser;
class SyncAction; class SyncAction;
class KDE_EXPORT SyncAction : public TQObject class TDE_EXPORT SyncAction : public TQObject
{ {
TQ_OBJECT TQ_OBJECT

Loading…
Cancel
Save