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 /libkscan/img_canvas.cpp | |
| parent | dd79abfcab681a26a70756c8847f870e73bcdf2c (diff) | |
| download | tdegraphics-cfee7c430dfa8778709343b7809f2fc4e24ef914.tar.gz tdegraphics-cfee7c430dfa8778709343b7809f2fc4e24ef914.zip | |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b93a9330d8b06f081d4ea3d2d48cdba2b6b2ce46)
Diffstat (limited to 'libkscan/img_canvas.cpp')
| -rw-r--r-- | libkscan/img_canvas.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libkscan/img_canvas.cpp b/libkscan/img_canvas.cpp index 832ca4c6..c4b2c680 100644 --- a/libkscan/img_canvas.cpp +++ b/libkscan/img_canvas.cpp @@ -457,7 +457,7 @@ void ImageCanvas::viewportMousePressEvent(TQMouseEvent *ev) { if( ! acquired || ! image ) return; - if(ev->button()==Qt::LeftButton ) + if(ev->button()==TQt::LeftButton ) { int cx = contentsX(), cy = contentsY(); @@ -486,7 +486,7 @@ void ImageCanvas::viewportMousePressEvent(TQMouseEvent *ev) void ImageCanvas::viewportMouseReleaseEvent(TQMouseEvent *ev) { - if(ev->button()!=Qt::LeftButton || !acquired ) return; + if(ev->button()!=TQt::LeftButton || !acquired ) return; //// debug( "Mouse Release at %d/%d", ev->x(), ev->y()); if(moving!=MOVE_NONE) { |
