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/register.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/register.cpp')
-rw-r--r-- | kmymoney2/widgets/register.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kmymoney2/widgets/register.cpp b/kmymoney2/widgets/register.cpp index 40ec31b..4cb1082 100644 --- a/kmymoney2/widgets/register.cpp +++ b/kmymoney2/widgets/register.cpp @@ -593,11 +593,11 @@ Register::Register(TQWidget *parent, const char *name ) : // never show horizontal scroll bars setHScrollBarMode(TQScrollView::AlwaysOff); - connect(this, TQT_SIGNAL(clicked(int, int, int, const TQPoint&)), this, TQT_SLOT(selectItem(int, int, int, const TQPoint&))); - connect(this, TQT_SIGNAL(doubleClicked(int, int, int, const TQPoint&)), this, TQT_SLOT(slotDoubleClicked(int, int, int, const TQPoint&))); + connect(this, TQ_SIGNAL(clicked(int, int, int, const TQPoint&)), this, TQ_SLOT(selectItem(int, int, int, const TQPoint&))); + connect(this, TQ_SIGNAL(doubleClicked(int, int, int, const TQPoint&)), this, TQ_SLOT(slotDoubleClicked(int, int, int, const TQPoint&))); // double clicking the header turns on auto column sizing - connect(horizontalHeader(), TQT_SIGNAL(sectionSizeChanged(int)), this, TQT_SLOT(slotAutoColumnSizing(int))); + connect(horizontalHeader(), TQ_SIGNAL(sectionSizeChanged(int)), this, TQ_SLOT(slotAutoColumnSizing(int))); //DND setAcceptDrops(true); @@ -1167,7 +1167,7 @@ void Register::updateRegister(bool forceUpdateRowHeight) // force resizeing of the columns if necessary if(m_needInitialColumnResize) { - TQTimer::singleShot(0, this, TQT_SLOT(resize())); + TQTimer::singleShot(0, this, TQ_SLOT(resize())); m_needInitialColumnResize = false; } else { updateContents(); @@ -1175,7 +1175,7 @@ void Register::updateRegister(bool forceUpdateRowHeight) // if the number of rows changed, we might need to resize the register // to make sure we reflect the current visibility of the scrollbars. if(needUpdateHeaders) - TQTimer::singleShot(0, this, TQT_SLOT(resize())); + TQTimer::singleShot(0, this, TQ_SLOT(resize())); } } ::timetrace("Done updateing register"); @@ -1770,7 +1770,7 @@ void Register::ensureItemVisible(RegisterItem* item) return; m_ensureVisibleItem = item; - TQTimer::singleShot(0, this, TQT_SLOT(slotEnsureItemVisible())); + TQTimer::singleShot(0, this, TQ_SLOT(slotEnsureItemVisible())); } void Register::slotDoubleClicked(int row, int, int, const TQPoint&) @@ -1790,7 +1790,7 @@ void Register::slotDoubleClicked(int row, int, int, const TQPoint&) if(m_focusItem->isSelected()) { // don't emit the signal right away but wait until // we come back to the TQt main loop - TQTimer::singleShot(0, this, TQT_SIGNAL(editTransaction())); + TQTimer::singleShot(0, this, TQ_SIGNAL(editTransaction())); } } } @@ -1989,7 +1989,7 @@ void Register::slotToggleErronousTransactions(void) } // restart timer - TQTimer::singleShot(500, this, TQT_SLOT(slotToggleErronousTransactions())); + TQTimer::singleShot(500, this, TQ_SLOT(slotToggleErronousTransactions())); } RegisterItem* Register::itemById(const TQString& id) const |