summaryrefslogtreecommitdiffstats
path: root/src/gvcore/imageview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/imageview.cpp')
-rw-r--r--src/gvcore/imageview.cpp68
1 files changed, 34 insertions, 34 deletions
diff --git a/src/gvcore/imageview.cpp b/src/gvcore/imageview.cpp
index 2525b7b..371eff4 100644
--- a/src/gvcore/imageview.cpp
+++ b/src/gvcore/imageview.cpp
@@ -324,32 +324,32 @@ ImageView::ImageView(TQWidget* parent,Document* document, TDEActionCollection* a
// Create actions
d->mZoomToFit=new TDEToggleAction(i18n("Fit to &Window"),"zoom-fit-best",0,d->mActionCollection,"view_zoom_to_fit");
- connect(d->mZoomToFit,TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(setZoomToFit(bool)) );
+ connect(d->mZoomToFit,TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(setZoomToFit(bool)) );
d->mZoomToWidth=new TDEToggleAction(i18n("Fit to &Width"),0,0,d->mActionCollection,"view_zoom_to_width");
- connect(d->mZoomToWidth,TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(setZoomToWidth(bool)) );
+ connect(d->mZoomToWidth,TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(setZoomToWidth(bool)) );
d->mZoomToHeight=new TDEToggleAction(i18n("Fit to &Height"),0,0,d->mActionCollection,"view_zoom_to_height");
- connect(d->mZoomToHeight,TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(setZoomToHeight(bool)) );
+ connect(d->mZoomToHeight,TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(setZoomToHeight(bool)) );
- d->mZoomIn=KStdAction::zoomIn(this,TQT_SLOT(slotZoomIn()),d->mActionCollection);
+ d->mZoomIn=KStdAction::zoomIn(this,TQ_SLOT(slotZoomIn()),d->mActionCollection);
- d->mZoomOut=KStdAction::zoomOut(this,TQT_SLOT(slotZoomOut()),d->mActionCollection);
+ d->mZoomOut=KStdAction::zoomOut(this,TQ_SLOT(slotZoomOut()),d->mActionCollection);
- d->mResetZoom=KStdAction::actualSize(this,TQT_SLOT(slotResetZoom()),d->mActionCollection);
+ d->mResetZoom=KStdAction::actualSize(this,TQ_SLOT(slotResetZoom()),d->mActionCollection);
d->mResetZoom->setIcon("zoom-original");
d->mLockZoom=new TDEToggleAction(i18n("&Lock Zoom"),"system-lock-screen",0,d->mActionCollection,"view_zoom_lock");
d->mLockZoom->setChecked(ImageViewConfig::lockZoom());
- connect(d->mLockZoom,TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(setLockZoom(bool)) );
+ connect(d->mLockZoom,TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(setLockZoom(bool)) );
d->mZoomCombo=new TQComboBox(true);
// Avoid stealing focus
d->mZoomCombo->setFocusPolicy(TQWidget::ClickFocus);
- connect(d->mZoomCombo, TQT_SIGNAL(activated(int)),
- this, TQT_SLOT(slotSelectZoom()) );
+ connect(d->mZoomCombo, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(slotSelectZoom()) );
d->mZoomComboAction=new KWidgetAction(d->mZoomCombo, i18n("Zoom"), 0, 0, 0, d->mActionCollection, "view_zoom_to");
@@ -362,41 +362,41 @@ ImageView::ImageView(TQWidget* parent,Document* document, TDEActionCollection* a
d->initZoomCombo();
d->mAdjustBCG=new TDEAction(i18n("Adjust Brightness/Contrast/Gamma"), "colorize", 0,
- this, TQT_SLOT(showBCGDialog()), d->mActionCollection, "adjust_bcg");
+ this, TQ_SLOT(showBCGDialog()), d->mActionCollection, "adjust_bcg");
d->mIncreaseGamma=new TDEAction(i18n("Increase Gamma"),0,CTRL+Key_G,
- this, TQT_SLOT(increaseGamma()),d->mActionCollection,"increase_gamma");
+ this, TQ_SLOT(increaseGamma()),d->mActionCollection,"increase_gamma");
d->mDecreaseGamma=new TDEAction(i18n("Decrease Gamma"),0,SHIFT+CTRL+Key_G,
- this, TQT_SLOT(decreaseGamma()),d->mActionCollection,"decrease_gamma");
+ this, TQ_SLOT(decreaseGamma()),d->mActionCollection,"decrease_gamma");
d->mIncreaseBrightness=new TDEAction(i18n("Increase Brightness" ),0,CTRL+Key_B,
- this, TQT_SLOT(increaseBrightness()),d->mActionCollection,"increase_brightness");
+ this, TQ_SLOT(increaseBrightness()),d->mActionCollection,"increase_brightness");
d->mDecreaseBrightness=new TDEAction(i18n("Decrease Brightness" ),0,SHIFT+CTRL+Key_B,
- this, TQT_SLOT(decreaseBrightness()),d->mActionCollection,"decrease_brightness");
+ this, TQ_SLOT(decreaseBrightness()),d->mActionCollection,"decrease_brightness");
d->mIncreaseContrast=new TDEAction(i18n("Increase Contrast" ),0,CTRL+Key_C,
- this, TQT_SLOT(increaseContrast()),d->mActionCollection,"increase_contrast");
+ this, TQ_SLOT(increaseContrast()),d->mActionCollection,"increase_contrast");
d->mDecreaseContrast=new TDEAction(i18n("Decrease Contrast" ),0,SHIFT+CTRL+Key_C,
- this, TQT_SLOT(decreaseContrast()),d->mActionCollection,"decrease_contrast");
+ this, TQ_SLOT(decreaseContrast()),d->mActionCollection,"decrease_contrast");
// Connect to some interesting signals
- connect(d->mDocument,TQT_SIGNAL(loaded(const KURL&)),
- this, TQT_SLOT(slotLoaded()) );
+ connect(d->mDocument,TQ_SIGNAL(loaded(const KURL&)),
+ this, TQ_SLOT(slotLoaded()) );
- connect(d->mDocument,TQT_SIGNAL(loading()),
- this, TQT_SLOT( loadingStarted()) );
+ connect(d->mDocument,TQ_SIGNAL(loading()),
+ this, TQ_SLOT( loadingStarted()) );
- connect(d->mDocument,TQT_SIGNAL(modified()),
- this, TQT_SLOT(slotModified()) );
+ connect(d->mDocument,TQ_SIGNAL(modified()),
+ this, TQ_SLOT(slotModified()) );
- connect(d->mDocument, TQT_SIGNAL(sizeUpdated()),
- this, TQT_SLOT(slotImageSizeUpdated()) );
+ connect(d->mDocument, TQ_SIGNAL(sizeUpdated()),
+ this, TQ_SLOT(slotImageSizeUpdated()) );
- connect(d->mDocument, TQT_SIGNAL(rectUpdated(const TQRect&)),
- this, TQT_SLOT(slotImageRectUpdated(const TQRect&)) );
+ connect(d->mDocument, TQ_SIGNAL(rectUpdated(const TQRect&)),
+ this, TQ_SLOT(slotImageRectUpdated(const TQRect&)) );
- connect(&d->mPendingPaintTimer,TQT_SIGNAL(timeout()),
- this, TQT_SLOT(checkPendingOperations()) );
+ connect(&d->mPendingPaintTimer,TQ_SIGNAL(timeout()),
+ this, TQ_SLOT(checkPendingOperations()) );
- connect(BusyLevelManager::instance(),TQT_SIGNAL(busyLevelChanged(BusyLevel)),
- this, TQT_SLOT(slotBusyLevelChanged(BusyLevel) ));
+ connect(BusyLevelManager::instance(),TQ_SIGNAL(busyLevelChanged(BusyLevel)),
+ this, TQ_SLOT(slotBusyLevelChanged(BusyLevel) ));
// This event filter is here to make sure the pixmap view is aware of the changes
// in the keyboard modifiers, even if it isn't focused. However, making this widget