Public Member Functions

WallpaperITrans Class Reference

#include <wallpaperitrans.h>

List of all members.

Public Member Functions

 WallpaperITrans ()
 WallpaperITrans (const WallpaperITrans &orig)
WallpaperITransoperator= (const WallpaperITrans &rhs)
int operator* (const int i) const
WallpaperITransoperator+= (const QPointF &rsh)
int x () const
int y () const
qreal scale () const
void modScale (int i)
void setOffset (const QPointF &offset)
QPointF offset () const
void setScale (qreal scale)
void setExpectedSize (const QSize &size)
QSize expectedSize () const
int expectedWidth () const
int expectedHeight () const
M::Orientation orientation () const
void setOrientation (M::Orientation orientation)

Detailed Description

A class to manipulate and save images for the meego control panel wallpaper applet.


Constructor & Destructor Documentation

WallpaperITrans::WallpaperITrans (  ) 

Constructor for WallpaperITrans

WallpaperITrans::WallpaperITrans ( const WallpaperITrans orig  ) 
Parameters:
orig An another WallpaperITrans instance where this one should initialize its values

An overloaded constructor for WallpaperITrans


Member Function Documentation

int WallpaperITrans::expectedHeight (  )  const
Returns:
the expected height
QSize WallpaperITrans::expectedSize (  )  const
Returns:
the expected size
int WallpaperITrans::expectedWidth (  )  const
Returns:
the expected width
int WallpaperITrans::operator* ( const int  i  )  const

Scale operator for WallpaperITrans

WallpaperITrans & WallpaperITrans::operator+= ( const QPointF &  rhs  ) 

Offset operator for WallpaperITrans

WallpaperITrans & WallpaperITrans::operator= ( const WallpaperITrans rhs  ) 

Copy operator for WallpaperITrans

M::Orientation WallpaperITrans::orientation (  )  const

Returns the orientation set for the image transformation. The orientation is needed for the file saving, a separate portrait and landscape image file will be saved.

qreal WallpaperITrans::scale (  )  const
Returns:
The current scale value
void WallpaperITrans::setExpectedSize ( const QSize &  size  ) 
Parameters:
size The expected size

Method for setting the expected size

void WallpaperITrans::setOffset ( const QPointF &  offset  ) 
Parameters:
offset The new offset

Method for setting the offset

void WallpaperITrans::setOrientation ( M::Orientation  orientation  ) 

Method for set the orientation for the image transformation

Parameters:
orientation The wanted orientation
void WallpaperITrans::setScale ( qreal  scale  ) 
Parameters:
scale The scale value

Method for setting the scale

int WallpaperITrans::x (  )  const
Returns:
The X offset
int WallpaperITrans::y (  )  const
Returns:
The Y offset

The documentation for this class was generated from the following files: