##// END OF EJS Templates
fixed bad reference counting and borrowed references...
fixed bad reference counting and borrowed references git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@55 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r19:4f416979f8bf
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);
}