MessageComposer::ImageScaling

Search for usage in LXR

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.nosp@m.l@kd.nosp@m.e.org

Definition at line 20 of file imagescaling.h.

Member Function Documentation

◆ imageArray()

QByteArray ImageScaling::imageArray ( ) const

imageArray

Returns
data from image after saving

Definition at line 142 of file imagescaling.cpp.

◆ loadImageFromData()

bool ImageScaling::loadImageFromData ( const QByteArray data)

loadImageFromData

Parameters
data
Returns
true if we can load image.

Definition at line 31 of file imagescaling.cpp.

◆ mimetype()

QByteArray ImageScaling::mimetype ( ) const

mimetype

Returns
new image mimetype after saving.

Definition at line 114 of file imagescaling.cpp.

◆ resizeImage()

bool ImageScaling::resizeImage ( )

resizeImage

Returns
true if we are able to resize image

Definition at line 39 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-2023 The KDE developers.
Generated on Sat Sep 30 2023 03:53:40 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.