ich rast gleich aus, weil mir der Haken nicht auffallen will. So blind kann man doch gar nich sein, oder?
webio.h:
Code: Alles auswählen
#ifndef __webio_h__
#define __webio_h__
#include <QtGui>
using namespace std;
class WebIO: public QWidget
{
Q_OBJECT
public:
WebIO(QWidget *parent = 0);
private:
QGridLayout *MainGrid;
QGridLayout *TopGrid;
QGridLayout *MiddleGrid;
QGridLayout *BottomGrid;
QPushButton *PBConnectListen;
QPushButton *PBConnectTalk;
QPushButton *PBQuit;
QLineEdit *LEListenIP;
QLineEdit *LETalkIP;
QUdpSocket *UDPListen;
QUdpSocket *UDPTalk;
private slots:
void connectWebIOListen();
public slots:
};
#endif
Die .cpp braucht ihr nich, oder?webio.h:29: error: ISO C++ forbids declaration of `QUdpSocket' with no type
webio.h:29: error: expected `;' before '*' token
webio.h:30: error: ISO C++ forbids declaration of `QUdpSocket' with no type
webio.h:30: error: expected `;' before '*' token
*hmpf*