diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-12 21:59:07 -0500 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-05 01:52:58 +0200 |
commit | cb576f4f81f0c269253b8eb89bc5970bf39ecd03 (patch) | |
tree | 764a673560367dd0fbe00cb4b9077b5b9dd1a344 /src/gvcore | |
parent | 3fca12717753db0913e0918b29e2b6411120e997 (diff) | |
download | gwenview-cb576f4f81f0c269253b8eb89bc5970bf39ecd03.tar.gz gwenview-cb576f4f81f0c269253b8eb89bc5970bf39ecd03.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.
(cherry picked from commit 1eac443e690763dd571aec664aba52f6683f9916)
Diffstat (limited to 'src/gvcore')
-rw-r--r-- | src/gvcore/fileviewcontroller.cpp | 2 | ||||
-rw-r--r-- | src/gvcore/imageviewtools.cpp | 2 |
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 { |