summaryrefslogtreecommitdiffstats
path: root/parts/replace/replaceview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/replace/replaceview.cpp')
-rw-r--r--parts/replace/replaceview.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/parts/replace/replaceview.cpp b/parts/replace/replaceview.cpp
index a85b0818..2304a31b 100644
--- a/parts/replace/replaceview.cpp
+++ b/parts/replace/replaceview.cpp
@@ -40,9 +40,9 @@ ReplaceView::ReplaceView( TQWidget * parent ) : TDEListView( parent ), _latestfi
pal.setActive( cg );
setPalette( pal );
- connect( this, TQT_SIGNAL( clicked( TQListViewItem * ) ), TQT_SLOT( slotClicked( TQListViewItem * ) ) );
- connect( this, TQT_SIGNAL( mouseButtonPressed( int, TQListViewItem *, const TQPoint &, int) ),
- TQT_SLOT( slotMousePressed(int, TQListViewItem *, const TQPoint &, int) ) );
+ connect( this, TQ_SIGNAL( clicked( TQListViewItem * ) ), TQ_SLOT( slotClicked( TQListViewItem * ) ) );
+ connect( this, TQ_SIGNAL( mouseButtonPressed( int, TQListViewItem *, const TQPoint &, int) ),
+ TQ_SLOT( slotMousePressed(int, TQListViewItem *, const TQPoint &, int) ) );
}
void ReplaceView::makeReplacementsForFile( TQTextStream & istream, TQTextStream & ostream, ReplaceItem const * fileitem )
@@ -112,11 +112,11 @@ void ReplaceView::slotMousePressed(int btn, TQListViewItem* i, const TQPoint& po
if ( ReplaceItem * item = dynamic_cast<ReplaceItem*>( i ) )
{
- if ( btn == Qt::RightButton )
+ if ( btn == TQt::RightButton )
{
// popup menu?
}
- else if ( btn == Qt::LeftButton )
+ else if ( btn == TQt::LeftButton )
{
// map pos to item/column and call ReplacetItem::activate(pos)
item->activate( col, viewport()->mapFromGlobal( pos ) - TQPoint( 0, itemRect(item).top() ) );