##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QLocalServer.h
35 lines | 1.3 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QLOCALSERVER_H
#define PYTHONQTWRAPPER_QLOCALSERVER_H
#include <qlocalserver.h>
#include <QObject>
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qlocalserver.h>
#include <qlocalsocket.h>
#include <qobject.h>
class PythonQtWrapper_QLocalServer : public QObject
{ Q_OBJECT
public:
public slots:
QLocalServer* new_QLocalServer(QObject* parent = 0);
void delete_QLocalServer(QLocalServer* obj) { delete obj; }
void close(QLocalServer* theWrappedObject);
QString errorString(QLocalServer* theWrappedObject) const;
QString fullServerName(QLocalServer* theWrappedObject) const;
bool hasPendingConnections(QLocalServer* theWrappedObject) const;
bool isListening(QLocalServer* theWrappedObject) const;
bool listen(QLocalServer* theWrappedObject, const QString& name);
int maxPendingConnections(QLocalServer* theWrappedObject) const;
QLocalSocket* nextPendingConnection(QLocalServer* theWrappedObject);
QAbstractSocket::SocketError serverError(QLocalServer* theWrappedObject) const;
QString serverName(QLocalServer* theWrappedObject) const;
void setMaxPendingConnections(QLocalServer* theWrappedObject, int numConnections);
bool waitForNewConnection(QLocalServer* theWrappedObject, int msec = 0, bool* timedOut = 0);
};
#endif // PYTHONQTWRAPPER_QLOCALSERVER_H