summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-05-05 17:49:05 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-05-05 17:49:05 +0900
commit2192355d1511c56c255a2d39f701c25f3ef0fdcf (patch)
treedc0e7e087c33e969e34642ad4ae53bc49f297b10 /klaptopdaemon
parent8d85c209631d50f8baa16d08baafabb7432f825a (diff)
downloadtdeutils-2192355d1511c56c255a2d39f701c25f3ef0fdcf.tar.gz
tdeutils-2192355d1511c56c255a2d39f701c25f3ef0fdcf.zip
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'klaptopdaemon')
-rw-r--r--klaptopdaemon/daemon_state.h2
-rw-r--r--klaptopdaemon/laptop_daemon.cpp2
-rw-r--r--klaptopdaemon/main.cpp26
-rw-r--r--klaptopdaemon/portable.h2
-rw-r--r--klaptopdaemon/wake_laptop.cpp2
5 files changed, 17 insertions, 17 deletions
diff --git a/klaptopdaemon/daemon_state.h b/klaptopdaemon/daemon_state.h
index 0764e08..2ec5548 100644
--- a/klaptopdaemon/daemon_state.h
+++ b/klaptopdaemon/daemon_state.h
@@ -31,7 +31,7 @@
#include <tqimage.h>
#include <tdelibs_export.h>
-class KDE_EXPORT daemon_state
+class TDE_EXPORT daemon_state
{
public:
daemon_state();
diff --git a/klaptopdaemon/laptop_daemon.cpp b/klaptopdaemon/laptop_daemon.cpp
index 4a7545d..20843f7 100644
--- a/klaptopdaemon/laptop_daemon.cpp
+++ b/klaptopdaemon/laptop_daemon.cpp
@@ -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);
}
}
diff --git a/klaptopdaemon/main.cpp b/klaptopdaemon/main.cpp
index 258f833..7a8c06b 100644
--- a/klaptopdaemon/main.cpp
+++ b/klaptopdaemon/main.cpp
@@ -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();
}
diff --git a/klaptopdaemon/portable.h b/klaptopdaemon/portable.h
index 42d8c16..c7ca415 100644
--- a/klaptopdaemon/portable.h
+++ b/klaptopdaemon/portable.h
@@ -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
diff --git a/klaptopdaemon/wake_laptop.cpp b/klaptopdaemon/wake_laptop.cpp
index c994057..bf3d5e6 100644
--- a/klaptopdaemon/wake_laptop.cpp
+++ b/klaptopdaemon/wake_laptop.cpp
@@ -26,7 +26,7 @@
#include <dcopclient.h>
#include <tdeapplication.h>
-KDE_EXPORT void
+TDE_EXPORT void
wake_laptop_daemon()
{
DCOPClient *dclient = kapp->dcopClient();