diff options
author | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2009-05-14 15:16:11 (GMT) |
---|---|---|
committer | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2009-05-15 11:56:32 (GMT) |
commit | 92ff29b161709f4503d628e468c0eec1daf5835a (patch) | |
tree | 0cb1d1cdf2c9b585c55152530748c03534049dde /src/corelib/animation/qpropertyanimation.cpp | |
parent | 077c35c2fc4b41846e953c2e880ce1bff396a715 (diff) | |
download | Qt-92ff29b161709f4503d628e468c0eec1daf5835a.zip Qt-92ff29b161709f4503d628e468c0eec1daf5835a.tar.gz Qt-92ff29b161709f4503d628e468c0eec1daf5835a.tar.bz2 |
Indentation and whitespace fixes in animation api
Diffstat (limited to 'src/corelib/animation/qpropertyanimation.cpp')
-rw-r--r-- | src/corelib/animation/qpropertyanimation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/animation/qpropertyanimation.cpp b/src/corelib/animation/qpropertyanimation.cpp index 96cfa6b..1755aa7 100644 --- a/src/corelib/animation/qpropertyanimation.cpp +++ b/src/corelib/animation/qpropertyanimation.cpp @@ -48,14 +48,14 @@ QPropertyAnimation interpolates over \l{Qt's Property System}{Qt properties}. As property values are stored in \l{QVariant}s, the class inherits QVariantAnimation, and supports animation of the - same \l{QVariant::Type}{variant types} as its super class. + same \l{QVariant::Type}{variant types} as its super class. A class declaring properties must be a QObject. To make it possible to animate a property, it must provide a setter (so that QPropertyAnimation can set the property's value). Note that this makes it possible to animate many of Qt's widgets. Let's look at an example: - + \code QPropertyAnimation animation(myWidget, "geometry"); animation.setDuration(10000); |