summaryrefslogtreecommitdiffstats
path: root/src/bookwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-04 10:29:17 +0900
committerMichele Calgaro <[email protected]>2024-01-06 19:54:00 +0900
commitd0aa6926de7d84da86d490b914eba8e27f0df2ea (patch)
treef51ba86b2df2d91dcbb7c2fa5ad71b3c894ddf23 /src/bookwidget.cpp
parent9830ae32375844473ebd5660b754951efca31272 (diff)
downloadkbookreader-d0aa6926de7d84da86d490b914eba8e27f0df2ea.tar.gz
kbookreader-d0aa6926de7d84da86d490b914eba8e27f0df2ea.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit e47baa8f120042143820c6e81fb7eeffa03d7974)
Diffstat (limited to 'src/bookwidget.cpp')
-rw-r--r--src/bookwidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bookwidget.cpp b/src/bookwidget.cpp
index a90e273..e62652e 100644
--- a/src/bookwidget.cpp
+++ b/src/bookwidget.cpp
@@ -64,8 +64,8 @@ BookWidget::BookWidget(TQWidget *parent, const char *name)
setWFlags(TQt::WNoAutoErase);
setFocusPolicy(TQWidget::StrongFocus);
- connect(&m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(loadLine()));
- connect(m_renderer.get(), TQT_SIGNAL(renderingFinished()), this, TQT_SLOT(renderingFinished()));
+ connect(&m_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(loadLine()));
+ connect(m_renderer.get(), TQ_SIGNAL(renderingFinished()), this, TQ_SLOT(renderingFinished()));
}
@@ -92,7 +92,7 @@ void BookWidget::openURL(const KURL & url)
m_progressDlg->setLabel("Loading file " + m_url.path());
m_progressDlg->setAllowCancel(true);
m_progressDlg->progressBar()->setTotalSteps(0);
- connect(m_progressDlg.get(), TQT_SIGNAL(cancelClicked()), TQT_SLOT(cancelLoading()));
+ connect(m_progressDlg.get(), TQ_SIGNAL(cancelClicked()), TQ_SLOT(cancelLoading()));
KDialog::centerOnScreen(m_progressDlg.get());
m_progressDlg->show();
//start timer for processing gui events