diff options
Diffstat (limited to 'src/gvcore/imageview.cpp')
-rw-r--r-- | src/gvcore/imageview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gvcore/imageview.cpp b/src/gvcore/imageview.cpp index f5b6977..1604528 100644 --- a/src/gvcore/imageview.cpp +++ b/src/gvcore/imageview.cpp @@ -311,7 +311,7 @@ ImageView::ImageView(TQWidget* parent,Document* document, TDEActionCollection* a d->mContrast = 100; d->mBCGDialog = 0; - viewport()->setFocusPolicy(TQ_WheelFocus); + viewport()->setFocusPolicy(TQWidget::WheelFocus); setFrameStyle(NoFrame); setAcceptDrops( true ); viewport()->setAcceptDrops( true ); @@ -348,7 +348,7 @@ ImageView::ImageView(TQWidget* parent,Document* document, TDEActionCollection* a d->mZoomCombo=new TQComboBox(true); // Avoid stealing focus - d->mZoomCombo->setFocusPolicy(TQ_ClickFocus); + d->mZoomCombo->setFocusPolicy(TQWidget::ClickFocus); connect(d->mZoomCombo, TQT_SIGNAL(activated(int)), TQT_TQOBJECT(this), TQT_SLOT(slotSelectZoom()) ); |