Logo Search packages:      
Sourcecode: zeiberbude version File versions

server.hh

/* server.hh */
#ifndef SERVER_H
#define SERVER_H

#include <qsocket.h>
#include <qdatetime.h>
#include <qstring.h>
#include <qtextstream.h>

class server:public QObject
{
Q_OBJECT public:
    server (QObject * parent, const char *name = 0);
   ~server ();
  void stopComputer ();
  void startComputer ();
  void sendStatus (QString time, QString price);
private:
    QSocket * sock;
  void sendCmd (QString msg);
  QString hostName;
};

#endif

Generated by  Doxygen 1.6.0   Back to index