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/widgets/transactionform.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/widgets/transactionform.cpp')
-rw-r--r-- | kmymoney2/widgets/transactionform.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/widgets/transactionform.cpp b/kmymoney2/widgets/transactionform.cpp index b193ea3..9d4d4ce 100644 --- a/kmymoney2/widgets/transactionform.cpp +++ b/kmymoney2/widgets/transactionform.cpp @@ -55,7 +55,7 @@ TabBar::TabBar(TQWidget* parent, const char* name) : TQTabBar(parent, name), m_signalType(SignalNormal) { - connect(this, TQT_SIGNAL(selected(int)), this, TQT_SLOT(slotTabSelected(int))); + connect(this, TQ_SIGNAL(selected(int)), this, TQ_SLOT(slotTabSelected(int))); } TabBar::SignalEmissionE TabBar::setSignalEmission(TabBar::SignalEmissionE type) @@ -260,7 +260,7 @@ void TransactionForm::slotSetTransaction(KMyMoneyRegister::Transaction* transact setUpdatesEnabled(enabled); // force resizeing of the columns - TQTimer::singleShot(0, this, TQT_SLOT(resize())); + TQTimer::singleShot(0, this, TQ_SLOT(resize())); } void TransactionForm::paintCell(TQPainter* painter, int row, int col, const TQRect& r, bool selected, const TQColorGroup& /* cg */) @@ -278,7 +278,7 @@ TabBar* TransactionForm::tabBar(TQWidget* parent) m_tabBar = new TabBar( parent ); m_tabBar->setSignalEmission(TabBar::SignalAlways); m_tabBar->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, m_tabBar->sizePolicy().hasHeightForWidth() ) ); - connect(m_tabBar, TQT_SIGNAL(tabSelected(int)), this, TQT_SLOT(slotActionSelected(int))); + connect(m_tabBar, TQ_SIGNAL(tabSelected(int)), this, TQ_SLOT(slotActionSelected(int))); } return m_tabBar; } |