summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/knewaccountdlg.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:29:46 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-07 14:51:21 +0900
commit3a528d873ff72828fb9b19bed38a2b869b449089 (patch)
tree9b72c543b078fb622b3dbcdf1c397ae899433638 /kmymoney2/dialogs/knewaccountdlg.cpp
parent04ddc8237ccd12dcc44de5d1f67a99bba019eb2a (diff)
downloadkmymoney-3a528d873ff72828fb9b19bed38a2b869b449089.tar.gz
kmymoney-3a528d873ff72828fb9b19bed38a2b869b449089.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit e84ff3d61520e4200f987d3a0b6bea570b2e8b32)
Diffstat (limited to 'kmymoney2/dialogs/knewaccountdlg.cpp')
-rw-r--r--kmymoney2/dialogs/knewaccountdlg.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/kmymoney2/dialogs/knewaccountdlg.cpp b/kmymoney2/dialogs/knewaccountdlg.cpp
index 4d86d4d..97d82de 100644
--- a/kmymoney2/dialogs/knewaccountdlg.cpp
+++ b/kmymoney2/dialogs/knewaccountdlg.cpp
@@ -366,29 +366,29 @@ KNewAccountDlg::KNewAccountDlg(const MyMoneyAccount& account, bool isEditing, bo
cancelButton->setGuiItem(KStdGuiItem::cancel());
createButton->setGuiItem(KStdGuiItem::ok());
- connect(cancelButton, TQT_SIGNAL(clicked()), TQT_SLOT(reject()));
- connect(createButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(okClicked()));
- connect(m_qlistviewParentAccounts, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
- this, TQT_SLOT(slotSelectionChanged(TQListViewItem*)));
- connect(m_qbuttonNew, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNewClicked()));
- connect(typeCombo, TQT_SIGNAL(activated(const TQString&)),
- this, TQT_SLOT(slotAccountTypeChanged(const TQString&)));
-
- connect(accountNameEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotCheckFinished()));
-
- connect(m_vatCategory, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotVatChanged(bool)));
- connect(m_vatAssignment, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotVatAssignmentChanged(bool)));
- connect(m_vatCategory, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotCheckFinished()));
- connect(m_vatAssignment, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotCheckFinished()));
- connect(m_vatRate, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotCheckFinished()));
- connect(m_vatAccount, TQT_SIGNAL(stateChanged()), this, TQT_SLOT(slotCheckFinished()));
-
- connect(m_minBalanceEarlyEdit, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotAdjustMinBalanceAbsoluteEdit(const TQString&)));
- connect(m_minBalanceAbsoluteEdit, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotAdjustMinBalanceEarlyEdit(const TQString&)));
- connect(m_maxCreditEarlyEdit, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotAdjustMaxCreditAbsoluteEdit(const TQString&)));
- connect(m_maxCreditAbsoluteEdit, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotAdjustMaxCreditEarlyEdit(const TQString&)));
-
- connect(m_qcomboboxInstitutions, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(slotLoadInstitutions(const TQString&)));
+ connect(cancelButton, TQ_SIGNAL(clicked()), TQ_SLOT(reject()));
+ connect(createButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(okClicked()));
+ connect(m_qlistviewParentAccounts, TQ_SIGNAL(selectionChanged(TQListViewItem*)),
+ this, TQ_SLOT(slotSelectionChanged(TQListViewItem*)));
+ connect(m_qbuttonNew, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNewClicked()));
+ connect(typeCombo, TQ_SIGNAL(activated(const TQString&)),
+ this, TQ_SLOT(slotAccountTypeChanged(const TQString&)));
+
+ connect(accountNameEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotCheckFinished()));
+
+ connect(m_vatCategory, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotVatChanged(bool)));
+ connect(m_vatAssignment, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotVatAssignmentChanged(bool)));
+ connect(m_vatCategory, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotCheckFinished()));
+ connect(m_vatAssignment, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotCheckFinished()));
+ connect(m_vatRate, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotCheckFinished()));
+ connect(m_vatAccount, TQ_SIGNAL(stateChanged()), this, TQ_SLOT(slotCheckFinished()));
+
+ connect(m_minBalanceEarlyEdit, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotAdjustMinBalanceAbsoluteEdit(const TQString&)));
+ connect(m_minBalanceAbsoluteEdit, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotAdjustMinBalanceEarlyEdit(const TQString&)));
+ connect(m_maxCreditEarlyEdit, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotAdjustMaxCreditAbsoluteEdit(const TQString&)));
+ connect(m_maxCreditAbsoluteEdit, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotAdjustMaxCreditEarlyEdit(const TQString&)));
+
+ connect(m_qcomboboxInstitutions, TQ_SIGNAL(activated(const TQString&)), this, TQ_SLOT(slotLoadInstitutions(const TQString&)));
m_vatCategory->setChecked(false);
m_vatAssignment->setChecked(false);
@@ -442,7 +442,7 @@ KNewAccountDlg::KNewAccountDlg(const MyMoneyAccount& account, bool isEditing, bo
// using a timeout is the only way, I got the 'ensureItemVisible'
// working when creating the dialog. I assume, this
// has something to do with the delayed update of the display somehow.
- TQTimer::singleShot(50, this, TQT_SLOT(timerDone()));
+ TQTimer::singleShot(50, this, TQ_SLOT(timerDone()));
}
void KNewAccountDlg::timerDone(void)