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

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/82/head
Michele Calgaro 7 months ago
parent 8d85c20963
commit 2192355d15
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1,3 +1,3 @@
#include <kdemacros.h>
extern "C" int kdemain(int argc, char* argv[]);
extern "C" KDE_EXPORT int tdeinitmain(int argc, char* argv[]) { return kdemain(argc,argv); }
extern "C" TDE_EXPORT int tdeinitmain(int argc, char* argv[]) { return kdemain(argc,argv); }

@ -62,7 +62,7 @@ static TDECmdLineOptions option[] =
TDECmdLineLastOption
};
extern "C" KDE_EXPORT int kdemain( int argc, char *argv[] )
extern "C" TDE_EXPORT int kdemain( int argc, char *argv[] )
{
TDEAboutData aboutData( "ark", I18N_NOOP( "Ark" ),
"2.6.4", I18N_NOOP( "TDE Archiving tool" ),

@ -41,7 +41,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("kcharselectapplet");
return new CharSelectApplet(configFile, KPanelApplet::Normal,

@ -2267,7 +2267,7 @@ bool KCalculator::eventFilter(TQObject *o, TQEvent *e)
#include "kcalc.moc"
extern "C" KDE_EXPORT int kdemain(int argc, char *argv[])
extern "C" TDE_EXPORT int kdemain(int argc, char *argv[])
{
TDEAboutData aboutData( "kcalc", I18N_NOOP("KCalc"),
version, description, TDEAboutData::License_GPL,

@ -59,7 +59,7 @@ class TQString;
*
* @author Klaus Niederkrueger <kniederk@math.uni-koeln.de>
*/
class KDE_EXPORT KNumber
class TDE_EXPORT KNumber
{
public:
static KNumber const Zero;

@ -57,7 +57,7 @@ TQString KDiskFreeWidget::quickHelp() const
extern "C"
{
KDE_EXPORT TDECModule* create_kdf( TQWidget *parent, const char * /*name*/ )
TDE_EXPORT TDECModule* create_kdf( TQWidget *parent, const char * /*name*/ )
{
return new KDiskFreeWidget( parent , "kdf" );
}

@ -1257,7 +1257,7 @@ static const TDECmdLineOptions options[] =
TDECmdLineLastOption
};
extern "C" KDE_EXPORT int kdemain (int argc, char **argv)
extern "C" TDE_EXPORT int kdemain (int argc, char **argv)
{
bool have_top_window = false;

@ -20,6 +20,6 @@
#include <kdemacros.h>
#define KHEXEDIT_EXPORT KDE_EXPORT
#define KHEXEDIT_EXPORT TDE_EXPORT
#endif

@ -31,7 +31,7 @@
#include <tqimage.h>
#include <tdelibs_export.h>
class KDE_EXPORT daemon_state
class TDE_EXPORT daemon_state
{
public:
daemon_state();

@ -51,7 +51,7 @@
extern "C"
{
KDE_EXPORT KDEDModule *create_klaptopdaemon(const TQCString& name) {
TDE_EXPORT KDEDModule *create_klaptopdaemon(const TQCString& name) {
return new laptop_daemon(name);
}
}

@ -48,49 +48,49 @@ extern void wake_laptop_daemon();
extern "C"
{
KDE_EXPORT TDECModule *create_pcmcia(TQWidget *parent, const char *)
TDE_EXPORT TDECModule *create_pcmcia(TQWidget *parent, const char *)
{
return new PcmciaConfig(parent, "kcmlaptop");
}
KDE_EXPORT TDECModule *create_bwarning(TQWidget *parent, const char *)
TDE_EXPORT TDECModule *create_bwarning(TQWidget *parent, const char *)
{
return new WarningConfig(0, parent, "kcmlaptop");
}
KDE_EXPORT TDECModule *create_cwarning(TQWidget *parent, const char *)
TDE_EXPORT TDECModule *create_cwarning(TQWidget *parent, const char *)
{
return new WarningConfig(1, parent, "kcmlaptop");
}
KDE_EXPORT TDECModule *create_battery(TQWidget *parent, const char *)
TDE_EXPORT TDECModule *create_battery(TQWidget *parent, const char *)
{
return new BatteryConfig(parent, "kcmlaptop");
}
KDE_EXPORT TDECModule *create_power(TQWidget *parent, const char *)
TDE_EXPORT TDECModule *create_power(TQWidget *parent, const char *)
{
return new PowerConfig(parent, "kcmlaptop");
}
KDE_EXPORT TDECModule *create_acpi(TQWidget *parent, const char *)
TDE_EXPORT TDECModule *create_acpi(TQWidget *parent, const char *)
{
return new AcpiConfig(parent, "kcmlaptop");
}
KDE_EXPORT TDECModule *create_apm(TQWidget *parent, const char *)
TDE_EXPORT TDECModule *create_apm(TQWidget *parent, const char *)
{
return new ApmConfig(parent, "kcmlaptop");
}
KDE_EXPORT TDECModule *create_Profile(TQWidget *parent, const char *)
TDE_EXPORT TDECModule *create_Profile(TQWidget *parent, const char *)
{
return new ProfileConfig(parent, "kcmlaptop");
}
KDE_EXPORT TDECModule *create_sony(TQWidget *parent, const char *)
TDE_EXPORT TDECModule *create_sony(TQWidget *parent, const char *)
{
return new SonyConfig(parent, "kcmlaptop");
}
KDE_EXPORT TDECModule *create_buttons(TQWidget *parent, const char *)
TDE_EXPORT TDECModule *create_buttons(TQWidget *parent, const char *)
{
return new ButtonsConfig(parent, "kcmlaptop");
}
KDE_EXPORT void init_battery()
TDE_EXPORT void init_battery()
{
TDEConfig config("kcmlaptoprc", true /*readonly*/, false /*no globals*/);
config.setGroup("BatteryDefault");
@ -111,12 +111,12 @@ extern "C"
wake_laptop_daemon();
}
KDE_EXPORT TDECModule *create_laptop(TQWidget *parent, const char *)
TDE_EXPORT TDECModule *create_laptop(TQWidget *parent, const char *)
{
return new LaptopModule(parent, "kcmlaptop");
}
KDE_EXPORT void init_laptop()
TDE_EXPORT void init_laptop()
{
init_battery();
}

@ -34,7 +34,7 @@ struct power_result {
// ATTENTION: if you change something in here, please update ALL of the
// ported sections in the implementation file!
class KDE_EXPORT laptop_portable {
class TDE_EXPORT laptop_portable {
public:
static void power_management_restart(); // reset internal state
static int has_power_management(); // returns 1 if this computer has power management

@ -26,7 +26,7 @@
#include <dcopclient.h>
#include <tdeapplication.h>
KDE_EXPORT void
TDE_EXPORT void
wake_laptop_daemon()
{
DCOPClient *dclient = kapp->dcopClient();

@ -29,7 +29,7 @@
namespace KMilo {
class KDE_EXPORT DisplaySkin {
class TDE_EXPORT DisplaySkin {
public:
DisplaySkin();
virtual ~DisplaySkin();

@ -42,7 +42,7 @@
using namespace KMilo;
extern "C" {
KDE_EXPORT KDEDModule *create_kmilod(const TQCString &name) {
TDE_EXPORT KDEDModule *create_kmilod(const TQCString &name) {
return new KMiloD(name);
}
}

@ -34,7 +34,7 @@ class TDEConfig;
namespace KMilo {
class KMiloInterface;
class KDE_EXPORT Monitor : public TQObject {
class TDE_EXPORT Monitor : public TQObject {
public:
Monitor(TQObject *parent, const char *name, const TQStringList&);
virtual ~Monitor();

@ -34,7 +34,7 @@ class KRegExpEditorPrivate;
@author Jesper Kjær Pedersen <blackie@kde.org>
@version 0.1
**/
class KDE_EXPORT KRegExpEditorGUI :public TQWidget, public KRegExpEditorInterface
class TDE_EXPORT KRegExpEditorGUI :public TQWidget, public KRegExpEditorInterface
{
TQ_OBJECT
@ -64,7 +64,7 @@ private:
KRegExpEditorPrivate* _editor;
};
class KDE_EXPORT KRegExpEditorGUIDialog : public KDialogBase, public KRegExpEditorInterface
class TDE_EXPORT KRegExpEditorGUIDialog : public KDialogBase, public KRegExpEditorInterface
{
TQ_OBJECT

@ -36,7 +36,7 @@
extern "C"
{
KDE_EXPORT KPanelExtension *init(TQWidget *parent, const TQString &configFile)
TDE_EXPORT KPanelExtension *init(TQWidget *parent, const TQString &configFile)
{
TDEGlobal::locale()->insertCatalogue("ksim");
return new KSim::PanelExtension(configFile, KPanelExtension::Normal,

@ -70,7 +70,7 @@ namespace KSim
~ChangedPluginList() {}
};
class KDE_EXPORT ConfigDialog : public KDialogBase
class TDE_EXPORT ConfigDialog : public KDialogBase
{
TQ_OBJECT

@ -46,7 +46,7 @@ namespace KSim
class ConfigDialog;
class ChangedPluginList;
class KDE_EXPORT MainView : public TQWidget, virtual public DCOPObject
class TDE_EXPORT MainView : public TQWidget, virtual public DCOPObject
{
TQ_OBJECT
//

@ -33,7 +33,7 @@ namespace KSim
* provides a graph displaying data onscreen using gkrellm themes
* @author Robbie Ward <linuxphreak@gmx.co.uk>
*/
class KDE_EXPORT Chart : public TQWidget, public KSim::Base
class TDE_EXPORT Chart : public TQWidget, public KSim::Base
{
TQ_OBJECT

@ -72,7 +72,7 @@ namespace KSim
* @short base class for widgets
* @author Robbie Ward <linuxphreak@gmx.co.uk>
*/
class KDE_EXPORT Base
class TDE_EXPORT Base
{
public:
Base();

@ -33,7 +33,7 @@ namespace KSim
/**
* @internal
*/
class KDE_EXPORT Config
class TDE_EXPORT Config
{
public:
Config(TDEConfig *config);

@ -34,7 +34,7 @@ namespace KSim
* @short Label widget
* @author Robbie Ward <linuxphreak@gmx.co.uk>
*/
class KDE_EXPORT Label : public TQWidget, public KSim::Base
class TDE_EXPORT Label : public TQWidget, public KSim::Base
{
TQ_OBJECT

@ -34,7 +34,7 @@ namespace KSim
* @short led using gkrellm themes
* @author Robbie Ward <linuxphreak@gmx.co.uk>
*/
class KDE_EXPORT Led : public TQPixmap
class TDE_EXPORT Led : public TQPixmap
{
public:
enum Type { First = 0, Second };
@ -104,7 +104,7 @@ namespace KSim
* @short Label widget with 2 leds
* @author Robbie Ward <linuxphreak@gmx.co.uk>
*/
class KDE_EXPORT LedLabel : public KSim::Progress
class TDE_EXPORT LedLabel : public KSim::Progress
{
TQ_OBJECT

@ -38,7 +38,7 @@ namespace KSim
* A class that holds various information about a plugin
* @author Robbie Ward <linuxphreak@gmx.co.uk>
*/
class KDE_EXPORT Plugin
class TDE_EXPORT Plugin
{
public:
/**
@ -135,7 +135,7 @@ namespace KSim
* use pluginList() from KSim::PluginLoader instead
* @author Robbie Ward <linuxphreak@gmx.co.uk>
*/
class KDE_EXPORT PluginList : public TQValueList<Plugin>
class TDE_EXPORT PluginList : public TQValueList<Plugin>
{
public:
/**

@ -27,7 +27,7 @@
namespace KSim
{
class KDE_EXPORT PluginInfo
class TDE_EXPORT PluginInfo
{
friend class PluginLoader;
public:
@ -61,7 +61,7 @@ namespace KSim
* Provides a loader for the plugins
* @author Robbie Ward <linuxphreak@gmx.co.uk>
*/
class KDE_EXPORT PluginLoader : public TQObject
class TDE_EXPORT PluginLoader : public TQObject
{
TQ_OBJECT

@ -29,7 +29,7 @@ class TDEConfig;
#define KSIM_INIT_PLUGIN(className) \
extern "C" { \
KDE_EXPORT KSim::PluginObject *init_plugin(const char *name) { \
TDE_EXPORT KSim::PluginObject *init_plugin(const char *name) { \
return new className(name); \
} \
}
@ -50,7 +50,7 @@ namespace KSim
* @see KSim::PluginView KSim::PluginPage
* @author Robbie Ward <linuxphreak@gmx.co.uk>
*/
class KDE_EXPORT PluginObject
class TDE_EXPORT PluginObject
{
public:
/**
@ -111,7 +111,7 @@ namespace KSim
* the config() to gain access to your config file
* @author Robbie Ward <linuxphreak@gmx.co.uk>
*/
class KDE_EXPORT PluginPage : public TQWidget
class TDE_EXPORT PluginPage : public TQWidget
{
TQ_OBJECT
@ -160,7 +160,7 @@ namespace KSim
* when apply or ok gets clicked in the config dialog
* @author Robbie Ward <linuxphreak@gmx.co.uk>
*/
class KDE_EXPORT PluginView : public TQWidget
class TDE_EXPORT PluginView : public TQWidget
{
TQ_OBJECT

@ -30,7 +30,7 @@ namespace KSim
* provides a label with a progress bar meter
* @author Robbie Ward <linuxphreak@gmx.co.uk>
*/
class KDE_EXPORT Progress : public KSim::Label
class TDE_EXPORT Progress : public KSim::Label
{
TQ_OBJECT

@ -44,7 +44,7 @@ namespace KSim
* @author Robbie Ward <linuxphreak@gmx.co.uk>
* @short Provides a loader for the themes
*/
class KDE_EXPORT Theme
class TDE_EXPORT Theme
{
friend class ThemeLoader;
public:
@ -397,7 +397,7 @@ namespace KSim
* @author Robbie Ward <linuxphreak@gmx.co.uk>
* @short Provides a loader for the themes
*/
class KDE_EXPORT ThemeLoader
class TDE_EXPORT ThemeLoader
{
public:
/**

@ -17,7 +17,7 @@
#include "irkick.h"
extern "C" KDE_EXPORT int kdemain(int argc, char *argv[])
extern "C" TDE_EXPORT int kdemain(int argc, char *argv[])
{
TDEAboutData *aboutData = new TDEAboutData("irkick", I18N_NOOP("IRKick"), VERSION, I18N_NOOP("The TDE Infrared Remote Control Server"), TDEAboutData::License_GPL, "(c) 2003, Gav Wood", 0, 0, "gav@kde.org");
aboutData->addAuthor("Gav Wood", I18N_NOOP("Author"), "gav@kde.org", "http://www.indigoarchive.net/gav/");

@ -546,7 +546,7 @@ void KCMLirc::configChanged()
// TODO: Take this out when I know how
extern "C"
{
KDE_EXPORT TDECModule *create_kcmlirc(TQWidget *parent, const char *)
TDE_EXPORT TDECModule *create_kcmlirc(TQWidget *parent, const char *)
{ TDEGlobal::locale()->insertCatalogue("kcmlirc");
return new KCMLirc(parent, "KCMLirc");
}

Loading…
Cancel
Save