summaryrefslogtreecommitdiffstats
path: root/tdeui/kiconview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-13 20:33:00 +0900
committerMichele Calgaro <[email protected]>2023-11-15 23:44:25 +0900
commitc8ece3630d4d21acaf1749fc2cf660a0463070c3 (patch)
treebae3d3c70886ceeffd914cac031dfeab532a607a /tdeui/kiconview.cpp
parent419c185be746df8bba59fe5de991b4a2b3977897 (diff)
downloadtdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.tar.gz
tdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
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() );