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

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/44/head
Michele Calgaro 6 months ago
parent d9b27263d7
commit 8d98323ef6
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -103,7 +103,7 @@ void PhaseStyleConfig::defaults()
extern "C"
{
KDE_EXPORT TQObject* allocate_tdestyle_config(TQWidget* parent) {
TDE_EXPORT TQObject* allocate_tdestyle_config(TQWidget* parent) {
return(new PhaseStyleConfig(parent));
}
}

@ -896,16 +896,16 @@ void EuphoriaWidget::setDefaults(int which)
// libtdescreensaver interface
extern "C"
{
KDE_EXPORT const char* kss_applicationName = "keuphoria.kss";
KDE_EXPORT const char* kss_description = I18N_NOOP( "Euphoria" );
KDE_EXPORT const char* kss_version = "1.0";
TDE_EXPORT const char* kss_applicationName = "keuphoria.kss";
TDE_EXPORT const char* kss_description = I18N_NOOP( "Euphoria" );
TDE_EXPORT const char* kss_version = "1.0";
KDE_EXPORT KScreenSaver* kss_create( WId id )
TDE_EXPORT KScreenSaver* kss_create( WId id )
{
return new KEuphoriaScreenSaver( id );
}
KDE_EXPORT TQDialog* kss_setup()
TDE_EXPORT TQDialog* kss_setup()
{
return new KEuphoriaSetup;
}

@ -780,16 +780,16 @@ void FluxWidget::updateParameters()
// libtdescreensaver interface
extern "C"
{
KDE_EXPORT const char* kss_applicationName = "kflux.kss";
KDE_EXPORT const char* kss_description = I18N_NOOP( "Flux" );
KDE_EXPORT const char* kss_version = "1.0";
TDE_EXPORT const char* kss_applicationName = "kflux.kss";
TDE_EXPORT const char* kss_description = I18N_NOOP( "Flux" );
TDE_EXPORT const char* kss_version = "1.0";
KDE_EXPORT KScreenSaver* kss_create( WId id )
TDE_EXPORT KScreenSaver* kss_create( WId id )
{
return new KFluxScreenSaver( id );
}
KDE_EXPORT TQDialog* kss_setup()
TDE_EXPORT TQDialog* kss_setup()
{
return new KFluxSetup;
}

@ -594,16 +594,16 @@ void SWindsWidget::setDefaults(int which)
// libtdescreensaver interface
extern "C"
{
KDE_EXPORT const char* kss_applicationName = "ksolarwinds.kss";
KDE_EXPORT const char* kss_description = I18N_NOOP( "Solar Winds" );
KDE_EXPORT const char* kss_version = "1.0";
TDE_EXPORT const char* kss_applicationName = "ksolarwinds.kss";
TDE_EXPORT const char* kss_description = I18N_NOOP( "Solar Winds" );
TDE_EXPORT const char* kss_version = "1.0";
KDE_EXPORT KScreenSaver* kss_create( WId id )
TDE_EXPORT KScreenSaver* kss_create( WId id )
{
return new KSWindsScreenSaver( id );
}
KDE_EXPORT TQDialog* kss_setup()
TDE_EXPORT TQDialog* kss_setup()
{
return new KSWindsSetup;
}

@ -40,16 +40,16 @@
// libtdescreensaver interface
extern "C"
{
KDE_EXPORT const char *kss_applicationName = "kbanner.kss";
KDE_EXPORT const char *kss_description = I18N_NOOP( "KBanner" );
KDE_EXPORT const char *kss_version = "2.2.0";
TDE_EXPORT const char *kss_applicationName = "kbanner.kss";
TDE_EXPORT const char *kss_description = I18N_NOOP( "KBanner" );
TDE_EXPORT const char *kss_version = "2.2.0";
KDE_EXPORT KScreenSaver *kss_create( WId id )
TDE_EXPORT KScreenSaver *kss_create( WId id )
{
return new KBannerSaver( id );
}
KDE_EXPORT TQDialog *kss_setup()
TDE_EXPORT TQDialog *kss_setup()
{
return new KBannerSetup();
}

@ -47,16 +47,16 @@
// libtdescreensaver interface
extern "C"
{
KDE_EXPORT const char *kss_applicationName = "kblob.kss";
KDE_EXPORT const char *kss_description = I18N_NOOP( "KBlob" );
KDE_EXPORT const char *kss_version = "2.2.0";
TDE_EXPORT const char *kss_applicationName = "kblob.kss";
TDE_EXPORT const char *kss_description = I18N_NOOP( "KBlob" );
TDE_EXPORT const char *kss_version = "2.2.0";
KDE_EXPORT KScreenSaver *kss_create( WId id )
TDE_EXPORT KScreenSaver *kss_create( WId id )
{
return new KBlobSaver( id );
}
KDE_EXPORT TQDialog *kss_setup()
TDE_EXPORT TQDialog *kss_setup()
{
return new KBlobSetup();
}

@ -96,16 +96,16 @@ class KFireSaverSetupKDB : public KDialogBase
extern "C"
{
KDE_EXPORT const char *kss_applicationName = "kfiresaver.kss";
KDE_EXPORT const char *kss_description = I18N_NOOP( "Fireworks 3D (GL)" );
KDE_EXPORT const char *kss_version = "0.7";
TDE_EXPORT const char *kss_applicationName = "kfiresaver.kss";
TDE_EXPORT const char *kss_description = I18N_NOOP( "Fireworks 3D (GL)" );
TDE_EXPORT const char *kss_version = "0.7";
KDE_EXPORT KScreenSaver *kss_create( WId id )
TDE_EXPORT KScreenSaver *kss_create( WId id )
{
return new KFireSaverKSS( id );
}
KDE_EXPORT TQDialog *kss_setup()
TDE_EXPORT TQDialog *kss_setup()
{
return new KFireSaverSetupKDB;
}

@ -37,16 +37,16 @@
// libtdescreensaver interface
extern "C"
{
KDE_EXPORT const char *kss_applicationName = "kfountain.kss";
KDE_EXPORT const char *kss_description = I18N_NOOP( "Particle Fountain Screen Saver" );
KDE_EXPORT const char *kss_version = "2.2.0";
TDE_EXPORT const char *kss_applicationName = "kfountain.kss";
TDE_EXPORT const char *kss_description = I18N_NOOP( "Particle Fountain Screen Saver" );
TDE_EXPORT const char *kss_version = "2.2.0";
KDE_EXPORT KScreenSaver *kss_create( WId id )
TDE_EXPORT KScreenSaver *kss_create( WId id )
{
return new KFountainSaver( id );
}
KDE_EXPORT TQDialog *kss_setup()
TDE_EXPORT TQDialog *kss_setup()
{
return new KFountainSetup();
}

@ -36,16 +36,16 @@
// libtdescreensaver interface
extern "C"
{
KDE_EXPORT const char *kss_applicationName = "kgravity.kss";
KDE_EXPORT const char *kss_description = I18N_NOOP( "Particle Gravity Screen Saver" );
KDE_EXPORT const char *kss_version = "2.2.0";
TDE_EXPORT const char *kss_applicationName = "kgravity.kss";
TDE_EXPORT const char *kss_description = I18N_NOOP( "Particle Gravity Screen Saver" );
TDE_EXPORT const char *kss_version = "2.2.0";
KDE_EXPORT KScreenSaver *kss_create( WId id )
TDE_EXPORT KScreenSaver *kss_create( WId id )
{
return new KGravitySaver( id );
}
KDE_EXPORT TQDialog *kss_setup()
TDE_EXPORT TQDialog *kss_setup()
{
return new KGravitySetup();
}

@ -50,15 +50,15 @@ const bool DEFAULT_KEEP_CENTERED = false;
extern "C" {
KDE_EXPORT const char *kss_applicationName = "kclock.kss";
KDE_EXPORT const char *kss_description = I18N_NOOP("Clock");
KDE_EXPORT const char *kss_version = "1.0";
TDE_EXPORT const char *kss_applicationName = "kclock.kss";
TDE_EXPORT const char *kss_description = I18N_NOOP("Clock");
TDE_EXPORT const char *kss_version = "1.0";
KDE_EXPORT KScreenSaver *kss_create(WId id) {
TDE_EXPORT KScreenSaver *kss_create(WId id) {
return new KClockSaver(id);
}
KDE_EXPORT TQDialog *kss_setup() {
TDE_EXPORT TQDialog *kss_setup() {
return new KClockSetup();
}
}

@ -61,16 +61,16 @@
// libtdescreensaver interface
extern "C"
{
KDE_EXPORT const char *kss_applicationName = "kvm.kss";
KDE_EXPORT const char *kss_description = I18N_NOOP( "Virtual Machine" );
KDE_EXPORT const char *kss_version = "2.2.0";
TDE_EXPORT const char *kss_applicationName = "kvm.kss";
TDE_EXPORT const char *kss_description = I18N_NOOP( "Virtual Machine" );
TDE_EXPORT const char *kss_version = "2.2.0";
KDE_EXPORT KScreenSaver *kss_create( WId id )
TDE_EXPORT KScreenSaver *kss_create( WId id )
{
return new kVmSaver( id );
}
KDE_EXPORT TQDialog *kss_setup()
TDE_EXPORT TQDialog *kss_setup()
{
return new kVmSetup();
}

@ -33,16 +33,16 @@
// libtdescreensaver interface
extern "C"
{
KDE_EXPORT const char *kss_applicationName = "klines.kss";
KDE_EXPORT const char *kss_description = I18N_NOOP( "KLines" );
KDE_EXPORT const char *kss_version = "2.2.0";
TDE_EXPORT const char *kss_applicationName = "klines.kss";
TDE_EXPORT const char *kss_description = I18N_NOOP( "KLines" );
TDE_EXPORT const char *kss_version = "2.2.0";
KDE_EXPORT KScreenSaver *kss_create( WId id )
TDE_EXPORT KScreenSaver *kss_create( WId id )
{
return new kLinesSaver( id );
}
KDE_EXPORT TQDialog *kss_setup()
TDE_EXPORT TQDialog *kss_setup()
{
return new kLinesSetup();
}

@ -29,16 +29,16 @@
// libtdescreensaver interface
extern "C"
{
KDE_EXPORT const char *kss_applicationName = "klorenz.kss";
KDE_EXPORT const char *kss_description = I18N_NOOP( "KLorenz" );
KDE_EXPORT const char *kss_version = "2.2.0";
TDE_EXPORT const char *kss_applicationName = "klorenz.kss";
TDE_EXPORT const char *kss_description = I18N_NOOP( "KLorenz" );
TDE_EXPORT const char *kss_version = "2.2.0";
KDE_EXPORT KScreenSaver *kss_create( WId id )
TDE_EXPORT KScreenSaver *kss_create( WId id )
{
return new KLorenzSaver( id );
}
KDE_EXPORT TQDialog *kss_setup()
TDE_EXPORT TQDialog *kss_setup()
{
return new KLorenzSetup();
}

@ -53,21 +53,21 @@
extern "C"
{
/// application name for libtdescreensaver interface
KDE_EXPORT const char *kss_applicationName = "kpendulum.kss";
TDE_EXPORT const char *kss_applicationName = "kpendulum.kss";
/// application description for libtdescreensaver interface
KDE_EXPORT const char *kss_description = I18N_NOOP("Simulation of\
TDE_EXPORT const char *kss_description = I18N_NOOP("Simulation of\
a two-part pendulum");
/// application version for libtdescreensaver interface
KDE_EXPORT const char *kss_version = KPENDULUM_VERSION;
TDE_EXPORT const char *kss_version = KPENDULUM_VERSION;
/// function to create screen saver object
KDE_EXPORT KScreenSaver* kss_create(WId id)
TDE_EXPORT KScreenSaver* kss_create(WId id)
{
return new KPendulumSaver(id);
}
/// function to create setup dialog for screen saver
KDE_EXPORT TQDialog* kss_setup()
TDE_EXPORT TQDialog* kss_setup()
{
return new KPendulumSetup();
}

@ -31,16 +31,16 @@
// libtdescreensaver interface
extern "C"
{
KDE_EXPORT const char *kss_applicationName = "kpolygon.kss";
KDE_EXPORT const char *kss_description = I18N_NOOP( "KPolygon" );
KDE_EXPORT const char *kss_version = "2.2.0";
TDE_EXPORT const char *kss_applicationName = "kpolygon.kss";
TDE_EXPORT const char *kss_description = I18N_NOOP( "KPolygon" );
TDE_EXPORT const char *kss_version = "2.2.0";
KDE_EXPORT KScreenSaver *kss_create( WId id )
TDE_EXPORT KScreenSaver *kss_create( WId id )
{
return new kPolygonSaver( id );
}
KDE_EXPORT TQDialog *kss_setup()
TDE_EXPORT TQDialog *kss_setup()
{
return new kPolygonSetup();
}

@ -54,21 +54,21 @@
extern "C"
{
/** application name for the libtdescreensaver interface */
KDE_EXPORT const char *kss_applicationName = "krotation.kss";
TDE_EXPORT const char *kss_applicationName = "krotation.kss";
/** application description for the libtdescreensaver interface */
KDE_EXPORT const char *kss_description =
TDE_EXPORT const char *kss_description =
I18N_NOOP("Simulation of a force free rotating asymmetric body");
/** application version for the libtdescreensaver interface */
KDE_EXPORT const char *kss_version = KROTATION_VERSION;
TDE_EXPORT const char *kss_version = KROTATION_VERSION;
/** function to create screen saver object */
KDE_EXPORT KScreenSaver* kss_create(WId id)
TDE_EXPORT KScreenSaver* kss_create(WId id)
{
return new KRotationSaver(id);
}
/** function to create setup dialog for screen saver */
KDE_EXPORT TQDialog* kss_setup()
TDE_EXPORT TQDialog* kss_setup()
{
return new KRotationSetup();
}

@ -54,16 +54,16 @@
// libtdescreensaver interface
extern "C"
{
KDE_EXPORT const char *kss_applicationName = "kscience.kss";
KDE_EXPORT const char *kss_description = I18N_NOOP( "Science Screen Saver" );
KDE_EXPORT const char *kss_version = "2.2.0";
TDE_EXPORT const char *kss_applicationName = "kscience.kss";
TDE_EXPORT const char *kss_description = I18N_NOOP( "Science Screen Saver" );
TDE_EXPORT const char *kss_version = "2.2.0";
KDE_EXPORT KScreenSaver *kss_create( WId id )
TDE_EXPORT KScreenSaver *kss_create( WId id )
{
return new KScienceSaver( id );
}
KDE_EXPORT TQDialog *kss_setup()
TDE_EXPORT TQDialog *kss_setup()
{
return new KScienceSetup();
}

@ -53,16 +53,16 @@ static const char description[] = I18N_NOOP("KSlideshow");
// libtdescreensaver interface
extern "C"
{
KDE_EXPORT const char *kss_applicationName = "kslideshow.kss";
KDE_EXPORT const char *kss_description = I18N_NOOP( "KSlideshow" );
KDE_EXPORT const char *kss_version = SLIDESHOW_VERSION;
TDE_EXPORT const char *kss_applicationName = "kslideshow.kss";
TDE_EXPORT const char *kss_description = I18N_NOOP( "KSlideshow" );
TDE_EXPORT const char *kss_version = SLIDESHOW_VERSION;
KDE_EXPORT KScreenSaver *kss_create( WId id )
TDE_EXPORT KScreenSaver *kss_create( WId id )
{
return new kSlideShowSaver( id );
}
KDE_EXPORT TQDialog *kss_setup()
TDE_EXPORT TQDialog *kss_setup()
{
return new kSlideShowSetup();
}

@ -1195,16 +1195,16 @@ void AASaver::paintEvent(TQPaintEvent* pe)
// libkscreensaver interface
extern "C"
{
KDE_EXPORT const char *kss_applicationName = "tdeasciiquarium.kss";
KDE_EXPORT const char *kss_description = I18N_NOOP( "TDEAsciiquarium" );
KDE_EXPORT const char *kss_version = "0.3.2";
TDE_EXPORT const char *kss_applicationName = "tdeasciiquarium.kss";
TDE_EXPORT const char *kss_description = I18N_NOOP( "TDEAsciiquarium" );
TDE_EXPORT const char *kss_version = "0.3.2";
KDE_EXPORT KScreenSaver *kss_create( WId id )
TDE_EXPORT KScreenSaver *kss_create( WId id )
{
return new AASaver( id );
}
KDE_EXPORT TQDialog *kss_setup()
TDE_EXPORT TQDialog *kss_setup()
{
TDEConfigDialog *dialog = TDEConfigDialog::exists("settings");
if(dialog)

@ -38,16 +38,16 @@
extern "C"
{
KDE_EXPORT const char *kss_applicationName = "kwave.kss";
KDE_EXPORT const char *kss_description = I18N_NOOP( "Bitmap Wave Screen Saver" );
KDE_EXPORT const char *kss_version = "2.2.0";
TDE_EXPORT const char *kss_applicationName = "kwave.kss";
TDE_EXPORT const char *kss_description = I18N_NOOP( "Bitmap Wave Screen Saver" );
TDE_EXPORT const char *kss_version = "2.2.0";
KDE_EXPORT KScreenSaver *kss_create( WId id )
TDE_EXPORT KScreenSaver *kss_create( WId id )
{
return new KWaveSaver( id );
}
KDE_EXPORT TQDialog *kss_setup()
TDE_EXPORT TQDialog *kss_setup()
{
return new KWaveSetup();
}

@ -58,17 +58,17 @@ bool g_inited = false;
extern "C"
{
KDE_EXPORT const char *kss_applicationName = "tdepartsaver";
KDE_EXPORT const char *kss_description = I18N_NOOP( "KPart Screen Saver" );
KDE_EXPORT const char *kss_version = "1.0";
TDE_EXPORT const char *kss_applicationName = "tdepartsaver";
TDE_EXPORT const char *kss_description = I18N_NOOP( "KPart Screen Saver" );
TDE_EXPORT const char *kss_version = "1.0";
KDE_EXPORT KScreenSaver *kss_create( WId d )
TDE_EXPORT KScreenSaver *kss_create( WId d )
{
TDEGlobal::locale()->insertCatalogue("tdepartsaver");
return new KPartSaver( d );
}
KDE_EXPORT TQDialog *kss_setup()
TDE_EXPORT TQDialog *kss_setup()
{
kdDebug() << "kss_setup" << endl;
TDEGlobal::locale()->insertCatalogue("tdepartsaver");

@ -31,7 +31,7 @@
#include <tdelocale.h>
#include <tdeconfig.h>
extern "C" KDE_EXPORT KDecorationFactory* create_factory()
extern "C" TDE_EXPORT KDecorationFactory* create_factory()
{
return new CDE::CdeClientFactory();
}

@ -6,7 +6,7 @@
#include <tqvbox.h>
#include <tdelocale.h>
extern "C" KDE_EXPORT TQObject* allocate_config( TDEConfig* conf, TQWidget* parent )
extern "C" TDE_EXPORT TQObject* allocate_config( TDEConfig* conf, TQWidget* parent )
{
return new CdeConfig(conf, parent);
}

@ -45,7 +45,7 @@
extern "C"
{
KDE_EXPORT TQObject* allocate_config( TDEConfig* conf, TQWidget* parent )
TDE_EXPORT TQObject* allocate_config( TDEConfig* conf, TQWidget* parent )
{
return(new GlowConfigDialog(conf, parent));
}

@ -896,7 +896,7 @@ KDecoration* GlowClientGlobals::createDecoration( KDecorationBridge* bridge )
} // end of namespace
extern "C"
KDE_EXPORT KDecorationFactory* create_factory()
TDE_EXPORT KDecorationFactory* create_factory()
{
return Glow::GlowClientGlobals::instance();
}

@ -39,7 +39,7 @@
extern "C"
{
KDE_EXPORT TQObject* allocate_config( TDEConfig* conf, TQWidget* parent )
TDE_EXPORT TQObject* allocate_config( TDEConfig* conf, TQWidget* parent )
{
return(new IceWMConfig(conf, parent));
}

@ -1693,7 +1693,7 @@ bool IceWMClient::eventFilter( TQObject* o, TQEvent* e )
extern "C"
{
KDE_EXPORT KDecorationFactory *create_factory()
TDE_EXPORT KDecorationFactory *create_factory()
{
IceWM::clientHandler = new IceWM::ThemeHandler;
return IceWM::clientHandler;

@ -803,7 +803,7 @@ bool StdFactory::supports( Ability ability )
extern "C"
{
KDE_EXPORT KDecorationFactory *create_factory()
TDE_EXPORT KDecorationFactory *create_factory()
{
return new TDE1::StdFactory();
}

@ -980,7 +980,7 @@ NextClientFactory::borderSizes() const
} // KStep namespace
extern "C" KDE_EXPORT KDecorationFactory* create_factory()
extern "C" TDE_EXPORT KDecorationFactory* create_factory()
{
return new KStep::NextClientFactory();
}

@ -40,7 +40,7 @@
#include "OpenLook.h"
extern "C" KDE_EXPORT KDecorationFactory* create_factory()
extern "C" TDE_EXPORT KDecorationFactory* create_factory()
{
return new OpenLook::DecorationFactory();
}

@ -44,7 +44,7 @@
extern "C"
{
KDE_EXPORT KDecorationFactory* create_factory()
TDE_EXPORT KDecorationFactory* create_factory()
{
return new RiscOS::Factory();
}

@ -174,7 +174,7 @@ void smoothblendConfig::defaults() {
extern "C"
{
KDE_EXPORT TQObject* allocate_config(TDEConfig* config, TQWidget* parent)
TDE_EXPORT TQObject* allocate_config(TDEConfig* config, TQWidget* parent)
{
return (new smoothblendConfig(config, parent));
}

@ -61,7 +61,7 @@ static const uint ANIMATIONSTEPS = 4;
extern "C"
{
KDE_EXPORT KDecorationFactory* create_factory()
TDE_EXPORT KDecorationFactory* create_factory()
{
return new smoothblend::smoothblendFactory();
}

@ -732,7 +732,7 @@ TQValueList<KDecorationFactory::BorderSize> SystemDecoFactory::borderSizes() con
}
extern "C" KDE_EXPORT KDecorationFactory *create_factory()
extern "C" TDE_EXPORT KDecorationFactory *create_factory()
{
return new System::SystemDecoFactory();
}

Loading…
Cancel
Save