summaryrefslogtreecommitdiffstats
path: root/tdeui/kiconview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/kiconview.cpp')
-rw-r--r--tdeui/kiconview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdeui/kiconview.cpp b/tdeui/kiconview.cpp
index 04b78f389..e4ae13716 100644
--- a/tdeui/kiconview.cpp
+++ b/tdeui/kiconview.cpp
@@ -310,7 +310,7 @@ void TDEIconView::contentsMouseDoubleClickEvent ( TQMouseEvent * e )
TQIconViewItem* item = findItem( e->pos() );
if( item ) {
- if( (e->button() == Qt::LeftButton) && !m_bUseSingle )
+ if( (e->button() == TQt::LeftButton) && !m_bUseSingle )
emitExecute( item, e->globalPos() );
emit doubleClicked( item, e->globalPos() );
@@ -324,7 +324,7 @@ void TDEIconView::slotMouseButtonClicked( int btn, TQIconViewItem *item, const T
if( d->doubleClickIgnoreTimer.isActive() )
return; // Ignore double click
- if( (btn == Qt::LeftButton) && item )
+ if( (btn == TQt::LeftButton) && item )
emitExecute( item, pos );
}
@@ -388,7 +388,7 @@ void TDEIconView::cancelPendingHeldSignal()
void TDEIconView::wheelEvent( TQWheelEvent *e )
{
if (horizontalScrollBar() && (arrangement() == TQIconView::TopToBottom)) {
- TQWheelEvent ce(e->pos(), e->delta(), e->state(), Qt::Horizontal);
+ TQWheelEvent ce(e->pos(), e->delta(), e->state(), TQt::Horizontal);
TQApplication::sendEvent( horizontalScrollBar(), &ce);
if (ce.isAccepted()) {
e->accept();
@@ -757,7 +757,7 @@ void TDEIconViewItem::paintText( TQPainter *p, const TQColorGroup &cg )
p->setPen( TQPen( cg.highlightedText() ) );
}
else {
- if ( iconView()->itemTextBackground() != Qt::NoBrush ) {
+ if ( iconView()->itemTextBackground() != TQt::NoBrush ) {
p->fillRect( textRect( false ), iconView()->itemTextBackground() );
}
p->setPen( cg.text() );