18cccad806
This method can be used to get the animationTime in case a configuration class generated through KConfigXT is used. In general the configuration stores the magic value 0 for a property "duration". This magic value indicates that a hard-coded default value should be used. So the common logic to test the stored value for 0 and then either pass the stored value or the default value to animationTime is encapsulated in this method in a generic way. A MyEffect can use it in the following way: animationTime<MyEffectConfig>(200); BUG: 310646 FIXED-IN: 4.10 REVIEW: 107460 |
||
---|---|---|
.. | ||
anidata.cpp | ||
anidata_p.h | ||
CMakeLists.txt | ||
kwinanimationeffect.cpp | ||
kwinanimationeffect.h | ||
kwinconfig.h.cmake | ||
kwineffects.cpp | ||
kwineffects.h | ||
kwinglcolorcorrection.cpp | ||
kwinglcolorcorrection.h | ||
kwinglcolorcorrection_p.h | ||
kwinglobals.cpp | ||
kwinglobals.h | ||
kwinglplatform.cpp | ||
kwinglplatform.h | ||
kwingltexture.cpp | ||
kwingltexture.h | ||
kwingltexture_p.h | ||
kwinglutils.cpp | ||
kwinglutils.h | ||
kwinglutils_funcs.cpp | ||
kwinglutils_funcs.h | ||
kwinxrenderutils.cpp | ||
kwinxrenderutils.h | ||
Mainpage.dox | ||
Messages.sh |