diff options
Diffstat (limited to 'src/gvcore/imageview.cpp')
-rw-r--r-- | src/gvcore/imageview.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gvcore/imageview.cpp b/src/gvcore/imageview.cpp index 8bc670b..16575ef 100644 --- a/src/gvcore/imageview.cpp +++ b/src/gvcore/imageview.cpp @@ -272,15 +272,15 @@ inline bool doDelayedSmoothing() { class ImageView::EventFilter : public TQObject { public: - EventFilter(ImageView* tqparent) - : TQObject(tqparent) {} + EventFilter(ImageView* parent) + : TQObject(parent) {} bool eventFilter(TQObject*, TQEvent* event) { switch (event->type()) { case TQEvent::KeyPress: case TQEvent::KeyRelease: case TQEvent::AccelOverride: - return static_cast< ImageView* >( TQT_TQWIDGET(tqparent())) + return static_cast< ImageView* >( TQT_TQWIDGET(parent())) ->viewportKeyEvent(TQT_TQKEYEVENT(event)); default: break; @@ -291,8 +291,8 @@ public: -ImageView::ImageView(TQWidget* tqparent,Document* document, KActionCollection* actionCollection) -: TQScrollView(tqparent,0L,WResizeNoErase|WRepaintNoErase|WPaintClever) +ImageView::ImageView(TQWidget* parent,Document* document, KActionCollection* actionCollection) +: TQScrollView(parent,0L,WResizeNoErase|WRepaintNoErase|WPaintClever) { d=new Private; d->mDocument=document; |