summaryrefslogtreecommitdiffstats
path: root/kviewshell/plugins/djvu
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/plugins/djvu
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/plugins/djvu')
-rw-r--r--kviewshell/plugins/djvu/djvumultipage.cpp4
-rw-r--r--kviewshell/plugins/djvu/pageRangeWidget.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/kviewshell/plugins/djvu/djvumultipage.cpp b/kviewshell/plugins/djvu/djvumultipage.cpp
index ae1ab9f6..8cfde527 100644
--- a/kviewshell/plugins/djvu/djvumultipage.cpp
+++ b/kviewshell/plugins/djvu/djvumultipage.cpp
@@ -67,10 +67,10 @@ DjVuMultiPage::DjVuMultiPage(TQWidget *parentWidget, const char *widgetName, TQO
renderModeAction->setCurrentItem(Prefs::renderMode());
- deletePagesAction = new TDEAction(i18n("Delete Pages..."), 0, this, TQT_SLOT(slotDeletePages()), actionCollection(), "delete_pages");
+ deletePagesAction = new TDEAction(i18n("Delete Pages..."), 0, this, TQ_SLOT(slotDeletePages()), actionCollection(), "delete_pages");
// change the rendermode
- connect(renderModeAction, TQT_SIGNAL(activated(int)), this, TQT_SLOT(setRenderMode(int)));
+ connect(renderModeAction, TQ_SIGNAL(activated(int)), this, TQ_SLOT(setRenderMode(int)));
/* It is very important that this method is called in the
constructor. Otherwise tdemultipage does not know how to render
diff --git a/kviewshell/plugins/djvu/pageRangeWidget.cpp b/kviewshell/plugins/djvu/pageRangeWidget.cpp
index 1d5c7be1..4acd8294 100644
--- a/kviewshell/plugins/djvu/pageRangeWidget.cpp
+++ b/kviewshell/plugins/djvu/pageRangeWidget.cpp
@@ -41,8 +41,8 @@ PageRangeWidget::PageRangeWidget( TQ_UINT16 _from, TQ_UINT16 _to, TQ_UINT16 _cur
_current = _to;
}
- connect(from, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(fromValueChanged(int)));
- connect(to, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(toValueChanged(int)));
+ connect(from, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(fromValueChanged(int)));
+ connect(to, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(toValueChanged(int)));
from->setRange(_from, _to);
from->setValue(_current);