summaryrefslogtreecommitdiffstats
path: root/src/gvcore
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-12 21:59:07 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-12 21:59:07 -0500
commit1eac443e690763dd571aec664aba52f6683f9916 (patch)
tree51aea2f8203898e0e015b0dc9157fd9bc264151c /src/gvcore
parent303be4553ad5bbe79d50a8708cf1f8f0e4d220af (diff)
downloadgwenview-1eac443e690763dd571aec664aba52f6683f9916.tar.gz
gwenview-1eac443e690763dd571aec664aba52f6683f9916.zip
Fix inadvertent tqt changes. Part of an extensive cleanup of various problems
with kipi-plugins, digikam, and gwenview to resolve bug reports 241, 962, 963.
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 {