From d0aa6926de7d84da86d490b914eba8e27f0df2ea Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 4 Jan 2024 10:29:17 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit e47baa8f120042143820c6e81fb7eeffa03d7974) --- src/bookwidget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/bookwidget.cpp') 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 -- cgit v1.2.1