[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/office/kmymoney/kmymoney2/widgets
From: Cristian OneČ› <onet.cristian () gmail ! com>
Date: 2009-11-06 20:50:29
Message-ID: 1257540629.775826.15456.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1045829 by conet:
Use KDE_DEPRECATED the right way.
M +3 -3 kmymoneycombo.h
M +1 -1 kmymoneyedit.h
--- trunk/playground/office/kmymoney/kmymoney2/widgets/kmymoneycombo.h #1045828:1045829
@@ -106,7 +106,7 @@
* @param id reference to QString containing the id. If no item
* is selected id will be empty.
*/
- void selectedItem(QString& id) const KDE_DEPRECATED;
+ KDE_DEPRECATED void selectedItem(QString& id) const;
/**
* This method returns the id of the first selected item.
@@ -354,8 +354,8 @@
void insertItem(const QString& 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()
+ KDE_DEPRECATED void setItem(int id); // replace with setCurrentItem(id)
+ KDE_DEPRECATED int item(void) const; // replace with currentItem()
void setCurrentItem(int id);
int currentItem(void) const;
--- trunk/playground/office/kmymoney/kmymoney2/widgets/kmymoneyedit.h #1045828:1045829
@@ -148,7 +148,7 @@
/**
* @deprecated Use value() instead
*/
- // MyMoneyMoney getMoneyValue(void) KDE_DEPRECATED;
+ //KDE_DEPRECATED MyMoneyMoney getMoneyValue(void);
MyMoneyMoney value(void) const;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic