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

qtFrontEnd.h

Go to the documentation of this file.
00001 #ifndef QTFRONTEND_H
00002 #define QTFRONTEND_H
00003 
00004 #include "qtFront.h"
00005 #include "../../frontEnd.h"
00006 
00007 #include <qobject.h>
00008 #include <qtimer.h>
00009 
00011 
00016 
00017 class FrontUpdate : public QObject {
00018     Q_OBJECT
00019 
00020     public:
00021     FrontUpdate (qtFront* myFront = NULL, QObject* parent = NULL);
00022     ~FrontUpdate ();
00023 
00024     public slots:
00025         void    update ();
00026 
00027     signals:
00028     void    sigUpdate ();
00029 
00030     private:
00031     qtFront* theFront;
00032 
00033 };
00034 
00036 class QtFrontEnd : public FrontEnd {
00037     public:
00038     QtFrontEnd (int argc, char** argv);
00039     ~QtFrontEnd ();
00040 
00041         void    update ();
00042 
00043     void    init();
00044 
00045     void    displayUsers (int users);   // amount of users logged in
00046     void    displayMatrices (int matrices); // amount of active matrices
00047 
00048     void    displayDebugMessage (const char*);
00049 
00050     private:
00051     FrontUpdate*    frontUpdate;
00052     QTimer*     timer;
00053     qtFront*    s;
00054 
00055     int         argc;
00056     char**      argv;
00057 };
00058 
00059 #endif

Generated at Sat May 13 13:50:22 2000 for 3Dsia by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000