summaryrefslogtreecommitdiffstats
path: root/kviewshell/documentWidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 12:34:35 +0900
committerMichele Calgaro <[email protected]>2024-01-18 19:03:13 +0900
commitea1f5870db808971e833dd901aac2647d50634bd (patch)
tree5eae36dbd282479c91ce1a65c2a7ef8edee0f619 /kviewshell/documentWidget.cpp
parent21cae41ae67ab4478efda7b6def53fcf7e8003bc (diff)
downloadtdegraphics-ea1f5870db808971e833dd901aac2647d50634bd.tar.gz
tdegraphics-ea1f5870db808971e833dd901aac2647d50634bd.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit c616fab9053b07ed30508ab714de876409d82653)
Diffstat (limited to 'kviewshell/documentWidget.cpp')
-rw-r--r--kviewshell/documentWidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kviewshell/documentWidget.cpp b/kviewshell/documentWidget.cpp
index a4737821..90533c26 100644
--- a/kviewshell/documentWidget.cpp
+++ b/kviewshell/documentWidget.cpp
@@ -85,7 +85,7 @@ DocumentWidget::DocumentWidget(TQWidget *parent, PageView *sv, DocumentPageCache
setMouseTracking(true);
setFocusPolicy(TQWidget::ClickFocus);
- connect(&clearStatusBarTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(clearStatusBar()));
+ connect(&clearStatusBarTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(clearStatusBar()));
setBackgroundMode(TQt::NoBackground);
if (!busyIcon)
@@ -260,7 +260,7 @@ void DocumentWidget::paintEvent(TQPaintEvent *e)
{
// Request page pixmap.
pixmapRequested = true;
- TQTimer::singleShot(50, this, TQT_SLOT(delayedRequestPage()));
+ TQTimer::singleShot(50, this, TQ_SLOT(delayedRequestPage()));
}
return;
}
@@ -367,7 +367,7 @@ void DocumentWidget::drawScrollGuide(int ycoord)
//kdDebug() << "draw scroll guide for page " << pageNr << " at y = " << ycoord << endl;
scrollGuide = ycoord;
update(TQRect(1, scrollGuide, pageSize().width(), 1));
- TQTimer::singleShot(1000, this, TQT_SLOT(clearScrollGuide()));
+ TQTimer::singleShot(1000, this, TQ_SLOT(clearScrollGuide()));
}
void DocumentWidget::clearScrollGuide()