Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Examples  

jezabelpanelcontrol.h

00001 #include <qobject.h>
00002 
00003 class JezabelPanelControl : public QObject {
00004   Q_OBJECT
00005   
00006 public:
00007   QString name;
00008   QString val;
00009   JezabelPanelControl(QObject *_parent, QString &_name) : QObject(_parent){
00010     name = _name;
00011   }
00012 signals:
00013   void set(int);
00014   void set(QString);
00015 public slots:
00016   void changed(int v){
00017     val = QString::number(v);
00018   }
00019   void changed(QString v){
00020     val = v;
00021   }
00022 public:
00023   void setValue(int v){
00024     val = v;
00025     set(v);
00026     set(val);
00027   }
00028   void setValue(QString v){
00029     val = v;
00030     set(val.toInt());
00031     set(val);
00032   }
00033   void kick(){
00034     set(val.toInt());
00035     set(val);
00036   }
00037 };
00038 

Generated at Sun Jan 18 20:51:22 2004 for Jezabel by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001