neeeeeeeemoooooooooooooooo
authorkoda
Sat, 03 Dec 2011 12:00:32 +0100
changeset 6476 afb7ef0c1c6e
parent 6475 fb50269c3953
child 6477 ad5741c252b9
neeeeeeeemoooooooooooooooo
QTfrontend/hwform.cpp
--- a/QTfrontend/hwform.cpp	Sat Dec 03 11:32:34 2011 +0100
+++ b/QTfrontend/hwform.cpp	Sat Dec 03 12:00:32 2011 +0100
@@ -562,7 +562,7 @@
     {
         /**Start animation :**/
         int coeff = 1;
-#ifndef Q_OS_OSX
+#ifndef Q_OS_MAC
         coeff = 2;
         QGraphicsOpacityEffect *effectNew = new QGraphicsOpacityEffect(ui.Pages->widget(id));
         ui.Pages->widget(id)->setGraphicsEffect(effectNew);
@@ -578,7 +578,7 @@
         animationNewSlide->setEndValue(QPoint(0, 0));
         animationNewSlide->setEasingCurve(QEasingCurve::OutExpo);
 
-#ifndef Q_OS_OSX
+#ifndef Q_OS_MAC
         animationNewOpacity = new QPropertyAnimation(effectNew, "opacity");
         animationNewOpacity->setDuration(500);
         animationNewOpacity->setStartValue(0.01);
@@ -595,7 +595,7 @@
         animationOldSlide->setEndValue(QPoint(-width()/coeff, 0));
         animationOldSlide->setEasingCurve(QEasingCurve::OutExpo);
 
-#ifndef Q_OS_OSX
+#ifndef Q_OS_MAC
         animationOldOpacity = new QPropertyAnimation(effectLast, "opacity");
         animationOldOpacity->setDuration(500);
         animationOldOpacity->setStartValue(1);
@@ -606,7 +606,7 @@
         QParallelAnimationGroup *group = new QParallelAnimationGroup;
         group->addAnimation(animationOldSlide);
         group->addAnimation(animationNewSlide);
-#ifndef Q_OS_OSX
+#ifndef Q_OS_MAC
         group->addAnimation(animationOldOpacity);
         group->addAnimation(animationNewOpacity);
 #endif
@@ -668,7 +668,7 @@
     if (curid != 0 && frontendEffects && !stopAnim)
     {
         int coeff = 1;
-#ifndef Q_OS_OSX
+#ifndef Q_OS_MAC
         coeff = 2;
         QGraphicsOpacityEffect *effectNew = new QGraphicsOpacityEffect(ui.Pages->widget(id));
         effectNew->setOpacity(1);
@@ -685,7 +685,7 @@
         animationOldSlide->setEndValue(QPoint(0, 0));
         animationOldSlide->setEasingCurve(QEasingCurve::OutExpo);
 
-#ifndef Q_OS_OSX
+#ifndef Q_OS_MAC
         animationOldOpacity = new QPropertyAnimation(effectLast, "opacity");
         animationOldOpacity->setDuration(500);
         animationOldOpacity->setStartValue(1);
@@ -701,7 +701,7 @@
         animationNewSlide->setEndValue(QPoint(width()/coeff, 0));
         animationNewSlide->setEasingCurve(QEasingCurve::OutExpo);
 
-#ifndef Q_OS_OSX
+#ifndef Q_OS_MAC
         animationNewOpacity = new QPropertyAnimation(effectNew, "opacity");
         animationNewOpacity->setDuration(500);
         animationNewOpacity->setStartValue(0.01);
@@ -712,7 +712,7 @@
         QParallelAnimationGroup *group = new QParallelAnimationGroup;
         group->addAnimation(animationOldSlide);
         group->addAnimation(animationNewSlide);
-#ifndef Q_OS_OSX
+#ifndef Q_OS_MAC
         group->addAnimation(animationOldOpacity);
         group->addAnimation(animationNewOpacity);
 #endif