Applets
SM::Applet Class Reference
#include <applet.h>

Public Types | |
| enum | Detail { High, Low } |
| enum | Mode { Monitor, Panel, Desktop } |
Signals | |
| void | geometryChecked () |
Public Member Functions | |
| Applet (QObject *parent, const QVariantList &args) | |
| virtual void | constraintsEvent (Plasma::Constraints constraints) |
| QSizeF | minSize () const |
| ~Applet () | |
Protected Member Functions | |
| virtual bool | addMeter (const QString &) |
| void | appendItem (const QString &item) |
| void | appendKeepRatio (QGraphicsWidget *w) |
| void | appendMeter (const QString &source, Plasma::Meter *meter) |
| void | appendPlotter (const QString &source, Plasma::SignalPlotter *plotter) |
| void | checkGeometry () |
| void | clearItems () |
| QStringList | connectedSources () |
| void | connectSource (const QString &source) |
| void | connectToEngine () |
| virtual void | deleteMeters (QGraphicsLinearLayout *layout=0) |
| Detail | detail () |
| void | disconnectSources () |
| void | displayNoAvailableSources () |
| Plasma::DataEngine * | engine () |
| Plasma::Frame * | header () |
| uint | interval () |
| QStringList | items () |
| QGraphicsLinearLayout * | mainLayout () |
| QHash< QString, Plasma::Meter * > | meters () |
| qreal | minimumWidth () |
| Mode | mode () |
| Qt::Orientation | orientation () |
| KConfigGroup | persistentConfig () const |
| QHash< QString, Plasma::SignalPlotter * > | plotters () |
| qreal | preferredItemHeight () |
| Qt::Orientation | ratioOrientation () |
| virtual void | setDetail (Detail detail) |
| void | setEngine (Plasma::DataEngine *engine) |
| void | setInterval (uint interval) |
| void | setItems (const QStringList &items) |
| void | setMinimumWidth (qreal minimumWidth) |
| void | setPreferredItemHeight (qreal preferredItemHeight) |
| void | setRatioOrientation (Qt::Orientation ratioOrientation) |
| void | setTitle (const QString &title, bool spacer=false) |
| QString | title () |
| bool | titleSpacer () |
Detailed Description
Definition at line 40 of file system-monitor/applet.h.
Member Enumeration Documentation
| enum SM::Applet::Detail |
| enum SM::Applet::Mode |
Constructor & Destructor Documentation
| SM::Applet::Applet | ( | QObject * | parent, | |
| const QVariantList & | args | |||
| ) |
Definition at line 32 of file system-monitor/applet.cpp.
| SM::Applet::~Applet | ( | ) |
Definition at line 61 of file system-monitor/applet.cpp.
Member Function Documentation
| virtual bool SM::Applet::addMeter | ( | const QString & | ) | [inline, protected, virtual] |
Reimplemented in SM::Cpu, HWInfo, and SM::Net.
Definition at line 95 of file system-monitor/applet.h.
| void SM::Applet::appendItem | ( | const QString & | item | ) | [inline, protected] |
Definition at line 73 of file system-monitor/applet.h.
| void SM::Applet::appendKeepRatio | ( | QGraphicsWidget * | w | ) | [inline, protected] |
Definition at line 82 of file system-monitor/applet.h.
| void SM::Applet::appendMeter | ( | const QString & | source, | |
| Plasma::Meter * | meter | |||
| ) | [inline, protected] |
Definition at line 84 of file system-monitor/applet.h.
| void SM::Applet::appendPlotter | ( | const QString & | source, | |
| Plasma::SignalPlotter * | plotter | |||
| ) | [inline, protected] |
Definition at line 87 of file system-monitor/applet.h.
| void SM::Applet::checkGeometry | ( | ) | [protected] |
Definition at line 201 of file system-monitor/applet.cpp.
| void SM::Applet::clearItems | ( | ) | [inline, protected] |
Definition at line 75 of file system-monitor/applet.h.
| QStringList SM::Applet::connectedSources | ( | ) | [inline, protected] |
Definition at line 76 of file system-monitor/applet.h.
| void SM::Applet::connectSource | ( | const QString & | source | ) | [protected] |
Definition at line 252 of file system-monitor/applet.cpp.
| void SM::Applet::connectToEngine | ( | ) | [protected] |
Definition at line 171 of file system-monitor/applet.cpp.
| void SM::Applet::constraintsEvent | ( | Plasma::Constraints | constraints | ) | [virtual] |
Definition at line 73 of file system-monitor/applet.cpp.
| void SM::Applet::deleteMeters | ( | QGraphicsLinearLayout * | layout = 0 |
) | [protected, virtual] |
Definition at line 271 of file system-monitor/applet.cpp.
| Detail SM::Applet::detail | ( | ) | [inline, protected] |
Definition at line 91 of file system-monitor/applet.h.
| void SM::Applet::disconnectSources | ( | ) | [protected] |
Definition at line 260 of file system-monitor/applet.cpp.
| void SM::Applet::displayNoAvailableSources | ( | ) | [protected] |
Definition at line 293 of file system-monitor/applet.cpp.
| Plasma::DataEngine* SM::Applet::engine | ( | ) | [inline, protected] |
Definition at line 78 of file system-monitor/applet.h.
| void SM::Applet::geometryChecked | ( | ) | [signal] |
| Plasma::Frame* SM::Applet::header | ( | ) | [inline, protected] |
Definition at line 71 of file system-monitor/applet.h.
| uint SM::Applet::interval | ( | ) | [inline, protected] |
Definition at line 64 of file system-monitor/applet.h.
| QStringList SM::Applet::items | ( | ) | [inline, protected] |
Definition at line 72 of file system-monitor/applet.h.
| QGraphicsLinearLayout * SM::Applet::mainLayout | ( | ) | [protected] |
Definition at line 160 of file system-monitor/applet.cpp.
Definition at line 83 of file system-monitor/applet.h.
| qreal SM::Applet::minimumWidth | ( | ) | [inline, protected] |
Definition at line 92 of file system-monitor/applet.h.
| QSizeF SM::Applet::minSize | ( | ) | const [inline] |
Definition at line 51 of file system-monitor/applet.h.
| Mode SM::Applet::mode | ( | ) | [inline, protected] |
Definition at line 90 of file system-monitor/applet.h.
| Qt::Orientation SM::Applet::orientation | ( | ) | [inline, protected] |
Definition at line 89 of file system-monitor/applet.h.
| KConfigGroup SM::Applet::persistentConfig | ( | ) | const [protected] |
Definition at line 67 of file system-monitor/applet.cpp.
Definition at line 86 of file system-monitor/applet.h.
| qreal SM::Applet::preferredItemHeight | ( | ) | [inline, protected] |
Definition at line 66 of file system-monitor/applet.h.
| Qt::Orientation SM::Applet::ratioOrientation | ( | ) | [inline, protected] |
Definition at line 79 of file system-monitor/applet.h.
| void SM::Applet::setDetail | ( | Detail | detail | ) | [protected, virtual] |
| void SM::Applet::setEngine | ( | Plasma::DataEngine * | engine | ) | [inline, protected] |
Definition at line 77 of file system-monitor/applet.h.
| void SM::Applet::setInterval | ( | uint | interval | ) | [inline, protected] |
Definition at line 65 of file system-monitor/applet.h.
| void SM::Applet::setItems | ( | const QStringList & | items | ) | [inline, protected] |
Definition at line 74 of file system-monitor/applet.h.
| void SM::Applet::setMinimumWidth | ( | qreal | minimumWidth | ) | [inline, protected] |
Definition at line 93 of file system-monitor/applet.h.
| void SM::Applet::setPreferredItemHeight | ( | qreal | preferredItemHeight | ) | [inline, protected] |
Definition at line 67 of file system-monitor/applet.h.
| void SM::Applet::setRatioOrientation | ( | Qt::Orientation | ratioOrientation | ) | [inline, protected] |
Definition at line 80 of file system-monitor/applet.h.
| void SM::Applet::setTitle | ( | const QString & | title, | |
| bool | spacer = false | |||
| ) | [protected] |
Definition at line 151 of file system-monitor/applet.cpp.
| QString SM::Applet::title | ( | ) | [inline, protected] |
Definition at line 69 of file system-monitor/applet.h.
| bool SM::Applet::titleSpacer | ( | ) | [inline, protected] |
Definition at line 70 of file system-monitor/applet.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference