From e7366c97c998679efa80cf61c88e64a11a3d3c33 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kghostview/fullscreenfilter.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kghostview/fullscreenfilter.cpp') diff --git a/kghostview/fullscreenfilter.cpp b/kghostview/fullscreenfilter.cpp index 9efe8a6c..c1d5117f 100644 --- a/kghostview/fullscreenfilter.cpp +++ b/kghostview/fullscreenfilter.cpp @@ -22,16 +22,16 @@ #include "kgv_miniwidget.h" #include "kgvpageview.h" -FullScreenFilter::FullScreenFilter( KGVShell& tqparent ) - :TQObject( &tqparent, "full-screen-filter" ), - tqparent( tqparent ) +FullScreenFilter::FullScreenFilter( KGVShell& parent ) + :TQObject( &parent, "full-screen-filter" ), + parent( parent ) { } bool FullScreenFilter::eventFilter( TQObject* /*object*/, TQEvent* ev) { if ( TQKeyEvent* keyevent = dynamic_cast( ev ) ) { if ( keyevent->key() == Key_Escape ) { - tqparent.setFullScreen( false ); + parent.setFullScreen( false ); keyevent->accept(); return true; } @@ -39,9 +39,9 @@ bool FullScreenFilter::eventFilter( TQObject* /*object*/, TQEvent* ev) { if ( TQMouseEvent* mouseevent = dynamic_cast( ev ) ) { if ( mouseevent->stateAfter() & mouseevent->button() & Qt::LeftButton ) { // if ( The whole image is visible at once ) - if ( tqparent.m_gvpart->pageView()->contentsHeight() <= tqparent.m_gvpart->widget()->height() && - tqparent.m_gvpart->pageView()->contentsWidth() <= tqparent.m_gvpart->widget()->width() ) { - tqparent.m_gvpart->miniWidget()->nextPage(); + if ( parent.m_gvpart->pageView()->contentsHeight() <= parent.m_gvpart->widget()->height() && + parent.m_gvpart->pageView()->contentsWidth() <= parent.m_gvpart->widget()->width() ) { + parent.m_gvpart->miniWidget()->nextPage(); mouseevent->accept(); return true; } -- cgit v1.2.1