PythonQtWrapper_QLocalServer.cpp
74 lines
| 2.0 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QLocalServer.h" | ||
#include <QVariant> | ||||
#include <qbytearray.h> | ||||
#include <qcoreevent.h> | ||||
#include <qlist.h> | ||||
#include <qlocalserver.h> | ||||
#include <qlocalsocket.h> | ||||
#include <qobject.h> | ||||
QLocalServer* PythonQtWrapper_QLocalServer::new_QLocalServer(QObject* parent) | ||||
{ | ||||
return new QLocalServer(parent); } | ||||
void PythonQtWrapper_QLocalServer::close(QLocalServer* theWrappedObject) | ||||
{ | ||||
theWrappedObject->close(); | ||||
} | ||||
QString PythonQtWrapper_QLocalServer::errorString(QLocalServer* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->errorString(); | ||||
} | ||||
QString PythonQtWrapper_QLocalServer::fullServerName(QLocalServer* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->fullServerName(); | ||||
} | ||||
bool PythonQtWrapper_QLocalServer::hasPendingConnections(QLocalServer* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->hasPendingConnections(); | ||||
} | ||||
bool PythonQtWrapper_QLocalServer::isListening(QLocalServer* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->isListening(); | ||||
} | ||||
bool PythonQtWrapper_QLocalServer::listen(QLocalServer* theWrappedObject, const QString& name) | ||||
{ | ||||
return theWrappedObject->listen(name); | ||||
} | ||||
int PythonQtWrapper_QLocalServer::maxPendingConnections(QLocalServer* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->maxPendingConnections(); | ||||
} | ||||
QLocalSocket* PythonQtWrapper_QLocalServer::nextPendingConnection(QLocalServer* theWrappedObject) | ||||
{ | ||||
return theWrappedObject->nextPendingConnection(); | ||||
} | ||||
QAbstractSocket::SocketError PythonQtWrapper_QLocalServer::serverError(QLocalServer* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->serverError(); | ||||
} | ||||
QString PythonQtWrapper_QLocalServer::serverName(QLocalServer* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->serverName(); | ||||
} | ||||
void PythonQtWrapper_QLocalServer::setMaxPendingConnections(QLocalServer* theWrappedObject, int numConnections) | ||||
{ | ||||
theWrappedObject->setMaxPendingConnections(numConnections); | ||||
} | ||||
bool PythonQtWrapper_QLocalServer::waitForNewConnection(QLocalServer* theWrappedObject, int msec, bool* timedOut) | ||||
{ | ||||
return theWrappedObject->waitForNewConnection(msec, timedOut); | ||||
} | ||||