diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:29:46 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-07 14:51:21 +0900 |
| commit | 3a528d873ff72828fb9b19bed38a2b869b449089 (patch) | |
| tree | 9b72c543b078fb622b3dbcdf1c397ae899433638 /kmymoney2/dialogs/keditscheduledlg.cpp | |
| parent | 04ddc8237ccd12dcc44de5d1f67a99bba019eb2a (diff) | |
| download | kmymoney-3a528d87.tar.gz kmymoney-3a528d87.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/keditscheduledlg.cpp')
| -rw-r--r-- | kmymoney2/dialogs/keditscheduledlg.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kmymoney2/dialogs/keditscheduledlg.cpp b/kmymoney2/dialogs/keditscheduledlg.cpp index e67e680..78102e3 100644 --- a/kmymoney2/dialogs/keditscheduledlg.cpp +++ b/kmymoney2/dialogs/keditscheduledlg.cpp @@ -144,18 +144,18 @@ KEditScheduleDlg::KEditScheduleDlg(const MyMoneySchedule& schedule, TQWidget *pa m_FinalPaymentEdit->setDate(d->m_schedule.endDate()); } - connect(m_RemainingEdit, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotRemainingChanged(int))); - connect(m_FinalPaymentEdit, TQT_SIGNAL(dateChanged(const TQDate&)), - this, TQT_SLOT(slotEndDateChanged(const TQDate&))); - connect(m_frequencyEdit, TQT_SIGNAL(itemSelected(int)), - this, TQT_SLOT(slotFrequencyChanged(int))); - connect(m_frequencyNoEdit, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotOccurenceMultiplierChanged(int))); - connect(buttonHelp, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotShowHelp())); + connect(m_RemainingEdit, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotRemainingChanged(int))); + connect(m_FinalPaymentEdit, TQ_SIGNAL(dateChanged(const TQDate&)), + this, TQ_SLOT(slotEndDateChanged(const TQDate&))); + connect(m_frequencyEdit, TQ_SIGNAL(itemSelected(int)), + this, TQ_SLOT(slotFrequencyChanged(int))); + connect(m_frequencyNoEdit, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotOccurenceMultiplierChanged(int))); + connect(buttonHelp, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotShowHelp())); // force the initial height to be as small as possible - TQTimer::singleShot(0, this, TQT_SLOT(slotSetupSize())); + TQTimer::singleShot(0, this, TQ_SLOT(slotSetupSize())); // we just hide the variation field for now and enable the logic // once we have a respective member in the MyMoneySchedule object @@ -190,16 +190,16 @@ TransactionEditor* KEditScheduleDlg::startEdit(void) } if(editor) { - connect(editor, TQT_SIGNAL(transactionDataSufficient(bool)), buttonOk, TQT_SLOT(setEnabled(bool))); - connect(editor, TQT_SIGNAL(escapePressed()), buttonCancel, TQT_SLOT(animateClick())); - connect(editor, TQT_SIGNAL(returnPressed()), buttonOk, TQT_SLOT(animateClick())); + connect(editor, TQ_SIGNAL(transactionDataSufficient(bool)), buttonOk, TQ_SLOT(setEnabled(bool))); + connect(editor, TQ_SIGNAL(escapePressed()), buttonCancel, TQ_SLOT(animateClick())); + connect(editor, TQ_SIGNAL(returnPressed()), buttonOk, TQ_SLOT(animateClick())); - connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), editor, TQT_SLOT(slotReloadEditWidgets())); - // connect(editor, TQT_SIGNAL(finishEdit(const KMyMoneyRegister::SelectedTransactions&)), this, TQT_SLOT(slotLeaveEditMode(const KMyMoneyRegister::SelectedTransactions&))); - connect(editor, TQT_SIGNAL(createPayee(const TQString&, TQString&)), kmymoney2, TQT_SLOT(slotPayeeNew(const TQString&, TQString&))); - connect(editor, TQT_SIGNAL(createCategory(MyMoneyAccount&, const MyMoneyAccount&)), kmymoney2, TQT_SLOT(slotCategoryNew(MyMoneyAccount&, const MyMoneyAccount&))); - connect(editor, TQT_SIGNAL(createSecurity(MyMoneyAccount&, const MyMoneyAccount&)), kmymoney2, TQT_SLOT(slotInvestmentNew(MyMoneyAccount&, const MyMoneyAccount&))); - connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), editor, TQT_SLOT(slotReloadEditWidgets())); + connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), editor, TQ_SLOT(slotReloadEditWidgets())); + // connect(editor, TQ_SIGNAL(finishEdit(const KMyMoneyRegister::SelectedTransactions&)), this, TQ_SLOT(slotLeaveEditMode(const KMyMoneyRegister::SelectedTransactions&))); + connect(editor, TQ_SIGNAL(createPayee(const TQString&, TQString&)), kmymoney2, TQ_SLOT(slotPayeeNew(const TQString&, TQString&))); + connect(editor, TQ_SIGNAL(createCategory(MyMoneyAccount&, const MyMoneyAccount&)), kmymoney2, TQ_SLOT(slotCategoryNew(MyMoneyAccount&, const MyMoneyAccount&))); + connect(editor, TQ_SIGNAL(createSecurity(MyMoneyAccount&, const MyMoneyAccount&)), kmymoney2, TQ_SLOT(slotInvestmentNew(MyMoneyAccount&, const MyMoneyAccount&))); + connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), editor, TQ_SLOT(slotReloadEditWidgets())); // create the widgets, place them in the parent and load them with data // setup tab order @@ -281,7 +281,7 @@ TransactionEditor* KEditScheduleDlg::startEdit(void) // connect the postdate modification signal to our update routine kMyMoneyDateInput* dateEdit = dynamic_cast<kMyMoneyDateInput*>(editor->haveWidget("postdate")); if(dateEdit) - connect(dateEdit, TQT_SIGNAL(dateChanged(const TQDate&)), this, TQT_SLOT(slotPostDateChanged(const TQDate&))); + connect(dateEdit, TQ_SIGNAL(dateChanged(const TQDate&)), this, TQ_SLOT(slotPostDateChanged(const TQDate&))); m_nameEdit->setFocus(); @@ -300,7 +300,7 @@ TransactionEditor* KEditScheduleDlg::startEdit(void) d->m_editor = editor; slotSetPaymentMethod(d->m_schedule.paymentType()); - connect(m_paymentMethodEdit, TQT_SIGNAL(itemSelected(int)), this, TQT_SLOT(slotSetPaymentMethod(int))); + connect(m_paymentMethodEdit, TQ_SIGNAL(itemSelected(int)), this, TQ_SLOT(slotSetPaymentMethod(int))); } return editor; |
