diff options
author | Michele Calgaro <[email protected]> | 2024-01-14 12:33:20 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-14 12:43:48 +0900 |
commit | 3b3f9ec8f31978030c17309fae48335bea5c1587 (patch) | |
tree | 0b493383a1501860371aacd792ec6fc08d595824 /knode/headerview.cpp | |
parent | 99e6e1d1f43610c3573e9824a2a8a38f69930cd0 (diff) | |
download | tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.tar.gz tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'knode/headerview.cpp')
-rw-r--r-- | knode/headerview.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/knode/headerview.cpp b/knode/headerview.cpp index d30cc5a31..cae8da28b 100644 --- a/knode/headerview.cpp +++ b/knode/headerview.cpp @@ -65,9 +65,9 @@ KNHeaderView::KNHeaderView(TQWidget *parent, const char *name) : setColumnAlignment( mPaintInfo.scoreCol, TQt::AlignRight ); // due to our own column text squeezing we need to repaint on column resizing - disconnect( header(), TQT_SIGNAL(sizeChange(int, int, int)) ); - connect( header(), TQT_SIGNAL(sizeChange(int, int, int)), - TQT_SLOT(slotSizeChanged(int, int, int)) ); + disconnect( header(), TQ_SIGNAL(sizeChange(int, int, int)) ); + connect( header(), TQ_SIGNAL(sizeChange(int, int, int)), + TQ_SLOT(slotSizeChanged(int, int, int)) ); // column selection RMB menu mPopup = new TDEPopupMenu( this ); @@ -76,11 +76,11 @@ KNHeaderView::KNHeaderView(TQWidget *parent, const char *name) : mPopup->insertItem( i18n("Line Count"), KPaintInfo::COL_SIZE ); mPopup->insertItem( i18n("Score"), KPaintInfo::COL_SCORE ); - connect( mPopup, TQT_SIGNAL(activated(int)), this, TQT_SLOT(toggleColumn(int)) ); + connect( mPopup, TQ_SIGNAL(activated(int)), this, TQ_SLOT(toggleColumn(int)) ); // connect to the article manager - connect( knGlobals.articleManager(), TQT_SIGNAL(aboutToShowGroup()), TQT_SLOT(prepareForGroup()) ); - connect( knGlobals.articleManager(), TQT_SIGNAL(aboutToShowFolder()), TQT_SLOT(prepareForFolder()) ); + connect( knGlobals.articleManager(), TQ_SIGNAL(aboutToShowGroup()), TQ_SLOT(prepareForGroup()) ); + connect( knGlobals.articleManager(), TQ_SIGNAL(aboutToShowFolder()), TQ_SLOT(prepareForFolder()) ); new KNHeaderViewToolTip( this ); @@ -188,7 +188,7 @@ void KNHeaderView::ensureItemVisibleWithMargin( const TQListViewItem *i ) { ensureVisible( contentsX(), y + h/2, 0, h/2 ); mDelayedCenter = y + h/2; - TQTimer::singleShot( 300, this, TQT_SLOT(slotCenterDelayed()) ); + TQTimer::singleShot( 300, this, TQ_SLOT(slotCenterDelayed()) ); } else { ensureVisible( contentsX(), y + h/2, 0, h/2 ); } @@ -576,7 +576,7 @@ void KNHeaderView::focusOutEvent(TQFocusEvent *e) void KNHeaderView::resetCurrentTime() { mDateFormatter.reset(); - TQTimer::singleShot( 1000, this, TQT_SLOT(resetCurrentTime()) ); + TQTimer::singleShot( 1000, this, TQ_SLOT(resetCurrentTime()) ); } |