[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/kstyles/oxygen
From:       Hugo Pereira Da Costa <hugo.pereira () free ! fr>
Date:       2010-06-05 17:55:04
Message-ID: 20100605175504.7141BAC8CA () svn ! kde ! org
[Download RAW message or body]

SVN commit 1134918 by hpereiradacosta:

moved animation modes enumeration to separate header.


 M  +1 -11     animations/oxygenwidgetstateengine.h  
 AM            oxygenanimationmodes.h   [License: BSD X11 (BSD like)]
 M  +1 -1      oxygenstylehelper.h  


--- trunk/KDE/kdebase/workspace/kstyles/oxygen/animations/oxygenwidgetstateengine.h #1134917:1134918
@@ -30,21 +30,11 @@
 #include "oxygenbaseengine.h"
 #include "oxygendatamap.h"
 #include "oxygenwidgetstatedata.h"
+#include "oxygenanimationmodes.h"
 
 namespace Oxygen
 {
 
-    //! animation mode
-    enum AnimationMode
-    {
-        AnimationNone = 0,
-        AnimationHover = 1<<0,
-        AnimationFocus = 1<<1,
-        AnimationEnable = 1<<2
-    };
-
-    Q_DECLARE_FLAGS(AnimationModes, AnimationMode)
-
     //! used for simple widgets
     class WidgetStateEngine: public BaseEngine
     {
--- trunk/KDE/kdebase/workspace/kstyles/oxygen/oxygenstylehelper.h #1134917:1134918
@@ -23,7 +23,7 @@
  */
 
 #include "oxygenhelper.h"
-#include "oxygenwidgetstateengine.h"
+#include "oxygenanimationmodes.h"
 
 //! helper class
 /*! contains utility functions used at multiple places in oxygen style */
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic