MessageComposer::ImageScaling

MessageComposer::ImageScaling Class Reference

#include <imagescaling.h>

Public Member Functions

QString generateNewName ()
 
QByteArray imageArray () const
 
bool loadImageFromData (const QByteArray &data)
 
QByteArray mimetype () const
 
bool resizeImage ()
 
void setMimetype (const QByteArray &mimetype)
 
void setName (const QString &name)
 

Detailed Description

The ImageScaling class.

Author
Laurent Montel monte[email protected][email protected][email protected]e.org

Definition at line 19 of file imagescaling.h.

Member Function Documentation

QByteArray ImageScaling::imageArray ( ) const

imageArray

Returns
data from image after saving

Definition at line 145 of file imagescaling.cpp.

bool ImageScaling::loadImageFromData ( const QByteArray data)

loadImageFromData

Parameters
data
Returns
true if we can load image.

Definition at line 36 of file imagescaling.cpp.

QByteArray ImageScaling::mimetype ( ) const

mimetype

Returns
new image mimetype after saving.

Definition at line 117 of file imagescaling.cpp.

bool ImageScaling::resizeImage ( )

resizeImage

Returns
true if we are able to resize image

Definition at line 44 of file imagescaling.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 6 2020 23:12:02 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.