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 ( )

Definition at line 147 of file imagescaling.cpp.

◆ 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.

◆ 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 Tue Mar 26 2024 11:12:44 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.