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/keditequityentrydlg.cpp | |
parent | 04ddc8237ccd12dcc44de5d1f67a99bba019eb2a (diff) | |
download | kmymoney-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/keditequityentrydlg.cpp')
-rw-r--r-- | kmymoney2/dialogs/keditequityentrydlg.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kmymoney2/dialogs/keditequityentrydlg.cpp b/kmymoney2/dialogs/keditequityentrydlg.cpp index edfe43f..1ae9ec0 100644 --- a/kmymoney2/dialogs/keditequityentrydlg.cpp +++ b/kmymoney2/dialogs/keditequityentrydlg.cpp @@ -49,15 +49,15 @@ KEditEquityEntryDlg::KEditEquityEntryDlg(const MyMoneySecurity& selectedSecurity { m_selectedSecurity = selectedSecurity; - connect(btnOK, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotOKClicked())); - connect(btnCancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject())); - connect(edtEquityName, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(slotDataChanged())); - connect(edtMarketSymbol, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(slotDataChanged())); - connect(edtFraction, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotDataChanged())); - connect(btnAddEntry, TQT_SIGNAL(clicked()), kpvPriceHistory, TQT_SLOT(slotAddPrice())); - connect(btnEditEntry, TQT_SIGNAL(clicked()), kpvPriceHistory, TQT_SLOT(slotEditPrice())); - connect(btnRemoveEntry, TQT_SIGNAL(clicked()), kpvPriceHistory, TQT_SLOT(slotDeletePrice())); - connect(kpvPriceHistory, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(slotSelectionChanged(TQListViewItem*))); + connect(btnOK, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotOKClicked())); + connect(btnCancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject())); + connect(edtEquityName, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(slotDataChanged())); + connect(edtMarketSymbol, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(slotDataChanged())); + connect(edtFraction, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotDataChanged())); + connect(btnAddEntry, TQ_SIGNAL(clicked()), kpvPriceHistory, TQ_SLOT(slotAddPrice())); + connect(btnEditEntry, TQ_SIGNAL(clicked()), kpvPriceHistory, TQ_SLOT(slotEditPrice())); + connect(btnRemoveEntry, TQ_SIGNAL(clicked()), kpvPriceHistory, TQ_SLOT(slotDeletePrice())); + connect(kpvPriceHistory, TQ_SIGNAL(selectionChanged(TQListViewItem*)), this, TQ_SLOT(slotSelectionChanged(TQListViewItem*))); //fill in the fields with what we know. edtEquityName->setText(m_selectedSecurity.name()); @@ -88,7 +88,7 @@ KEditEquityEntryDlg::KEditEquityEntryDlg(const MyMoneySecurity& selectedSecurity // force a resize to optimize the layout of all widgets resize(width()-1, height()-1); - TQTimer::singleShot(10, this, TQT_SLOT(slotTimerDone())); + TQTimer::singleShot(10, this, TQ_SLOT(slotTimerDone())); } KEditEquityEntryDlg::~KEditEquityEntryDlg() |