diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:00 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-06 03:55:17 +0200 |
commit | fd30a5e3950c7412e6b02bdad34acaebf01ac78e (patch) | |
tree | 48b1cbf25403a8b3551961c6c03ccc4ca6ccc567 /kmymoney2/mymoney/storage/mymoneystoragesql.cpp | |
parent | 1de308fd3b1aacec7769d867a6eeaa98af69c61c (diff) | |
download | kmymoney-fd30a5e3950c7412e6b02bdad34acaebf01ac78e.tar.gz kmymoney-fd30a5e3950c7412e6b02bdad34acaebf01ac78e.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit 81ed92522a3cc6b80e9d790bd7a52b0eb4d412b9)
Diffstat (limited to 'kmymoney2/mymoney/storage/mymoneystoragesql.cpp')
-rw-r--r-- | kmymoney2/mymoney/storage/mymoneystoragesql.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/mymoney/storage/mymoneystoragesql.cpp b/kmymoney2/mymoney/storage/mymoneystoragesql.cpp index b518585..e14f79e 100644 --- a/kmymoney2/mymoney/storage/mymoneystoragesql.cpp +++ b/kmymoney2/mymoney/storage/mymoneystoragesql.cpp @@ -1973,9 +1973,9 @@ void MyMoneyStorageSql::writeCurrency(const MyMoneySecurity& currency, MyMoneySq // writing the symbol as three short ints is a PITA, but the // problem is that database drivers have incompatible ways of declaring UTF8 TQString symbol = currency.tradingSymbol() + " "; - q.bindValue(":symbol1", symbol.mid(0,1).tqunicode()->tqunicode()); - q.bindValue(":symbol2", symbol.mid(1,1).tqunicode()->tqunicode()); - q.bindValue(":symbol3", symbol.mid(2,1).tqunicode()->tqunicode()); + q.bindValue(":symbol1", symbol.mid(0,1).unicode()->unicode()); + q.bindValue(":symbol2", symbol.mid(1,1).unicode()->unicode()); + q.bindValue(":symbol3", symbol.mid(2,1).unicode()->unicode()); q.bindValue(":symbolString", symbol); q.bindValue(":partsPerUnit", currency.partsPerUnit()); q.bindValue(":smallestCashFraction", currency.smallestCashFraction()); |