Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

karamba Class Reference

#include <karamba.h>

Inheritance diagram for karamba:

Inheritance graph
[legend]
Collaboration diagram for karamba:

Collaboration graph
[legend]
List of all members.

Public Slots

void updateSensors ()
void about ()
void aboutKDE ()
void reloadConfig ()
void startNewKaramba ()
void editConfig ()
void LaunchCreator ()
void Config ()
void toggleHide ()
void step ()
void updateBackground (KSharedPixmap *)
void ChangeBgColor (QColor)
void slotMove (int nx=0, int ny=0)
QPtrList< MeterList > * getMeterList ()
void setActiveWin ()

Signals

void karambaRun (bool)
void ActiveWin (bool)
void configChanged ()

Public Member Functions

 karamba (QWidget *parent=0, QString fn=0, bool noquit=false)
virtual ~karamba ()

Public Attributes

bool isRunning
bool hidden
int themeX
int themeY
int themeW
int themeH
QString themeFile
QString themePath
QPtrList< karamba > * KarProcList
QPtrList< karamba > * KarChildList
QPtrList< IconLabel > * iconList
QPtrList< IconBoxLabel > * iconBoxList
QObjectList * clickList
QObjectList * meterList
bool foundKaramba
KPopupMenu * ksubpop

Protected Member Functions

void mousePressEvent (QMouseEvent *)
void mouseReleaseEvent (QMouseEvent *)
void mouseDoubleClickEvent (QMouseEvent *)
void mouseMoveEvent (QMouseEvent *)
void dragMoveEvent (QDragMoveEvent *)
void dropEvent (QDropEvent *e)
void enterEvent (QEvent *)
void leaveEvent (QEvent *)
void dragEnterEvent (QDragEnterEvent *)
void dragLeaveEvent (QDragLeaveEvent *)
void closeEvent (QCloseEvent *)
void paintEvent (QPaintEvent *)
void windowActivationChange (bool b)

Detailed Description

Author:
Hans Karlsson <karlsson.h@home.se>

Bosselut Cyril <bosselut@b1project.com>

Version:
0.23

Definition at line 83 of file karamba.h.


Constructor & Destructor Documentation

karamba::karamba QWidget *  parent = 0,
QString  fn = 0,
bool  noquit = false
 

Definition at line 6 of file karamba.cpp.

References about(), aboutKDE(), clickList, Config(), editConfig(), foundKaramba, iconBoxList, iconList, karambaRun(), KarChildList, KarProcList, ksubpop, LaunchCreator(), meterList, reloadConfig(), startNewKaramba(), themeFile, themePath, toggleHide(), and updateSensors().

Referenced by startNewKaramba().

karamba::~karamba  )  [virtual]
 

Definition at line 119 of file karamba.cpp.

References clickList, iconBoxList, iconList, KarChildList, KarProcList, and meterList.


Member Function Documentation

void karamba::about  )  [slot]
 

Show the about dialog.

Definition at line 1462 of file karamba.cpp.

Referenced by karamba().

void karamba::aboutKDE  )  [slot]
 

Show the about KDE dialog.

Definition at line 1468 of file karamba.cpp.

Referenced by karamba().

void karamba::ActiveWin bool   )  [signal]
 

emit is active window.

Definition at line 166 of file karamba.moc.

Referenced by windowActivationChange().

void karamba::ChangeBgColor QColor   )  [slot]
 

Change the background color in embed mode.

Definition at line 816 of file karamba.cpp.

References step().

Referenced by Config().

void karamba::closeEvent QCloseEvent *   )  [protected]
 

Definition at line 1370 of file karamba.cpp.

References karambaRun().

void karamba::Config  )  [virtual, slot]
 

Show the Karamba configuration dialog.

Implements DCOPiface.

Definition at line 805 of file karamba.cpp.

References KarambaConf::bgColor, ChangeBgColor(), and configChanged().

Referenced by karamba().

void karamba::configChanged  )  [signal]
 

emit if karamba configuration change.

Definition at line 172 of file karamba.moc.

Referenced by Config().

void karamba::dragEnterEvent QDragEnterEvent *   )  [protected]
 

Definition at line 1271 of file karamba.cpp.

References toggleHide().

void karamba::dragLeaveEvent QDragLeaveEvent *   )  [protected]
 

Definition at line 1277 of file karamba.cpp.

References toggleHide().

void karamba::dragMoveEvent QDragMoveEvent *   )  [protected]
 

Definition at line 1282 of file karamba.cpp.

References IconBoxLabel::getRectangle(), and iconBoxList.

void karamba::dropEvent QDropEvent *  e  )  [protected]
 

Definition at line 1297 of file karamba.cpp.

References IconBoxLabel::dropEvent(), IconBoxLabel::getRectangle(), and iconBoxList.

void karamba::editConfig  )  [virtual, slot]
 

Start the theme creator with current theme (kprocess).

Implements DCOPiface.

Definition at line 862 of file karamba.cpp.

References themeFile, and themePath.

Referenced by karamba().

void karamba::enterEvent QEvent *   )  [protected]
 

Definition at line 1260 of file karamba.cpp.

References toggleHide().

QPtrList< MeterList > * karamba::getMeterList  )  [slot]
 

Definition at line 1485 of file karamba.cpp.

void karamba::karambaRun bool   )  [signal]
 

emit karamba status (eg: running or not).

Definition at line 160 of file karamba.moc.

Referenced by closeEvent(), and karamba().

void karamba::LaunchCreator  )  [virtual, slot]
 

Start the theme creator (kprocess).

Implements DCOPiface.

Definition at line 1457 of file karamba.cpp.

Referenced by karamba().

void karamba::leaveEvent QEvent *   )  [protected]
 

Definition at line 1266 of file karamba.cpp.

References toggleHide().

void karamba::mouseDoubleClickEvent QMouseEvent *   )  [protected]
 

Definition at line 1183 of file karamba.cpp.

void karamba::mouseMoveEvent QMouseEvent *   )  [protected]
 

Definition at line 1189 of file karamba.cpp.

References clickList, iconList, IconLabel::rolloverImage(), themeH, themeW, themeX, and themeY.

void karamba::mousePressEvent QMouseEvent *   )  [protected]
 

Definition at line 1149 of file karamba.cpp.

References iconBoxList, IconBoxLabel::mouseOver(), IconBoxLabel::x, and IconBoxLabel::y.

void karamba::mouseReleaseEvent QMouseEvent *   )  [protected]
 

Definition at line 1177 of file karamba.cpp.

References step(), IconBoxLabel::x, and IconBoxLabel::y.

void karamba::paintEvent QPaintEvent *   )  [protected]
 

Definition at line 1376 of file karamba.cpp.

void karamba::reloadConfig  )  [virtual, slot]
 

Force reloading the theme.

Implements DCOPiface.

Definition at line 822 of file karamba.cpp.

References clickList, foundKaramba, iconList, KarChildList, and meterList.

Referenced by karamba(), and IconBoxLabel::removeIcon().

void karamba::setActiveWin  )  [virtual, slot]
 

Implements DCOPiface.

Definition at line 1499 of file karamba.cpp.

void karamba::slotMove int  nx = 0,
int  ny = 0
[virtual, slot]
 

Move Karamba window.

Implements DCOPiface.

Definition at line 1451 of file karamba.cpp.

References themeX, and themeY.

void karamba::startNewKaramba  )  [virtual, slot]
 

Start a new Karamba session.

Implements DCOPiface.

Definition at line 790 of file karamba.cpp.

References karamba().

Referenced by karamba().

void karamba::step  )  [slot]
 

Create karamba pixmap.

Definition at line 1415 of file karamba.cpp.

References meterList.

Referenced by IconBoxLabel::addIcon(), ChangeBgColor(), mouseReleaseEvent(), ImageLabel::rolloverImage(), IconLabel::rolloverImage(), updateBackground(), and updateSensors().

void karamba::toggleHide  )  [virtual, slot]
 

Hide or show the Karamba window.

Implements DCOPiface.

Definition at line 1308 of file karamba.cpp.

References hidden, themeH, themeW, themeX, themeY, and updateSensors().

Referenced by dragEnterEvent(), dragLeaveEvent(), enterEvent(), karamba(), and leaveEvent().

void karamba::updateBackground KSharedPixmap *   )  [slot]
 

Update Karamba background.

Definition at line 1395 of file karamba.cpp.

References step().

void karamba::updateSensors  )  [slot]
 

Force sensors update.

Definition at line 1385 of file karamba.cpp.

References step().

Referenced by Child::click(), Child::enter(), karamba(), and toggleHide().

void karamba::windowActivationChange bool  b  )  [protected]
 

Definition at line 1360 of file karamba.cpp.

References ActiveWin().


Member Data Documentation

QObjectList* karamba::clickList
 

Definition at line 107 of file karamba.h.

Referenced by IconBoxLabel::addIcon(), karamba(), mouseMoveEvent(), reloadConfig(), and ~karamba().

bool karamba::foundKaramba
 

Definition at line 109 of file karamba.h.

Referenced by karamba(), and reloadConfig().

bool karamba::hidden
 

Definition at line 93 of file karamba.h.

Referenced by toggleHide().

QPtrList<IconBoxLabel>* karamba::iconBoxList
 

Definition at line 106 of file karamba.h.

Referenced by dragMoveEvent(), dropEvent(), karamba(), mousePressEvent(), and ~karamba().

QPtrList<IconLabel>* karamba::iconList
 

Definition at line 105 of file karamba.h.

Referenced by IconBoxLabel::addIcon(), karamba(), mouseMoveEvent(), reloadConfig(), and ~karamba().

bool karamba::isRunning
 

Definition at line 92 of file karamba.h.

QPtrList<karamba>* karamba::KarChildList
 

Definition at line 104 of file karamba.h.

Referenced by Child::click(), Child::enter(), karamba(), reloadConfig(), and ~karamba().

QPtrList<karamba>* karamba::KarProcList
 

List all child process create with THEME meter

Definition at line 103 of file karamba.h.

Referenced by karamba(), and ~karamba().

KPopupMenu* karamba::ksubpop
 

Definition at line 110 of file karamba.h.

Referenced by karamba(), IconBoxLabel::mouseOver(), and IconBoxLabel::setKaramba().

QObjectList* karamba::meterList
 

Definition at line 108 of file karamba.h.

Referenced by IconBoxLabel::addIcon(), karamba(), reloadConfig(), step(), and ~karamba().

QString karamba::themeFile
 

Definition at line 98 of file karamba.h.

Referenced by editConfig(), karamba(), and IconBoxLabel::setKaramba().

int karamba::themeH
 

Definition at line 97 of file karamba.h.

Referenced by mouseMoveEvent(), TextLabel::mUpdate(), ImageLabel::mUpdate(), IconLabel::mUpdate(), and toggleHide().

QString karamba::themePath
 

Definition at line 99 of file karamba.h.

Referenced by editConfig(), karamba(), and IconBoxLabel::setKaramba().

int karamba::themeW
 

Definition at line 96 of file karamba.h.

Referenced by mouseMoveEvent(), TextLabel::mUpdate(), ImageLabel::mUpdate(), IconLabel::mUpdate(), and toggleHide().

int karamba::themeX
 

Definition at line 94 of file karamba.h.

Referenced by mouseMoveEvent(), slotMove(), and toggleHide().

int karamba::themeY
 

Definition at line 95 of file karamba.h.

Referenced by mouseMoveEvent(), slotMove(), and toggleHide().


The documentation for this class was generated from the following files:
Generated on Mon May 16 14:04:23 2005 for karamba by  doxygen 1.3.9.1