##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QUrl.h
113 lines | 6.5 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QURL_H
#define PYTHONQTWRAPPER_QURL_H
#include <qurl.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QStringList>
#include <QVariant>
#include <qbytearray.h>
#include <qdatastream.h>
#include <qlist.h>
#include <qpair.h>
#include <qstringlist.h>
#include <qurl.h>
class PythonQtWrapper_QUrl : public QObject
{ Q_OBJECT
public:
Q_ENUMS(ParsingMode FormattingOption )
enum ParsingMode{
TolerantMode = QUrl::TolerantMode, StrictMode = QUrl::StrictMode};
enum FormattingOption{
None = QUrl::None, RemoveScheme = QUrl::RemoveScheme, RemovePassword = QUrl::RemovePassword, RemoveUserInfo = QUrl::RemoveUserInfo, RemovePort = QUrl::RemovePort, RemoveAuthority = QUrl::RemoveAuthority, RemovePath = QUrl::RemovePath, RemoveQuery = QUrl::RemoveQuery, RemoveFragment = QUrl::RemoveFragment, StripTrailingSlash = QUrl::StripTrailingSlash};
public slots:
QUrl* new_QUrl();
QUrl* new_QUrl(const QString& url);
QUrl* new_QUrl(const QString& url, QUrl::ParsingMode mode);
QUrl* new_QUrl(const QUrl& copy);
void delete_QUrl(QUrl* obj) { delete obj; }
florianlink
upgraded wrappers to current generator version...
r28 void clear(QUrl* theWrappedObject);
void removeQueryItem(QUrl* theWrappedObject, const QString& key);
int port(QUrl* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool isRelative(QUrl* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QUrl resolved(QUrl* theWrappedObject, const QUrl& relative) const;
void setPath(QUrl* theWrappedObject, const QString& path);
QString userName(QUrl* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void removeAllQueryItems(QUrl* theWrappedObject, const QString& key);
florianlink
upgraded wrappers to current generator version...
r28 void setEncodedFragment(QUrl* theWrappedObject, const QByteArray& fragment);
void setScheme(QUrl* theWrappedObject, const QString& scheme);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool hasQuery(QUrl* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 bool isEmpty(QUrl* theWrappedObject) const;
QList<QPair<QString , QString > > queryItems(QUrl* theWrappedObject) const;
bool hasFragment(QUrl* theWrappedObject) const;
QByteArray toEncoded(QUrl* theWrappedObject, QUrl::FormattingOptions options = QUrl::None) const;
QString userInfo(QUrl* theWrappedObject) const;
QString host(QUrl* theWrappedObject) const;
void setUrl(QUrl* theWrappedObject, const QString& url);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QStringList allQueryItemValues(QUrl* theWrappedObject, const QString& key) const;
florianlink
upgraded wrappers to current generator version...
r28 QString static_QUrl_fromPercentEncoding(const QByteArray& arg__1);
void setAuthority(QUrl* theWrappedObject, const QString& authority);
QByteArray encodedFragment(QUrl* theWrappedObject) const;
void setFragment(QUrl* theWrappedObject, const QString& fragment);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QString scheme(QUrl* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setEncodedPath(QUrl* theWrappedObject, const QByteArray& path);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QString authority(QUrl* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QByteArray static_QUrl_toAce(const QString& arg__1);
int port(QUrl* theWrappedObject, int defaultPort) const;
void setEncodedPassword(QUrl* theWrappedObject, const QByteArray& password);
QString toLocalFile(QUrl* theWrappedObject) const;
QByteArray encodedHost(QUrl* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void writeTo(QUrl* theWrappedObject, QDataStream& arg__1);
void setUserInfo(QUrl* theWrappedObject, const QString& userInfo);
florianlink
upgraded wrappers to current generator version...
r28 char queryValueDelimiter(QUrl* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setEncodedUserName(QUrl* theWrappedObject, const QByteArray& userName);
florianlink
upgraded wrappers to current generator version...
r28 QByteArray static_QUrl_toPercentEncoding(const QString& arg__1, const QByteArray& exclude = QByteArray(), const QByteArray& include = QByteArray());
void static_QUrl_setIdnWhitelist(const QStringList& arg__1);
QString queryItemValue(QUrl* theWrappedObject, const QString& key) const;
void removeAllEncodedQueryItems(QUrl* theWrappedObject, const QByteArray& key);
void setEncodedUrl(QUrl* theWrappedObject, const QByteArray& url);
void setPort(QUrl* theWrappedObject, int port);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void removeEncodedQueryItem(QUrl* theWrappedObject, const QByteArray& key);
florianlink
upgraded wrappers to current generator version...
r28 void addEncodedQueryItem(QUrl* theWrappedObject, const QByteArray& key, const QByteArray& value);
QString errorString(QUrl* theWrappedObject) const;
QList<QByteArray > allEncodedQueryItemValues(QUrl* theWrappedObject, const QByteArray& key) const;
QByteArray encodedUserName(QUrl* theWrappedObject) const;
void setEncodedUrl(QUrl* theWrappedObject, const QByteArray& url, QUrl::ParsingMode mode);
void setPassword(QUrl* theWrappedObject, const QString& password);
QUrl static_QUrl_fromLocalFile(const QString& localfile);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QString static_QUrl_fromAce(const QByteArray& arg__1);
florianlink
upgraded wrappers to current generator version...
r28 void readFrom(QUrl* theWrappedObject, QDataStream& arg__1);
QByteArray encodedPath(QUrl* theWrappedObject) const;
void setQueryDelimiters(QUrl* theWrappedObject, char valueDelimiter, char pairDelimiter);
bool isValid(QUrl* theWrappedObject) const;
QString fragment(QUrl* theWrappedObject) const;
bool hasQueryItem(QUrl* theWrappedObject, const QString& key) const;
void setUserName(QUrl* theWrappedObject, const QString& userName);
bool operator_equal(QUrl* theWrappedObject, const QUrl& url) const;
bool isParentOf(QUrl* theWrappedObject, const QUrl& url) const;
bool operator_less(QUrl* theWrappedObject, const QUrl& url) const;
void setEncodedHost(QUrl* theWrappedObject, const QByteArray& host);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QUrl static_QUrl_fromEncoded(const QByteArray& url);
florianlink
upgraded wrappers to current generator version...
r28 QString path(QUrl* theWrappedObject) const;
QStringList static_QUrl_idnWhitelist();
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QList<QPair<QByteArray , QByteArray > > encodedQueryItems(QUrl* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setQueryItems(QUrl* theWrappedObject, const QList<QPair<QString , QString > >& query);
QByteArray encodedPassword(QUrl* theWrappedObject) const;
void setHost(QUrl* theWrappedObject, const QString& host);
void addQueryItem(QUrl* theWrappedObject, const QString& key, const QString& value);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QString password(QUrl* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setEncodedQuery(QUrl* theWrappedObject, const QByteArray& query);
QByteArray encodedQuery(QUrl* theWrappedObject) const;
QUrl static_QUrl_fromEncoded(const QByteArray& url, QUrl::ParsingMode mode);
bool hasEncodedQueryItem(QUrl* theWrappedObject, const QByteArray& key) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 char queryPairDelimiter(QUrl* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QString toString(QUrl* theWrappedObject, QUrl::FormattingOptions options = QUrl::None) const;
QByteArray encodedQueryItemValue(QUrl* theWrappedObject, const QByteArray& key) const;
void setEncodedQueryItems(QUrl* theWrappedObject, const QList<QPair<QByteArray , QByteArray > >& query);
void setUrl(QUrl* theWrappedObject, const QString& url, QUrl::ParsingMode mode);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QURL_H