##// END OF EJS Templates
updated version number, next version will be 2.0 due to the wrapping generator addition...
updated version number, next version will be 2.0 due to the wrapping generator addition git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@69 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r33:1742cf875fd9
Show More
PythonQtWrapper_QHostInfo.h
41 lines | 1.6 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QHOSTINFO_H
#define PYTHONQTWRAPPER_QHOSTINFO_H
#include <qhostinfo.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qhostaddress.h>
#include <qhostinfo.h>
#include <qlist.h>
#include <qobject.h>
class PythonQtWrapper_QHostInfo : public QObject
{ Q_OBJECT
public:
Q_ENUMS(HostInfoError )
enum HostInfoError{
NoError = QHostInfo::NoError, HostNotFound = QHostInfo::HostNotFound, UnknownError = QHostInfo::UnknownError};
public slots:
QHostInfo* new_QHostInfo(const QHostInfo& d);
QHostInfo* new_QHostInfo(int lookupId = -1);
void delete_QHostInfo(QHostInfo* obj) { delete obj; }
QString errorString(QHostInfo* theWrappedObject) const;
QHostInfo static_QHostInfo_fromName(const QString& name);
int lookupId(QHostInfo* theWrappedObject) const;
QString hostName(QHostInfo* theWrappedObject) const;
void setAddresses(QHostInfo* theWrappedObject, const QList<QHostAddress >& addresses);
void setLookupId(QHostInfo* theWrappedObject, int id);
QList<QHostAddress > addresses(QHostInfo* theWrappedObject) const;
QHostInfo::HostInfoError error(QHostInfo* theWrappedObject) const;
QString static_QHostInfo_localHostName();
void setError(QHostInfo* theWrappedObject, QHostInfo::HostInfoError error);
void setHostName(QHostInfo* theWrappedObject, const QString& name);
void static_QHostInfo_abortHostLookup(int lookupId);
void setErrorString(QHostInfo* theWrappedObject, const QString& errorString);
int static_QHostInfo_lookupHost(const QString& name, QObject* receiver, const char* member);
};
#endif // PYTHONQTWRAPPER_QHOSTINFO_H