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

superkaramba

Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
KarambaPython Class Reference

#include <karamba.h>

Public Member Functions

 KarambaPython (const ThemeFile &theme, bool reloading)
 
 ~KarambaPython ()
 
bool activeTaskChanged (Karamba *k, Task *t)
 
bool commandFinished (Karamba *k, int pid)
 
bool commandOutput (Karamba *k, int pid, char *buffer)
 
bool desktopChanged (Karamba *k, int desktop)
 
bool initWidget (Karamba *k)
 
bool isExtensionLoaded ()
 
bool itemDropped (Karamba *k, QString text, int x, int y)
 
bool keyPressed (Karamba *k, const Meter *meter, const QString &text)
 
bool menuItemClicked (Karamba *k, KMenu *menu, long id)
 
bool menuOptionChanged (Karamba *k, QString key, bool value)
 
bool meterClicked (Karamba *k, Meter *meter, int button)
 
bool meterClicked (Karamba *k, QString anchor, int button)
 
bool startupAdded (Karamba *k, Startup *t)
 
bool startupRemoved (Karamba *k, Startup *t)
 
bool systrayUpdated (Karamba *k)
 
bool taskAdded (Karamba *k, Task *t)
 
bool taskRemoved (Karamba *k, Task *t)
 
bool themeNotify (Karamba *k, const char *from, const char *txt)
 
bool wallpaperChanged (Karamba *k, int desktop)
 
bool widgetClicked (Karamba *k, int x, int y, int button)
 
bool widgetClosed (Karamba *k)
 
bool widgetMouseMoved (Karamba *k, int x, int y, int button)
 
bool widgetUpdated (Karamba *k)
 

Static Public Member Functions

static void initPython ()
 
static void shutdownPython ()
 

Protected Member Functions

bool callObject (const char *func, PyObject *pArgs, bool lock=true)
 
PyObject * getFunc (const char *function)
 
void getLock (PyThreadState **myThreadState)
 
void releaseLock (PyThreadState *myThreadState)
 

Protected Attributes

PyObject * pDict
 
PyObject * pModule
 
PyObject * pName
 
bool pythonThemeExtensionLoaded
 

Static Protected Attributes

static PyThreadState * mainThreadState = 0
 

Detailed Description

Definition at line 40 of file python/karamba.h.

Constructor & Destructor Documentation

KarambaPython::KarambaPython ( const ThemeFile &  theme,
bool  reloading 
)

Definition at line 346 of file python/karamba.cpp.

KarambaPython::~KarambaPython ( )

Definition at line 397 of file python/karamba.cpp.

Member Function Documentation

bool KarambaPython::activeTaskChanged ( Karamba *  k,
Task *  t 
)

Definition at line 557 of file python/karamba.cpp.

bool KarambaPython::callObject ( const char *  func,
PyObject *  pArgs,
bool  lock = true 
)
protected

Definition at line 468 of file python/karamba.cpp.

bool KarambaPython::commandFinished ( Karamba *  k,
int  pid 
)

Definition at line 593 of file python/karamba.cpp.

bool KarambaPython::commandOutput ( Karamba *  k,
int  pid,
char *  buffer 
)

Definition at line 587 of file python/karamba.cpp.

bool KarambaPython::desktopChanged ( Karamba *  k,
int  desktop 
)

Definition at line 622 of file python/karamba.cpp.

PyObject * KarambaPython::getFunc ( const char *  function)
protected

Definition at line 460 of file python/karamba.cpp.

void KarambaPython::getLock ( PyThreadState **  myThreadState)
protected

Definition at line 438 of file python/karamba.cpp.

KDE_EXPORT void KarambaPython::initPython ( )
static

Definition at line 412 of file python/karamba.cpp.

bool KarambaPython::initWidget ( Karamba *  k)

Definition at line 496 of file python/karamba.cpp.

bool KarambaPython::isExtensionLoaded ( )
inline

Definition at line 60 of file python/karamba.h.

bool KarambaPython::itemDropped ( Karamba *  k,
QString  text,
int  x,
int  y 
)

Definition at line 599 of file python/karamba.cpp.

bool KarambaPython::keyPressed ( Karamba *  k,
const Meter *  meter,
const QString &  text 
)

Definition at line 544 of file python/karamba.cpp.

bool KarambaPython::menuItemClicked ( Karamba *  k,
KMenu *  menu,
long  id 
)

Definition at line 520 of file python/karamba.cpp.

bool KarambaPython::menuOptionChanged ( Karamba *  k,
QString  key,
bool  value 
)

Definition at line 514 of file python/karamba.cpp.

bool KarambaPython::meterClicked ( Karamba *  k,
Meter *  meter,
int  button 
)

Definition at line 526 of file python/karamba.cpp.

bool KarambaPython::meterClicked ( Karamba *  k,
QString  anchor,
int  button 
)

Definition at line 532 of file python/karamba.cpp.

void KarambaPython::releaseLock ( PyThreadState *  myThreadState)
protected

Definition at line 448 of file python/karamba.cpp.

KDE_EXPORT void KarambaPython::shutdownPython ( )
static

Definition at line 427 of file python/karamba.cpp.

bool KarambaPython::startupAdded ( Karamba *  k,
Startup *  t 
)

Definition at line 575 of file python/karamba.cpp.

bool KarambaPython::startupRemoved ( Karamba *  k,
Startup *  t 
)

Definition at line 581 of file python/karamba.cpp.

bool KarambaPython::systrayUpdated ( Karamba *  k)

Definition at line 616 of file python/karamba.cpp.

bool KarambaPython::taskAdded ( Karamba *  k,
Task *  t 
)

Definition at line 563 of file python/karamba.cpp.

bool KarambaPython::taskRemoved ( Karamba *  k,
Task *  t 
)

Definition at line 569 of file python/karamba.cpp.

bool KarambaPython::themeNotify ( Karamba *  k,
const char *  from,
const char *  txt 
)

Definition at line 605 of file python/karamba.cpp.

bool KarambaPython::wallpaperChanged ( Karamba *  k,
int  desktop 
)

Definition at line 628 of file python/karamba.cpp.

bool KarambaPython::widgetClicked ( Karamba *  k,
int  x,
int  y,
int  button 
)

Definition at line 538 of file python/karamba.cpp.

bool KarambaPython::widgetClosed ( Karamba *  k)

Definition at line 508 of file python/karamba.cpp.

bool KarambaPython::widgetMouseMoved ( Karamba *  k,
int  x,
int  y,
int  button 
)

Definition at line 551 of file python/karamba.cpp.

bool KarambaPython::widgetUpdated ( Karamba *  k)

Definition at line 502 of file python/karamba.cpp.

Member Data Documentation

PyThreadState * KarambaPython::mainThreadState = 0
staticprotected

Definition at line 46 of file python/karamba.h.

PyObject* KarambaPython::pDict
protected

Definition at line 45 of file python/karamba.h.

PyObject * KarambaPython::pModule
protected

Definition at line 44 of file python/karamba.h.

PyObject* KarambaPython::pName
protected

Definition at line 44 of file python/karamba.h.

bool KarambaPython::pythonThemeExtensionLoaded
protected

Definition at line 43 of file python/karamba.h.


The documentation for this class was generated from the following files:
  • python/karamba.h
  • python/karamba.cpp
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