From e62655240c39501177ae3900c1e06a14071d3327 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 15 May 2024 12:38:18 +0900 Subject: Replace KDE_DEPRECATED with TDE_DEPRECATED Signed-off-by: Michele Calgaro --- kdecompat.h | 2 +- kmymoney2/widgets/kmymoneycombo.h | 6 +++--- kmymoney2/widgets/kmymoneydateinput.h | 2 +- kmymoney2/widgets/kmymoneyedit.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/kdecompat.h b/kdecompat.h index f66336a..57935d7 100644 --- a/kdecompat.h +++ b/kdecompat.h @@ -32,7 +32,7 @@ #endif #if TDE_VERSION < TDE_MAKE_VERSION(3,2,0) -#define KDE_DEPRECATED +#define TDE_DEPRECATED #endif #endif // _KDECOMPAT_H diff --git a/kmymoney2/widgets/kmymoneycombo.h b/kmymoney2/widgets/kmymoneycombo.h index 40188b0..cf2cab7 100644 --- a/kmymoney2/widgets/kmymoneycombo.h +++ b/kmymoney2/widgets/kmymoneycombo.h @@ -101,7 +101,7 @@ public: * @param id reference to TQString containing the id. If no item * is selected id will be empty. */ - void selectedItem(TQString& id) const KDE_DEPRECATED; + void selectedItem(TQString& id) const TDE_DEPRECATED; /** * This method returns the id of the first selected item. @@ -360,8 +360,8 @@ public: void insertItem(const TQString& txt, int id, int idx = -1); - void setItem(int id) KDE_DEPRECATED; // replace with setCurrentItem(id) - int item(void) const KDE_DEPRECATED; // replace with currentItem() + void setItem(int id) TDE_DEPRECATED; // replace with setCurrentItem(id) + int item(void) const TDE_DEPRECATED; // replace with currentItem() void setCurrentItem(int id); int currentItem(void) const; diff --git a/kmymoney2/widgets/kmymoneydateinput.h b/kmymoney2/widgets/kmymoneydateinput.h index ba0376f..e4aa811 100644 --- a/kmymoney2/widgets/kmymoneydateinput.h +++ b/kmymoney2/widgets/kmymoneydateinput.h @@ -71,7 +71,7 @@ public: ~kMyMoneyDateInput(); // Replace calls to this with the new date() method - // TQDate getTQDate(void) KDE_DEPRECATED; + // TQDate getTQDate(void) TDE_DEPRECATED; TQDate date(void) const; void setDate(TQDate date); diff --git a/kmymoney2/widgets/kmymoneyedit.h b/kmymoney2/widgets/kmymoneyedit.h index 8a8633a..7fe87f9 100644 --- a/kmymoney2/widgets/kmymoneyedit.h +++ b/kmymoney2/widgets/kmymoneyedit.h @@ -150,7 +150,7 @@ public: /** * @deprecated Use value() instead */ - // MyMoneyMoney getMoneyValue(void) KDE_DEPRECATED; + // MyMoneyMoney getMoneyValue(void) TDE_DEPRECATED; MyMoneyMoney value(void) const; -- cgit v1.2.1