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-04 10:52:07 +0900 |
commit | e84ff3d61520e4200f987d3a0b6bea570b2e8b32 (patch) | |
tree | 43f3284f87377cf1b3cb29edfc8893484731518b /kmymoney2/dialogs/keditequityentrydlg.cpp | |
parent | da9081a78aa22cc87ff98f07719e1c3befaebfc2 (diff) | |
download | kmymoney-e84ff3d61520e4200f987d3a0b6bea570b2e8b32.tar.gz kmymoney-e84ff3d61520e4200f987d3a0b6bea570b2e8b32.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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() |