summaryrefslogtreecommitdiffstats
path: root/src/gvcore
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore')
-rw-r--r--src/gvcore/fileviewcontroller.cpp2
-rw-r--r--src/gvcore/imageviewtools.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gvcore/fileviewcontroller.cpp b/src/gvcore/fileviewcontroller.cpp
index 86a0282..a8d0bee 100644
--- a/src/gvcore/fileviewcontroller.cpp
+++ b/src/gvcore/fileviewcontroller.cpp
@@ -309,7 +309,7 @@ FileViewController::FileViewController(TQWidget* parent,KActionCollection* actio
mBottomThumbnailMode->setExclusiveGroup("thumbnails");
// Size slider
- mSizeSlider=new TQSlider(Qt::Horizontal, d->mToolBar);
+ mSizeSlider=new TQSlider(Horizontal, d->mToolBar);
mSizeSlider->setFixedWidth(120);
mSizeSlider->setRange(
ThumbnailSize::MIN/SLIDER_RESOLUTION,
diff --git a/src/gvcore/imageviewtools.cpp b/src/gvcore/imageviewtools.cpp
index da9044a..a749ff3 100644
--- a/src/gvcore/imageviewtools.cpp
+++ b/src/gvcore/imageviewtools.cpp
@@ -177,7 +177,7 @@ void ImageView::ScrollTool::wheelEvent(TQWheelEvent* event) {
if (ImageViewConfig::mouseWheelScroll()) {
int deltaX, deltaY;
- if (event->state() & AltButton || event->orientation()==Qt::Horizontal) {
+ if (event->state() & AltButton || event->orientation()==Horizontal) {
deltaX = event->delta();
deltaY = 0;
} else {