summaryrefslogtreecommitdiffstats
path: root/kmymoney2/wizards/wizardpages/currency.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/wizards/wizardpages/currency.cpp')
-rw-r--r--kmymoney2/wizards/wizardpages/currency.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmymoney2/wizards/wizardpages/currency.cpp b/kmymoney2/wizards/wizardpages/currency.cpp
index 8693089..d824f01 100644
--- a/kmymoney2/wizards/wizardpages/currency.cpp
+++ b/kmymoney2/wizards/wizardpages/currency.cpp
@@ -29,24 +29,24 @@
#include "currency.h"
-Currency::Currency(QWidget* parent, const char* name) :
- CurrencyDecl(parent, name)
+Currency::Currency(TQWidget* tqparent, const char* name) :
+ CurrencyDecl(tqparent, name)
{
m_currencyList->setAllColumnsShowFocus(true);
m_currencyList->setMultiSelection(false);
}
-QListViewItem* Currency::insertCurrency(const MyMoneySecurity& sec)
+TQListViewItem* Currency::insertCurrency(const MyMoneySecurity& sec)
{
- return new KListViewItem(m_currencyList, sec.name(), QString(sec.id()), sec.tradingSymbol());
+ return new KListViewItem(m_currencyList, sec.name(), TQString(sec.id()), sec.tradingSymbol());
}
void Currency::selectCurrency(const MyMoneySecurity& sec)
{
- QListViewItem* it_v;
- QListViewItemIterator it(m_currencyList);
+ TQListViewItem* it_v;
+ TQListViewItemIterator it(m_currencyList);
while((it_v = it.current()) != 0) {
- if(it_v->text(1) == QString(sec.id())) {
+ if(it_v->text(1) == TQString(sec.id())) {
m_currencyList->setSelected(it_v, true);
m_currencyList->ensureItemVisible(it_v);
break;
@@ -54,9 +54,9 @@ void Currency::selectCurrency(const MyMoneySecurity& sec)
}
}
-QString Currency::selectedCurrency(void) const
+TQString Currency::selectedCurrency(void) const
{
- QString id;
+ TQString id;
if(m_currencyList->selectedItem()) {
id = m_currencyList->selectedItem()->text(1);
}