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

Plasma

PlasmaWebApplet Class Reference

#include <plasmawebapplet.h>

Inheritance diagram for PlasmaWebApplet:
Inheritance graph
[legend]

List of all members.

Public Slots

QVariant arg (int index) const
int aspectRatioMode ()
int backgroundHints ()
QObject * config ()
void configChanged ()
QObject * dataEngine (const QString &name)
void dataUpdated (const QString &source, const Plasma::DataEngine::Data &data)
QVariantList geometry ()
QVariantList getContentsMargins ()
QObject * globalConfig ()
bool isBusy () const
void makeStylesheet ()
QVariantList maximumSize ()
QVariantList minimumSize ()
QObject * objArg (int index) const
QVariantList pos ()
QVariantList preferredSize ()
void resize (qreal w, qreal h)
QVariantList screenRect ()
void setAspectRatioMode (int mode)
void setBackgroundHints (int hints)
void setBusy (bool busy)
void setConfigurationRequired (bool needsConfiguring, const QString &reason=QString())
void setFailedToLaunch (bool failed, const QString &reason=QString())
void setGeometry (qreal x, qreal y, qreal w, qreal h)
void setMaximumSize (qreal w, qreal h)
void setMinimumSize (qreal w, qreal h)
void setPos (qreal x, qreal y)
void setPreferredSize (qreal w, qreal h)
void setScrollBarPolicy (int orientation, int policy)
QVariantList size ()
void themeChanged ()
void update ()

Public Member Functions

 PlasmaWebApplet (QObject *parent, const QVariantList &args)
virtual ~PlasmaWebApplet ()
QString category () const
int formFactor () const
QString icon () const
uint id () const
virtual bool init ()
int location () const
QString name () const
QString pluginName () const
bool shouldConserveResources () const

Protected Slots

virtual void initJsObjects ()
virtual void loadFinished (bool success)

Protected Member Functions

QVariant callJsFunction (const QString &func, const QVariantList &args=QVariantList())
void constraintsEvent (Plasma::Constraints constraints)

Properties

QString category
int formFactor
QString icon
uint id
int location
QString name
QString pluginName

Detailed Description

Definition at line 32 of file plasmawebapplet.h.


Constructor & Destructor Documentation

PlasmaWebApplet::PlasmaWebApplet ( QObject *  parent,
const QVariantList &  args 
)

Definition at line 100 of file plasmawebapplet.cpp.

PlasmaWebApplet::~PlasmaWebApplet (  )  [virtual]

Definition at line 149 of file plasmawebapplet.cpp.


Member Function Documentation

QVariant PlasmaWebApplet::arg ( int  index  )  const [slot]

Definition at line 215 of file plasmawebapplet.cpp.

int PlasmaWebApplet::aspectRatioMode (  )  [slot]

Definition at line 369 of file plasmawebapplet.cpp.

int PlasmaWebApplet::backgroundHints (  )  [slot]

Definition at line 364 of file plasmawebapplet.cpp.

QVariant PlasmaWebApplet::callJsFunction ( const QString &  func,
const QVariantList &  args = QVariantList() 
) [protected]

Definition at line 310 of file plasmawebapplet.cpp.

QString PlasmaWebApplet::category (  )  const
QObject * PlasmaWebApplet::config (  )  [slot]

Definition at line 277 of file plasmawebapplet.cpp.

void PlasmaWebApplet::configChanged (  )  [slot]

Definition at line 339 of file plasmawebapplet.cpp.

void PlasmaWebApplet::constraintsEvent ( Plasma::Constraints  constraints  )  [protected]

Definition at line 200 of file plasmawebapplet.cpp.

QObject * PlasmaWebApplet::dataEngine ( const QString &  name  )  [slot]

Definition at line 265 of file plasmawebapplet.cpp.

void PlasmaWebApplet::dataUpdated ( const QString &  source,
const Plasma::DataEngine::Data &  data 
) [slot]

Definition at line 332 of file plasmawebapplet.cpp.

int PlasmaWebApplet::formFactor (  )  const
QVariantList PlasmaWebApplet::geometry (  )  [slot]

Definition at line 352 of file plasmawebapplet.cpp.

QVariantList PlasmaWebApplet::getContentsMargins (  )  [slot]

Definition at line 410 of file plasmawebapplet.cpp.

QObject * PlasmaWebApplet::globalConfig (  )  [slot]

Definition at line 283 of file plasmawebapplet.cpp.

QString PlasmaWebApplet::icon (  )  const
uint PlasmaWebApplet::id (  )  const
bool PlasmaWebApplet::init ( void   )  [virtual]

Reimplemented from WebApplet.

Definition at line 153 of file plasmawebapplet.cpp.

void PlasmaWebApplet::initJsObjects (  )  [protected, virtual, slot]

Reimplemented from WebApplet.

Definition at line 344 of file plasmawebapplet.cpp.

bool PlasmaWebApplet::isBusy (  )  const [slot]

Definition at line 450 of file plasmawebapplet.cpp.

void PlasmaWebApplet::loadFinished ( bool  success  )  [protected, virtual, slot]

Reimplemented from WebApplet.

Definition at line 191 of file plasmawebapplet.cpp.

int PlasmaWebApplet::location (  )  const
void PlasmaWebApplet::makeStylesheet (  )  [slot]

Definition at line 165 of file plasmawebapplet.cpp.

QVariantList PlasmaWebApplet::maximumSize (  )  [slot]

Definition at line 394 of file plasmawebapplet.cpp.

QVariantList PlasmaWebApplet::minimumSize (  )  [slot]

Definition at line 399 of file plasmawebapplet.cpp.

QString PlasmaWebApplet::name (  )  const
QObject * PlasmaWebApplet::objArg ( int  index  )  const [slot]

Definition at line 220 of file plasmawebapplet.cpp.

QString PlasmaWebApplet::pluginName (  )  const
QVariantList PlasmaWebApplet::pos (  )  [slot]

Definition at line 430 of file plasmawebapplet.cpp.

QVariantList PlasmaWebApplet::preferredSize (  )  [slot]

Definition at line 404 of file plasmawebapplet.cpp.

void PlasmaWebApplet::resize ( qreal  w,
qreal  h 
) [slot]

Definition at line 289 of file plasmawebapplet.cpp.

QVariantList PlasmaWebApplet::screenRect (  )  [slot]

Definition at line 358 of file plasmawebapplet.cpp.

void PlasmaWebApplet::setAspectRatioMode ( int  mode  )  [slot]

Definition at line 305 of file plasmawebapplet.cpp.

void PlasmaWebApplet::setBackgroundHints ( int  hints  )  [slot]

Definition at line 294 of file plasmawebapplet.cpp.

void PlasmaWebApplet::setBusy ( bool  busy  )  [slot]

Definition at line 455 of file plasmawebapplet.cpp.

void PlasmaWebApplet::setConfigurationRequired ( bool  needsConfiguring,
const QString &  reason = QString() 
) [slot]

Definition at line 374 of file plasmawebapplet.cpp.

void PlasmaWebApplet::setFailedToLaunch ( bool  failed,
const QString &  reason = QString() 
) [slot]

Definition at line 440 of file plasmawebapplet.cpp.

void PlasmaWebApplet::setGeometry ( qreal  x,
qreal  y,
qreal  w,
qreal  h 
) [slot]

Definition at line 420 of file plasmawebapplet.cpp.

void PlasmaWebApplet::setMaximumSize ( qreal  w,
qreal  h 
) [slot]

Definition at line 379 of file plasmawebapplet.cpp.

void PlasmaWebApplet::setMinimumSize ( qreal  w,
qreal  h 
) [slot]

Definition at line 384 of file plasmawebapplet.cpp.

void PlasmaWebApplet::setPos ( qreal  x,
qreal  y 
) [slot]

Definition at line 425 of file plasmawebapplet.cpp.

void PlasmaWebApplet::setPreferredSize ( qreal  w,
qreal  h 
) [slot]

Definition at line 389 of file plasmawebapplet.cpp.

void PlasmaWebApplet::setScrollBarPolicy ( int  orientation,
int  policy 
) [slot]

Definition at line 299 of file plasmawebapplet.cpp.

bool PlasmaWebApplet::shouldConserveResources (  )  const

Definition at line 260 of file plasmawebapplet.cpp.

QVariantList PlasmaWebApplet::size (  )  [slot]

Definition at line 435 of file plasmawebapplet.cpp.

void PlasmaWebApplet::themeChanged (  )  [slot]

Definition at line 185 of file plasmawebapplet.cpp.

void PlasmaWebApplet::update ( void   )  [slot]

Definition at line 445 of file plasmawebapplet.cpp.


Property Documentation

QString PlasmaWebApplet::category [read]

Definition at line 39 of file plasmawebapplet.h.

int PlasmaWebApplet::formFactor [read]

Definition at line 40 of file plasmawebapplet.h.

QString PlasmaWebApplet::icon [read]

Definition at line 38 of file plasmawebapplet.h.

uint PlasmaWebApplet::id [read]

Definition at line 36 of file plasmawebapplet.h.

int PlasmaWebApplet::location [read]

Definition at line 41 of file plasmawebapplet.h.

QString PlasmaWebApplet::name [read]

Definition at line 35 of file plasmawebapplet.h.

QString PlasmaWebApplet::pluginName [read]

Definition at line 37 of file plasmawebapplet.h.


The documentation for this class was generated from the following files:
  • plasmawebapplet.h
  • plasmawebapplet.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
  • System Settings
  •   SystemSettingsView
Generated for API Reference by doxygen 1.5.9-20090814
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