kwin/libkwineffects
Martin Gräßlin 18cccad806 Introduce a templated animationTime overload for the KConfigXT case
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
2012-11-25 20:19:31 +01:00
..
anidata.cpp use QELapsedTimer to measure animation delay 2012-11-14 21:16:32 +01:00
anidata_p.h use QELapsedTimer to measure animation delay 2012-11-14 21:16:32 +01:00
CMakeLists.txt Implement color correction (per output) 2012-11-13 22:47:09 +02:00
kwinanimationeffect.cpp use QELapsedTimer to measure animation delay 2012-11-14 21:16:32 +01:00
kwinanimationeffect.h use QELapsedTimer to measure animation delay 2012-11-14 21:16:32 +01:00
kwinconfig.h.cmake Provide OpenGL over Egl 2012-10-04 17:17:01 +02:00
kwineffects.cpp Implement color correction (per output) 2012-11-13 22:47:09 +02:00
kwineffects.h Introduce a templated animationTime overload for the KConfigXT case 2012-11-25 20:19:31 +01:00
kwinglcolorcorrection.cpp Implement color correction (per output) 2012-11-13 22:47:09 +02:00
kwinglcolorcorrection.h Implement color correction (per output) 2012-11-13 22:47:09 +02:00
kwinglcolorcorrection_p.h Pedantic 2012-11-14 21:43:13 +01:00
kwinglobals.cpp Ensure that Extension::init() is only performed once 2012-04-22 22:29:17 +02:00
kwinglobals.h kwin: Add a function that returns the xcb_connection_t 2012-11-07 22:13:12 +01:00
kwinglplatform.cpp Implement color correction (per output) 2012-11-13 22:47:09 +02:00
kwinglplatform.h Implement color correction (per output) 2012-11-13 22:47:09 +02:00
kwingltexture.cpp Introduce a build option KWIN_BUILD_OPENGL_1_COMPOSITING 2012-10-25 11:34:12 +02:00
kwingltexture.h kwin: adding proper clipping for transformed windows 2012-05-01 23:19:04 +02:00
kwingltexture_p.h kwin: cleaning up the GLTexture API 2012-01-31 23:10:58 +01:00
kwinglutils.cpp Implement color correction (per output) 2012-11-13 22:47:09 +02:00
kwinglutils.h Implement color correction (per output) 2012-11-13 22:47:09 +02:00
kwinglutils_funcs.cpp Fix buffer swap prototypes 2012-11-18 12:50:31 +01:00
kwinglutils_funcs.h Fix buffer swap prototypes 2012-11-18 12:50:31 +01:00
kwinxrenderutils.cpp add offscreen render support to xrender 2012-03-21 00:35:31 +01:00
kwinxrenderutils.h add offscreen render support to xrender 2012-03-21 00:35:31 +01:00
Mainpage.dox
Messages.sh Improve message extraction 2011-02-20 16:02:33 +01:00