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

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/40/head
Michele Calgaro 7 months ago
parent ba412962ec
commit ff8b1f60ed
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -33,7 +33,7 @@
extern "C"
{
KDE_EXPORT KPanelApplet* init(TQWidget *parent, const TQString& configFile)
TDE_EXPORT KPanelApplet* init(TQWidget *parent, const TQString& configFile)
{
TDEGlobal::locale()->insertCatalogue("keyesapplet");
EyesApplet *applet = new EyesApplet(configFile, KPanelApplet::Normal, 0, parent, "keyesapplet");

@ -39,7 +39,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
extern "C"
{
KDE_EXPORT KPanelApplet* init(TQWidget *parent, const TQString& configFile)
TDE_EXPORT KPanelApplet* init(TQWidget *parent, const TQString& configFile)
{
TDEGlobal::locale()->insertCatalogue("kfifteenapplet");
return new FifteenApplet(configFile, KPanelApplet::Normal,

@ -35,7 +35,7 @@ const char *description = I18N_NOOP("Moon Phase Indicator for TDE");
extern "C"
{
KDE_EXPORT KPanelApplet *init(TQWidget *parent, const TQString& configFile)
TDE_EXPORT KPanelApplet *init(TQWidget *parent, const TQString& configFile)
{
TDEGlobal::locale()->insertCatalogue("kmoon");
return new MoonPAWidget(configFile, KPanelApplet::Normal,

@ -26,16 +26,16 @@
// libtdescreensaver interface
extern "C"
{
KDE_EXPORT const char *kss_applicationName = "ktux";
KDE_EXPORT const char *kss_description = I18N_NOOP( "Tux Screen Saver" );
KDE_EXPORT const char *kss_version = "1.0.0";
TDE_EXPORT const char *kss_applicationName = "ktux";
TDE_EXPORT const char *kss_description = I18N_NOOP( "Tux Screen Saver" );
TDE_EXPORT const char *kss_version = "1.0.0";
KDE_EXPORT KScreenSaver *kss_create( WId id )
TDE_EXPORT KScreenSaver *kss_create( WId id )
{
return new KSpriteSaver( id );
}
KDE_EXPORT TQDialog *kss_setup()
TDE_EXPORT TQDialog *kss_setup()
{
return new KSpriteSetup();
}

@ -43,7 +43,7 @@
extern "C"
{
KDE_EXPORT TDECModule *create_weatherapplet( TQWidget *parent, const char * )
TDE_EXPORT TDECModule *create_weatherapplet( TQWidget *parent, const char * )
{
return new KCMWeatherApplet( parent, "kweather" );
}

@ -45,7 +45,7 @@
extern "C"
{
KDE_EXPORT TDECModule *create_weatherservice( TQWidget *parent, const char * )
TDE_EXPORT TDECModule *create_weatherservice( TQWidget *parent, const char * )
{
return new KCMWeatherService( parent, "kweather" );
}

@ -33,7 +33,7 @@
extern "C"
{
KDE_EXPORT TDECModule *create_weatherstations( TQWidget *parent, const char * ) {
TDE_EXPORT TDECModule *create_weatherstations( TQWidget *parent, const char * ) {
return new KCMWeatherStations( parent, "kweather" );
}
}

@ -41,7 +41,7 @@
extern "C"
{
KDE_EXPORT KPanelApplet* init(TQWidget *parent, const TQString& configFile)
TDE_EXPORT KPanelApplet* init(TQWidget *parent, const TQString& configFile)
{
TDEGlobal::locale()->insertCatalogue("kweather");
kweather *theApplet = new kweather(configFile, KPanelApplet::Normal,

@ -15,7 +15,7 @@ static TDECmdLineOptions options[] =
TDECmdLineLastOption
};
extern "C" KDE_EXPORT int kdemain(int argc, char *argv[])
extern "C" TDE_EXPORT int kdemain(int argc, char *argv[])
{
TDEAboutData aboutData("reportview", I18N_NOOP("Weather Report"),
"0.8", I18N_NOOP("Weather Report for KWeatherService"),

@ -217,13 +217,13 @@ bool KonqSidebarWeather::startWeatherService()
extern "C"
{
KDE_EXPORT void* create_weather_sidebar(TDEInstance* inst, TQObject* par, TQWidget*widp,
TDE_EXPORT void* create_weather_sidebar(TDEInstance* inst, TQObject* par, TQWidget*widp,
TQString& desktopname, const char* name)
{
return new KonqSidebarWeather(inst, par, widp, desktopname, name);
}
KDE_EXPORT bool add_weather_sidebar(TQString* fn, TQString* /*param*/,
TDE_EXPORT bool add_weather_sidebar(TQString* fn, TQString* /*param*/,
TQMap<TQString, TQString>* map)
{
map->insert("Type","Link");

@ -42,7 +42,7 @@
extern "C"
{
KDE_EXPORT KPanelApplet *init(TQWidget *parent, const TQString& configFile)
TDE_EXPORT KPanelApplet *init(TQWidget *parent, const TQString& configFile)
{
TDEGlobal::locale()->insertCatalogue("kworldclock");
TDEGlobal::locale()->insertCatalogue("timezones"); // For time zone translation

Loading…
Cancel
Save