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.

Constructor & Destructor Documentation

◆ ImageScaling()

ImageScaling::ImageScaling ( )

Definition at line 24 of file imagescaling.cpp.

Member Function Documentation

◆ generateNewName()

QString ImageScaling::generateNewName ( )
nodiscard

Definition at line 147 of file imagescaling.cpp.

◆ imageArray()

QByteArray ImageScaling::imageArray ( ) const
nodiscard

imageArray

Returns
data from image after saving

Definition at line 142 of file imagescaling.cpp.

◆ loadImageFromData()

bool ImageScaling::loadImageFromData ( const QByteArray & data)
nodiscard

loadImageFromData

Parameters
data
Returns
true if we can load image.

Definition at line 31 of file imagescaling.cpp.

◆ mimetype()

QByteArray ImageScaling::mimetype ( ) const
nodiscard

mimetype

Returns
new image mimetype after saving.

Definition at line 114 of file imagescaling.cpp.

◆ resizeImage()

bool ImageScaling::resizeImage ( )
nodiscard

resizeImage

Returns
true if we are able to resize image

Definition at line 39 of file imagescaling.cpp.

◆ setMimetype()

void ImageScaling::setMimetype ( const QByteArray & mimetype)

Definition at line 132 of file imagescaling.cpp.

◆ setName()

void ImageScaling::setName ( const QString & name)

Definition at line 137 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-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.