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

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/41/head
Michele Calgaro 7 months ago
parent 20a8d63f05
commit 63063f5dce
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -81,7 +81,7 @@ class PluginView : public KXMLGUIClient
extern "C" extern "C"
{ {
KDE_EXPORT void* init_katefiletemplates() TDE_EXPORT void* init_katefiletemplates()
{ {
TDEGlobal::locale()->insertCatalogue("katefiletemplates"); TDEGlobal::locale()->insertCatalogue("katefiletemplates");
return new KatePluginFactory; return new KatePluginFactory;

@ -38,7 +38,7 @@ class PluginView : public KXMLGUIClient
extern "C" extern "C"
{ {
KDE_EXPORT void* init_katesortplugin() TDE_EXPORT void* init_katesortplugin()
{ {
TDEGlobal::locale()->insertCatalogue("katesort"); TDEGlobal::locale()->insertCatalogue("katesort");
return new KatePluginFactory; return new KatePluginFactory;

@ -55,7 +55,7 @@ class PluginView : public KXMLGUIClient
extern "C" extern "C"
{ {
KDE_EXPORT void* init_libkatetabbarextensionplugin() TDE_EXPORT void* init_libkatetabbarextensionplugin()
{ {
TDEGlobal::locale()->insertCatalogue("katetabbarextension"); TDEGlobal::locale()->insertCatalogue("katetabbarextension");
return new KatePluginFactory; return new KatePluginFactory;

@ -41,7 +41,7 @@
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( "kbinaryclock"); TDEGlobal::locale()->insertCatalogue( "kbinaryclock");
return new KBinaryClock( configFile, KPanelApplet::Normal, return new KBinaryClock( configFile, KPanelApplet::Normal,
KPanelApplet::Preferences, parent, "kbinaryclock"); KPanelApplet::Preferences, parent, "kbinaryclock");

@ -48,7 +48,7 @@ $Id$
// Applet initialization function // Applet initialization function
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("kolourpicker"); TDEGlobal::locale()->insertCatalogue("kolourpicker");
return new KolourPicker(configFile, KPanelApplet::Normal, return new KolourPicker(configFile, KPanelApplet::Normal,

@ -26,7 +26,7 @@
#include <kdemacros.h> #include <kdemacros.h>
class KDE_EXPORT SimpleButton : public TQButton class TDE_EXPORT SimpleButton : public TQButton
{ {
TQ_OBJECT TQ_OBJECT
@ -61,7 +61,7 @@ class KDE_EXPORT SimpleButton : public TQButton
SimpleButtonPrivate* d; SimpleButtonPrivate* d;
}; };
class KDE_EXPORT SimpleArrowButton: public SimpleButton class TDE_EXPORT SimpleArrowButton: public SimpleButton
{ {
TQ_OBJECT TQ_OBJECT

@ -35,7 +35,7 @@
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("ktimemon"); TDEGlobal::locale()->insertCatalogue("ktimemon");
KTimeMon *mon = new KTimeMon(configFile, KPanelApplet::Normal, KTimeMon *mon = new KTimeMon(configFile, KPanelApplet::Normal,

@ -49,7 +49,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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("kmathapplet"); TDEGlobal::locale()->insertCatalogue("kmathapplet");
return new MathApplet(configFile, KPanelApplet::Stretch, 0, parent, "kmathapplet"); return new MathApplet(configFile, KPanelApplet::Stretch, 0, parent, "kmathapplet");

@ -57,7 +57,7 @@ const int NO_BUTTONS = 4;
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("mediacontrol"); TDEGlobal::locale()->insertCatalogue("mediacontrol");
return new MediaControl(configFile, KPanelApplet::Normal, return new MediaControl(configFile, KPanelApplet::Normal,

@ -26,7 +26,7 @@
#include <kdemacros.h> #include <kdemacros.h>
class KDE_EXPORT SimpleButton : public TQButton class TDE_EXPORT SimpleButton : public TQButton
{ {
TQ_OBJECT TQ_OBJECT
@ -61,7 +61,7 @@ class KDE_EXPORT SimpleButton : public TQButton
SimpleButtonPrivate* d; SimpleButtonPrivate* d;
}; };
class KDE_EXPORT SimpleArrowButton: public SimpleButton class TDE_EXPORT SimpleArrowButton: public SimpleButton
{ {
TQ_OBJECT TQ_OBJECT

@ -68,7 +68,7 @@ bool KonqSidebarDelicious::universalMode()
extern "C" extern "C"
{ {
KDE_EXPORT void* create_konqsidebar_delicious( TDEInstance *instance, TQObject *par, TQWidget *widp, TDE_EXPORT void* create_konqsidebar_delicious( TDEInstance *instance, TQObject *par, TQWidget *widp,
TQString &desktopname, const char *name ) TQString &desktopname, const char *name )
{ {
TDEGlobal::locale()->insertCatalogue( "konqsidebar_delicious" ); TDEGlobal::locale()->insertCatalogue( "konqsidebar_delicious" );
@ -78,7 +78,7 @@ extern "C"
extern "C" extern "C"
{ {
KDE_EXPORT bool add_konqsidebar_delicious( TQString* fn, TQString* /*param*/, TQMap<TQString,TQString> *map ) TDE_EXPORT bool add_konqsidebar_delicious( TQString* fn, TQString* /*param*/, TQMap<TQString,TQString> *map )
{ {
map->insert("Type", "Link"); map->insert("Type", "Link");
map->insert("Icon", "konqsidebar_delicious"); map->insert("Icon", "konqsidebar_delicious");

@ -51,7 +51,7 @@ void KonqSidebar_MediaPlayer::handleURL(const KURL &/*url*/)
extern "C" extern "C"
{ {
KDE_EXPORT void* create_konqsidebar_mediaplayer(TDEInstance *instance,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name) TDE_EXPORT void* create_konqsidebar_mediaplayer(TDEInstance *instance,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name)
{ {
TDEGlobal::locale()->insertCatalogue("konqsidebar_mediaplayer"); TDEGlobal::locale()->insertCatalogue("konqsidebar_mediaplayer");
return new KonqSidebar_MediaPlayer(instance,par,widp,desktopname,name); return new KonqSidebar_MediaPlayer(instance,par,widp,desktopname,name);
@ -60,7 +60,7 @@ extern "C"
extern "C" extern "C"
{ {
KDE_EXPORT bool add_konqsidebar_mediaplayer(TQString* fn, TQString* /*param*/, TQMap<TQString,TQString> *map) TDE_EXPORT bool add_konqsidebar_mediaplayer(TQString* fn, TQString* /*param*/, TQMap<TQString,TQString> *map)
{ {
map->insert("Type","Link"); map->insert("Type","Link");
map->insert("Icon","konqsidebar_mediaplayer"); map->insert("Icon","konqsidebar_mediaplayer");

@ -38,7 +38,7 @@ void Metabar::handlePreview(const KFileItemList &items)
extern "C" extern "C"
{ {
KDE_EXPORT bool add_konqsidebar_metabar(TQString* fn, TQString* param, TQMap<TQString,TQString> *map) TDE_EXPORT bool add_konqsidebar_metabar(TQString* fn, TQString* param, TQMap<TQString,TQString> *map)
{ {
Q_UNUSED(param); Q_UNUSED(param);
@ -54,7 +54,7 @@ extern "C"
extern "C" extern "C"
{ {
KDE_EXPORT void* create_konqsidebar_metabar(TDEInstance *instance,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name) TDE_EXPORT void* create_konqsidebar_metabar(TDEInstance *instance,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name)
{ {
return new Metabar(instance,par,widp,desktopname,name); return new Metabar(instance,par,widp,desktopname,name);
} }

@ -250,7 +250,7 @@ namespace KSB_News {
extern "C" { extern "C" {
KDE_EXPORT void* create_konq_sidebarnews(TDEInstance *instance, TQObject *par, TDE_EXPORT void* create_konq_sidebarnews(TDEInstance *instance, TQObject *par,
TQWidget *widp, TQWidget *widp,
TQString &desktopname, TQString &desktopname,
const char *name) { const char *name) {
@ -260,7 +260,7 @@ namespace KSB_News {
} }
extern "C" { extern "C" {
KDE_EXPORT bool add_konq_sidebarnews(TQString* fn, TQString*, TDE_EXPORT bool add_konq_sidebarnews(TQString* fn, TQString*,
TQMap<TQString,TQString> *map) { TQMap<TQString,TQString> *map) {
map->insert("Type", "Link"); map->insert("Type", "Link");
map->insert("Icon", "konqsidebar_news"); map->insert("Icon", "konqsidebar_news");

@ -32,7 +32,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT ThumbCreator* KDE_EXPORT new_creator() TDE_EXPORT ThumbCreator* new_creator()
{ {
return new WebArchiveCreator; return new WebArchiveCreator;
} }

@ -41,7 +41,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT Plugin* create_plugin() TDE_EXPORT Plugin* create_plugin()
{ {
TDEGlobal::locale()->insertCatalogue("wakeup"); TDEGlobal::locale()->insertCatalogue("wakeup");
return new Wakeup(); return new Wakeup();

@ -25,7 +25,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT Plugin* create_plugin() TDE_EXPORT Plugin* create_plugin()
{ {
TDEGlobal::locale()->insertCatalogue("alsaplayerui"); TDEGlobal::locale()->insertCatalogue("alsaplayerui");
return new AlsaPlayer; return new AlsaPlayer;

@ -29,7 +29,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
extern "C" extern "C"
{ {
KDE_EXPORT Plugin* create_plugin() TDE_EXPORT Plugin* create_plugin()
{ {
return new SDLScope(); return new SDLScope();
} }

@ -25,7 +25,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT Plugin* create_plugin() TDE_EXPORT Plugin* create_plugin()
{ {
TDEGlobal::locale()->insertCatalogue("charlatanui"); TDEGlobal::locale()->insertCatalogue("charlatanui");
return new Charlatan; return new Charlatan;

@ -26,7 +26,7 @@
// plugin interface // plugin interface
extern "C" extern "C"
{ {
KDE_EXPORT Plugin* create_plugin() TDE_EXPORT Plugin* create_plugin()
{ {
TDEGlobal::locale()->insertCatalogue("dub"); TDEGlobal::locale()->insertCatalogue("dub");
DubPlaylist* dub = new DubPlaylist; DubPlaylist* dub = new DubPlaylist;

@ -16,7 +16,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT Plugin* create_plugin() TDE_EXPORT Plugin* create_plugin()
{ {
TDEGlobal::locale()->insertCatalogue("ffrs"); TDEGlobal::locale()->insertCatalogue("ffrs");
return new FFRS(); return new FFRS();

@ -25,7 +25,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT Plugin* create_plugin() TDE_EXPORT Plugin* create_plugin()
{ {
return new LuckyTagger; return new LuckyTagger;
} }

@ -14,7 +14,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT Plugin* create_plugin() TDE_EXPORT Plugin* create_plugin()
{ {
TDEGlobal::locale()->insertCatalogue("lyrics"); TDEGlobal::locale()->insertCatalogue("lyrics");
return new Lyrics(); return new Lyrics();

@ -8,7 +8,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT Plugin* create_plugin() TDE_EXPORT Plugin* create_plugin()
{ {
TDEGlobal::locale()->insertCatalogue("nexscope"); TDEGlobal::locale()->insertCatalogue("nexscope");
return new NexPlugin(); return new NexPlugin();

@ -21,7 +21,7 @@ RMS's novel that I'm supposed to put at the top of every story. He's insane.
extern "C" extern "C"
{ {
KDE_EXPORT Plugin* create_plugin() TDE_EXPORT Plugin* create_plugin()
{ {
return new Madness(); return new Madness();
} }

@ -19,7 +19,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT Plugin* create_plugin() TDE_EXPORT Plugin* create_plugin()
{ {
return new Oblique(); return new Oblique();
} }

@ -25,7 +25,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT Plugin* create_plugin() TDE_EXPORT Plugin* create_plugin()
{ {
TDEGlobal::locale()->insertCatalogue("pitchablespeed"); TDEGlobal::locale()->insertCatalogue("pitchablespeed");
return new PitchableSpeed(); return new PitchableSpeed();

@ -15,7 +15,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT Plugin* create_plugin() TDE_EXPORT Plugin* create_plugin()
{ {
TDEGlobal::locale()->insertCatalogue("synaescope"); TDEGlobal::locale()->insertCatalogue("synaescope");
return new SynaeScope(); return new SynaeScope();

@ -21,7 +21,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT Plugin* create_plugin() TDE_EXPORT Plugin* create_plugin()
{ {
TDEGlobal::locale()->insertCatalogue("tippecanoe"); TDEGlobal::locale()->insertCatalogue("tippecanoe");
return new SynaeScope(); return new SynaeScope();

@ -41,7 +41,7 @@ static TQString getSavePath(void)
extern "C" extern "C"
{ {
KDE_EXPORT void save_effect(t_effect *effect) TDE_EXPORT void save_effect(t_effect *effect)
{ {
TQFile file(getSavePath()); TQFile file(getSavePath());
if(!file.open(IO_WriteOnly)) if(!file.open(IO_WriteOnly))
@ -61,7 +61,7 @@ int nb_effects=0;
extern "C" extern "C"
{ {
KDE_EXPORT void load_effects() TDE_EXPORT void load_effects()
{ {
TQFile file(getDataPath()); TQFile file(getDataPath());
if(!file.open(IO_ReadOnly)) if(!file.open(IO_ReadOnly))
@ -84,7 +84,7 @@ extern "C"
extern "C" extern "C"
{ {
KDE_EXPORT void load_random_effect(t_effect *effect) TDE_EXPORT void load_random_effect(t_effect *effect)
{ {
if(nb_effects > 0) if(nb_effects > 0)
{ {

@ -14,7 +14,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT Plugin* create_plugin() TDE_EXPORT Plugin* create_plugin()
{ {
TDEGlobal::locale()->insertCatalogue("tyler"); TDEGlobal::locale()->insertCatalogue("tyler");
return new Tyler(); return new Tyler();

@ -42,7 +42,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT Plugin* create_plugin() TDE_EXPORT Plugin* create_plugin()
{ {
TDEGlobal::locale()->insertCatalogue("wavecapture"); TDEGlobal::locale()->insertCatalogue("wavecapture");
return new WaveCapture(); return new WaveCapture();

Loading…
Cancel
Save