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

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/79/head
Michele Calgaro 7 months ago
parent 263539096d
commit 3e0f7a4094
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1446,7 +1446,7 @@ TQString KcmSambaConf::handbookSection() const
extern "C" extern "C"
{ {
KDE_EXPORT TDECModule *create_KcmSambaConf(TQWidget *parent, const char *name) TDE_EXPORT TDECModule *create_KcmSambaConf(TQWidget *parent, const char *name)
{ {
TDEGlobal::locale()->insertCatalogue("tdefileshare"); TDEGlobal::locale()->insertCatalogue("tdefileshare");
return new KcmSambaConf(parent, name); return new KcmSambaConf(parent, name);

@ -74,7 +74,7 @@ void PopupBox::enablePopup()
extern "C" extern "C"
{ {
KDE_EXPORT KPanelApplet* init(TQWidget *parent, const TQString& configFile) TDE_EXPORT KPanelApplet* init(TQWidget *parent, const TQString& configFile)
{ {
TDEGlobal::locale()->insertCatalogue("kdictapplet"); TDEGlobal::locale()->insertCatalogue("kdictapplet");
return new DictApplet(configFile, KPanelApplet::Stretch, 0, parent, "kdictapplet"); return new DictApplet(configFile, KPanelApplet::Stretch, 0, parent, "kdictapplet");

@ -29,7 +29,7 @@ static TDECmdLineOptions knoptions[] =
}; };
extern "C" KDE_EXPORT int kdemain(int argc, char* argv[]) extern "C" TDE_EXPORT int kdemain(int argc, char* argv[])
{ {
TDEAboutData aboutData("kdict", TDEAboutData aboutData("kdict",
I18N_NOOP("Dictionary"), I18N_NOOP("Dictionary"),

@ -176,7 +176,7 @@ KPluginFactory::~KPluginFactory()
extern "C" extern "C"
{ {
KDE_EXPORT void* init_tdehtml_kget() TDE_EXPORT void* init_tdehtml_kget()
{ {
TDEGlobal::locale()->insertCatalogue("kget"); TDEGlobal::locale()->insertCatalogue("kget");
return new KPluginFactory; return new KPluginFactory;

@ -36,7 +36,7 @@ class TQDomDocument;
class TDEProcess; class TDEProcess;
class KURL; class KURL;
class KDE_EXPORT Article : public XMLNewsArticle, public TDEShared class TDE_EXPORT Article : public XMLNewsArticle, public TDEShared
{ {
public: public:
typedef TDESharedPtr<Article> Ptr; typedef TDESharedPtr<Article> Ptr;
@ -58,7 +58,7 @@ class KDE_EXPORT Article : public XMLNewsArticle, public TDEShared
bool m_read; bool m_read;
}; };
class KDE_EXPORT NewsSourceBase : public XMLNewsSource, public TDEShared class TDE_EXPORT NewsSourceBase : public XMLNewsSource, public TDEShared
{ {
TQ_OBJECT TQ_OBJECT
@ -133,7 +133,7 @@ class KDE_EXPORT NewsSourceBase : public XMLNewsSource, public TDEShared
Article::List m_articles; Article::List m_articles;
}; };
class KDE_EXPORT SourceFileNewsSource : public NewsSourceBase class TDE_EXPORT SourceFileNewsSource : public NewsSourceBase
{ {
TQ_OBJECT TQ_OBJECT
@ -172,7 +172,7 @@ class KDE_EXPORT SourceFileNewsSource : public NewsSourceBase
#undef EHOSTDOWN #undef EHOSTDOWN
#undef EHOSTUNREACH #undef EHOSTUNREACH
class KDE_EXPORT ProgramNewsSource : public NewsSourceBase class TDE_EXPORT ProgramNewsSource : public NewsSourceBase
{ {
TQ_OBJECT TQ_OBJECT

@ -533,7 +533,7 @@ void KNewsTickerMenu::slotOpenArticle(int idx)
extern "C" extern "C"
{ {
KDE_EXPORT KPanelApplet* init(TQWidget *parent, const TQString &configFile) TDE_EXPORT KPanelApplet* init(TQWidget *parent, const TQString &configFile)
{ {
TDEGlobal::locale()->insertCatalogue(TQString::fromLatin1("knewsticker")); TDEGlobal::locale()->insertCatalogue(TQString::fromLatin1("knewsticker"));
return new KNewsTicker(configFile, KPanelApplet::Stretch, return new KNewsTicker(configFile, KPanelApplet::Stretch,

@ -120,7 +120,7 @@ TQObject *KntSrcFilePropsFactory::createObject(TQObject *parent, const char *,
extern "C" extern "C"
{ {
KDE_EXPORT void *init_libkntsrcfilepropsdlg() TDE_EXPORT void *init_libkntsrcfilepropsdlg()
{ {
TDEGlobal::locale()->insertCatalogue( "knewsticker" ); TDEGlobal::locale()->insertCatalogue( "knewsticker" );
return new KntSrcFilePropsFactory(); return new KntSrcFilePropsFactory();

@ -22,7 +22,7 @@
#include <tdeversion.h> #include <tdeversion.h>
#if KDE_IS_VERSION(3,3,2) #if KDE_IS_VERSION(3,3,2)
#define KOPETE_EXPORT KDE_EXPORT #define KOPETE_EXPORT TDE_EXPORT
#else #else
#define KOPETE_EXPORT #define KOPETE_EXPORT
#endif #endif

@ -378,7 +378,7 @@ void JabberDiscoProtocol::dispatchLoop ()
extern "C" extern "C"
{ {
KDE_EXPORT int kdemain(int argc, char **argv); TDE_EXPORT int kdemain(int argc, char **argv);
} }

@ -35,8 +35,8 @@ kopete_msn_la_LDFLAGS = -no-undefined -module $(KDE_PLUGIN) $(all_libraries) $(L
dummy.cpp: $(srcdir)/Makefile.am dummy.cpp: $(srcdir)/Makefile.am
echo '#include "kdemacros.h"' > $@ echo '#include "kdemacros.h"' > $@
echo 'extern "C" KDE_EXPORT void *init_libkopete_msn_shared();' >> $@ echo 'extern "C" TDE_EXPORT void *init_libkopete_msn_shared();' >> $@
echo 'extern "C" KDE_EXPORT void *init_kopete_msn() { return init_libkopete_msn_shared(); }' >> $@ echo 'extern "C" TDE_EXPORT void *init_kopete_msn() { return init_libkopete_msn_shared(); }' >> $@
service_DATA = kopete_msn.desktop service_DATA = kopete_msn.desktop
servicedir = $(kde_servicesdir) servicedir = $(kde_servicesdir)

@ -1,3 +1,3 @@
#include "kdemacros.h" #include "kdemacros.h"
extern "C" KDE_EXPORT void *init_libkopete_msn_shared(); extern "C" TDE_EXPORT void *init_libkopete_msn_shared();
extern "C" KDE_EXPORT void *init_kopete_msn() { return init_libkopete_msn_shared(); } extern "C" TDE_EXPORT void *init_kopete_msn() { return init_libkopete_msn_shared(); }

@ -39,7 +39,7 @@ class OscarContact;
class OscarAccountPrivate; class OscarAccountPrivate;
class TQTextCodec; class TQTextCodec;
class KDE_EXPORT OscarAccount : public Kopete::PasswordedAccount class TDE_EXPORT OscarAccount : public Kopete::PasswordedAccount
{ {
TQ_OBJECT TQ_OBJECT

@ -57,7 +57,7 @@ class TDEToggleAction;
* \li get/set the ignore setting for the contact * \li get/set the ignore setting for the contact
* \li get/set the visibility setting for the contact ( i.e. are we visible to the contact ) * \li get/set the visibility setting for the contact ( i.e. are we visible to the contact )
*/ */
class KDE_EXPORT OscarContact : public Kopete::Contact class TDE_EXPORT OscarContact : public Kopete::Contact
{ {
TQ_OBJECT TQ_OBJECT

@ -34,7 +34,7 @@ class TDEToggleAction;
* myself() contact for oscar protocol * myself() contact for oscar protocol
* @author Richard Smith * @author Richard Smith
*/ */
class KDE_EXPORT OscarMyselfContact : public Kopete::Contact class TDE_EXPORT OscarMyselfContact : public Kopete::Contact
{ {
TQ_OBJECT TQ_OBJECT

@ -53,7 +53,7 @@ static const char kpfVersion[] = "1.0.1";
extern "C" extern "C"
{ {
KDE_EXPORT KPanelApplet * TDE_EXPORT KPanelApplet *
init(TQWidget * parent, const TQString & configFile) init(TQWidget * parent, const TQString & configFile)
{ {
if (0 == kpf::userId() || 0 == kpf::effectiveUserId()) if (0 == kpf::userId() || 0 == kpf::effectiveUserId())

@ -47,7 +47,7 @@ typedef KGenericFactory<KcmKRfb, TQWidget> KcmKRfbFactory;
// Can't use K_EXPORT_COMPONENT_FACTORY, since insertCatalogue necessary // Can't use K_EXPORT_COMPONENT_FACTORY, since insertCatalogue necessary
extern "C" { extern "C" {
KDE_EXPORT void *init_kcm_krfb() { TDE_EXPORT void *init_kcm_krfb() {
TDEGlobal::locale()->insertCatalogue("krfb"); // For invitation translations TDEGlobal::locale()->insertCatalogue("krfb"); // For invitation translations
return new KcmKRfbFactory("kcm_krfb"); return new KcmKRfbFactory("kcm_krfb");
} }

@ -650,7 +650,7 @@ KInetD::~KInetD() {
} }
extern "C" { extern "C" {
KDE_EXPORT KDEDModule *create_kinetd(TQCString &name) TDE_EXPORT KDEDModule *create_kinetd(TQCString &name)
{ {
TDEGlobal::locale()->insertCatalogue("kinetd"); TDEGlobal::locale()->insertCatalogue("kinetd");
return new KInetD(name); return new KInetD(name);

@ -66,7 +66,7 @@ public:
} }
}; };
extern "C" KDE_EXPORT int kdemain( int argc, char ** argv ) extern "C" TDE_EXPORT int kdemain( int argc, char ** argv )
{ {
TDEAboutData aboutData( "ksirc", I18N_NOOP("KSirc"), TDEAboutData aboutData( "ksirc", I18N_NOOP("KSirc"),
KSIRC_VERSION, description, TDEAboutData::License_Artistic, KSIRC_VERSION, description, TDEAboutData::License_Artistic,

@ -102,22 +102,22 @@ TQString KTalkdConfigModule::handbookSection() const
extern "C" extern "C"
{ {
KDE_EXPORT TDECModule *create_ktalkd(TQWidget *parent, const char *) TDE_EXPORT TDECModule *create_ktalkd(TQWidget *parent, const char *)
{ {
return new KTalkdConfigModule(parent, "kcmktalkd"); return new KTalkdConfigModule(parent, "kcmktalkd");
} }
KDE_EXPORT TDECModule *create_ktalkd_answmach(TQWidget *parent, const char *) TDE_EXPORT TDECModule *create_ktalkd_answmach(TQWidget *parent, const char *)
{ {
return new KAnswmachPageConfig(parent, "kcmktalkd"); return new KAnswmachPageConfig(parent, "kcmktalkd");
} }
KDE_EXPORT TDECModule *create_ktalkd_sound(TQWidget *parent, const char *) TDE_EXPORT TDECModule *create_ktalkd_sound(TQWidget *parent, const char *)
{ {
return new KSoundPageConfig(parent, "kcmktalkd"); return new KSoundPageConfig(parent, "kcmktalkd");
} }
KDE_EXPORT TDECModule *create_ktalkd_forwmach(TQWidget *parent, const char *) TDE_EXPORT TDECModule *create_ktalkd_forwmach(TQWidget *parent, const char *)
{ {
return new KForwmachPageConfig(parent, "kcmktalkd"); return new KForwmachPageConfig(parent, "kcmktalkd");
} }

@ -33,15 +33,15 @@
extern "C" extern "C"
{ {
KDE_EXPORT TDECModule *create_lisa(TQWidget *parent, const char *) TDE_EXPORT TDECModule *create_lisa(TQWidget *parent, const char *)
{ {
return new LisaSettings("/etc/lisarc", parent); return new LisaSettings("/etc/lisarc", parent);
} }
KDE_EXPORT TDECModule *create_reslisa(TQWidget *parent, const char *) TDE_EXPORT TDECModule *create_reslisa(TQWidget *parent, const char *)
{ {
return new ResLisaSettings(TQDir::homeDirPath()+"/.reslisarc", parent); return new ResLisaSettings(TQDir::homeDirPath()+"/.reslisarc", parent);
} }
KDE_EXPORT TDECModule *create_tdeiolan(TQWidget *parent, const char *) TDE_EXPORT TDECModule *create_tdeiolan(TQWidget *parent, const char *)
{ {
return new IOSlaveSettings("tdeio_lanrc", parent); return new IOSlaveSettings("tdeio_lanrc", parent);
} }

@ -62,7 +62,7 @@ using namespace TDEIO;
#define SHUT_RDWR 2 #define SHUT_RDWR 2
#endif #endif
extern "C" { KDE_EXPORT int kdemain(int argc, char **argv); } extern "C" { TDE_EXPORT int kdemain(int argc, char **argv); }
int kdemain( int argc, char **argv ) int kdemain( int argc, char **argv )
{ {

@ -13,7 +13,7 @@
#include <kdemacros.h> #include <kdemacros.h>
#define LIBRSS_EXPORT KDE_EXPORT #define LIBRSS_EXPORT TDE_EXPORT
template <class> template <class>
class TQValueList; class TQValueList;

@ -349,7 +349,7 @@ void ZeroConfProtocol::newService(DNSSD::RemoteService::Ptr srv)
extern "C" extern "C"
{ {
int KDE_EXPORT kdemain( int argc, char **argv ) int TDE_EXPORT kdemain( int argc, char **argv )
{ {
// TDEApplication is necessary to use other ioslaves // TDEApplication is necessary to use other ioslaves
putenv(strdup("SESSION_MANAGER=")); putenv(strdup("SESSION_MANAGER="));

@ -84,7 +84,7 @@ void DNSSDWatcher::createNotifier(const KURL& url)
} }
extern "C" { extern "C" {
KDE_EXPORT KDEDModule *create_dnssdwatcher(const TQCString &obj) TDE_EXPORT KDEDModule *create_dnssdwatcher(const TQCString &obj)
{ {
TDEGlobal::locale()->insertCatalogue("dnssdwatcher"); TDEGlobal::locale()->insertCatalogue("dnssdwatcher");
return new DNSSDWatcher(obj); return new DNSSDWatcher(obj);

@ -76,7 +76,7 @@ void KWireLess::resizeEvent(TQResizeEvent *)
extern "C" extern "C"
{ {
KDE_EXPORT KPanelApplet* init( TQWidget *parent, const TQString configFile) TDE_EXPORT KPanelApplet* init( TQWidget *parent, const TQString configFile)
{ {
TDEGlobal::locale()->insertCatalogue("kwireless"); TDEGlobal::locale()->insertCatalogue("kwireless");
return new KWireLess(configFile, KPanelApplet::Normal, return new KWireLess(configFile, KPanelApplet::Normal,

Loading…
Cancel
Save