summaryrefslogtreecommitdiffstats
path: root/kviewshell/pageView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kviewshell/pageView.cpp')
-rw-r--r--kviewshell/pageView.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kviewshell/pageView.cpp b/kviewshell/pageView.cpp
index 2be0a51a..028522f1 100644
--- a/kviewshell/pageView.cpp
+++ b/kviewshell/pageView.cpp
@@ -36,7 +36,7 @@ PageView::PageView( TQWidget* parent, const char* name )
moveTool = true;
widgetList = 0;
- viewport()->setFocusPolicy(TQ_StrongFocus);
+ viewport()->setFocusPolicy(TQWidget::StrongFocus);
setResizePolicy(TQScrollView::Manual);
@@ -54,7 +54,7 @@ PageView::PageView( TQWidget* parent, const char* name )
continuousViewmode = true;
fullScreen = false;
- connect(this, TQT_SIGNAL(contentsMoving(int, int)), this, TQT_SLOT(calculateCurrentPageNumber(int, int)));
+ connect(this, TQ_SIGNAL(contentsMoving(int, int)), this, TQ_SLOT(calculateCurrentPageNumber(int, int)));
}
@@ -195,7 +195,7 @@ void PageView::keyPressEvent( TQKeyEvent* e )
void PageView::contentsMousePressEvent( TQMouseEvent* e )
{
- if (e->button() == Qt::LeftButton)
+ if (e->button() == TQt::LeftButton)
{
if (moveTool)
{
@@ -222,7 +222,7 @@ void PageView::contentsMouseMoveEvent( TQMouseEvent* e )
{
TQPoint newPos = e->globalPos();
- if (e->state() == Qt::LeftButton && moveTool)
+ if (e->state() == TQt::LeftButton && moveTool)
{
TQPoint delta = dragGrabPos - newPos;
scrollBy(delta.x(), delta.y());