diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-06 11:39:17 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-07 18:28:28 +0900 |
| commit | cfee7c430dfa8778709343b7809f2fc4e24ef914 (patch) | |
| tree | 1ca1ffe7829434c39f16dd8749399da58e395e15 /kghostview/scrollbox.cpp | |
| parent | dd79abfcab681a26a70756c8847f870e73bcdf2c (diff) | |
| download | tdegraphics-cfee7c43.tar.gz tdegraphics-cfee7c43.zip | |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b93a9330d8b06f081d4ea3d2d48cdba2b6b2ce46)
Diffstat (limited to 'kghostview/scrollbox.cpp')
| -rw-r--r-- | kghostview/scrollbox.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kghostview/scrollbox.cpp b/kghostview/scrollbox.cpp index e50f353a..10b1a6eb 100644 --- a/kghostview/scrollbox.cpp +++ b/kghostview/scrollbox.cpp @@ -31,15 +31,15 @@ ScrollBox::ScrollBox( TQWidget* parent, const char* name ) void ScrollBox::mousePressEvent( TQMouseEvent* e ) { mouse = e->pos(); - if( e->button() == Qt::RightButton ) + if( e->button() == TQt::RightButton ) emit button3Pressed(); - if( e->button() == Qt::MidButton ) + if( e->button() == TQt::MidButton ) emit button2Pressed(); } void ScrollBox::mouseMoveEvent( TQMouseEvent* e ) { - if( e->state() != Qt::LeftButton ) + if( e->state() != TQt::LeftButton ) return; int dx = ( e->pos().x() - mouse.x() ) * pagesize.width() / width(); |
