summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-05-15 12:38:18 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-05-15 18:52:55 +0900
commit47ae1235f1cc75bb0446ba11d2d9d57f916f3651 (patch)
tree6d848f41c60056da2f272ac474d689b4188004ef
parent4e1c3b0d7f59c4c59c2b53e36291aabc42d991b6 (diff)
downloadkmymoney-r14.1.x.tar.gz
kmymoney-r14.1.x.zip
Replace KDE_DEPRECATED with TDE_DEPRECATEDr14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit e62655240c39501177ae3900c1e06a14071d3327)
-rw-r--r--kdecompat.h2
-rw-r--r--kmymoney2/widgets/kmymoneycombo.h6
-rw-r--r--kmymoney2/widgets/kmymoneydateinput.h2
-rw-r--r--kmymoney2/widgets/kmymoneyedit.h2
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;