• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

superkaramba

  • sources
  • kde-4.12
  • kdeutils
  • superkaramba
  • src
karambainterface.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2007 Alexander Wiedenbruch <mail@wiedenbruch.de>
3  *
4  * This file is part of SuperKaramba.
5  *
6  * SuperKaramba is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * SuperKaramba is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with SuperKaramba; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  ****************************************************************************/
20 
21 #ifndef KARAMBAINTERFACE_H_
22 #define KARAMBAINTERFACE_H_
23 
24 #include <QObject>
25 
26 #include <kross/core/krossconfig.h>
27 #include <kross/core/manager.h>
28 #include <kross/core/action.h>
29 
30 #include "superkaramba_export.h"
31 #include "karamba.h"
32 #include "themelocale.h"
33 
34 #include "meters/bar.h"
35 #include "meters/graph.h"
36 #include "meters/imagelabel.h"
37 #include "meters/input.h"
38 #include "meters/richtextlabel.h"
39 #include "meters/textlabel.h"
40 #include "meters/clickarea.h"
41 
42 class SUPERKARAMBA_EXPORT KarambaInterface : public QObject
43 {
44  Q_OBJECT
45 
46 public:
47  KarambaInterface(Karamba *k);
48  virtual ~KarambaInterface();
49 
50  void startInterpreter();
51  bool initInterpreter();
52 
53  // Calls to scripts ----------------------
54  void callInitWidget(Karamba *k);
55  void callWidgetUpdated(Karamba *k);
56  void callWidgetClosed(Karamba *k);
57  void callMenuOptionChanged(Karamba *k, const QString &key, bool value);
58  void callMenuItemClicked(Karamba* k, KMenu* menu, QAction* id);
59  void callActiveTaskChanged(Karamba *k, Task* t);
60  void callTaskAdded(Karamba *k, Task *t);
61  void callTaskRemoved(Karamba *k, Task *t);
62  void callStartupAdded(Karamba *k, Startup *t);
63  void callStartupRemoved(Karamba *k, Startup *t);
64  void callCommandFinished(Karamba *k, int pid);
65  void callCommandOutput(Karamba *k, int pid, char* buffer);
66  void callItemDropped(Karamba *k, const QString &text, int x, int y);
67  void callMeterClicked(Karamba *k, Meter *m, int button);
68  void callMeterClicked(Karamba *k, const QString &str, int button);
69  void callWidgetClicked(Karamba *k, int x, int y, int button);
70  void callDesktopChanged(Karamba *k, int desktop);
71  void callWidgetMouseMoved(Karamba *k, int x, int y, int button);
72  void callKeyPressed(Karamba *k, Meter *meter, const QString &key);
73  void callThemeNotify(Karamba *k, const QString &sender, const QString &data);
74  void callWallpaperChanged(Karamba *k, int desktop);
75 
76 Q_SIGNALS:
77  void initWidget(QObject*);
78  void widgetUpdated(QObject*);
79  void widgetClosed(QObject*);
80  void menuItemClicked(QObject*, QObject*, QObject*);
81  void menuOptionChanged(QObject*, QString, bool);
82  void activeTaskChanged(QObject*, QObject*);
83  void taskAdded(QObject*, QObject*);
84  void taskRemoved(QObject*, QObject*);
85  void startupAdded(QObject*, QObject*);
86  void startupRemoved(QObject*, QObject*);
87  void commandFinished(QObject*, int);
88  void commandOutput(QObject*, int, QString);
89  void itemDropped(QObject*, QString, int, int);
90  void meterClicked(QObject*, QObject*, int);
91  void meterClicked(QObject*, QString, int);
92  void widgetClicked(QObject*, int, int, int);
93  void desktopChanged(QObject*, int);
94  void widgetMouseMoved(QObject*, int, int, int);
95  void keyPressed(QObject*, QObject*, QString);
96  void themeNotify(QObject*, QString, QString);
97  void wallpaperChanged(QObject*, int);
98 
99 private:
101  class Private;
103  Private* const d;
104 
105  bool checkKaramba(const Karamba *k) const;
106  bool checkMeter(const Karamba *k, const Meter *m, const QString &type) const;
107  bool checkKarambaAndMeter(const Karamba *k, const Meter *m, const QString &type) const;
108 
109  QVariantList getMeterMinMax(const Karamba *k, const Meter *m, const QString &type) const;
110  QVariantList getMeterSize(const Karamba *k, const Meter *m, const QString &type) const;
111  QVariantList getMeterPos(const Karamba *k, const Meter *m, const QString &type) const;
112  QString getMeterSensor(const Karamba *k, const Meter *m, const QString &type) const;
113  int getMeterValue(const Karamba *k, const Meter *m, const QString &type) const;
114  QObject* getThemeMeter(const Karamba *k, const QString &meter, const QString &type) const;
115  bool hideMeter(const Karamba *k, Meter *m, const QString &type) const;
116  bool moveMeter(const Karamba *k, Meter *m, const QString &type, int x, int y) const;
117  bool resizeMeter(const Karamba *k, Meter *m, const QString &type, int width, int height) const;
118  bool setMeterMinMax(const Karamba *k, Meter *m, const QString &type, int min, int max) const;
119  bool setMeterSensor(Karamba *k, Meter *m, const QString &type, const QString &sensor) const;
120  QObject* setMeterValue(const Karamba *k, Meter *m, const QString &type, int value) const;
121  bool showMeter(const Karamba *k, Meter *m, const QString &type) const;
122  bool setMeterColor(const Karamba *k, Meter *m, const QString &type, int red, int green, int
123  blue, int alpha = 255) const;
124  QVariantList getMeterColor(const Karamba *k, const Meter *m, const QString &type) const;
125  QString getMeterStringValue(const Karamba *k, const Meter *m, const QString &type) const;
126  QObject* setMeterStringValue(const Karamba *k, Meter *m, const QString &type, const QString
127  &value) const;
128  bool menuExists(const Karamba* currTheme, const KMenu* menu) const;
129 
130 public Q_SLOTS:
131  // Bar
132  QObject* createBar(Karamba *k, int x, int y, int w, int h, const QString &path = "") const;
133  bool deleteBar(Karamba *k, Bar *bar) const;
134  bool setBarMinMax(const Karamba *k, Bar *bar, int min, int max) const;
135  QVariantList getBarMinMax(const Karamba *k, const Bar *bar) const;
136  bool moveBar(const Karamba *k, Bar *bar, int x, int y) const;
137  QVariantList getBarPos(const Karamba *k, const Bar *bar) const;
138  bool setBarSensor(Karamba *k, Bar *bar, const QString &sensor) const;
139  QString getBarSensor(const Karamba *k, const Bar *bar) const;
140  bool resizeBar(const Karamba *k, Bar *bar, int width, int height) const;
141  QVariantList getBarSize(const Karamba *k, const Bar *bar) const;
142  QObject* setBarValue(const Karamba *k, Bar *bar, int value) const;
143  int getBarValue(const Karamba *k, const Bar *bar) const;
144  QObject* getThemeBar(const Karamba *k, const QString &meter) const;
145  bool hideBar(const Karamba *k, Bar *bar) const;
146  bool showBar(const Karamba *k, Bar *bar) const;
147  bool setBarVertical(const Karamba *k, Bar *bar, bool vert) const;
148  bool getBarVertical(const Karamba *k, const Bar *bar) const;
149  bool setBarImage(const Karamba *k, Bar *bar, const QString &image) const;
150  QString getBarImage(const Karamba *k, const Bar *bar) const;
151 
152 
153  // Config
154  bool addMenuConfigOption(Karamba *k, const QString &key, const QString &name) const;
155  QVariant readConfigEntry(const Karamba *k, const QString &key) const;
156  bool readMenuConfigOption(const Karamba *k, const QString &key) const;
157  bool setMenuConfigOption(Karamba *k, const QString &key, bool value) const;
158  bool writeConfigEntry(const Karamba *k, const QString &key, const QVariant &value) const;
159 
160  // Graph
161  QObject* createGraph(Karamba* k, int x, int y, int w, int h, int points) const;
162  bool deleteGraph(Karamba *k, Graph *graph) const;
163  bool setGraphMinMax(const Karamba *k, Graph *bar, int min, int max) const;
164  QVariantList getGraphMinMax(const Karamba *k, const Graph *graph) const;
165  bool moveGraph(const Karamba *k, Graph *graph, int x, int y) const;
166  QVariantList getGraphPos(const Karamba *k, const Graph *graph) const;
167  bool setGraphSensor(Karamba *k, Graph *graph, const QString &sensor) const;
168  QString getGraphSensor(const Karamba *k, const Graph *graph) const;
169  bool resizeGraph(const Karamba *k, Graph *graph, int width, int height) const;
170  QVariantList getGraphSize(const Karamba *k, const Graph *graph) const;
171  QObject* setGraphValue(const Karamba *k, Graph *graph, int value) const;
172  int getGraphValue(const Karamba *k, const Graph *graph) const;
173  QObject* getThemeGraph(const Karamba *k, const QString &meter) const;
174  bool hideGraph(const Karamba *k, Graph *graph) const;
175  bool showGraph(const Karamba *k, Graph *graph) const;
176  bool setGraphColor(const Karamba *k, Graph *graph, int red, int green, int blue, int alpha=255) const;
177  QVariantList getGraphColor(const Karamba *k, const Graph *graph) const;
178  bool setGraphFillColor(const Karamba *k, Graph *graph, int red, int green, int blue, int alpha=255) const;
179  QVariantList getGraphFillColor(const Karamba *k, const Graph *graph) const;
180  QString getGraphScroll(const Karamba *k, const Graph *graph) const;
181  bool setGraphScroll(const Karamba *k, Graph *graph, const QString &scroll) const;
182  QString getGraphPlot(const Karamba *k, const Graph *graph) const;
183  bool setGraphPlot(const Karamba *k, Graph *graph, const QString &plot) const;
184  bool getGraphShouldFill(const Karamba *k, const Graph *graph) const;
185  bool setGraphShouldFill(const Karamba *k, Graph *graph, bool shouldFill) const;
186 
187  // ImageLabel
188  QObject* createImage(Karamba* k, int x, int y, const QString &image) const;
189  QObject* createEmptyImage(Karamba* k, int x, int y, int w, int h) const;
190  bool deleteImage(Karamba *k, ImageLabel *image) const;
191  bool moveImage(Karamba *k, ImageLabel *image, int x, int y) const;
192  QVariantList getImagePos(const Karamba *k, const ImageLabel *image) const;
193  bool setImageSensor(Karamba *k, ImageLabel *image, const QString &sensor) const;
194  QString getImageSensor(const Karamba *k, const ImageLabel *image) const;
195  bool resizeImage(const Karamba *k, ImageLabel *image, int width, int height) const;
196  QVariantList getImageSize(const Karamba *k, const ImageLabel *image) const;
197  QObject* setImagePath(const Karamba *k, ImageLabel *image, const QString &path) const;
198  QString getImagePath(const Karamba *k, const ImageLabel *image) const;
199  QObject* getThemeImage(const Karamba *k, const QString &meter) const;
200  bool hideImage(const Karamba *k, ImageLabel *image) const;
201  bool showImage(const Karamba *k, ImageLabel *image) const;
202  bool addImageTooltip(const Karamba *k, ImageLabel *image, const QString &text) const;
203  bool changeImageChannelIntensity(const Karamba *k, ImageLabel *image, double ratio, const
204  QString &channel, int ms = 0) const;
205  bool changeImageIntensity(const Karamba *k, ImageLabel *image, double ratio, int ms = 0) const;
206  bool changeImageToGray(const Karamba *k, ImageLabel *image, int ms = 0) const;
207  bool changeImageAlpha(const Karamba *k, ImageLabel *image, int a, int r=-1, int g=-1, int b=-1, int ms = 0) const;
208  QObject* createBackgroundImage(Karamba *k, int x, int y, const QString &imagePath) const;
209  QObject* createTaskIcon(Karamba *k, int x, int y, int ctask) const;
210  int getImageHeight(const Karamba *k, const ImageLabel *image) const;
211  int getImageWidth(const Karamba *k, const ImageLabel *image) const;
212  bool removeImageEffects(const Karamba *k, ImageLabel *image) const;
213  bool removeImageTransformations(const Karamba *k, ImageLabel *image) const;
214  bool resizeImageSmooth(Karamba *k, ImageLabel *image, int width, int height) const;
215  bool rotateImage(const Karamba *k, ImageLabel *image, int deg) const;
216  bool setPixel(Karamba *k, ImageLabel *image, int x, int y, int r, int g, int b, int a = 255);
217  bool changeImageAnimation(Karamba *k, ImageLabel *image, bool enable) const;
218  bool getImageAnimation(Karamba *k, ImageLabel *image) const;
219  bool setImageElement(Karamba* k, ImageLabel *image, const QString &element) const;
220  bool setImageElementAll(Karamba* k, ImageLabel *image) const;
221  QString getImageElement(Karamba *k, ImageLabel *image) const;
222 
223  // InputBox
224  QObject* createInputBox(Karamba* k, int x, int y, int w, int h, const QString &text) const;
225  bool deleteInputBox(Karamba *k, Input *input) const;
226  bool moveInputBox(Karamba *k, Input *input, int x, int y) const;
227  QVariantList getInputBoxPos(const Karamba *k, const Input *input) const;
228  bool resizeInputBox(const Karamba *k, Input *input, int width, int height) const;
229  QVariantList getInputBoxSize(const Karamba *k, const Input *input) const;
230  QObject* changeInputBox(const Karamba *k, Input *input, const QString &text) const;
231  QString getInputBoxValue(const Karamba *k, const Input *input) const;
232  QObject* getThemeInputBox(const Karamba *k, const QString &meter) const;
233  bool hideInputBox(const Karamba *k, Input *input) const;
234  bool showInputBox(const Karamba *k, Input *input) const;
235  bool changeInputBoxFont(const Karamba *k, Input *input, const QString &font) const;
236  bool changeInputBoxFontColor(const Karamba *k, Input *input, int red, int green, int blue, int alpha=255) const;
237  QString getInputBoxFont(const Karamba *k, const Input *input) const;
238  QVariantList getInputBoxFontColor(const Karamba *k, const Input *input) const;
239  bool changeInputBoxSelectionColor(const Karamba *k, Input *input, int red, int green, int blue, int alpha=255)
240  const;
241  QVariantList getInputBoxSelectionColor(const Karamba *k, const Input *input) const;
242  bool changeInputBoxBackgroundColor(const Karamba *k, Input *input, int red, int green, int blue, int alpha=255)
243  const;
244  QVariantList getInputBoxBackgroundColor(const Karamba *k, const Input *input) const;
245  bool changeInputBoxFrameColor(const Karamba *k, Input *input, int red, int green, int blue, int alpha=255)
246  const;
247  QVariantList getInputBoxFrameColor(const Karamba *k, const Input *input) const;
248  bool changeInputBoxSelectedTextColor(const Karamba *k, Input *input, int red, int green, int
249  blue, int alpha=255) const;
250  QVariantList getInputBoxSelectedTextColor(const Karamba *k, const Input *input) const;
251  bool changeInputBoxFontSize(const Karamba *k, Input *input, int size) const;
252  int getInputBoxFontSize(const Karamba *k, const Input *input) const;
253  bool setInputFocus(const Karamba *k, Input *input) const;
254  bool clearInputFocus(const Karamba *k, Input *input) const;
255  QObject* getInputFocus(const Karamba *k) const;
256  int getInputBoxTextWidth(const Karamba *k, Input *input) const;
257  bool changeInputBoxSelection(const Karamba *k, Input *input, int start, int length) const;
258  QVariantList getInputBoxSelection(const Karamba *k, Input *input) const;
259  bool clearInputBoxSelection(const Karamba *k, Input *input) const;
260 
261 
262  // Menu
263  QObject* addMenuItem(Karamba *k, KMenu *menu, const QString &text, const QString &icon)
264  const;
265  QObject* addMenuSeparator(Karamba *k, KMenu *menu) const;
266  QObject* createMenu(Karamba *k) const;
267  bool deleteMenu(Karamba *k, KMenu *menu) const;
268  bool popupMenu(const Karamba *k, KMenu *menu, int x, int y) const;
269  bool removeMenuItem(Karamba *k, KMenu *menu, QAction *action) const;
270 
271  // Misc
272  bool acceptDrops(Karamba *k) const;
273  bool attachClickArea(const Karamba *k, Meter *m, const QString &leftButton = QString(),
274  const QString &middleButton = QString(), const QString &rightButton =
275  QString()) const;
276  bool callTheme(Karamba *k, const QString &theme, const QString &info) const;
277  bool changeInterval(Karamba *k, int interval) const;
278  int execute(const QString &command) const;
279  QObject* createClickArea(Karamba *k, int x, int y, int width, int height,
280  const QString &onClick) const;
281  QObject* createServiceClickArea(Karamba *k, int x, int y, int width, int height,
282  const QString &name, const QString &exec, const QString &icon) const;
283  int executeInteractive(Karamba *k, const QStringList &command);
284  QString getIp(const Karamba *k, const QString &interface) const;
285  int getNumberOfDesktops(const Karamba *k) const;
286  QString getPrettyThemeName(const Karamba *k) const;
287  QVariantList getServiceGroups(const QString &path) const;
288  QString getThemePath(const Karamba *k = 0) const;
289  double getUpdateTime(const Karamba *k) const;
290  bool setUpdateTime(Karamba *k, double updateTime) const;
291  bool hide(Karamba *k) const;
292  bool show(Karamba *k) const;
293  QString language(const Karamba *k) const;
294  bool managementPopup(const Karamba *k) const;
295  Karamba* openNamedTheme(const QString &themePath, const QString &themeName,
296  bool startAsSubTheme) const;
297  Karamba* openTheme(const QString &themePath) const;
298  QString readThemeFile(const Karamba *k, const QString &file) const;
299  bool reloadTheme(Karamba *k) const;
300  bool removeClickArea(Karamba *k, ClickArea *area) const;
301  bool run(const QString &appName, const QString &command, const QString &icon, const QStringList
302  &arguments);
303  QString getIncomingData(const Karamba *k) const;
304  bool setIncomingData(Karamba *k, const QString &prettyThemeName, const QString &data) const;
305  bool toggleShowDesktop(const Karamba *k) const;
306  bool translateAll(const Karamba *k, int x, int y) const;
307  QString userLanguage(const Karamba *k) const;
308  QStringList userLanguages(const Karamba *k) const;
309  bool setWantRightButton(Karamba *k, bool enable) const;
310  QStringList version() const;
311  QVariantList desktopSize() const;
312  QString getIconByName(const QString &icon, int size) const;
313  QString getExecutingApplication() const;
314 
315  // RichText
316  QObject* createRichText(Karamba* k, const QString &text, bool underline = false) const;
317  bool deleteRichText(Karamba *k, RichTextLabel *label) const;
318  bool moveRichText(Karamba *k, RichTextLabel *label, int x, int y) const;
319  QVariantList getRichTextPos(const Karamba *k, const RichTextLabel *label) const;
320  bool resizeRichText(const Karamba *k, RichTextLabel *label, int width, int height) const;
321  bool setRichTextWidth(const Karamba *k, RichTextLabel *label, int width) const;
322  QVariantList getRichTextSize(const Karamba *k, const RichTextLabel *label) const;
323  QObject* changeRichText(const Karamba *k, RichTextLabel *label, const QString &text) const;
324  QString getRichTextValue(const Karamba *k, const RichTextLabel *label) const;
325  QObject* getThemeRichText(const Karamba *k, const QString &meter) const;
326  bool hideRichText(const Karamba *k, RichTextLabel *label) const;
327  bool showRichText(const Karamba *k, RichTextLabel *label) const;
328  bool changeRichTextFont(const Karamba *k, RichTextLabel *label, const QString &font) const;
329  QString getRichTextFont(const Karamba *k, const RichTextLabel *label) const;
330  bool changeRichTextSize(const Karamba *k, RichTextLabel *label, int size) const;
331  int getRichTextFontSize(const Karamba *k, const RichTextLabel *label) const;
332  bool setRichTextSensor(Karamba *k, RichTextLabel *label, const QString &sensor) const;
333  QString getRichTextSensor(const Karamba *k, const RichTextLabel *label) const;
334 
335  // Systray
336  QObject* createSystray(const Karamba *k, int x, int y, int w, int h) const;
337  int getCurrentWindowCount(const Karamba *k) const;
338  bool hideSystray(const Karamba *k) const;
339  bool moveSystray(const Karamba *k, int x, int y, int w, int h) const;
340  bool showSystray(const Karamba *k) const;
341  bool updateSystrayLayout(const Karamba *k) const;
342  bool getSystraySize(const Karamba *k) const;
343 
344  // Task
345  QVariantList getStartupInfo(const Karamba *k, const Startup* startup)
346  const;
347  QVariantList getStartupList(const Karamba *k) const;
348  QVariantList getTaskInfo(const Karamba *k, Task* task) const;
349  QVariantList getTaskList(const Karamba *k) const;
350  QStringList getTaskNames(const Karamba *k) const;
351  bool performTaskAction(const Karamba *k, Task* task, int action) const;
352 
353  // Text
354  QObject* createText(Karamba* k, int x, int y, int width, int height, const QString &text = "") const;
355  bool deleteText(Karamba *k, TextLabel *text) const;
356  bool moveText(Karamba *k, TextLabel *text, int x, int y) const;
357  QVariantList getTextPos(const Karamba *k, const TextLabel *text) const;
358  bool setTextSensor(Karamba *k, TextLabel *text, const QString &sensor) const;
359  QString getTextSensor(const Karamba *k, const TextLabel *text) const;
360  bool resizeText(const Karamba *k, TextLabel *text, int width, int height) const;
361  QVariantList getTextSize(const Karamba *k, const TextLabel *text) const;
362  QObject* getThemeText(const Karamba *k, const QString &meter) const;
363  bool hideText(const Karamba *k, TextLabel *text) const;
364  bool showText(const Karamba *k, TextLabel *text) const;
365  QObject* changeText(const Karamba *k, TextLabel *label, const QString &text) const;
366  QString getTextValue(const Karamba *k, const TextLabel *label) const;
367  bool changeTextShadow(const Karamba *k, TextLabel *label, int shadow) const;
368  int getTextShadow(const Karamba *k, const TextLabel *text) const;
369  bool changeTextFont(const Karamba *k, TextLabel *text, const QString &font) const;
370  QString getTextFont(const Karamba *k, const TextLabel *text) const;
371  bool changeTextColor(const Karamba *k, TextLabel *text, int red, int green, int blue, int alpha = 255) const;
372  QVariantList getTextColor(const Karamba *k, const TextLabel *text) const;
373  bool changeTextSize(const Karamba *k, TextLabel *text, int size) const;
374  int getTextFontSize(const Karamba *k, const TextLabel *text) const;
375  QString getTextAlign(const Karamba *k, const TextLabel *text) const;
376  bool setTextAlign(const Karamba *k, TextLabel *text, const QString &alignment) const;
377  bool setTextScroll(const Karamba *k, TextLabel *text, const QString &type, int x = 0, int y = 0,
378  int gap = 0, int pause = 0) const;
379  int getTextTextWidth(const Karamba *k, const TextLabel *text) const;
380 
381  // Widget
382  bool createWidgetMask(const Karamba *k, const QString &mask) const;
383  QVariantList getWidgetPosition(const Karamba *k) const;
384  bool moveWidget(Karamba *k, int x, int y) const;
385  bool redrawWidget(Karamba *k) const;
386  bool redrawWidgetBackground(const Karamba *k) const;
387  bool resizeWidget(Karamba *k, int width, int height) const;
388  bool toggleWidgetRedraw(const Karamba *k, bool enable) const;
389 
390  // Sensor
391  QObject* getPlasmaSensor(Karamba *k, const QString& engine, const QString& source = QString());
392 
393  // CanvasWidget
394  QObject* createCanvasWidget(Karamba *k, QWidget* widget);
395  bool moveCanvasWidget(Karamba *k, QObject* canvaswidget, int x, int y, int w, int h);
396 };
397 
398 #endif
superkaramba_export.h
input.h
writeConfigEntry
long writeConfigEntry(long widget, QString key, QString value)
Definition: config.cpp:121
callTheme
static long callTheme(long widget, char *path, char *str)
Definition: misc.cpp:412
graph.h
popupMenu
long popupMenu(long widget, long menu, long x, long y)
Definition: menu.cpp:158
hide
int hide(long widget)
Definition: misc.cpp:618
TextLabel
Definition: meters/textlabel.h:19
performTaskAction
int performTaskAction(long widget, long ctask, long action)
Definition: task.cpp:39
createServiceClickArea
long createServiceClickArea(long widget, long x, long y, long w, long h, char *name, char *exec, char *icon)
Definition: misc.cpp:350
Startup
Represents a task which is in the process of starting.
Definition: taskmanager.h:547
Graph
Definition: meters/graph.h:19
imagelabel.h
QWidget
openNamedTheme
long openNamedTheme(char *path, char *name, bool is_sub_theme)
Definition: misc.cpp:447
themelocale.h
redrawWidget
long redrawWidget(long widget)
Definition: widget.cpp:73
createClickArea
long createClickArea(long widget, long x, long y, long w, long h, char *text)
Definition: misc.cpp:367
QObject
getIp
QString getIp(char *device_name)
Definition: misc.cpp:651
openTheme
long openTheme(char *path)
Definition: misc.cpp:470
readMenuConfigOption
long readMenuConfigOption(long widget, QString key)
Definition: config.cpp:97
Karamba
Definition: karamba.h:52
setMenuConfigOption
long setMenuConfigOption(long widget, QString key, bool value)
Definition: config.cpp:73
richtextlabel.h
toggleShowDesktop
long toggleShowDesktop(long)
Definition: misc.cpp:233
Bar
Definition: meters/bar.h:18
karamba.h
acceptDrops
long acceptDrops(long widget)
Definition: misc.cpp:58
readConfigEntry
QString readConfigEntry(long widget, QString key)
Definition: config.cpp:148
menuExists
bool menuExists(Karamba *currTheme, KMenu *menu)
Definition: menu.cpp:61
textlabel.h
getTaskInfo
PyObject * getTaskInfo(long widget, long ctask)
Definition: task.cpp:119
getThemePath
const char * getThemePath(long widget)
Definition: misc.cpp:267
RichTextLabel
Definition: meters/richtextlabel.h:24
bar.h
getIncomingData
static QString getIncomingData(long widget)
Definition: misc.cpp:431
checkKaramba
bool checkKaramba(long widget)
Definition: python/meter.cpp:26
getStartupInfo
PyObject * getStartupInfo(long widget, long cstartup)
Definition: task.cpp:198
KarambaInterface
Definition: karambainterface.h:42
Input
Definition: meters/input.h:32
ClickArea
Hans Karlsson.
Definition: clickarea.h:36
checkKarambaAndMeter
bool checkKarambaAndMeter(long widget, long meter, const char *type)
Definition: python/meter.cpp:74
moveWidget
long moveWidget(long widget, long x, long y)
Definition: widget.cpp:114
changeInterval
static void changeInterval(long widget, long interval)
Definition: misc.cpp:799
removeClickArea
long removeClickArea(long widget, long click)
Definition: misc.cpp:339
attachClickArea
long attachClickArea(long widget, long meter, QString LeftButton, QString MiddleButton, QString RightButton)
Definition: misc.cpp:175
addMenuConfigOption
long addMenuConfigOption(long widget, QString key, QString name)
Definition: config.cpp:46
clickarea.h
getStartupList
PyObject * getStartupList(long widget)
Definition: task.cpp:320
Meter
Definition: meters/meter.h:23
removeMenuItem
long removeMenuItem(long widget, long menu, QAction *action)
Definition: menu.cpp:136
SUPERKARAMBA_EXPORT
#define SUPERKARAMBA_EXPORT
Definition: superkaramba_export.h:32
addMenuItem
QAction * addMenuItem(long widget, long menu, QString text, QString icon)
Definition: menu.cpp:86
addMenuSeparator
QAction * addMenuSeparator(long widget, long menu)
Definition: menu.cpp:113
setIncomingData
static long setIncomingData(long widget, char *path, char *obj)
Definition: misc.cpp:422
getTaskNames
PyObject * getTaskNames(long widget)
Definition: task.cpp:259
getNumberOfDesktops
int getNumberOfDesktops(long widget)
Definition: misc.cpp:546
deleteMenu
long deleteMenu(long widget, long menu)
Definition: menu.cpp:66
checkMeter
bool checkMeter(long widget, long meter, const char *type)
Definition: python/meter.cpp:51
Task
A dynamic interface to a task (main window).
Definition: taskmanager.h:73
translateAll
int translateAll(long widget, int x, int y)
Definition: misc.cpp:564
createMenu
long createMenu(long widget)
Definition: menu.cpp:40
getTaskList
PyObject * getTaskList(long widget)
Definition: task.cpp:292
resizeWidget
long resizeWidget(long widget, long x, long y)
Definition: widget.cpp:94
getServiceGroups
static PyObject * getServiceGroups(const char *rel_path)
Definition: svcgrp.cpp:117
version
static const char version[]
Definition: main.cpp:44
ImageLabel
Definition: meters/imagelabel.h:108
show
int show(long widget)
Definition: misc.cpp:600
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

superkaramba

Skip menu "superkaramba"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • kremotecontrol
  • ktimer
  • kwallet
  • superkaramba
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal