diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | e7366c97c998679efa80cf61c88e64a11a3d3c33 (patch) | |
tree | a161d2940165f6cc47c05f0271ad8e5f64ffe6e8 /kghostview/fullscreenfilter.cpp | |
parent | da4be7880ff1de6415ab6256afd2514e64f5fa2e (diff) | |
download | tdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.tar.gz tdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.zip |
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
Diffstat (limited to 'kghostview/fullscreenfilter.cpp')
-rw-r--r-- | kghostview/fullscreenfilter.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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<TQKeyEvent*>( 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<TQMouseEvent*>( 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; } |