From 504f1cbe4389d92017a08df6f05c2bbdeeec6993 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Mon, 31 Oct 2005 13:25:30 +0000 Subject: [PATCH] KSeparator adapt api changes + other qt3support-- svn path=/trunk/KDE/kdebase/kdesktop/lock/; revision=476080 --- clients/modernsystem/config/config.cpp | 2 +- kcmkwin/kwinoptions/windows.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/modernsystem/config/config.cpp b/clients/modernsystem/config/config.cpp index 217ab1401f..58ca23827a 100644 --- a/clients/modernsystem/config/config.cpp +++ b/clients/modernsystem/config/config.cpp @@ -56,7 +56,7 @@ ModernSysConfig::ModernSysConfig(KConfig* conf, QWidget* parent) : QObject(paren handleSizeSlider->setWhatsThis( i18n("Here you can change the size of the resize handle.")); handleSizeSlider->setTickInterval(1); - handleSizeSlider->setTickmarks(QSlider::Below); + handleSizeSlider->setTickmarks(QSlider::TicksBelow); connect(handleSizeSlider, SIGNAL(valueChanged(int)), this, SLOT(slotSelectionChanged())); hbox = new KHBox(sliderBox); diff --git a/kcmkwin/kwinoptions/windows.cpp b/kcmkwin/kwinoptions/windows.cpp index 61bc691544..c237ad095a 100644 --- a/kcmkwin/kwinoptions/windows.cpp +++ b/kcmkwin/kwinoptions/windows.cpp @@ -814,7 +814,7 @@ KMovingConfig::KMovingConfig (bool _standAlone, KConfig *_config, KInstance *ins minimizeAnimSlider = new QSlider(0,10,10,0,Qt::Horizontal, windowsBox); minimizeAnimSlider->setSteps(1, 1); - // QSlider::Below clashes with a X11/X.h #define + // QSlider::TicksBelow clashes with a X11/X.h #define #undef Below minimizeAnimSlider->setTickmarks(QSlider::TicksBelow); rLay->addMultiCellWidget(minimizeAnimSlider,0,0,1,2);