diff options
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 |