diff options
author | Topi Reinio <topi.reinio@digia.com> | 2015-06-15 14:02:50 +0200 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@digia.com> | 2015-07-31 07:28:37 +0000 |
commit | f80143a69a7a3d79f7fe9a345ae89e385758367e (patch) | |
tree | 75835e7da0617e1aafa729398115f07e1dd8e941 /src/gui/image/qimage.cpp | |
parent | 8f3e7e3b47a25eccddba35f512b00097fd5f6930 (diff) |
Doc: Add a \target for license information within QImage documentation
This allows us to link to it from the Qt licensing information page.
Also, replace the \legalese command with \badcode in order to
keep the license text formatting intact.
Task-number: QTBUG-46478
Change-Id: I1b5100ca0373a533bd56852ab2a8f18e72404334
Reviewed-by: Sami Makkonen <sami.makkonen@digia.com>
Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
Diffstat (limited to 'src/gui/image/qimage.cpp')
-rw-r--r-- | src/gui/image/qimage.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/image/qimage.cpp b/src/gui/image/qimage.cpp index f0b3e89033..08eb759ec2 100644 --- a/src/gui/image/qimage.cpp +++ b/src/gui/image/qimage.cpp @@ -568,12 +568,13 @@ bool QImageData::checkForAlphaPixels() const \endtable + \target qimage-legalese \section1 Legal Information For smooth scaling, the transformed() functions use code based on smooth scaling algorithm by Daniel M. Duley. - \legalese + \badcode Copyright (C) 2004, 2005 Daniel M. Duley Redistribution and use in source and binary forms, with or without @@ -596,7 +597,7 @@ bool QImageData::checkForAlphaPixels() const THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - \endlegalese + \endcode \sa QImageReader, QImageWriter, QPixmap, QSvgRenderer, {Image Composition Example}, {Image Viewer Example}, {Scribble Example}, {Pixelator Example} |