Replace KDE_DEPRECATED with TDE_DEPRECATED

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/30/head
Michele Calgaro 6 months ago
parent 22063d7718
commit e62655240c
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -32,7 +32,7 @@
#endif #endif
#if TDE_VERSION < TDE_MAKE_VERSION(3,2,0) #if TDE_VERSION < TDE_MAKE_VERSION(3,2,0)
#define KDE_DEPRECATED #define TDE_DEPRECATED
#endif #endif
#endif // _KDECOMPAT_H #endif // _KDECOMPAT_H

@ -101,7 +101,7 @@ public:
* @param id reference to TQString containing the id. If no item * @param id reference to TQString containing the id. If no item
* is selected id will be empty. * 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. * 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 insertItem(const TQString& txt, int id, int idx = -1);
void setItem(int id) KDE_DEPRECATED; // replace with setCurrentItem(id) void setItem(int id) TDE_DEPRECATED; // replace with setCurrentItem(id)
int item(void) const KDE_DEPRECATED; // replace with currentItem() int item(void) const TDE_DEPRECATED; // replace with currentItem()
void setCurrentItem(int id); void setCurrentItem(int id);
int currentItem(void) const; int currentItem(void) const;

@ -71,7 +71,7 @@ public:
~kMyMoneyDateInput(); ~kMyMoneyDateInput();
// Replace calls to this with the new date() method // Replace calls to this with the new date() method
// TQDate getTQDate(void) KDE_DEPRECATED; // TQDate getTQDate(void) TDE_DEPRECATED;
TQDate date(void) const; TQDate date(void) const;
void setDate(TQDate date); void setDate(TQDate date);

@ -150,7 +150,7 @@ public:
/** /**
* @deprecated Use value() instead * @deprecated Use value() instead
*/ */
// MyMoneyMoney getMoneyValue(void) KDE_DEPRECATED; // MyMoneyMoney getMoneyValue(void) TDE_DEPRECATED;
MyMoneyMoney value(void) const; MyMoneyMoney value(void) const;

Loading…
Cancel
Save