diff options
author | Slávek Banko <[email protected]> | 2022-03-17 18:50:52 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2022-03-18 12:45:32 +0100 |
commit | 5e6c401557744fe5f9765471605cc793939fee1f (patch) | |
tree | fa1c9abe564d03a362378f8a7a6304e27baf9c33 /kmymoney2/kmymoneyutils.cpp | |
parent | eeae53f59df4d79d0399c2217a165ff2fab754db (diff) | |
download | kmymoney-5e6c401557744fe5f9765471605cc793939fee1f.tar.gz kmymoney-5e6c401557744fe5f9765471605cc793939fee1f.zip |
Added controlled conversions to char* instead of automatic ascii conversions.
The definition of -UTQT_NO_ASCII_CAST is no longer needed.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kmymoney2/kmymoneyutils.cpp')
-rw-r--r-- | kmymoney2/kmymoneyutils.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/kmymoneyutils.cpp b/kmymoney2/kmymoneyutils.cpp index 92ac362..e58b8de 100644 --- a/kmymoney2/kmymoneyutils.cpp +++ b/kmymoney2/kmymoneyutils.cpp @@ -120,27 +120,27 @@ MyMoneySecurity::eSECURITYTYPE KMyMoneyUtils::stringToSecurity(const TQString& t const TQString KMyMoneyUtils::securityTypeToString(const MyMoneySecurity::eSECURITYTYPE securityType) { - return i18n(MyMoneySecurity::securityTypeToString(securityType)); + return i18n(MyMoneySecurity::securityTypeToString(securityType).utf8()); } const TQString KMyMoneyUtils::occurenceToString(const MyMoneySchedule::occurenceE occurence) { - return i18n(MyMoneySchedule::occurenceToString(occurence)); + return i18n(MyMoneySchedule::occurenceToString(occurence).utf8()); } const TQString KMyMoneyUtils::paymentMethodToString(MyMoneySchedule::paymentTypeE paymentType) { - return i18n(MyMoneySchedule::paymentMethodToString(paymentType)); + return i18n(MyMoneySchedule::paymentMethodToString(paymentType).utf8()); } const TQString KMyMoneyUtils::weekendOptionToString(MyMoneySchedule::weekendOptionE weekendOption) { - return i18n(MyMoneySchedule::weekendOptionToString(weekendOption)); + return i18n(MyMoneySchedule::weekendOptionToString(weekendOption).utf8()); } const TQString KMyMoneyUtils::scheduleTypeToString(MyMoneySchedule::typeE type) { - return i18n(MyMoneySchedule::scheduleTypeToString(type)); + return i18n(MyMoneySchedule::scheduleTypeToString(type).utf8()); } KGuiItem KMyMoneyUtils::scheduleNewGuiItem(void) |