• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Plasma

BackgroundListModel Class Reference

#include <backgroundlistmodel.h>

Inheritance diagram for BackgroundListModel:

Inheritance graph
[legend]

List of all members.


Public Member Functions

void addBackground (const QString &path)
 BackgroundListModel (float ratio, QObject *listener)
virtual bool contains (const QString &bg) const
virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
int indexOf (const QString &path) const
Background * package (int index) const
void reload (const QStringList &selected)
void reload ()
void removeBackground (const QString &path)
virtual int rowCount (const QModelIndex &parent=QModelIndex()) const
virtual ~BackgroundListModel ()

Static Public Member Functions

static QList< Background * > findAllBackgrounds (const BackgroundContainer *container, const QString &path, float ratio)

Detailed Description

Definition at line 25 of file backgroundlistmodel.h.


Constructor & Destructor Documentation

BackgroundListModel::BackgroundListModel ( float  ratio,
QObject *  listener 
)

Definition at line 21 of file backgroundlistmodel.cpp.

BackgroundListModel::~BackgroundListModel (  )  [virtual]

Definition at line 97 of file backgroundlistmodel.cpp.


Member Function Documentation

void BackgroundListModel::addBackground ( const QString &  path  ) 

Definition at line 71 of file backgroundlistmodel.cpp.

bool BackgroundListModel::contains ( const QString &  bg  )  const [virtual]

Implements BackgroundContainer.

Definition at line 92 of file backgroundlistmodel.cpp.

QVariant BackgroundListModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const [virtual]

Definition at line 109 of file backgroundlistmodel.cpp.

QList< Background * > BackgroundListModel::findAllBackgrounds ( const BackgroundContainer *  container,
const QString &  path,
float  ratio 
) [static]

Definition at line 149 of file backgroundlistmodel.cpp.

int BackgroundListModel::indexOf ( const QString &  path  )  const

Definition at line 82 of file backgroundlistmodel.cpp.

Background * BackgroundListModel::package ( int  index  )  const

Definition at line 144 of file backgroundlistmodel.cpp.

void BackgroundListModel::reload ( const QStringList &  selected  ) 

Definition at line 43 of file backgroundlistmodel.cpp.

void BackgroundListModel::reload (  ) 

Definition at line 38 of file backgroundlistmodel.cpp.

void BackgroundListModel::removeBackground ( const QString &  path  ) 

Definition at line 28 of file backgroundlistmodel.cpp.

int BackgroundListModel::rowCount ( const QModelIndex &  parent = QModelIndex()  )  const [virtual]

Definition at line 104 of file backgroundlistmodel.cpp.


The documentation for this class was generated from the following files:
  • backgroundlistmodel.h
  • backgroundlistmodel.cpp

Plasma

Skip menu "Plasma"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal