Plasma
Background Class Reference
#include <backgroundpackage.h>

Public Types | |
| enum | ResizeMethod { Scale, Center, ScaleCrop, Tiled, CenterTiled, Maxpect } |
Public Member Functions | |
| virtual QString | author () const =0 |
| virtual QString | email () const =0 |
| virtual QString | findBackground (const QSize &resolution, ResizeMethod method) const =0 |
| virtual void | generateScreenshot (QPersistentModelIndex index) const =0 |
| virtual bool | isValid () const =0 |
| virtual QString | license () const =0 |
| virtual QString | path () const =0 |
| virtual QPixmap | screenshot () const =0 |
| virtual bool | screenshotGenerationStarted () const =0 |
| virtual QString | title () const =0 |
| virtual | ~Background () |
Static Public Attributes | |
| static const int | SCREENSHOT_HEIGHT = 60 |
Static Protected Member Functions | |
| static QImage | createScreenshot (const QString &path, float ratio) |
| static QImage | defaultScreenshot () |
Detailed Description
Definition at line 41 of file backgroundpackage.h.
Member Enumeration Documentation
Definition at line 45 of file backgroundpackage.h.
Constructor & Destructor Documentation
| Background::~Background | ( | ) | [virtual] |
Definition at line 97 of file backgroundpackage.cpp.
Member Function Documentation
| virtual QString Background::author | ( | ) | const [pure virtual] |
Implemented in BackgroundPackage, and BackgroundFile.
Definition at line 101 of file backgroundpackage.cpp.
| QImage Background::defaultScreenshot | ( | ) | [static, protected] |
Definition at line 126 of file backgroundpackage.cpp.
| virtual QString Background::email | ( | ) | const [pure virtual] |
Implemented in BackgroundPackage, and BackgroundFile.
| virtual QString Background::findBackground | ( | const QSize & | resolution, | |
| ResizeMethod | method | |||
| ) | const [pure virtual] |
Implemented in BackgroundPackage, and BackgroundFile.
| virtual void Background::generateScreenshot | ( | QPersistentModelIndex | index | ) | const [pure virtual] |
Implemented in BackgroundPackage, and BackgroundFile.
| virtual bool Background::isValid | ( | ) | const [pure virtual] |
Implemented in BackgroundPackage, and BackgroundFile.
| virtual QString Background::license | ( | ) | const [pure virtual] |
Implemented in BackgroundPackage, and BackgroundFile.
| virtual QString Background::path | ( | ) | const [pure virtual] |
Implemented in BackgroundPackage, and BackgroundFile.
| virtual QPixmap Background::screenshot | ( | ) | const [pure virtual] |
Implemented in BackgroundPackage, and BackgroundFile.
| virtual bool Background::screenshotGenerationStarted | ( | ) | const [pure virtual] |
Implemented in BackgroundPackage, and BackgroundFile.
| virtual QString Background::title | ( | ) | const [pure virtual] |
Implemented in BackgroundPackage, and BackgroundFile.
Member Data Documentation
const int Background::SCREENSHOT_HEIGHT = 60 [static] |
Definition at line 54 of file backgroundpackage.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference