summaryrefslogtreecommitdiffstats
path: root/kview/kviewcanvas/kimagecanvas.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-06 11:39:17 +0900
committerMichele Calgaro <[email protected]>2023-11-07 18:28:28 +0900
commitcfee7c430dfa8778709343b7809f2fc4e24ef914 (patch)
tree1ca1ffe7829434c39f16dd8749399da58e395e15 /kview/kviewcanvas/kimagecanvas.cpp
parentdd79abfcab681a26a70756c8847f870e73bcdf2c (diff)
downloadtdegraphics-cfee7c430dfa8778709343b7809f2fc4e24ef914.tar.gz
tdegraphics-cfee7c430dfa8778709343b7809f2fc4e24ef914.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit b93a9330d8b06f081d4ea3d2d48cdba2b6b2ce46)
Diffstat (limited to 'kview/kviewcanvas/kimagecanvas.cpp')
-rw-r--r--kview/kviewcanvas/kimagecanvas.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kview/kviewcanvas/kimagecanvas.cpp b/kview/kviewcanvas/kimagecanvas.cpp
index 8f1c31eb..7a317d9c 100644
--- a/kview/kviewcanvas/kimagecanvas.cpp
+++ b/kview/kviewcanvas/kimagecanvas.cpp
@@ -83,7 +83,7 @@ KImageCanvas::KImageCanvas( TQWidget * parent, const char * name, const TQString
TQWidget::setMouseTracking( true );
viewport()->setMouseTracking( true );
- m_cursor.setShape( Qt::CrossCursor );
+ m_cursor.setShape( TQt::CrossCursor );
viewport()->setCursor( m_cursor );
m_pTimer->start( MOUSECURSORHIDETIME, true );
@@ -589,7 +589,7 @@ void KImageCanvas::mouseMoveEvent( TQMouseEvent * )
{
if( m_cursor.shape() == TQt::BlankCursor )
{
- m_cursor.setShape( Qt::CrossCursor );
+ m_cursor.setShape( TQt::CrossCursor );
viewport()->setCursor( m_cursor );
if( m_client )
m_client->setCursor( m_cursor );
@@ -607,7 +607,7 @@ void KImageCanvas::resizeEvent( TQResizeEvent * ev )
void KImageCanvas::contentsMousePressEvent( TQMouseEvent * ev )
{
- if ( ev->button() == Qt::RightButton )
+ if ( ev->button() == TQt::RightButton )
emit contextPress( ev->globalPos() );
TQScrollView::contentsMousePressEvent( ev );
}
@@ -772,7 +772,7 @@ void KImageCanvas::timerEvent( TQTimerEvent * ev )
void KImageCanvas::hideCursor()
{
kdDebug( 4620 ) << k_funcinfo << endl;
- m_cursor.setShape( Qt::BlankCursor );
+ m_cursor.setShape( TQt::BlankCursor );
viewport()->setCursor( m_cursor );
if( m_client )
m_client->setCursor( m_cursor );