superkaramba
KarambaInterface Class Reference
#include <karambainterface.h>

Detailed Description
Definition at line 42 of file karambainterface.h.
Public Slots | |
| QObject * | createBar (Karamba *k, int x, int y, int w, int h, const QString &path="") const |
| bool | deleteBar (Karamba *k, Bar *bar) const |
| bool | setBarMinMax (const Karamba *k, Bar *bar, int min, int max) const |
| QVariantList | getBarMinMax (const Karamba *k, const Bar *bar) const |
| bool | moveBar (const Karamba *k, Bar *bar, int x, int y) const |
| QVariantList | getBarPos (const Karamba *k, const Bar *bar) const |
| bool | setBarSensor (Karamba *k, Bar *bar, const QString &sensor) const |
| QString | getBarSensor (const Karamba *k, const Bar *bar) const |
| bool | resizeBar (const Karamba *k, Bar *bar, int width, int height) const |
| QVariantList | getBarSize (const Karamba *k, const Bar *bar) const |
| QObject * | setBarValue (const Karamba *k, Bar *bar, int value) const |
| int | getBarValue (const Karamba *k, const Bar *bar) const |
| QObject * | getThemeBar (const Karamba *k, const QString &meter) const |
| bool | hideBar (const Karamba *k, Bar *bar) const |
| bool | showBar (const Karamba *k, Bar *bar) const |
| bool | setBarVertical (const Karamba *k, Bar *bar, bool vert) const |
| bool | getBarVertical (const Karamba *k, const Bar *bar) const |
| bool | setBarImage (const Karamba *k, Bar *bar, const QString &image) const |
| QString | getBarImage (const Karamba *k, const Bar *bar) const |
| bool | addMenuConfigOption (Karamba *k, const QString &key, const QString &name) const |
| QVariant | readConfigEntry (const Karamba *k, const QString &key) const |
| bool | readMenuConfigOption (const Karamba *k, const QString &key) const |
| bool | setMenuConfigOption (Karamba *k, const QString &key, bool value) const |
| bool | writeConfigEntry (const Karamba *k, const QString &key, const QVariant &value) const |
| QObject * | createGraph (Karamba *k, int x, int y, int w, int h, int points) const |
| bool | deleteGraph (Karamba *k, Graph *graph) const |
| bool | setGraphMinMax (const Karamba *k, Graph *bar, int min, int max) const |
| QVariantList | getGraphMinMax (const Karamba *k, const Graph *graph) const |
| bool | moveGraph (const Karamba *k, Graph *graph, int x, int y) const |
| QVariantList | getGraphPos (const Karamba *k, const Graph *graph) const |
| bool | setGraphSensor (Karamba *k, Graph *graph, const QString &sensor) const |
| QString | getGraphSensor (const Karamba *k, const Graph *graph) const |
| bool | resizeGraph (const Karamba *k, Graph *graph, int width, int height) const |
| QVariantList | getGraphSize (const Karamba *k, const Graph *graph) const |
| QObject * | setGraphValue (const Karamba *k, Graph *graph, int value) const |
| int | getGraphValue (const Karamba *k, const Graph *graph) const |
| QObject * | getThemeGraph (const Karamba *k, const QString &meter) const |
| bool | hideGraph (const Karamba *k, Graph *graph) const |
| bool | showGraph (const Karamba *k, Graph *graph) const |
| bool | setGraphColor (const Karamba *k, Graph *graph, int red, int green, int blue, int alpha=255) const |
| QVariantList | getGraphColor (const Karamba *k, const Graph *graph) const |
| QObject * | createImage (Karamba *k, int x, int y, const QString &image) const |
| QObject * | createEmptyImage (Karamba *k, int x, int y, int w, int h) const |
| bool | deleteImage (Karamba *k, ImageLabel *image) const |
| bool | moveImage (Karamba *k, ImageLabel *image, int x, int y) const |
| QVariantList | getImagePos (const Karamba *k, const ImageLabel *image) const |
| bool | setImageSensor (Karamba *k, ImageLabel *image, const QString &sensor) const |
| QString | getImageSensor (const Karamba *k, const ImageLabel *image) const |
| bool | resizeImage (const Karamba *k, ImageLabel *image, int width, int height) const |
| QVariantList | getImageSize (const Karamba *k, const ImageLabel *image) const |
| QObject * | setImagePath (const Karamba *k, ImageLabel *image, const QString &path) const |
| QString | getImagePath (const Karamba *k, const ImageLabel *image) const |
| QObject * | getThemeImage (const Karamba *k, const QString &meter) const |
| bool | hideImage (const Karamba *k, ImageLabel *image) const |
| bool | showImage (const Karamba *k, ImageLabel *image) const |
| bool | addImageTooltip (const Karamba *k, ImageLabel *image, const QString &text) const |
| bool | changeImageChannelIntensity (const Karamba *k, ImageLabel *image, double ratio, const QString &channel, int ms=0) const |
| bool | changeImageIntensity (const Karamba *k, ImageLabel *image, double ratio, int ms=0) const |
| bool | changeImageToGray (const Karamba *k, ImageLabel *image, int ms=0) const |
| bool | changeImageAlpha (const Karamba *k, ImageLabel *image, int a, int r=-1, int g=-1, int b=-1, int ms=0) const |
| QObject * | createBackgroundImage (Karamba *k, int x, int y, const QString &imagePath) const |
| QObject * | createTaskIcon (Karamba *k, int x, int y, int ctask) const |
| int | getImageHeight (const Karamba *k, const ImageLabel *image) const |
| int | getImageWidth (const Karamba *k, const ImageLabel *image) const |
| bool | removeImageEffects (const Karamba *k, ImageLabel *image) const |
| bool | removeImageTransformations (const Karamba *k, ImageLabel *image) const |
| bool | resizeImageSmooth (Karamba *k, ImageLabel *image, int width, int height) const |
| bool | rotateImage (const Karamba *k, ImageLabel *image, int deg) const |
| bool | setPixel (Karamba *k, ImageLabel *image, int x, int y, int r, int g, int b, int a=255) |
| bool | changeImageAnimation (Karamba *k, ImageLabel *image, bool enable) const |
| bool | getImageAnimation (Karamba *k, ImageLabel *image) const |
| bool | setImageElement (Karamba *k, ImageLabel *image, const QString &element) const |
| bool | setImageElementAll (Karamba *k, ImageLabel *image) const |
| QString | getImageElement (Karamba *k, ImageLabel *image) const |
| QObject * | createInputBox (Karamba *k, int x, int y, int w, int h, const QString &text) const |
| bool | deleteInputBox (Karamba *k, Input *input) const |
| bool | moveInputBox (Karamba *k, Input *input, int x, int y) const |
| QVariantList | getInputBoxPos (const Karamba *k, const Input *input) const |
| bool | resizeInputBox (const Karamba *k, Input *input, int width, int height) const |
| QVariantList | getInputBoxSize (const Karamba *k, const Input *input) const |
| QObject * | changeInputBox (const Karamba *k, Input *input, const QString &text) const |
| QString | getInputBoxValue (const Karamba *k, const Input *input) const |
| QObject * | getThemeInputBox (const Karamba *k, const QString &meter) const |
| bool | hideInputBox (const Karamba *k, Input *input) const |
| bool | showInputBox (const Karamba *k, Input *input) const |
| bool | changeInputBoxFont (const Karamba *k, Input *input, const QString &font) const |
| bool | changeInputBoxFontColor (const Karamba *k, Input *input, int red, int green, int blue, int alpha=255) const |
| QString | getInputBoxFont (const Karamba *k, const Input *input) const |
| QVariantList | getInputBoxFontColor (const Karamba *k, const Input *input) const |
| bool | changeInputBoxSelectionColor (const Karamba *k, Input *input, int red, int green, int blue, int alpha=255) const |
| QVariantList | getInputBoxSelectionColor (const Karamba *k, const Input *input) const |
| bool | changeInputBoxBackgroundColor (const Karamba *k, Input *input, int red, int green, int blue, int alpha=255) const |
| QVariantList | getInputBoxBackgroundColor (const Karamba *k, const Input *input) const |
| bool | changeInputBoxFrameColor (const Karamba *k, Input *input, int red, int green, int blue, int alpha=255) const |
| QVariantList | getInputBoxFrameColor (const Karamba *k, const Input *input) const |
| bool | changeInputBoxSelectedTextColor (const Karamba *k, Input *input, int red, int green, int blue, int alpha=255) const |
| QVariantList | getInputBoxSelectedTextColor (const Karamba *k, const Input *input) const |
| bool | changeInputBoxFontSize (const Karamba *k, Input *input, int size) const |
| int | getInputBoxFontSize (const Karamba *k, const Input *input) const |
| bool | setInputFocus (const Karamba *k, Input *input) const |
| bool | clearInputFocus (const Karamba *k, Input *input) const |
| QObject * | getInputFocus (const Karamba *k) const |
| int | getInputBoxTextWidth (const Karamba *k, Input *input) const |
| bool | changeInputBoxSelection (const Karamba *k, Input *input, int start, int length) const |
| QVariantList | getInputBoxSelection (const Karamba *k, Input *input) const |
| bool | clearInputBoxSelection (const Karamba *k, Input *input) const |
| QObject * | addMenuItem (Karamba *k, KMenu *menu, const QString &text, const QString &icon) const |
| QObject * | addMenuSeparator (Karamba *k, KMenu *menu) const |
| QObject * | createMenu (Karamba *k) const |
| bool | deleteMenu (Karamba *k, KMenu *menu) const |
| bool | popupMenu (const Karamba *k, KMenu *menu, int x, int y) const |
| bool | removeMenuItem (Karamba *k, KMenu *menu, QAction *action) const |
| bool | acceptDrops (Karamba *k) const |
| bool | attachClickArea (const Karamba *k, Meter *m, const QString &leftButton=QString(), const QString &middleButton=QString(), const QString &rightButton=QString()) const |
| bool | callTheme (Karamba *k, const QString &theme, const QString &info) const |
| bool | changeInterval (Karamba *k, int interval) const |
| int | execute (const QString &command) const |
| QObject * | createClickArea (Karamba *k, int x, int y, int width, int height, const QString &onClick) const |
| QObject * | createServiceClickArea (Karamba *k, int x, int y, int width, int height, const QString &name, const QString &exec, const QString &icon) const |
| int | executeInteractive (Karamba *k, const QStringList &command) |
| QString | getIp (const Karamba *k, const QString &interface) const |
| int | getNumberOfDesktops (const Karamba *k) const |
| QString | getPrettyThemeName (const Karamba *k) const |
| QVariantList | getServiceGroups (const QString &path) const |
| QString | getThemePath (const Karamba *k=0) const |
| double | getUpdateTime (const Karamba *k) const |
| bool | setUpdateTime (Karamba *k, double updateTime) const |
| bool | hide (Karamba *k) const |
| bool | show (Karamba *k) const |
| QString | language (const Karamba *k) const |
| bool | managementPopup (const Karamba *k) const |
| Karamba * | openNamedTheme (const QString &themePath, const QString &themeName, bool startAsSubTheme) const |
| Karamba * | openTheme (const QString &themePath) const |
| QString | readThemeFile (const Karamba *k, const QString &file) const |
| bool | reloadTheme (Karamba *k) const |
| bool | removeClickArea (Karamba *k, ClickArea *area) const |
| bool | run (const QString &appName, const QString &command, const QString &icon, const QStringList &arguments) |
| QString | getIncomingData (const Karamba *k) const |
| bool | setIncomingData (Karamba *k, const QString &prettyThemeName, const QString &data) const |
| bool | toggleShowDesktop (const Karamba *k) const |
| bool | translateAll (const Karamba *k, int x, int y) const |
| QString | userLanguage (const Karamba *k) const |
| QStringList | userLanguages (const Karamba *k) const |
| bool | setWantRightButton (Karamba *k, bool enable) const |
| QStringList | version () const |
| QVariantList | desktopSize () const |
| QString | getIconByName (const QString &icon, int size) const |
| QString | getExecutingApplication () const |
| QObject * | createRichText (Karamba *k, const QString &text, bool underline=false) const |
| bool | deleteRichText (Karamba *k, RichTextLabel *label) const |
| bool | moveRichText (Karamba *k, RichTextLabel *label, int x, int y) const |
| QVariantList | getRichTextPos (const Karamba *k, const RichTextLabel *label) const |
| bool | resizeRichText (const Karamba *k, RichTextLabel *label, int width, int height) const |
| bool | setRichTextWidth (const Karamba *k, RichTextLabel *label, int width) const |
| QVariantList | getRichTextSize (const Karamba *k, const RichTextLabel *label) const |
| QObject * | changeRichText (const Karamba *k, RichTextLabel *label, const QString &text) const |
| QString | getRichTextValue (const Karamba *k, const RichTextLabel *label) const |
| QObject * | getThemeRichText (const Karamba *k, const QString &meter) const |
| bool | hideRichText (const Karamba *k, RichTextLabel *label) const |
| bool | showRichText (const Karamba *k, RichTextLabel *label) const |
| bool | changeRichTextFont (const Karamba *k, RichTextLabel *label, const QString &font) const |
| QString | getRichTextFont (const Karamba *k, const RichTextLabel *label) const |
| bool | changeRichTextSize (const Karamba *k, RichTextLabel *label, int size) const |
| int | getRichTextFontSize (const Karamba *k, const RichTextLabel *label) const |
| bool | setRichTextSensor (Karamba *k, RichTextLabel *label, const QString &sensor) const |
| QString | getRichTextSensor (const Karamba *k, const RichTextLabel *label) const |
| QObject * | createSystray (const Karamba *k, int x, int y, int w, int h) const |
| int | getCurrentWindowCount (const Karamba *k) const |
| bool | hideSystray (const Karamba *k) const |
| bool | moveSystray (const Karamba *k, int x, int y, int w, int h) const |
| bool | showSystray (const Karamba *k) const |
| bool | updateSystrayLayout (const Karamba *k) const |
| bool | getSystraySize (const Karamba *k) const |
| QVariantList | getStartupInfo (const Karamba *k, const Startup *startup) const |
| QVariantList | getStartupList (const Karamba *k) const |
| QVariantList | getTaskInfo (const Karamba *k, Task *task) const |
| QVariantList | getTaskList (const Karamba *k) const |
| QStringList | getTaskNames (const Karamba *k) const |
| bool | performTaskAction (const Karamba *k, Task *task, int action) const |
| QObject * | createText (Karamba *k, int x, int y, int width, int height, const QString &text="") const |
| bool | deleteText (Karamba *k, TextLabel *text) const |
| bool | moveText (Karamba *k, TextLabel *text, int x, int y) const |
| QVariantList | getTextPos (const Karamba *k, const TextLabel *text) const |
| bool | setTextSensor (Karamba *k, TextLabel *text, const QString &sensor) const |
| QString | getTextSensor (const Karamba *k, const TextLabel *text) const |
| bool | resizeText (const Karamba *k, TextLabel *text, int width, int height) const |
| QVariantList | getTextSize (const Karamba *k, const TextLabel *text) const |
| QObject * | getThemeText (const Karamba *k, const QString &meter) const |
| bool | hideText (const Karamba *k, TextLabel *text) const |
| bool | showText (const Karamba *k, TextLabel *text) const |
| QObject * | changeText (const Karamba *k, TextLabel *label, const QString &text) const |
| QString | getTextValue (const Karamba *k, const TextLabel *label) const |
| bool | changeTextShadow (const Karamba *k, TextLabel *label, int shadow) const |
| int | getTextShadow (const Karamba *k, const TextLabel *text) const |
| bool | changeTextFont (const Karamba *k, TextLabel *text, const QString &font) const |
| QString | getTextFont (const Karamba *k, const TextLabel *text) const |
| bool | changeTextColor (const Karamba *k, TextLabel *text, int red, int green, int blue, int alpha=255) const |
| QVariantList | getTextColor (const Karamba *k, const TextLabel *text) const |
| bool | changeTextSize (const Karamba *k, TextLabel *text, int size) const |
| int | getTextFontSize (const Karamba *k, const TextLabel *text) const |
| QString | getTextAlign (const Karamba *k, const TextLabel *text) const |
| bool | setTextAlign (const Karamba *k, TextLabel *text, const QString &alignment) const |
| bool | setTextScroll (const Karamba *k, TextLabel *text, const QString &type, int x=0, int y=0, int gap=0, int pause=0) const |
| int | getTextTextWidth (const Karamba *k, const TextLabel *text) const |
| bool | createWidgetMask (const Karamba *k, const QString &mask) const |
| QVariantList | getWidgetPosition (const Karamba *k) const |
| bool | moveWidget (Karamba *k, int x, int y) const |
| bool | redrawWidget (Karamba *k) const |
| bool | redrawWidgetBackground (const Karamba *k) const |
| bool | resizeWidget (Karamba *k, int width, int height) const |
| bool | toggleWidgetRedraw (const Karamba *k, bool enable) const |
| QObject * | getPlasmaSensor (Karamba *k, const QString &engine, const QString &source=QString()) |
Signals | |
| void | initWidget (QObject *) |
| void | widgetUpdated (QObject *) |
| void | widgetClosed (QObject *) |
| void | menuItemClicked (QObject *, QObject *, QObject *) |
| void | menuOptionChanged (QObject *, QString, bool) |
| void | activeTaskChanged (QObject *, QObject *) |
| void | taskAdded (QObject *, QObject *) |
| void | taskRemoved (QObject *, QObject *) |
| void | startupAdded (QObject *, QObject *) |
| void | startupRemoved (QObject *, QObject *) |
| void | commandFinished (QObject *, int) |
| void | commandOutput (QObject *, int, QString) |
| void | itemDropped (QObject *, QString, int, int) |
| void | meterClicked (QObject *, QObject *, int) |
| void | meterClicked (QObject *, QString, int) |
| void | widgetClicked (QObject *, int, int, int) |
| void | desktopChanged (QObject *, int) |
| void | widgetMouseMoved (QObject *, int, int, int) |
| void | keyPressed (QObject *, QObject *, QString) |
| void | themeNotify (QObject *, QString, QString) |
| void | wallpaperChanged (QObject *, int) |
Public Member Functions | |
| KarambaInterface (Karamba *k) | |
| virtual | ~KarambaInterface () |
| void | startInterpreter () |
| bool | initInterpreter () |
| void | callInitWidget (Karamba *k) |
| void | callWidgetUpdated (Karamba *k) |
| void | callWidgetClosed (Karamba *k) |
| void | callMenuOptionChanged (Karamba *k, const QString &key, bool value) |
| void | callMenuItemClicked (Karamba *k, KMenu *menu, QAction *id) |
| void | callActiveTaskChanged (Karamba *k, Task *t) |
| void | callTaskAdded (Karamba *k, Task *t) |
| void | callTaskRemoved (Karamba *k, Task *t) |
| void | callStartupAdded (Karamba *k, Startup *t) |
| void | callStartupRemoved (Karamba *k, Startup *t) |
| void | callCommandFinished (Karamba *k, int pid) |
| void | callCommandOutput (Karamba *k, int pid, char *buffer) |
| void | callItemDropped (Karamba *k, const QString &text, int x, int y) |
| void | callMeterClicked (Karamba *k, Meter *m, int button) |
| void | callMeterClicked (Karamba *k, const QString &str, int button) |
| void | callWidgetClicked (Karamba *k, int x, int y, int button) |
| void | callDesktopChanged (Karamba *k, int desktop) |
| void | callWidgetMouseMoved (Karamba *k, int x, int y, int button) |
| void | callKeyPressed (Karamba *k, Meter *meter, const QString &key) |
| void | callThemeNotify (Karamba *k, const QString &sender, const QString &data) |
| void | callWallpaperChanged (Karamba *k, int desktop) |
Constructor & Destructor Documentation
| KarambaInterface::KarambaInterface | ( | Karamba * | k | ) |
Definition at line 69 of file karambainterface.cpp.
| KarambaInterface::~KarambaInterface | ( | ) | [virtual] |
Definition at line 76 of file karambainterface.cpp.
Member Function Documentation
| void KarambaInterface::startInterpreter | ( | ) |
Definition at line 81 of file karambainterface.cpp.
| bool KarambaInterface::initInterpreter | ( | ) |
Definition at line 86 of file karambainterface.cpp.
| void KarambaInterface::callInitWidget | ( | Karamba * | k | ) |
Definition at line 416 of file karambainterface.cpp.
| void KarambaInterface::callWidgetUpdated | ( | Karamba * | k | ) |
Definition at line 421 of file karambainterface.cpp.
| void KarambaInterface::callWidgetClosed | ( | Karamba * | k | ) |
Definition at line 426 of file karambainterface.cpp.
Definition at line 431 of file karambainterface.cpp.
Definition at line 436 of file karambainterface.cpp.
Definition at line 441 of file karambainterface.cpp.
Definition at line 446 of file karambainterface.cpp.
Definition at line 451 of file karambainterface.cpp.
Definition at line 456 of file karambainterface.cpp.
Definition at line 461 of file karambainterface.cpp.
| void KarambaInterface::callCommandFinished | ( | Karamba * | k, | |
| int | pid | |||
| ) |
Definition at line 466 of file karambainterface.cpp.
| void KarambaInterface::callCommandOutput | ( | Karamba * | k, | |
| int | pid, | |||
| char * | buffer | |||
| ) |
Definition at line 471 of file karambainterface.cpp.
Definition at line 476 of file karambainterface.cpp.
KDE 4.0 API Reference