##// 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.cpp
74 lines | 2.0 KiB | text/x-c | CppLexer
#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);
}