summaryrefslogtreecommitdiffstats
path: root/kghostview/fullscreenfilter.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kghostview/fullscreenfilter.cpp
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kghostview/fullscreenfilter.cpp')
-rw-r--r--kghostview/fullscreenfilter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kghostview/fullscreenfilter.cpp b/kghostview/fullscreenfilter.cpp
index ec208169..724031f4 100644
--- a/kghostview/fullscreenfilter.cpp
+++ b/kghostview/fullscreenfilter.cpp
@@ -23,20 +23,20 @@
#include "kgvpageview.h"
FullScreenFilter::FullScreenFilter( KGVShell& parent )
- :QObject( &parent, "full-screen-filter" ),
+ :TQObject( &parent, "full-screen-filter" ),
parent( parent )
{
}
-bool FullScreenFilter::eventFilter( QObject* /*object*/, QEvent* ev) {
- if ( QKeyEvent* keyevent = dynamic_cast<QKeyEvent*>( ev ) ) {
+bool FullScreenFilter::eventFilter( TQObject* /*object*/, TQEvent* ev) {
+ if ( TQKeyEvent* keyevent = dynamic_cast<TQKeyEvent*>( ev ) ) {
if ( keyevent->key() == Key_Escape ) {
parent.setFullScreen( false );
keyevent->accept();
return true;
}
}
- if ( QMouseEvent* mouseevent = dynamic_cast<QMouseEvent*>( ev ) ) {
+ if ( TQMouseEvent* mouseevent = dynamic_cast<TQMouseEvent*>( ev ) ) {
if ( mouseevent->stateAfter() & mouseevent->button() & LeftButton ) {
// if ( The whole image is visible at once )
if ( parent.m_gvpart->pageView()->contentsHeight() <= parent.m_gvpart->widget()->height() &&