summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs')
-rw-r--r--kmymoney2/dialogs/investactivities.cpp2
-rw-r--r--kmymoney2/dialogs/kbackupdlgdecl.ui2
-rw-r--r--kmymoney2/dialogs/kbalancechartdlg.cpp4
-rw-r--r--kmymoney2/dialogs/kcategoryreassigndlg.cpp2
-rw-r--r--kmymoney2/dialogs/kcategoryreassigndlgdecl.ui2
-rw-r--r--kmymoney2/dialogs/kconfirmmanualenterdlg.cpp24
-rw-r--r--kmymoney2/dialogs/kcsvprogressdlgdecl.ui4
-rw-r--r--kmymoney2/dialogs/kcurrencycalculator.cpp20
-rw-r--r--kmymoney2/dialogs/kcurrencycalculatordecl.ui4
-rw-r--r--kmymoney2/dialogs/keditequityentrydecl.ui2
-rw-r--r--kmymoney2/dialogs/keditloanwizard.cpp6
-rw-r--r--kmymoney2/dialogs/kendingbalancedlg.cpp8
-rw-r--r--kmymoney2/dialogs/kendingbalancedlgdecl.ui12
-rw-r--r--kmymoney2/dialogs/kequitypriceupdatedlg.cpp22
-rw-r--r--kmymoney2/dialogs/kexportdlgdecl.ui2
-rw-r--r--kmymoney2/dialogs/kfindtransactiondlg.cpp4
-rw-r--r--kmymoney2/dialogs/kfindtransactiondlgdecl.ui4
-rw-r--r--kmymoney2/dialogs/kgncimportoptionsdlgdecl.ui2
-rw-r--r--kmymoney2/dialogs/kgncpricesourcedlg.cpp4
-rw-r--r--kmymoney2/dialogs/kimportdlg.cpp2
-rw-r--r--kmymoney2/dialogs/kmymoneyfileinfodlg.cpp16
-rw-r--r--kmymoney2/dialogs/knewaccountdlg.cpp12
-rw-r--r--kmymoney2/dialogs/knewaccountdlgdecl.ui2
-rw-r--r--kmymoney2/dialogs/knewequityentrydecl.ui2
-rw-r--r--kmymoney2/dialogs/knewinvestmentwizard.cpp4
-rw-r--r--kmymoney2/dialogs/knewinvestmentwizarddecl.ui10
-rw-r--r--kmymoney2/dialogs/knewloanwizard.cpp24
-rw-r--r--kmymoney2/dialogs/knewloanwizarddecl.ui198
-rw-r--r--kmymoney2/dialogs/kpayeereassigndlgdecl.ui2
-rw-r--r--kmymoney2/dialogs/kreconciledlgdecl.ui18
-rw-r--r--kmymoney2/dialogs/ksecuritylisteditor.cpp4
-rw-r--r--kmymoney2/dialogs/kselectdatabasedlg.cpp8
-rw-r--r--kmymoney2/dialogs/ksplittransactiondlg.cpp14
-rw-r--r--kmymoney2/dialogs/ksplittransactiondlgdecl.ui12
-rw-r--r--kmymoney2/dialogs/kstartdlg.cpp4
-rw-r--r--kmymoney2/dialogs/mymoneyqifprofileeditor.cpp2
-rw-r--r--kmymoney2/dialogs/settings/ksettingsgeneraldecl.ui2
-rw-r--r--kmymoney2/dialogs/settings/ksettingsgpg.cpp4
-rw-r--r--kmymoney2/dialogs/settings/ksettingshomedecl.ui2
-rw-r--r--kmymoney2/dialogs/transactioneditor.cpp24
-rw-r--r--kmymoney2/dialogs/transactionmatcher.cpp12
41 files changed, 254 insertions, 254 deletions
diff --git a/kmymoney2/dialogs/investactivities.cpp b/kmymoney2/dialogs/investactivities.cpp
index 526b54e..75081b7 100644
--- a/kmymoney2/dialogs/investactivities.cpp
+++ b/kmymoney2/dialogs/investactivities.cpp
@@ -165,7 +165,7 @@ void Activity::preloadAssetAccount(void)
cat = dynamic_cast<KMyMoneyCategory*>(haveWidget("asset-account"));
if(cat->isVisible()) {
if(cat->currentText().isEmpty()) {
- MyMoneyAccount acc = MyMoneyFile::instance()->accountByName(i18n("%1 (Brokerage)").tqarg(m_parent->account().name()));
+ MyMoneyAccount acc = MyMoneyFile::instance()->accountByName(i18n("%1 (Brokerage)").arg(m_parent->account().name()));
if(!acc.id().isEmpty()) {
bool blocked = cat->signalsBlocked();
// block signals, so that the focus does not go crazy
diff --git a/kmymoney2/dialogs/kbackupdlgdecl.ui b/kmymoney2/dialogs/kbackupdlgdecl.ui
index 14f167a..2f27a20 100644
--- a/kmymoney2/dialogs/kbackupdlgdecl.ui
+++ b/kmymoney2/dialogs/kbackupdlgdecl.ui
@@ -42,7 +42,7 @@ Please make sure you have a disk inserted and that the drive is ready. Then choo
Click OK to perform the backup. If your system does not use an automounter, make sure you mark the checkbox below to "mount this directory before backing up."</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
diff --git a/kmymoney2/dialogs/kbalancechartdlg.cpp b/kmymoney2/dialogs/kbalancechartdlg.cpp
index 1b61272..45ca032 100644
--- a/kmymoney2/dialogs/kbalancechartdlg.cpp
+++ b/kmymoney2/dialogs/kbalancechartdlg.cpp
@@ -56,7 +56,7 @@ KBalanceChartDlg::KBalanceChartDlg(const MyMoneyAccount& account, TQWidget* pare
KDialog(parent, name)
{
#ifdef HAVE_KDCHART
- setCaption(i18n("Balance of %1").tqarg(account.name()));
+ setCaption(i18n("Balance of %1").arg(account.name()));
setSizeGripEnabled( TRUE );
setModal( TRUE );
@@ -67,7 +67,7 @@ KBalanceChartDlg::KBalanceChartDlg(const MyMoneyAccount& account, TQWidget* pare
MyMoneyReport::eMonths,
MyMoneyTransactionFilter::userDefined, // overridden by the setDateFilter() call below
MyMoneyReport::eDetailTotal,
- i18n("%1 Balance History").tqarg(account.name()),
+ i18n("%1 Balance History").arg(account.name()),
i18n("Generated Report")
);
reportCfg.setChartByDefault(true);
diff --git a/kmymoney2/dialogs/kcategoryreassigndlg.cpp b/kmymoney2/dialogs/kcategoryreassigndlg.cpp
index e0fb54d..4de99f6 100644
--- a/kmymoney2/dialogs/kcategoryreassigndlg.cpp
+++ b/kmymoney2/dialogs/kcategoryreassigndlg.cpp
@@ -78,7 +78,7 @@ TQString KCategoryReassignDlg::show(const MyMoneyAccount& category)
// if there is no category for reassignment left, we bail out
if(list.isEmpty()) {
- KMessageBox::sorry(this, TQString("<qt>")+i18n("At least one transaction/schedule still references the category <b>%1</b>. However, at least one category with the same currency must exist so that the transactions/schedules can be reassigned.").tqarg(category.name())+TQString("</qt>"));
+ KMessageBox::sorry(this, TQString("<qt>")+i18n("At least one transaction/schedule still references the category <b>%1</b>. However, at least one category with the same currency must exist so that the transactions/schedules can be reassigned.").arg(category.name())+TQString("</qt>"));
return TQString();
}
diff --git a/kmymoney2/dialogs/kcategoryreassigndlgdecl.ui b/kmymoney2/dialogs/kcategoryreassigndlgdecl.ui
index 666c714..10c6137 100644
--- a/kmymoney2/dialogs/kcategoryreassigndlgdecl.ui
+++ b/kmymoney2/dialogs/kcategoryreassigndlgdecl.ui
@@ -38,7 +38,7 @@
<property name="text">
<string>The transactions, schedules and budgets associated with the selected category need to be re-assigned to a different category before the selected category can be deleted. Please select a category from the list below.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignJustify|AlignTop</set>
</property>
</widget>
diff --git a/kmymoney2/dialogs/kconfirmmanualenterdlg.cpp b/kmymoney2/dialogs/kconfirmmanualenterdlg.cpp
index 0179721..966ed55 100644
--- a/kmymoney2/dialogs/kconfirmmanualenterdlg.cpp
+++ b/kmymoney2/dialogs/kconfirmmanualenterdlg.cpp
@@ -83,7 +83,7 @@ void KConfirmManualEnterDlg::loadTransactions(const MyMoneyTransaction& to, cons
if (po != pn) {
noItemsChanged++;
- messageDetail += i18n("Payee changed.<br>&nbsp;&nbsp;&nbsp;Old: <b>%1</b>, New: <b>%2</b><p>").tqarg(po).tqarg(pn);
+ messageDetail += i18n("Payee changed.<br>&nbsp;&nbsp;&nbsp;Old: <b>%1</b>, New: <b>%2</b><p>").arg(po).arg(pn);
}
#if 0
if ( (m_schedule.type() == MyMoneySchedule::TYPE_TRANSFER ||
@@ -92,7 +92,7 @@ void KConfirmManualEnterDlg::loadTransactions(const MyMoneyTransaction& to, cons
{
noItemsChanged++;
messageDetail += i18n("Account changed. Old: \"%1\", New: \"%2\"")
- .tqarg(m_schedule.account().name()).tqarg(m_from->currentText()) + TQString("\n");
+ .arg(m_schedule.account().name()).arg(m_from->currentText()) + TQString("\n");
}
if ( m_schedule.type() == MyMoneySchedule::TYPE_DEPOSIT &&
@@ -100,23 +100,23 @@ void KConfirmManualEnterDlg::loadTransactions(const MyMoneyTransaction& to, cons
{
noItemsChanged++;
messageDetail += i18n("Account changed. Old: \"%1\", New: \"%2\"")
- .tqarg(m_schedule.account().name()).tqarg(m_to->currentText()) + TQString("\n");
+ .arg(m_schedule.account().name()).arg(m_to->currentText()) + TQString("\n");
}
#endif
if(to.splits()[0].accountId() != tn.splits()[0].accountId()) {
noItemsChanged++;
messageDetail += i18n("Account changed.<br>&nbsp;&nbsp;&nbsp;Old: <b>%1</b>, New: <b>%2</b><p>")
- .tqarg(file->account(to.splits()[0].accountId()).name())
- .tqarg(file->account(tn.splits()[0].accountId()).name());
+ .arg(file->account(to.splits()[0].accountId()).name())
+ .arg(file->account(tn.splits()[0].accountId()).name());
}
if(file->isTransfer(to) && file->isTransfer(tn)) {
if(to.splits()[1].accountId() != tn.splits()[1].accountId()) {
noItemsChanged++;
messageDetail += i18n("Transfer account changed.<br>&nbsp;&nbsp;&nbsp;Old: <b>%1</b>, New: <b>%2</b><p>")
- .tqarg(file->account(to.splits()[1].accountId()).name())
- .tqarg(file->account(tn.splits()[1].accountId()).name());
+ .arg(file->account(to.splits()[1].accountId()).name())
+ .arg(file->account(tn.splits()[1].accountId()).name());
}
} else {
TQString co, cn;
@@ -142,7 +142,7 @@ void KConfirmManualEnterDlg::loadTransactions(const MyMoneyTransaction& to, cons
if (co != cn)
{
noItemsChanged++;
- messageDetail += i18n("Category changed.<br>&nbsp;&nbsp;&nbsp;Old: <b>%1</b>, New: <b>%2</b><p>").tqarg(co).tqarg(cn);
+ messageDetail += i18n("Category changed.<br>&nbsp;&nbsp;&nbsp;Old: <b>%1</b>, New: <b>%2</b><p>").arg(co).arg(cn);
}
}
@@ -156,7 +156,7 @@ void KConfirmManualEnterDlg::loadTransactions(const MyMoneyTransaction& to, cons
if (mo != mn)
{
noItemsChanged++;
- messageDetail += i18n("Memo changed.<br>&nbsp;&nbsp;&nbsp;Old: <b>%1</b>, New: <b>%2</b><p>").tqarg(mo).tqarg(mn);
+ messageDetail += i18n("Memo changed.<br>&nbsp;&nbsp;&nbsp;Old: <b>%1</b>, New: <b>%2</b><p>").arg(mo).arg(mn);
}
const MyMoneySecurity& sec = MyMoneyFile::instance()->security(to.commodity());
@@ -166,7 +166,7 @@ void KConfirmManualEnterDlg::loadTransactions(const MyMoneyTransaction& to, cons
if (ao != an) {
noItemsChanged++;
messageDetail += i18n("Amount changed.<br>&nbsp;&nbsp;&nbsp;Old: <b>%1</b>, New: <b>%2</b><p>")
- .tqarg(ao.formatMoney(sec.smallestAccountFraction())).tqarg(an.formatMoney(sec.smallestAccountFraction()));
+ .arg(ao.formatMoney(sec.smallestAccountFraction())).arg(an.formatMoney(sec.smallestAccountFraction()));
}
MyMoneySplit::reconcileFlagE fo, fn;
@@ -175,8 +175,8 @@ void KConfirmManualEnterDlg::loadTransactions(const MyMoneyTransaction& to, cons
if(fo != fn) {
noItemsChanged++;
messageDetail += i18n("Reconciliation flag changed.<br>&nbsp;&nbsp;&nbsp;Old: <b>%1</b>, New: <b>%2</b><p>")
- .tqarg(KMyMoneyUtils::reconcileStateToString(fo, true))
- .tqarg(KMyMoneyUtils::reconcileStateToString(fn, true));
+ .arg(KMyMoneyUtils::reconcileStateToString(fo, true))
+ .arg(KMyMoneyUtils::reconcileStateToString(fn, true));
}
}
catch (MyMoneyException *e)
diff --git a/kmymoney2/dialogs/kcsvprogressdlgdecl.ui b/kmymoney2/dialogs/kcsvprogressdlgdecl.ui
index f31e80a..04912ff 100644
--- a/kmymoney2/dialogs/kcsvprogressdlgdecl.ui
+++ b/kmymoney2/dialogs/kcsvprogressdlgdecl.ui
@@ -387,7 +387,7 @@ You can cancel the process at any time by clicking on the Cancel button.</string
<string>Unknown</string>
</property>
<property stdset="1">
- <name>tqalignment</name>
+ <name>alignment</name>
<set>AlignVCenter|AlignRight</set>
</property>
<property>
@@ -433,7 +433,7 @@ You can cancel the process at any time by clicking on the Cancel button.</string
<string>0 of 0</string>
</property>
<property stdset="1">
- <name>tqalignment</name>
+ <name>alignment</name>
<set>AlignVCenter|AlignRight</set>
</property>
<property>
diff --git a/kmymoney2/dialogs/kcurrencycalculator.cpp b/kmymoney2/dialogs/kcurrencycalculator.cpp
index 9fe4404..0ecd16e 100644
--- a/kmymoney2/dialogs/kcurrencycalculator.cpp
+++ b/kmymoney2/dialogs/kcurrencycalculator.cpp
@@ -247,22 +247,22 @@ void KCurrencyCalculator::updateExample(const MyMoneyMoney& price)
{
TQString msg;
if(price.isZero()) {
- msg = TQString("1 %1 = ? %2").tqarg(m_fromCurrency.tradingSymbol())
- .tqarg(m_toCurrency.tradingSymbol());
+ msg = TQString("1 %1 = ? %2").arg(m_fromCurrency.tradingSymbol())
+ .arg(m_toCurrency.tradingSymbol());
if(m_fromCurrency.isCurrency()) {
msg += TQString("\n");
- msg += TQString("1 %1 = ? %2").tqarg(m_toCurrency.tradingSymbol())
- .tqarg(m_fromCurrency.tradingSymbol());
+ msg += TQString("1 %1 = ? %2").arg(m_toCurrency.tradingSymbol())
+ .arg(m_fromCurrency.tradingSymbol());
}
} else {
- msg = TQString("1 %1 = %2 %3").tqarg(m_fromCurrency.tradingSymbol())
- .tqarg(price.formatMoney("", KMyMoneyGlobalSettings::pricePrecision()))
- .tqarg(m_toCurrency.tradingSymbol());
+ msg = TQString("1 %1 = %2 %3").arg(m_fromCurrency.tradingSymbol())
+ .arg(price.formatMoney("", KMyMoneyGlobalSettings::pricePrecision()))
+ .arg(m_toCurrency.tradingSymbol());
if(m_fromCurrency.isCurrency()) {
msg += TQString("\n");
- msg += TQString("1 %1 = %2 %3").tqarg(m_toCurrency.tradingSymbol())
- .tqarg((MyMoneyMoney(1,1)/price).formatMoney("", KMyMoneyGlobalSettings::pricePrecision()))
- .tqarg(m_fromCurrency.tradingSymbol());
+ msg += TQString("1 %1 = %2 %3").arg(m_toCurrency.tradingSymbol())
+ .arg((MyMoneyMoney(1,1)/price).formatMoney("", KMyMoneyGlobalSettings::pricePrecision()))
+ .arg(m_fromCurrency.tradingSymbol());
}
}
m_conversionExample->setText(msg);
diff --git a/kmymoney2/dialogs/kcurrencycalculatordecl.ui b/kmymoney2/dialogs/kcurrencycalculatordecl.ui
index 3a5ff3c..2e723fc 100644
--- a/kmymoney2/dialogs/kcurrencycalculatordecl.ui
+++ b/kmymoney2/dialogs/kcurrencycalculatordecl.ui
@@ -157,7 +157,7 @@
<property name="text">
<string>xxx</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -192,7 +192,7 @@
<property name="text">
<string>xxx</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
diff --git a/kmymoney2/dialogs/keditequityentrydecl.ui b/kmymoney2/dialogs/keditequityentrydecl.ui
index 47c1af0..686ab91 100644
--- a/kmymoney2/dialogs/keditequityentrydecl.ui
+++ b/kmymoney2/dialogs/keditequityentrydecl.ui
@@ -87,7 +87,7 @@
<property name="text">
<string>1 /</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
diff --git a/kmymoney2/dialogs/keditloanwizard.cpp b/kmymoney2/dialogs/keditloanwizard.cpp
index d7b372e..6350845 100644
--- a/kmymoney2/dialogs/keditloanwizard.cpp
+++ b/kmymoney2/dialogs/keditloanwizard.cpp
@@ -57,7 +57,7 @@ KEditLoanWizard::KEditLoanWizard(const MyMoneyAccount& account, TQWidget *parent
m_effectiveDateLabel->setText(TQString("\n") + i18n(
"Please enter the date from which on the following changes will be effective. "
"The date entered must be later than the opening date of this account (%1), but must "
- "not be in the future. The default will be today.").tqarg(KGlobal::locale()->formatDate(account.openingDate(), true)));
+ "not be in the future. The default will be today.").arg(KGlobal::locale()->formatDate(account.openingDate(), true)));
m_account = account;
try {
TQString id = m_account.value("schedule");
@@ -75,7 +75,7 @@ KEditLoanWizard::KEditLoanWizard(const MyMoneyAccount& account, TQWidget *parent
m_effectiveDateNoteLabel->setText(TQString("\n") + i18n(
"Note: you will not be able to modify this account today, because the opening date \"%1\" is in the future. "
"Please revisit this dialog when the time has come."
- ).tqarg(KGlobal::locale()->formatDate(m_account.openingDate(), true)));
+ ).arg(KGlobal::locale()->formatDate(m_account.openingDate(), true)));
} else {
m_effectiveDateNoteLabel->hide();
}
@@ -243,7 +243,7 @@ void KEditLoanWizard::next()
TQString errMsg = i18n(
"Your previous selection was \"%1\". If you select another option, "
"KMyMoney will dismiss the changes you have just entered. "
- "Do you wish to proceed?").tqarg(button->text());
+ "Do you wish to proceed?").arg(button->text());
if(KMessageBox::questionYesNo(this, errMsg) == KMessageBox::No) {
dontLeavePage = true;
diff --git a/kmymoney2/dialogs/kendingbalancedlg.cpp b/kmymoney2/dialogs/kendingbalancedlg.cpp
index 5c4c337..0195e48 100644
--- a/kmymoney2/dialogs/kendingbalancedlg.cpp
+++ b/kmymoney2/dialogs/kendingbalancedlg.cpp
@@ -68,7 +68,7 @@ KEndingBalanceDlg::KEndingBalanceDlg(const MyMoneyAccount& account, TQWidget *pa
d->m_account = account;
MyMoneySecurity currency = MyMoneyFile::instance()->security(account.currencyId());
- m_enterInformationLabel->setText(TQString("<qt>")+i18n("Please enter the following fields with the information as you find them on your statement. Make sure to enter all values in <b>%1</b>.").tqarg(currency.name())+TQString("</qt>"));
+ m_enterInformationLabel->setText(TQString("<qt>")+i18n("Please enter the following fields with the information as you find them on your statement. Make sure to enter all values in <b>%1</b>.").arg(currency.name())+TQString("</qt>"));
m_statementDate->setDate(TQDate::currentDate());
@@ -122,7 +122,7 @@ KEndingBalanceDlg::KEndingBalanceDlg(const MyMoneyAccount& account, TQWidget *pa
m_lastStatementDate->setText(TQString());
if(account.lastReconciliationDate().isValid()) {
m_lastStatementDate->setText(i18n("Last reconciled statement: %1")
- .tqarg(KGlobal::locale()->formatDate(account.lastReconciliationDate(), true)));
+ .arg(KGlobal::locale()->formatDate(account.lastReconciliationDate(), true)));
}
// remove all unwanted pages
@@ -510,8 +510,8 @@ void KEndingBalanceLoanDlg::next(void)
m_loanOverview->setText(i18n("KMyMoney has calculated the following amounts for "
"interest and amortization according to recorded payments "
"between %1 and %2.")
- .tqarg(KGlobal::locale()->formatDate(m_startDateEdit->date(), true))
- .tqarg(KGlobal::locale()->formatDate(m_endDateEdit->date(), true)));
+ .arg(KGlobal::locale()->formatDate(m_startDateEdit->date(), true))
+ .arg(KGlobal::locale()->formatDate(m_endDateEdit->date(), true)));
// preload widgets with calculated values if they are empty
if(m_amortizationTotalEdit->value().isZero() && !amortization.isZero())
diff --git a/kmymoney2/dialogs/kendingbalancedlgdecl.ui b/kmymoney2/dialogs/kendingbalancedlgdecl.ui
index 0968bdd..bfbe543 100644
--- a/kmymoney2/dialogs/kendingbalancedlgdecl.ui
+++ b/kmymoney2/dialogs/kendingbalancedlgdecl.ui
@@ -43,7 +43,7 @@ All relevant information necessary for this process is usually printed on your s
On the next page you will verify, that the starting and ending balance are matching those on your statement. If not, please modify the figures.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -75,7 +75,7 @@ On the next page you will verify, that the starting and ending balance are match
Please enter the following information found on your statement:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -231,7 +231,7 @@ Please enter the following information found on your statement:</string>
<property name="text">
<string>1</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -334,7 +334,7 @@ Please enter the following information found on your statement:</string>
<property name="text">
<string>If your statement shows different amounts, please cancel this dialog and correct the false transactions or correct the values in this dialog. In the later case, KMyMoney will create an adjustment transaction and add it to the ledger.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -381,7 +381,7 @@ Please enter the following information found on your statement:</string>
<property name="text">
<string>In order to create the adjustment transaction, KMyMoney requires an account and possibly an interest category to assign the differences to. Please select an account and - if necessary - a category.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -512,7 +512,7 @@ It is important, that you continue with the same statement you used when you pos
All information you have entered into this wizard will be shown and all transactions that you already cleared are marked with a 'C'.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
diff --git a/kmymoney2/dialogs/kequitypriceupdatedlg.cpp b/kmymoney2/dialogs/kequitypriceupdatedlg.cpp
index ab752be..f241c93 100644
--- a/kmymoney2/dialogs/kequitypriceupdatedlg.cpp
+++ b/kmymoney2/dialogs/kequitypriceupdatedlg.cpp
@@ -183,8 +183,8 @@ void KEquityPriceUpdateDlg::addPricePair(const MyMoneySecurityPair& pair, bool d
{
MyMoneyFile* file = MyMoneyFile::instance();
- TQString symbol = TQString("%1 > %2").tqarg(pair.first,pair.second);
- TQString id = TQString("%1 %2").tqarg(pair.first,pair.second);
+ TQString symbol = TQString("%1 > %2").arg(pair.first,pair.second);
+ TQString id = TQString("%1 %2").arg(pair.first,pair.second);
if ( ! lvEquityList->findItem(id,ID_COL,TQt::ExactMatch) )
{
MyMoneyPrice pr = file->price(pair.first,pair.second);
@@ -219,7 +219,7 @@ void KEquityPriceUpdateDlg::addPricePair(const MyMoneySecurityPair& pair, bool d
if(keep) {
KListViewItem* item = new KListViewItem(lvEquityList,
symbol,
- i18n("%1 units in %2").tqarg(pair.first,pair.second));
+ i18n("%1 units in %2").arg(pair.first,pair.second));
if(pr.isValid()) {
item->setText(PRICE_COL, pr.rate(pair.second).formatMoney(file->currency(pair.second).tradingSymbol(), KMyMoneyGlobalSettings::pricePrecision()));
item->setText(DATE_COL, pr.date().toString(Qt::ISODate));
@@ -260,7 +260,7 @@ void KEquityPriceUpdateDlg::addInvestment(const MyMoneySecurity& inv)
}
item->setText(ID_COL,id);
if (inv.value("kmm-online-quote-system") == "Finance::Quote")
- item->setText(SOURCE_COL, TQString("Finance::Quote %1").tqarg( inv.value("kmm-online-source")));
+ item->setText(SOURCE_COL, TQString("Finance::Quote %1").arg( inv.value("kmm-online-source")));
else
item->setText(SOURCE_COL, inv.value("kmm-online-source"));
@@ -342,7 +342,7 @@ void KEquityPriceUpdateDlg::storePrices(void)
TQStringList ids = TQStringList::split(" ",TQString(id));
TQString fromid = ids[0].utf8();
TQString toid = ids[1].utf8();
- name = TQString("%1 --> %2").tqarg(fromid).tqarg(toid);
+ name = TQString("%1 --> %2").arg(fromid).arg(toid);
MyMoneyPrice price(fromid,toid,TQDate().fromString(item->text(DATE_COL), Qt::ISODate),rate,item->text(SOURCE_COL));
file->addPrice(price);
}
@@ -422,9 +422,9 @@ void KEquityPriceUpdateDlg::slotQuoteFailed(const TQString& _id, const TQString&
// Give the user some options
int result;
if(_id.contains(" ")) {
- result = KMessageBox::warningContinueCancel(this, i18n("Failed to retrieve an exchange rate for %1 from %2. It will be skipped this time.").tqarg(_symbol, item->text(SOURCE_COL)), i18n("Price Update Failed"));
+ result = KMessageBox::warningContinueCancel(this, i18n("Failed to retrieve an exchange rate for %1 from %2. It will be skipped this time.").arg(_symbol, item->text(SOURCE_COL)), i18n("Price Update Failed"));
} else {
- result = KMessageBox::questionYesNoCancel(this, TQString("<qt>%1</qt>").tqarg(i18n("Failed to retrieve a quote for %1 from %2. Press <b>No</b> to remove the online price source from this security permanently, <b>Yes</b> to continue updating this security during future price updates or <b>Cancel</b> to stop the current update operation.").tqarg(_symbol, item->text(SOURCE_COL))), i18n("Price Update Failed"), KStdGuiItem::yes(), KStdGuiItem::no());
+ result = KMessageBox::questionYesNoCancel(this, TQString("<qt>%1</qt>").arg(i18n("Failed to retrieve a quote for %1 from %2. Press <b>No</b> to remove the online price source from this security permanently, <b>Yes</b> to continue updating this security during future price updates or <b>Cancel</b> to stop the current update operation.").arg(_symbol, item->text(SOURCE_COL))), i18n("Price Update Failed"), KStdGuiItem::yes(), KStdGuiItem::no());
}
if ( result == KMessageBox::No )
@@ -444,7 +444,7 @@ void KEquityPriceUpdateDlg::slotQuoteFailed(const TQString& _id, const TQString&
MyMoneyFile::instance()->modifySecurity(security);
ft.commit();
} catch(MyMoneyException* e) {
- KMessageBox::error(this, TQString("<qt>")+i18n("Cannot update security <b>%1</b>: %2").tqarg(_symbol, e->what())+TQString("</qt>"), i18n("Price Update Failed"));
+ KMessageBox::error(this, TQString("<qt>")+i18n("Cannot update security <b>%1</b>: %2").arg(_symbol, e->what())+TQString("</qt>"), i18n("Price Update Failed"));
delete e;
}
}
@@ -525,13 +525,13 @@ void KEquityPriceUpdateDlg::slotReceivedQuote(const TQString& _id, const TQStrin
}
item->setText(PRICE_COL, KGlobal::locale()->formatMoney(price, sec.tradingSymbol(), KMyMoneyGlobalSettings::pricePrecision()));
item->setText(DATE_COL, date.toString(Qt::ISODate));
- logStatusMessage(i18n("Price for %1 updated (id %2)").tqarg(_symbol,_id));
+ logStatusMessage(i18n("Price for %1 updated (id %2)").arg(_symbol,_id));
// make sure to make OK button available
btnOK->setEnabled(true);
}
else
{
- logErrorMessage(i18n("Received an invalid price for %1, unable to update.").tqarg(_symbol));
+ logErrorMessage(i18n("Received an invalid price for %1, unable to update.").arg(_symbol));
}
prgOnlineProgress->advance(1);
@@ -551,7 +551,7 @@ void KEquityPriceUpdateDlg::slotReceivedQuote(const TQString& _id, const TQStrin
}
else
{
- logErrorMessage(i18n("Received a price for %1 (id %2), but this symbol is not on the list! Aborting entire update.").tqarg(_symbol,_id));
+ logErrorMessage(i18n("Received a price for %1 (id %2), but this symbol is not on the list! Aborting entire update.").arg(_symbol,_id));
}
if (next)
diff --git a/kmymoney2/dialogs/kexportdlgdecl.ui b/kmymoney2/dialogs/kexportdlgdecl.ui
index e429f53..53275ee 100644
--- a/kmymoney2/dialogs/kexportdlgdecl.ui
+++ b/kmymoney2/dialogs/kexportdlgdecl.ui
@@ -57,7 +57,7 @@
You can choose the file's path, the account and the format of the QIF file (profile). Choose Account to export all the transactions between the specified dates or just categories. You can also limit the transactions that are exported by start and ending date. Once you have pressed the Export button a message box will appear when the export has completed detailing how many transactions, categories and payees were exported.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop|AlignLeft</set>
</property>
<property name="wordwrap" stdset="0">
diff --git a/kmymoney2/dialogs/kfindtransactiondlg.cpp b/kmymoney2/dialogs/kfindtransactiondlg.cpp
index c97e32e..e639c41 100644
--- a/kmymoney2/dialogs/kfindtransactiondlg.cpp
+++ b/kmymoney2/dialogs/kfindtransactiondlg.cpp
@@ -714,9 +714,9 @@ void KFindTransactionDlg::loadView(void)
#if KMM_DEBUG
m_foundText->setText(i18n("Found %1 matching transactions (D %2 / P %3 = %4)")
- .tqarg(splitCount).tqarg(deposit.formatMoney("", 2)).tqarg(payment.formatMoney("", 2)).tqarg((deposit-payment).formatMoney("", 2)));
+ .arg(splitCount).arg(deposit.formatMoney("", 2)).arg(payment.formatMoney("", 2)).arg((deposit-payment).formatMoney("", 2)));
#else
- m_foundText->setText(i18n("Found %1 matching transactions") .tqarg(splitCount));
+ m_foundText->setText(i18n("Found %1 matching transactions") .arg(splitCount));
#endif
m_tabWidget->setTabEnabled(m_resultPage, true);
diff --git a/kmymoney2/dialogs/kfindtransactiondlgdecl.ui b/kmymoney2/dialogs/kfindtransactiondlgdecl.ui
index 3284fa0..9172946 100644
--- a/kmymoney2/dialogs/kfindtransactiondlgdecl.ui
+++ b/kmymoney2/dialogs/kfindtransactiondlgdecl.ui
@@ -852,7 +852,7 @@
<property name="text">
<string>text</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignTop</set>
</property>
</widget>
@@ -969,7 +969,7 @@
<property name="text">
<string>F</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignLeft</set>
</property>
</widget>
diff --git a/kmymoney2/dialogs/kgncimportoptionsdlgdecl.ui b/kmymoney2/dialogs/kgncimportoptionsdlgdecl.ui
index b40a178..a5ff636 100644
--- a/kmymoney2/dialogs/kgncimportoptionsdlgdecl.ui
+++ b/kmymoney2/dialogs/kgncimportoptionsdlgdecl.ui
@@ -38,7 +38,7 @@
<property name="text">
<string>Use 'Help' for more information on these options</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignCenter</set>
</property>
</widget>
diff --git a/kmymoney2/dialogs/kgncpricesourcedlg.cpp b/kmymoney2/dialogs/kgncpricesourcedlg.cpp
index 8c807f3..1fc35bc 100644
--- a/kmymoney2/dialogs/kgncpricesourcedlg.cpp
+++ b/kmymoney2/dialogs/kgncpricesourcedlg.cpp
@@ -45,8 +45,8 @@ KGncPriceSourceDlg::KGncPriceSourceDlg(const TQString &stockName, const TQString
connect( buttonGroup5, TQT_SIGNAL( released(int) ), this, TQT_SLOT( buttonPressed(int) ) );
connect( buttonHelp, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotHelp() ) );
// initialize data fields
- textStockName->setText (i18n ("Investment: %1").tqarg(stockName));
- textGncSource->setText (i18n ("Quote source: %1").tqarg(gncSource));
+ textStockName->setText (i18n ("Investment: %1").arg(stockName));
+ textGncSource->setText (i18n ("Quote source: %1").arg(gncSource));
listKnownSource->insertStringList (WebPriceQuote::quoteSources());
lineUserSource->setText (gncSource);
checkAlwaysUse->setChecked(true);
diff --git a/kmymoney2/dialogs/kimportdlg.cpp b/kmymoney2/dialogs/kimportdlg.cpp
index 72a7452..e484711 100644
--- a/kmymoney2/dialogs/kimportdlg.cpp
+++ b/kmymoney2/dialogs/kimportdlg.cpp
@@ -107,7 +107,7 @@ void KImportDlg::slotBrowse()
tmpprofile.loadProfile("Profile-" + profile());
KFileDialog dialog(KGlobalSettings::documentPath(),
- i18n("%1|Import files\n%2|All files (*.*)").tqarg(tmpprofile.filterFileType()).tqarg("*"),
+ i18n("%1|Import files\n%2|All files (*.*)").arg(tmpprofile.filterFileType()).arg("*"),
this, i18n("Import File..."), true);
dialog.setMode(KFile::File | KFile::ExistingOnly);
diff --git a/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp b/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp
index b692bf7..49852a7 100644
--- a/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp
+++ b/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp
@@ -48,12 +48,12 @@ KMyMoneyFileInfoDlg::KMyMoneyFileInfoDlg(TQWidget *parent, const char *name )
m_lastModificationDate->setText(storage->lastModificationDate().toString(Qt::ISODate));
m_baseCurrency->setText(storage->value("kmm-baseCurrency"));
- m_payeeCount->setText(TQString("%1").tqarg(storage->payeeList().count()));
- m_institutionCount->setText(TQString("%1").tqarg(storage->institutionList().count()));
+ m_payeeCount->setText(TQString("%1").arg(storage->payeeList().count()));
+ m_institutionCount->setText(TQString("%1").arg(storage->institutionList().count()));
TQValueList<MyMoneyAccount> a_list;
storage->accountList(a_list);
- m_accountCount->setText(TQString("%1").tqarg(a_list.count()));
+ m_accountCount->setText(TQString("%1").arg(a_list.count()));
TQMap<MyMoneyAccount::accountTypeE, int> accountMap;
TQMap<MyMoneyAccount::accountTypeE, int> accountMapClosed;
@@ -67,22 +67,22 @@ KMyMoneyFileInfoDlg::KMyMoneyFileInfoDlg(TQWidget *parent, const char *name )
TQMap<MyMoneyAccount::accountTypeE, int>::const_iterator it_m;
for(it_m = accountMap.begin(); it_m != accountMap.end(); ++it_m) {
- new KListViewItem(m_accountView, KMyMoneyUtils::accountTypeToString(it_m.key()), TQString("%1").tqarg(*it_m), TQString("%1").tqarg(accountMapClosed[it_m.key()]));
+ new KListViewItem(m_accountView, KMyMoneyUtils::accountTypeToString(it_m.key()), TQString("%1").arg(*it_m), TQString("%1").arg(accountMapClosed[it_m.key()]));
}
MyMoneyTransactionFilter filter;
filter.setReportAllSplits(false);
- m_transactionCount->setText(TQString("%1").tqarg(storage->transactionList(filter).count()));
+ m_transactionCount->setText(TQString("%1").arg(storage->transactionList(filter).count()));
filter.setReportAllSplits(true);
- m_splitCount->setText(TQString("%1").tqarg(storage->transactionList(filter).count()));
- m_scheduleCount->setText(TQString("%1").tqarg(storage->scheduleList().count()));
+ m_splitCount->setText(TQString("%1").arg(storage->transactionList(filter).count()));
+ m_scheduleCount->setText(TQString("%1").arg(storage->scheduleList().count()));
MyMoneyPriceList list = storage->priceList();
MyMoneyPriceList::const_iterator it_p;
int pCount = 0;
for(it_p = list.begin(); it_p != list.end(); ++it_p)
pCount += (*it_p).count();
- m_priceCount->setText(TQString("%1").tqarg(pCount));
+ m_priceCount->setText(TQString("%1").arg(pCount));
}
KMyMoneyFileInfoDlg::~KMyMoneyFileInfoDlg()
diff --git a/kmymoney2/dialogs/knewaccountdlg.cpp b/kmymoney2/dialogs/knewaccountdlg.cpp
index c1b8f57..5f085aa 100644
--- a/kmymoney2/dialogs/knewaccountdlg.cpp
+++ b/kmymoney2/dialogs/knewaccountdlg.cpp
@@ -394,7 +394,7 @@ KNewAccountDlg::KNewAccountDlg(const MyMoneyAccount& account, bool isEditing, bo
m_vatAssignment->setChecked(false);
// make sure our account does not have an id and no parent assigned
- // and certainly no tqchildren in case we create a new account
+ // and certainly no children in case we create a new account
if(!m_isEditing) {
m_account.clearId();
m_account.setParentAccountId(TQString());
@@ -549,7 +549,7 @@ void KNewAccountDlg::okClicked()
// we don't need this check anymore.
if(!file->nameToAccount(accountNameText).isEmpty()
&& (file->nameToAccount(accountNameText) != m_account.id())) {
- KMessageBox::error(this, TQString("<qt>")+i18n("An account named <b>%1</b> already exists. You cannot create a second account with the same name.").tqarg(accountNameText)+TQString("</qt>"));
+ KMessageBox::error(this, TQString("<qt>")+i18n("An account named <b>%1</b> already exists. You cannot create a second account with the same name.").arg(accountNameText)+TQString("</qt>"));
return;
}
#endif
@@ -564,7 +564,7 @@ void KNewAccountDlg::okClicked()
newName += accountNameText;
if(!file->categoryToAccount(newName, acctype).isEmpty()
&& (file->categoryToAccount(newName, acctype) != m_account.id())) {
- KMessageBox::error(this, TQString("<qt>")+i18n("A category named <b>%1</b> already exists. You cannot create a second category with the same name.").tqarg(newName)+TQString("</qt>"));
+ KMessageBox::error(this, TQString("<qt>")+i18n("A category named <b>%1</b> already exists. You cannot create a second category with the same name.").arg(newName)+TQString("</qt>"));
return;
}
}
@@ -669,7 +669,7 @@ const MyMoneyAccount& KNewAccountDlg::account(void)
break;
case 1:
case 2:
- m_account.setValue("priceMode", TQString("%1").tqarg(m_priceMode->currentItem()));
+ m_account.setValue("priceMode", TQString("%1").arg(m_priceMode->currentItem()));
break;
}
@@ -924,7 +924,7 @@ void KNewAccountDlg::initParentWidget(TQString parentId, const TQString& account
if (m_parentItem)
{
- m_subAccountLabel->setText(i18n("Is a sub account of %1").tqarg(m_parentAccount.name()));
+ m_subAccountLabel->setText(i18n("Is a sub account of %1").arg(m_parentAccount.name()));
m_parentItem->setOpen(true);
m_qlistviewParentAccounts->setSelected(m_parentItem, true);
}
@@ -976,7 +976,7 @@ void KNewAccountDlg::slotSelectionChanged(TQListViewItem *item)
//qDebug("Selected account id: %s", accountItem->accountID().data());
m_parentAccount = file->account(accountItem->id());
- m_subAccountLabel->setText(i18n("Is a sub account of %1").tqarg(m_parentAccount.name()));
+ m_subAccountLabel->setText(i18n("Is a sub account of %1").arg(m_parentAccount.name()));
if(m_qlistviewParentAccounts->isEnabled()) {
m_bSelectedParentAccount = true;
}
diff --git a/kmymoney2/dialogs/knewaccountdlgdecl.ui b/kmymoney2/dialogs/knewaccountdlgdecl.ui
index e13989b..ea17b68 100644
--- a/kmymoney2/dialogs/knewaccountdlgdecl.ui
+++ b/kmymoney2/dialogs/knewaccountdlgdecl.ui
@@ -250,7 +250,7 @@
<property name="text">
<string>Notes:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignTop</set>
</property>
</widget>
diff --git a/kmymoney2/dialogs/knewequityentrydecl.ui b/kmymoney2/dialogs/knewequityentrydecl.ui
index a9e35b7..de1d71c 100644
--- a/kmymoney2/dialogs/knewequityentrydecl.ui
+++ b/kmymoney2/dialogs/knewequityentrydecl.ui
@@ -80,7 +80,7 @@
<property name="text">
<string>1 /</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
diff --git a/kmymoney2/dialogs/knewinvestmentwizard.cpp b/kmymoney2/dialogs/knewinvestmentwizard.cpp
index 85e6cc9..5eb793d 100644
--- a/kmymoney2/dialogs/knewinvestmentwizard.cpp
+++ b/kmymoney2/dialogs/knewinvestmentwizard.cpp
@@ -294,7 +294,7 @@ void KNewInvestmentWizard::createObjects(const TQString& parentId)
break;
case 1:
case 2:
- m_account.setValue("priceMode", TQString("%1").tqarg(m_priceMode->currentItem()));
+ m_account.setValue("priceMode", TQString("%1").arg(m_priceMode->currentItem()));
break;
}
@@ -306,7 +306,7 @@ void KNewInvestmentWizard::createObjects(const TQString& parentId)
}
ft.commit();
} catch(MyMoneyException* e) {
- KMessageBox::detailedSorry(0, i18n("Unable to create all objects for the investment"), TQString("%1 caugt in %2:%3").tqarg(e->what()).tqarg(e->file()).tqarg(e->line()));
+ KMessageBox::detailedSorry(0, i18n("Unable to create all objects for the investment"), TQString("%1 caugt in %2:%3").arg(e->what()).arg(e->file()).arg(e->line()));
delete e;
}
}
diff --git a/kmymoney2/dialogs/knewinvestmentwizarddecl.ui b/kmymoney2/dialogs/knewinvestmentwizarddecl.ui
index 91403b7..1925a19 100644
--- a/kmymoney2/dialogs/knewinvestmentwizarddecl.ui
+++ b/kmymoney2/dialogs/knewinvestmentwizarddecl.ui
@@ -33,7 +33,7 @@
<property name="text">
<string>This wizard allows you to create a new investment.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -61,7 +61,7 @@
<property name="text">
<string>The first step in this process requires to select the type of investment. The following steps collect more details about the investment from you.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -174,7 +174,7 @@
<property name="text">
<string>Enter the details below and click &lt;b&gt;Next&lt;/b&gt; to continue entering the online update details.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -231,7 +231,7 @@
<property name="text">
<string>1 /</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -401,7 +401,7 @@
<property name="text">
<string>Select an online source and click &lt;b&gt;Finish&lt;/b&gt; to store the investment data. If you don't want to use online updates, just leave the data as is.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
diff --git a/kmymoney2/dialogs/knewloanwizard.cpp b/kmymoney2/dialogs/knewloanwizard.cpp
index ef5c4a4..884807f 100644
--- a/kmymoney2/dialogs/knewloanwizard.cpp
+++ b/kmymoney2/dialogs/knewloanwizard.cpp
@@ -510,7 +510,7 @@ void KNewLoanWizard::next()
if(m_loanAmountEdit->lineedit()->text().isEmpty()
&& m_interestRateEdit->lineedit()->text().isEmpty()) {
dontLeavePage = true;
- KMessageBox::error(0, errMsg.tqarg(i18n("interest rate")), i18n("Calculation error"));
+ KMessageBox::error(0, errMsg.arg(i18n("interest rate")), i18n("Calculation error"));
} else
updateInterestRate();
@@ -519,7 +519,7 @@ void KNewLoanWizard::next()
|| m_interestRateEdit->lineedit()->text().isEmpty())
&& m_durationValueEdit->value() == 0) {
dontLeavePage = true;
- KMessageBox::error(0, errMsg.tqarg(i18n("term")), i18n("Calculation error"));
+ KMessageBox::error(0, errMsg.arg(i18n("term")), i18n("Calculation error"));
} else
updateDuration();
@@ -529,7 +529,7 @@ void KNewLoanWizard::next()
|| m_durationValueEdit->value() == 0)
&& m_paymentEdit->lineedit()->text().isEmpty()) {
dontLeavePage = true;
- KMessageBox::error(0, errMsg.tqarg(i18n("principal and interest")), i18n("Calculation error"));
+ KMessageBox::error(0, errMsg.arg(i18n("principal and interest")), i18n("Calculation error"));
} else
updatePayment();
@@ -709,14 +709,14 @@ int KNewLoanWizard::calculateLoan(void)
val = calc.presentValue();
m_loanAmountEdit->loadText(MyMoneyMoney(static_cast<double>(val)).abs().formatMoney(fraction));
result = i18n("KMyMoney has calculated the amount of the loan as %1.")
- .tqarg(m_loanAmountEdit->lineedit()->text());
+ .arg(m_loanAmountEdit->lineedit()->text());
} else if(m_interestRateEdit->lineedit()->text().isEmpty()) {
// calculate the interest rate out of the other information
val = calc.interestRate();
m_interestRateEdit->loadText(MyMoneyMoney(static_cast<double>(val)).abs().formatMoney("", 3));
result = i18n("KMyMoney has calculated the interest rate to %1%.")
- .tqarg(m_interestRateEdit->lineedit()->text());
+ .arg(m_interestRateEdit->lineedit()->text());
} else if(m_paymentEdit->lineedit()->text().isEmpty()) {
// calculate the periodical amount of the payment out of the other information
@@ -729,7 +729,7 @@ int KNewLoanWizard::calculateLoan(void)
calc.setPmt(val);
result = i18n("KMyMoney has calculated a periodic payment of %1 to cover principal and interest.")
- .tqarg(m_paymentEdit->lineedit()->text());
+ .arg(m_paymentEdit->lineedit()->text());
val = calc.futureValue();
if((m_borrowButton->isChecked() && val < 0 && fabsl(val) >= fabsl(calc.payment()))
@@ -741,7 +741,7 @@ int KNewLoanWizard::calculateLoan(void)
m_finalPaymentEdit->loadText(refVal.abs().formatMoney(fraction));
result += TQString(" ");
result += i18n("The number of payments has been decremented and the final payment has been modified to %1.")
- .tqarg(m_finalPaymentEdit->lineedit()->text());
+ .arg(m_finalPaymentEdit->lineedit()->text());
} else if((m_borrowButton->isChecked() && val < 0 && fabsl(val) < fabsl(calc.payment()))
|| (m_lendButton->isChecked() && val > 0 && fabs(val) < fabs(calc.payment()))) {
m_finalPaymentEdit->loadText(MyMoneyMoney(0,1).formatMoney(fraction));
@@ -749,7 +749,7 @@ int KNewLoanWizard::calculateLoan(void)
MyMoneyMoney refVal(static_cast<double>(val));
m_finalPaymentEdit->loadText(refVal.abs().formatMoney(fraction));
result += i18n("The final payment has been modified to %1.")
- .tqarg(m_finalPaymentEdit->lineedit()->text());
+ .arg(m_finalPaymentEdit->lineedit()->text());
}
} else if(m_durationValueEdit->value() == 0) {
@@ -761,7 +761,7 @@ int KNewLoanWizard::calculateLoan(void)
// if the number of payments has a fractional part, then we
// round it to the smallest integer and calculate the balloon payment
result = i18n("KMyMoney has calculated the term of your loan as %1. ")
- .tqarg(updateTermWidgets(floorl(val)));
+ .arg(updateTermWidgets(floorl(val)));
if(val != floorl(val)) {
calc.setNpp(floorl(val));
@@ -769,7 +769,7 @@ int KNewLoanWizard::calculateLoan(void)
MyMoneyMoney refVal(static_cast<double>(val));
m_finalPaymentEdit->loadText(refVal.abs().formatMoney(fraction));
result += i18n("The final payment has been modified to %1.")
- .tqarg(m_finalPaymentEdit->lineedit()->text());
+ .arg(m_finalPaymentEdit->lineedit()->text());
}
} else {
@@ -800,7 +800,7 @@ int KNewLoanWizard::calculateLoan(void)
MyMoneyMoney refVal(static_cast<double>(val));
result = i18n("KMyMoney has calculated a final payment of %1 for this loan.")
- .tqarg(refVal.abs().formatMoney(fraction));
+ .arg(refVal.abs().formatMoney(fraction));
if(!m_finalPaymentEdit->lineedit()->text().isEmpty()) {
if((m_finalPaymentEdit->value().abs() - refVal.abs()).abs().toDouble() > 1) {
@@ -889,7 +889,7 @@ void KNewLoanWizard::slotCreateCategory(void)
m_interestAccountEdit->setSelected(id);
} catch (MyMoneyException *e) {
- KMessageBox::information(this, i18n("Unable to add account: %1").tqarg(e->what()));
+ KMessageBox::information(this, i18n("Unable to add account: %1").arg(e->what()));
delete e;
}
}
diff --git a/kmymoney2/dialogs/knewloanwizarddecl.ui b/kmymoney2/dialogs/knewloanwizarddecl.ui
index d5cb1b7..f8138ff 100644
--- a/kmymoney2/dialogs/knewloanwizarddecl.ui
+++ b/kmymoney2/dialogs/knewloanwizarddecl.ui
@@ -84,7 +84,7 @@
<property name="text">
<string>New Loan Account Wizard</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignTop|AlignHCenter</set>
</property>
</widget>
@@ -117,7 +117,7 @@ Welcome to the New Loan Account Wizard which will guide you through the creation
Please make sure that you have the relevant information handy. You usually get the information out of your contract and the last statement.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -196,7 +196,7 @@ Please make sure that you have the relevant information handy. You usually get t
<property name="text">
<string>Edit Loan Account Wizard</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignTop|AlignHCenter</set>
</property>
</widget>
@@ -229,7 +229,7 @@ Welcome to the Edit Loan Account Wizard. Please use this wizard to modify inform
Please make sure that you have the relevant information handy. You usually get the information out of your contract and the last statement.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -277,7 +277,7 @@ Please make sure that you have the relevant information handy. You usually get t
<string>
In the first step, KMyMoney will ask you some general information about the loan account to be created.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -350,7 +350,7 @@ In the first step, KMyMoney will ask you some general information about the loan
<property name="text">
<string>1. General Information</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignTop</set>
</property>
</widget>
@@ -450,7 +450,7 @@ In the first step, KMyMoney will ask you some general information about the loan
<string>
Please select, which data of the loan you want to modify.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -613,7 +613,7 @@ Please select, which data of the loan you want to modify.</string>
<property name="text">
<string>1</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -624,7 +624,7 @@ Please select, which data of the loan you want to modify.</string>
<property name="text">
<string>1</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -718,7 +718,7 @@ Please select, which data of the loan you want to modify.</string>
<string>
Do you borrow or lend money?</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -851,7 +851,7 @@ Do you borrow or lend money?</string>
<string>
How do you want to call this loan? Examples for names are 'car loan', 'school loan', 'home owner loan'.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -993,7 +993,7 @@ How do you want to call this loan? Examples for names are 'car loan', 'school lo
<string>
Is the interest of this loan fixed over a period of time or is it adapted from time to time? If the interest rate changes during the amortization phase of the loan you should choose the option 'variable interest rate'.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -1132,7 +1132,7 @@ Is the interest of this loan fixed over a period of time or is it adapted from t
<string>
Were there any payments for this loan whether they are entered into KMyMoney or not?</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -1251,7 +1251,7 @@ Were there any payments for this loan whether they are entered into KMyMoney or
<property name="text">
<string>Note: Payments made to obtain the loan (e.g. Dissagio) are not considered as payments in this context.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -1299,7 +1299,7 @@ Were there any payments for this loan whether they are entered into KMyMoney or
<string>
Do you want to record all payments of this loan with KMyMoney?</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -1432,7 +1432,7 @@ Do you want to record all payments of this loan with KMyMoney?</string>
<string>
Select the date when the interest rate for this loan will be modified and the frequency of the future changes.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -1556,7 +1556,7 @@ Select the date when the interest rate for this loan will be modified and the fr
<string>
Please enter the amount you pay for principal and interest or leave the field empty to calculate it.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -1698,7 +1698,7 @@ Please enter the amount you pay for principal and interest or leave the field em
If KMyMoney should calculate this value for you, then leave the field blank.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
@@ -1729,7 +1729,7 @@ If KMyMoney should calculate this value for you, then leave the field blank.</st
<string>
Please enter the interest rate or leave the field empty to calculate it.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -1871,7 +1871,7 @@ Please enter the interest rate or leave the field empty to calculate it.</string
If KMyMoney should calculate this value for you, then leave the field blank.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -1901,7 +1901,7 @@ If KMyMoney should calculate this value for you, then leave the field blank.</st
<property name="text">
<string>1</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -1975,7 +1975,7 @@ If KMyMoney should calculate this value for you, then leave the field blank.</st
<property name="text">
<string></string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignBottom</set>
</property>
</widget>
@@ -2006,7 +2006,7 @@ If KMyMoney should calculate this value for you, then leave the field blank.</st
<string>
You have successfully entered the general information about your loan. Next, KMyMoney needs some information about the calculation of the loan.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -2082,7 +2082,7 @@ You have successfully entered the general information about your loan. Next, KMy
<property name="text">
<string>1. General Information</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignTop</set>
</property>
</widget>
@@ -2189,7 +2189,7 @@ You have successfully entered the general information about your loan. Next, KMy
<string>
How often will there be payments made to this loan?</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -2309,7 +2309,7 @@ How often will there be payments made to this loan?</string>
<string>
When does the actual interest rate get calculated?</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -2447,7 +2447,7 @@ When does the actual interest rate get calculated?</string>
<property name="text">
<string>1</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -2524,7 +2524,7 @@ When does the actual interest rate get calculated?</string>
<property name="text">
<string>Loan amount:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -2535,7 +2535,7 @@ When does the actual interest rate get calculated?</string>
<property name="text">
<string>Interest rate:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -2546,7 +2546,7 @@ When does the actual interest rate get calculated?</string>
<property name="text">
<string>Term:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -2557,7 +2557,7 @@ When does the actual interest rate get calculated?</string>
<property name="text">
<string>Principal + Interest:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -2568,7 +2568,7 @@ When does the actual interest rate get calculated?</string>
<property name="text">
<string>Final amortization payment</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -2681,7 +2681,7 @@ When does the actual interest rate get calculated?</string>
<string>
Please enter the interest rate or leave the field empty to calculate it.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -2758,7 +2758,7 @@ Please enter the interest rate or leave the field empty to calculate it.</string
<property name="text">
<string>Loan amount:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -2769,7 +2769,7 @@ Please enter the interest rate or leave the field empty to calculate it.</string
<property name="text">
<string>Interest rate:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -2780,7 +2780,7 @@ Please enter the interest rate or leave the field empty to calculate it.</string
<property name="text">
<string>Term:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -2791,7 +2791,7 @@ Please enter the interest rate or leave the field empty to calculate it.</string
<property name="text">
<string>Principal + Interest:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -2802,7 +2802,7 @@ Please enter the interest rate or leave the field empty to calculate it.</string
<property name="text">
<string>Final amortization payment</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -2909,7 +2909,7 @@ Please enter the interest rate or leave the field empty to calculate it.</string
<string>
Please enter the term of this loan or leave the field empty to calculate it. The term is the time that is required to fully repay the loan. This time might be different from the time your loan contract is signed for.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -2993,7 +2993,7 @@ Please enter the term of this loan or leave the field empty to calculate it. The
<property name="text">
<string>Loan amount:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -3004,7 +3004,7 @@ Please enter the term of this loan or leave the field empty to calculate it. The
<property name="text">
<string>Interest rate:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -3015,7 +3015,7 @@ Please enter the term of this loan or leave the field empty to calculate it. The
<property name="text">
<string>Term:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -3026,7 +3026,7 @@ Please enter the term of this loan or leave the field empty to calculate it. The
<property name="text">
<string>Principal + Interest:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -3037,7 +3037,7 @@ Please enter the term of this loan or leave the field empty to calculate it. The
<property name="text">
<string>Final amortization payment</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -3150,7 +3150,7 @@ Please enter the term of this loan or leave the field empty to calculate it. The
<string>
Please enter the amount you pay for principal and interest or leave the field empty to calculate it.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -3227,7 +3227,7 @@ Please enter the amount you pay for principal and interest or leave the field em
<property name="text">
<string>Loan amount:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -3238,7 +3238,7 @@ Please enter the amount you pay for principal and interest or leave the field em
<property name="text">
<string>Interest rate:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -3249,7 +3249,7 @@ Please enter the amount you pay for principal and interest or leave the field em
<property name="text">
<string>Term:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -3260,7 +3260,7 @@ Please enter the amount you pay for principal and interest or leave the field em
<property name="text">
<string>Principal + Interest:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -3271,7 +3271,7 @@ Please enter the amount you pay for principal and interest or leave the field em
<property name="text">
<string>Final amortization payment</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -3384,7 +3384,7 @@ Please enter the amount you pay for principal and interest or leave the field em
<string>
Please enter the amount of a final amortization payment or leave the field empty to calculate it.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -3461,7 +3461,7 @@ Please enter the amount of a final amortization payment or leave the field empty
<property name="text">
<string>Loan amount:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -3472,7 +3472,7 @@ Please enter the amount of a final amortization payment or leave the field empty
<property name="text">
<string>Interest rate:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -3483,7 +3483,7 @@ Please enter the amount of a final amortization payment or leave the field empty
<property name="text">
<string>Term:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -3494,7 +3494,7 @@ Please enter the amount of a final amortization payment or leave the field empty
<property name="text">
<string>Principal + Interest:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -3505,7 +3505,7 @@ Please enter the amount of a final amortization payment or leave the field empty
<property name="text">
<string>Final amortization payment</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -3618,7 +3618,7 @@ Please enter the amount of a final amortization payment or leave the field empty
<string>
KMyMoney has calculated the loan as shown in the overview below. You can accept these values by selecting "Next" or change them by choosing "Back" to return to the input field for the information you want to change.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -3666,7 +3666,7 @@ KMyMoney has calculated the loan as shown in the overview below. You can accept
<property name="text">
<string>Loan amount:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -3677,7 +3677,7 @@ KMyMoney has calculated the loan as shown in the overview below. You can accept
<property name="text">
<string>Interest rate:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -3688,7 +3688,7 @@ KMyMoney has calculated the loan as shown in the overview below. You can accept
<property name="text">
<string>Term:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -3699,7 +3699,7 @@ KMyMoney has calculated the loan as shown in the overview below. You can accept
<property name="text">
<string>Principal + Interest:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -3710,7 +3710,7 @@ KMyMoney has calculated the loan as shown in the overview below. You can accept
<property name="text">
<string>Final amortization payment</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -3823,7 +3823,7 @@ KMyMoney has calculated the loan as shown in the overview below. You can accept
<string>
In the following steps, KMyMoney supports you in setting up categories and schedules for your loan payments.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -3899,7 +3899,7 @@ In the following steps, KMyMoney supports you in setting up categories and sched
<property name="text">
<string>1. General Information</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignTop</set>
</property>
</widget>
@@ -4009,7 +4009,7 @@ In the following steps, KMyMoney supports you in setting up categories and sched
<string>
Please select the category you want to assign the interest payments to or create a new category.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -4120,7 +4120,7 @@ Please select the category you want to assign the interest payments to or create
<string>
If your regular payment contains any additional fees, click on the button "Additional fees" to enter them.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -4168,7 +4168,7 @@ If your regular payment contains any additional fees, click on the button "Addit
<property name="text">
<string>= periodical payment:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -4187,7 +4187,7 @@ If your regular payment contains any additional fees, click on the button "Addit
<property name="textFormat">
<enum>PlainText</enum>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -4206,7 +4206,7 @@ If your regular payment contains any additional fees, click on the button "Addit
<property name="textFormat">
<enum>PlainText</enum>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -4231,7 +4231,7 @@ If your regular payment contains any additional fees, click on the button "Addit
<property name="text">
<string>+</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -4260,7 +4260,7 @@ If your regular payment contains any additional fees, click on the button "Addit
<property name="textFormat">
<enum>PlainText</enum>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -4271,7 +4271,7 @@ If your regular payment contains any additional fees, click on the button "Addit
<property name="text">
<string>Principal + Interest:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -4335,7 +4335,7 @@ If your regular payment contains any additional fees, click on the button "Addit
<property name="text">
<string>If no additional fees are included in your periodical payment or you have entered all such fees, then click on "Next".</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -4383,7 +4383,7 @@ If your regular payment contains any additional fees, click on the button "Addit
<string>KMyMoney will create a schedule for this payment and reminds you whenever a payment must be made.&lt;p&gt;
If you selected to record all payments this date has already been supplied. If you selected to record only this years payments, then the &lt;b&gt;First payment due date&lt;/b&gt; is the date of the first payment made in this year.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -4443,7 +4443,7 @@ If you selected to record all payments this date has already been supplied. If y
<property name="text">
<string>Make payment from/to:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignTop</set>
</property>
</widget>
@@ -4493,7 +4493,7 @@ If you selected to record all payments this date has already been supplied. If y
<string>
KMyMoney has calculated the loan as shown below. If you want to accept these values use the "Finish" button to update your account, otherwise use the "Back" button to modify your settings.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -4541,7 +4541,7 @@ KMyMoney has calculated the loan as shown below. If you want to accept these val
<property name="text">
<string>Principal + Interest:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -4552,7 +4552,7 @@ KMyMoney has calculated the loan as shown below. If you want to accept these val
<property name="text">
<string>Additional fees:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -4563,7 +4563,7 @@ KMyMoney has calculated the loan as shown below. If you want to accept these val
<property name="text">
<string>Total payment:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -4574,7 +4574,7 @@ KMyMoney has calculated the loan as shown below. If you want to accept these val
<property name="text">
<string>Interest rate:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -4585,7 +4585,7 @@ KMyMoney has calculated the loan as shown below. If you want to accept these val
<property name="text">
<string>Valid from:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -4596,7 +4596,7 @@ KMyMoney has calculated the loan as shown below. If you want to accept these val
<property name="text">
<string>Affected payments:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -4719,7 +4719,7 @@ KMyMoney has calculated the loan as shown below. If you want to accept these val
<string>If this loan is for an asset, such as a car or a house, you can create the asset account now. An asset account represents the total value of an asset. The money from this loan will be transfered into the asset account you create or select.
If this loan is a 'consumer loan' (money to use however you want), you can use a checking account instead.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -4871,7 +4871,7 @@ If this loan is a 'consumer loan' (money to use however you want), you can use a
<string>
This page summarizes the data you entered. If you need to modify anything, please use the "Back" button to go to respective page. Otherwise use the "Finish" button to create the account.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -4958,7 +4958,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Payee:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -5001,7 +5001,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>First payment:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -5028,7 +5028,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Amount is:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -5122,7 +5122,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Periodic Payment:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -5133,7 +5133,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Additional Fees:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -5144,7 +5144,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Interest category:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -5155,7 +5155,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Payment from:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -5198,7 +5198,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Next due date:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -5262,7 +5262,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Term:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -5289,7 +5289,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Interest rate:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -5316,7 +5316,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Final Payment:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -5343,7 +5343,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Interest is due:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -5370,7 +5370,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Principal + Interest:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -5397,7 +5397,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Loan amount:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@@ -5408,7 +5408,7 @@ This page summarizes the data you entered. If you need to modify anything, pleas
<property name="text">
<string>Payment frequency:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
diff --git a/kmymoney2/dialogs/kpayeereassigndlgdecl.ui b/kmymoney2/dialogs/kpayeereassigndlgdecl.ui
index 9db25ed..db158ad 100644
--- a/kmymoney2/dialogs/kpayeereassigndlgdecl.ui
+++ b/kmymoney2/dialogs/kpayeereassigndlgdecl.ui
@@ -38,7 +38,7 @@
<property name="text">
<string>The transactions associated with the selected payees need to be re-assigned to a different payee before the selected payees can be deleted. Please select a payee from the list below.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignJustify|AlignTop</set>
</property>
</widget>
diff --git a/kmymoney2/dialogs/kreconciledlgdecl.ui b/kmymoney2/dialogs/kreconciledlgdecl.ui
index b0a2770..d5893e8 100644
--- a/kmymoney2/dialogs/kreconciledlgdecl.ui
+++ b/kmymoney2/dialogs/kreconciledlgdecl.ui
@@ -63,7 +63,7 @@ a transaction you can return to the register by clicking on the Edit Transaction
Your account is balanced when the Difference is Zero. Click on the Finish button to save the reconciled transactions.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter|AlignLeft</set>
</property>
<property name="wordwrap" stdset="0">
@@ -386,7 +386,7 @@ Your account is balanced when the Difference is Zero. Click on the Finish butto
<property name="text">
<string>Previous Balance:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="hAlign" stdset="0">
@@ -407,7 +407,7 @@ Your account is balanced when the Difference is Zero. Click on the Finish butto
<property name="text">
<string>0</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="hAlign" stdset="0">
@@ -450,7 +450,7 @@ Your account is balanced when the Difference is Zero. Click on the Finish butto
<property name="text">
<string>Ending Balance:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="hAlign" stdset="0">
@@ -477,7 +477,7 @@ Your account is balanced when the Difference is Zero. Click on the Finish butto
<property name="text">
<string>0</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="hAlign" stdset="0">
@@ -520,7 +520,7 @@ Your account is balanced when the Difference is Zero. Click on the Finish butto
<property name="text">
<string>Cleared Balance:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="hAlign" stdset="0">
@@ -547,7 +547,7 @@ Your account is balanced when the Difference is Zero. Click on the Finish butto
<property name="text">
<string>0</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="hAlign" stdset="0">
@@ -590,7 +590,7 @@ Your account is balanced when the Difference is Zero. Click on the Finish butto
<property name="text">
<string>Difference:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="hAlign" stdset="0">
@@ -611,7 +611,7 @@ Your account is balanced when the Difference is Zero. Click on the Finish butto
<property name="text">
<string>0</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="hAlign" stdset="0">
diff --git a/kmymoney2/dialogs/ksecuritylisteditor.cpp b/kmymoney2/dialogs/ksecuritylisteditor.cpp
index 0be4b0b..2feac68 100644
--- a/kmymoney2/dialogs/ksecuritylisteditor.cpp
+++ b/kmymoney2/dialogs/ksecuritylisteditor.cpp
@@ -181,10 +181,10 @@ void KSecurityListEditor::slotDeleteSecurity(void)
TQString msg;
TQString dontAsk;
if(security.isCurrency()) {
- msg = TQString("<p>") + i18n("Do you really want to remove the currency <b>%1</b> from the file?</p><i>Note: It is currently not supported to add currencies.</i>").tqarg(security.name());
+ msg = TQString("<p>") + i18n("Do you really want to remove the currency <b>%1</b> from the file?</p><i>Note: It is currently not supported to add currencies.</i>").arg(security.name());
dontAsk = "DeleteCurrency";
} else {
- msg = TQString("<p>") + i18n("Do you really want to remove the %1 <b>%2</b> from the file?").tqarg(KMyMoneyUtils::securityTypeToString(security.securityType())).tqarg(security.name());
+ msg = TQString("<p>") + i18n("Do you really want to remove the %1 <b>%2</b> from the file?").arg(KMyMoneyUtils::securityTypeToString(security.securityType())).arg(security.name());
dontAsk = "DeleteSecurity";
}
if(KMessageBox::questionYesNo(this, msg, i18n("Delete security"), KStdGuiItem::yes(), KStdGuiItem::no(), dontAsk) == KMessageBox::Yes) {
diff --git a/kmymoney2/dialogs/kselectdatabasedlg.cpp b/kmymoney2/dialogs/kselectdatabasedlg.cpp
index 9bb1e33..50e66d4 100644
--- a/kmymoney2/dialogs/kselectdatabasedlg.cpp
+++ b/kmymoney2/dialogs/kselectdatabasedlg.cpp
@@ -107,11 +107,11 @@ KSelectDatabaseDlg::KSelectDatabaseDlg(KURL openURL, TQWidget *parent, const cha
// list drivers supported by KMM
TQMap<TQString, TQString> map = m_map.driverMap();
if (!list.contains(driverName)) {
- KMessageBox::error (0, i18n("TQt SQL driver %1 is no longer installed on your system").tqarg(driverName),
+ KMessageBox::error (0, i18n("TQt SQL driver %1 is no longer installed on your system").arg(driverName),
"");
setError();
} else if (!map.contains(driverName)) {
- KMessageBox::error (0, i18n("TQt SQL driver %1 is not suported").tqarg(driverName),
+ KMessageBox::error (0, i18n("TQt SQL driver %1 is not suported").arg(driverName),
"");
setError();
} else {
@@ -159,7 +159,7 @@ const KURL KSelectDatabaseDlg::selectedURL() {
url.setHost(textHostName->text());
url.setPath("/" + textDbName->text());
TQString qs = TQString("driver=%1")
- .tqarg(listDrivers->currentText().section (' ', 0, 0));
+ .arg(listDrivers->currentText().section (' ', 0, 0));
if (checkPreLoad->isChecked()) qs.append("&options=loadAll");
if (!textPassword->text().isEmpty()) qs.append("&secure=yes");
url.setQuery(qs);
@@ -171,7 +171,7 @@ void KSelectDatabaseDlg::slotDriverSelected (TQListBoxItem *driver) {
if (!m_map.isTested(dbType)) {
int rc = KMessageBox::warningContinueCancel (0,
i18n("TQt SQL driver %1 has not been fully tested in a KMyMoney environment. Please make sure you have adequate backups of your data. Please report any problems to the developer mailing list at kmymoney2-developer@lists.sourceforge.net")
- .tqarg(driver->text()),
+ .arg(driver->text()),
"");
if (rc == KMessageBox::Cancel) {
listDrivers->clearSelection();
diff --git a/kmymoney2/dialogs/ksplittransactiondlg.cpp b/kmymoney2/dialogs/ksplittransactiondlg.cpp
index d64ecf0..907f927 100644
--- a/kmymoney2/dialogs/ksplittransactiondlg.cpp
+++ b/kmymoney2/dialogs/ksplittransactiondlg.cpp
@@ -183,15 +183,15 @@ int KSplitTransactionDlg::exec(void)
TQString q = i18n("The total amount of this transaction is %1 while "
"the sum of the splits is %2. The remaining %3 are "
"unassigned.")
- .tqarg(total)
- .tqarg(sums)
- .tqarg(diff);
+ .arg(total)
+ .arg(sums)
+ .arg(diff);
corrDlg->explanation->setText(q);
- q = i18n("Change &total amount of transaction to %1.").tqarg(sums);
+ q = i18n("Change &total amount of transaction to %1.").arg(sums);
corrDlg->changeBtn->setText(q);
- q = i18n("&Distribute difference of %1 among all splits.").tqarg(diff);
+ q = i18n("&Distribute difference of %1 among all splits.").arg(diff);
corrDlg->distributeBtn->setText(q);
// FIXME remove the following line once distribution among
// all splits is implemented
@@ -200,9 +200,9 @@ int KSplitTransactionDlg::exec(void)
// if we have only two splits left, we don't allow leaving sth. unassigned.
if(m_transaction.splitCount() < 3) {
- q = i18n("&Leave total amount of transaction at %1.").tqarg(total);
+ q = i18n("&Leave total amount of transaction at %1.").arg(total);
} else {
- q = i18n("&Leave %1 unassigned.").tqarg(diff);
+ q = i18n("&Leave %1 unassigned.").arg(diff);
}
corrDlg->leaveBtn->setText(q);
diff --git a/kmymoney2/dialogs/ksplittransactiondlgdecl.ui b/kmymoney2/dialogs/ksplittransactiondlgdecl.ui
index 9e96775..5b23190 100644
--- a/kmymoney2/dialogs/ksplittransactiondlgdecl.ui
+++ b/kmymoney2/dialogs/ksplittransactiondlgdecl.ui
@@ -136,7 +136,7 @@
<property name="text">
<string>&lt;b&gt;11,00&lt;b&gt;</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="hAlign" stdset="0">
@@ -163,7 +163,7 @@
<property name="text">
<string>&lt;b&gt;111,00&lt;b&gt;</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="hAlign" stdset="0">
@@ -181,7 +181,7 @@
<property name="text">
<string>Unassigned</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="hAlign" stdset="0">
@@ -199,7 +199,7 @@
<property name="text">
<string>Sum of splits</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="hAlign" stdset="0">
@@ -226,7 +226,7 @@
<property name="text">
<string>100,00</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="hAlign" stdset="0">
@@ -250,7 +250,7 @@
<property name="text">
<string>Transaction amount</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="hAlign" stdset="0">
diff --git a/kmymoney2/dialogs/kstartdlg.cpp b/kmymoney2/dialogs/kstartdlg.cpp
index a9f3bae..470806c 100644
--- a/kmymoney2/dialogs/kstartdlg.cpp
+++ b/kmymoney2/dialogs/kstartdlg.cpp
@@ -89,7 +89,7 @@ void KStartDlg::setPage_Documents()
kurlrequest = new KURLRequester( recentMainFrame, "kurlrequest" );
//allow user to select either a .kmy file, or any generic file.
- kurlrequest->fileDialog()->setFilter( i18n("%1|KMyMoney files (*.kmy)\n" "%2|All files (*.*)").tqarg("*.kmy").tqarg("*.*") );
+ kurlrequest->fileDialog()->setFilter( i18n("%1|KMyMoney files (*.kmy)\n" "%2|All files (*.*)").arg("*.kmy").arg("*.*") );
kurlrequest->fileDialog()->setMode(KFile::File || KFile::ExistingOnly);
kurlrequest->fileDialog()->setURL(KURL(kmymoney2->readLastUsedDir()));//kurlrequest->fileDialog()->setURL(KURL(KGlobalSettings::documentPath()));
mainLayout->addWidget( kurlrequest );
@@ -138,7 +138,7 @@ void KStartDlg::readConfig()
// it does not make a difference, if you call setGroup() outside of
// this loop. The first time it does make a difference!
config->setGroup("Recent Files");
- value = config->readEntry( TQString( "File%1" ).tqarg( i ), TQString() );
+ value = config->readEntry( TQString( "File%1" ).arg( i ), TQString() );
if( !value.isNull() && fileExists(value) )
{
TQString file_name = value.mid(value.findRev('/')+1);
diff --git a/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp b/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp
index 65c361c..7cb1f1b 100644
--- a/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp
+++ b/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp
@@ -433,7 +433,7 @@ void MyMoneyQifProfileEditor::slotDelete(void)
{
TQString profile = m_profile.profileName().mid(8);
- if(KMessageBox::questionYesNo(this, i18n("Do you really want to delete profile '%1'?").tqarg(profile)) == KMessageBox::Yes) {
+ if(KMessageBox::questionYesNo(this, i18n("Do you really want to delete profile '%1'?").arg(profile)) == KMessageBox::Yes) {
int idx = m_profileListBox->currentItem();
m_profile.saveProfile();
deleteProfile(profile);
diff --git a/kmymoney2/dialogs/settings/ksettingsgeneraldecl.ui b/kmymoney2/dialogs/settings/ksettingsgeneraldecl.ui
index 9d8efdc..88a9b2e 100644
--- a/kmymoney2/dialogs/settings/ksettingsgeneraldecl.ui
+++ b/kmymoney2/dialogs/settings/ksettingsgeneraldecl.ui
@@ -366,7 +366,7 @@
<property name="text">
<string>Check the views you want to enable, uncheck those you want to hide, because you don't need the functionality.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
diff --git a/kmymoney2/dialogs/settings/ksettingsgpg.cpp b/kmymoney2/dialogs/settings/ksettingsgpg.cpp
index fc0c4eb..07b5d18 100644
--- a/kmymoney2/dialogs/settings/ksettingsgpg.cpp
+++ b/kmymoney2/dialogs/settings/ksettingsgpg.cpp
@@ -153,7 +153,7 @@ void KSettingsGpg::show(void)
TQString name = fields[1];
name.replace('(', "[");
name.replace(')', "]");
- name = TQString("%1 (0x%2)").tqarg(name).tqarg(fields[0]);
+ name = TQString("%1 (0x%2)").arg(name).arg(fields[0]);
m_masterKeyCombo->insertItem(name);
if(name.contains(masterKey))
m_masterKeyCombo->setCurrentItem(name);
@@ -177,7 +177,7 @@ void KSettingsGpg::slotStatusChanged(bool state)
state = false;
if((state == true) && (oncePerSession == true) && isVisible()) {
- KMessageBox::information(this, TQString("<qt>%1</qt>").tqarg(i18n("You have turned on the GPG encryption support. This means, that new files will be stored encrypted. Existing files will not be encrypted automatically. To achieve encryption of existing files, please use the <b>File/Save as...</b> feature and store the file under a different name. Once confident with the result, feel free to delete the old file and rename the encrypted one to the old name.")), i18n("GPG encryption activated"), "GpgEncryptionActivated");
+ KMessageBox::information(this, TQString("<qt>%1</qt>").arg(i18n("You have turned on the GPG encryption support. This means, that new files will be stored encrypted. Existing files will not be encrypted automatically. To achieve encryption of existing files, please use the <b>File/Save as...</b> feature and store the file under a different name. Once confident with the result, feel free to delete the old file and rename the encrypted one to the old name.")), i18n("GPG encryption activated"), "GpgEncryptionActivated");
oncePerSession = false;
}
diff --git a/kmymoney2/dialogs/settings/ksettingshomedecl.ui b/kmymoney2/dialogs/settings/ksettingshomedecl.ui
index eda3bbb..6a64eb3 100644
--- a/kmymoney2/dialogs/settings/ksettingshomedecl.ui
+++ b/kmymoney2/dialogs/settings/ksettingshomedecl.ui
@@ -120,7 +120,7 @@
<string>Selected entries are shown on the home page of the application.&lt;p&gt;
Use the buttons and checkboxes to customize the tqlayout of the home page.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
diff --git a/kmymoney2/dialogs/transactioneditor.cpp b/kmymoney2/dialogs/transactioneditor.cpp
index 9646c91..cdc111a 100644
--- a/kmymoney2/dialogs/transactioneditor.cpp
+++ b/kmymoney2/dialogs/transactioneditor.cpp
@@ -220,7 +220,7 @@ void TransactionEditor::slotNumberChanged(const TQString& txt)
if(number) {
if(MyMoneyFile::instance()->checkNoUsed(m_account.id(), txt)) {
- if(KMessageBox::questionYesNo(m_regForm, TQString("<qt>")+i18n("The number <b>%1</b> has already been used in account <b>%2</b>. Do you want to replace it with the next available number?").tqarg(txt).tqarg(m_account.name())+TQString("</qt>"), i18n("Duplicate number")) == KMessageBox::Yes) {
+ if(KMessageBox::questionYesNo(m_regForm, TQString("<qt>")+i18n("The number <b>%1</b> has already been used in account <b>%2</b>. Do you want to replace it with the next available number?").arg(txt).arg(m_account.name())+TQString("</qt>"), i18n("Duplicate number")) == KMessageBox::Yes) {
number->loadText(KMyMoneyUtils::nextCheckNumber(m_account));
}
}
@@ -302,11 +302,11 @@ int TransactionEditor::slotEditSplits(void)
acc = MyMoneyAccount();
}
TQString msg;
- msg = TQString("<p>")+i18n("This transaction has more than two splits and is based on a different currency (%1). Using this account to modify the transaction is currently not very well supported by KMyMoney and may result in false results.").tqarg(sec.name())+TQString(" ");
+ msg = TQString("<p>")+i18n("This transaction has more than two splits and is based on a different currency (%1). Using this account to modify the transaction is currently not very well supported by KMyMoney and may result in false results.").arg(sec.name())+TQString(" ");
if(acc.id().isEmpty()) {
msg += i18n("KMyMoney was not able to find a more appropriate account to edit this transaction. Nevertheless, you are allowed to modify the transaction. If you don't want to edit this transaction, please cancel from editing next.");
} else {
- msg += i18n("Using e.g. <b>%1</b> to edit this transaction is a better choice. Nevertheless, you are allowed to modify the transaction. If you want to use the suggested account instead, please cancel from editing next and change the view to the suggested account.").tqarg(acc.name());
+ msg += i18n("Using e.g. <b>%1</b> to edit this transaction is a better choice. Nevertheless, you are allowed to modify the transaction. If you want to use the suggested account instead, please cancel from editing next and change the view to the suggested account.").arg(acc.name());
}
KMessageBox::information(0, msg);
}
@@ -409,12 +409,12 @@ bool TransactionEditor::fixTransactionCommodity(const MyMoneyAccount& account)
if(firstTimeMultiCurrency) {
firstTimeMultiCurrency = false;
if(!isMultiSelection()) {
- msg = i18n("This transaction has more than two splits and is originally based on a different currency (%1). Using this account to modify the transaction may result in rounding errors. Do you want to continue?").tqarg(osec.name());
+ msg = i18n("This transaction has more than two splits and is originally based on a different currency (%1). Using this account to modify the transaction may result in rounding errors. Do you want to continue?").arg(osec.name());
} else {
- msg = i18n("At least one of the selected transactions has more than two splits and is originally based on a different currency (%1). Using this account to modify the transactions may result in rounding errors. Do you want to continue?").tqarg(osec.name());
+ msg = i18n("At least one of the selected transactions has more than two splits and is originally based on a different currency (%1). Using this account to modify the transactions may result in rounding errors. Do you want to continue?").arg(osec.name());
}
- if(KMessageBox::warningContinueCancel(0, TQString("<qt>%1</qt>").tqarg(msg)) == KMessageBox::Cancel) {
+ if(KMessageBox::warningContinueCancel(0, TQString("<qt>%1</qt>").arg(msg)) == KMessageBox::Cancel) {
rc = false;
}
}
@@ -611,7 +611,7 @@ bool TransactionEditor::enterTransactions(TQString& newId, bool askForSchedule,
i18n("Accepts the entered data and stores it as schedule"),
i18n("Use this to schedule the transaction for later entry into the ledger."));
- enter = KMessageBox::questionYesNo(m_regForm, TQString("<qt>%1</qt>").tqarg(i18n("The transaction you are about to enter has a post date in the future.<br/><br/>Do you want to enter it in the ledger or add it to the schedules?")), i18n("Dialog caption for 'Enter or schedule' dialog", "Enter or schedule?"), enterButton, scheduleButton, "EnterOrScheduleTransactionInFuture") == KMessageBox::Yes;
+ enter = KMessageBox::questionYesNo(m_regForm, TQString("<qt>%1</qt>").arg(i18n("The transaction you are about to enter has a post date in the future.<br/><br/>Do you want to enter it in the ledger or add it to the schedules?")), i18n("Dialog caption for 'Enter or schedule' dialog", "Enter or schedule?"), enterButton, scheduleButton, "EnterOrScheduleTransactionInFuture") == KMessageBox::Yes;
}
if(enter) {
// add new transaction
@@ -679,25 +679,25 @@ bool TransactionEditor::enterTransactions(TQString& newId, bool askForSchedule,
key = "minBalanceEarly";
if(!acc.value(key).isEmpty()) {
if(minBalanceEarly[acc.id()] == false && balance < MyMoneyMoney(acc.value(key))) {
- msg = TQString("<qt>%1</qt>").tqarg(i18n("The balance of account <b>%1</b> dropped below the warning balance of %2.").tqarg(acc.name(), MyMoneyMoney(acc.value(key)).formatMoney(acc, sec)));
+ msg = TQString("<qt>%1</qt>").arg(i18n("The balance of account <b>%1</b> dropped below the warning balance of %2.").arg(acc.name(), MyMoneyMoney(acc.value(key)).formatMoney(acc, sec)));
}
}
key = "minBalanceAbsolute";
if(!acc.value(key).isEmpty()) {
if(minBalanceAbsolute[acc.id()] == false && balance < MyMoneyMoney(acc.value(key))) {
- msg = TQString("<qt>%1</qt>").tqarg(i18n("The balance of account <b>%1</b> dropped below the minimum balance of %2.").tqarg(acc.name(), MyMoneyMoney(acc.value(key)).formatMoney(acc, sec)));
+ msg = TQString("<qt>%1</qt>").arg(i18n("The balance of account <b>%1</b> dropped below the minimum balance of %2.").arg(acc.name(), MyMoneyMoney(acc.value(key)).formatMoney(acc, sec)));
}
}
key = "maxCreditEarly";
if(!acc.value(key).isEmpty()) {
if(maxCreditEarly[acc.id()] == false && balance < MyMoneyMoney(acc.value(key))) {
- msg = TQString("<qt>%1</qt>").tqarg(i18n("The balance of account <b>%1</b> dropped below the maximum credit warning limit of %2.").tqarg(acc.name(), MyMoneyMoney(acc.value(key)).formatMoney(acc, sec)));
+ msg = TQString("<qt>%1</qt>").arg(i18n("The balance of account <b>%1</b> dropped below the maximum credit warning limit of %2.").arg(acc.name(), MyMoneyMoney(acc.value(key)).formatMoney(acc, sec)));
}
}
key = "maxCreditAbsolute";
if(!acc.value(key).isEmpty()) {
if(maxCreditAbsolute[acc.id()] == false && balance < MyMoneyMoney(acc.value(key))) {
- msg = TQString("<qt>%1</qt>").tqarg(i18n("The balance of account <b>%1</b> dropped below the maximum credit limit of %2.").tqarg(acc.name(), MyMoneyMoney(acc.value(key)).formatMoney(acc, sec)));
+ msg = TQString("<qt>%1</qt>").arg(i18n("The balance of account <b>%1</b> dropped below the maximum credit limit of %2.").arg(acc.name(), MyMoneyMoney(acc.value(key)).formatMoney(acc, sec)));
}
}
@@ -1240,7 +1240,7 @@ void StdTransactionEditor::autoFill(const TQString& payeeId)
int cnt = 0;
TQMap<TQString, struct uniqTransaction>::iterator it_u;
do {
- TQString ukey = TQString("%1-%2").tqarg(key).tqarg(cnt);
+ TQString ukey = TQString("%1-%2").arg(key).arg(cnt);
it_u = uniqList.find(ukey);
if(it_u == uniqList.end()) {
uniqList[ukey].t = &((*it_t).first);
diff --git a/kmymoney2/dialogs/transactionmatcher.cpp b/kmymoney2/dialogs/transactionmatcher.cpp
index 2ed5356..ce1c16e 100644
--- a/kmymoney2/dialogs/transactionmatcher.cpp
+++ b/kmymoney2/dialogs/transactionmatcher.cpp
@@ -80,7 +80,7 @@ void TransactionMatcher::match(MyMoneyTransaction tm, MyMoneySplit sm, MyMoneyTr
// verify that the amounts are the same, otherwise we should not be matching!
if(sm.shares() != si.shares()) {
- throw new MYMONEYEXCEPTION(i18n("Splits for %1 have conflicting values (%2,%3)").tqarg(m_account.name()).tqarg(sm.shares().formatMoney(m_account, sec), si.shares().formatMoney(m_account, sec)));
+ throw new MYMONEYEXCEPTION(i18n("Splits for %1 have conflicting values (%2,%3)").arg(m_account.name()).arg(sm.shares().formatMoney(m_account, sec), si.shares().formatMoney(m_account, sec)));
}
// ipwizard: I took over the code to keep the bank id found in the endMatchTransaction
@@ -93,12 +93,12 @@ void TransactionMatcher::match(MyMoneyTransaction tm, MyMoneySplit sm, MyMoneyTr
sm.setBankID( bankID );
tm.modifySplit(sm);
} else if(sm.bankID() != bankID) {
- throw new MYMONEYEXCEPTION(i18n("Both of these transactions have been imported into %1. Therefore they cannot be matched. Matching works with one imported transaction and one non-imported transaction.").tqarg(m_account.name()));
+ throw new MYMONEYEXCEPTION(i18n("Both of these transactions have been imported into %1. Therefore they cannot be matched. Matching works with one imported transaction and one non-imported transaction.").arg(m_account.name()));
}
} catch(MyMoneyException *e) {
TQString estr = e->what();
delete e;
- throw new MYMONEYEXCEPTION(i18n("Unable to match all splits (%1)").tqarg(estr));
+ throw new MYMONEYEXCEPTION(i18n("Unable to match all splits (%1)").arg(estr));
}
}
@@ -130,7 +130,7 @@ void TransactionMatcher::match(MyMoneyTransaction tm, MyMoneySplit sm, MyMoneyTr
if ( (*it_split).value() != startSplit.value() )
{
TQString accountname = MyMoneyFile::instance()->account(accountid).name();
- throw new MYMONEYEXCEPTION(i18n("Splits for %1 have conflicting values (%2,%3)").tqarg(accountname).tqarg((*it_split).value().formatMoney(),startSplit.value().formatMoney()));
+ throw new MYMONEYEXCEPTION(i18n("Splits for %1 have conflicting values (%2,%3)").arg(accountname).arg((*it_split).value().formatMoney(),startSplit.value().formatMoney()));
}
TQString bankID = (*it_split).bankID();
@@ -146,14 +146,14 @@ void TransactionMatcher::match(MyMoneyTransaction tm, MyMoneySplit sm, MyMoneyTr
else
{
TQString accountname = MyMoneyFile::instance()->account(accountid).name();
- throw new MYMONEYEXCEPTION(i18n("Both of these transactions have been imported into %1. Therefore they cannot be matched. Matching works with one imported transaction and one non-imported transaction.").tqarg(accountname));
+ throw new MYMONEYEXCEPTION(i18n("Both of these transactions have been imported into %1. Therefore they cannot be matched. Matching works with one imported transaction and one non-imported transaction.").arg(accountname));
}
}
catch(MyMoneyException *e)
{
TQString estr = e->what();
delete e;
- throw new MYMONEYEXCEPTION(i18n("Unable to match all splits (%1)").tqarg(estr));
+ throw new MYMONEYEXCEPTION(i18n("Unable to match all splits (%1)").arg(estr));
}
}
++it_split;