Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/kmymoneyutils.h
Context not available. | |||||
139 | * an account type into a human readable format | 139 | * an account type into a human readable format | ||
---|---|---|---|---|---|
140 | * | 140 | * | ||
141 | * @param accountType numerical representation of the account type. | 141 | * @param accountType numerical representation of the account type. | ||
142 | * For possible values, see MyMoneyAccount::accountTypeE | 142 | * For possible values, see eMyMoney::Account | ||
143 | * @return QString representing the human readable form translated according to the language cataglogue | 143 | * @return QString representing the human readable form translated according to the language cataglogue | ||
144 | * | 144 | * | ||
145 | * @sa MyMoneyAccount::accountTypeToString() | 145 | * @sa MyMoneyAccount::accountTypeToString() | ||
146 | */ | 146 | */ | ||
147 | static const QString accountTypeToString(const MyMoneyAccount::accountTypeE accountType); | 147 | static const QString accountTypeToString(const eMyMoney::Account accountType); | ||
148 | 148 | | |||
149 | /** | 149 | /** | ||
150 | * This method is used to convert an account type from its | 150 | * This method is used to convert an account type from its | ||
Context not available. | |||||
152 | * | 152 | * | ||
153 | * @param type reference to a QString containing the string to convert | 153 | * @param type reference to a QString containing the string to convert | ||
154 | * @return accountTypeE containing the internal used numeric value. For possible | 154 | * @return accountTypeE containing the internal used numeric value. For possible | ||
155 | * values see MyMoneyAccount::accountTypeE | 155 | * values see eMyMoney::Account | ||
156 | */ | 156 | */ | ||
157 | static MyMoneyAccount::accountTypeE stringToAccountType(const QString& type); | 157 | static eMyMoney::Account stringToAccountType(const QString& type); | ||
158 | 158 | | |||
159 | /** | 159 | /** | ||
160 | * This method is used to convert a rounding method from its | 160 | * This method is used to convert a rounding method from its | ||
Context not available. | |||||
191 | * | 191 | * | ||
192 | * @deprecated Use i18n(MyMoneySchedule::occurrenceToString(occurrence)) instead | 192 | * @deprecated Use i18n(MyMoneySchedule::occurrenceToString(occurrence)) instead | ||
193 | */ | 193 | */ | ||
194 | static const QString occurrenceToString(const MyMoneySchedule::occurrenceE occurrence); | 194 | static const QString occurrenceToString(const eMyMoney::Schedule::Occurrence occurrence); | ||
195 | 195 | | |||
196 | /** | 196 | /** | ||
197 | * This method is used to convert the payment type from its | 197 | * This method is used to convert the payment type from its | ||
Context not available. | |||||
204 | * | 204 | * | ||
205 | * @sa MyMoneySchedule::paymentMethodToString() | 205 | * @sa MyMoneySchedule::paymentMethodToString() | ||
206 | */ | 206 | */ | ||
207 | static const QString paymentMethodToString(MyMoneySchedule::paymentTypeE paymentType); | 207 | static const QString paymentMethodToString(eMyMoney::Schedule::PaymentType paymentType); | ||
208 | 208 | | |||
209 | /** | 209 | /** | ||
210 | * This method is used to convert the schedule weekend option from its | 210 | * This method is used to convert the schedule weekend option from its | ||
Context not available. | |||||
217 | * | 217 | * | ||
218 | * @sa MyMoneySchedule::weekendOptionToString() | 218 | * @sa MyMoneySchedule::weekendOptionToString() | ||
219 | */ | 219 | */ | ||
220 | static const QString weekendOptionToString(MyMoneySchedule::weekendOptionE weekendOption); | 220 | static const QString weekendOptionToString(eMyMoney::Schedule::WeekendOption weekendOption); | ||
221 | 221 | | |||
222 | /** | 222 | /** | ||
223 | * This method is used to convert the schedule type from its | 223 | * This method is used to convert the schedule type from its | ||
Context not available. | |||||
230 | * | 230 | * | ||
231 | * @sa MyMoneySchedule::scheduleTypeToString() | 231 | * @sa MyMoneySchedule::scheduleTypeToString() | ||
232 | */ | 232 | */ | ||
233 | static const QString scheduleTypeToString(MyMoneySchedule::typeE type); | 233 | static const QString scheduleTypeToString(eMyMoney::Schedule::Type type); | ||
234 | 234 | | |||
235 | /** | 235 | /** | ||
236 | * This method is used to convert a numeric index of an item | 236 | * This method is used to convert a numeric index of an item | ||
Context not available. |