##// END OF EJS Templates
started to update/improve docs...
started to update/improve docs git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@68 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r32:ae159b178ea0
Show More
PythonQtWrapper_QFtp.h
77 lines | 3.7 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QFTP_H
#define PYTHONQTWRAPPER_QFTP_H
#include <qftp.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 <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qftp.h>
#include <qiodevice.h>
#include <qlist.h>
#include <qobject.h>
#include <qurlinfo.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QFtp : public QFtp
{
public:
PythonQtShell_QFtp(QObject* parent = 0):QFtp(parent),_wrapper(NULL) {};
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QFtp : public QObject
{ Q_OBJECT
public:
Q_ENUMS(TransferType Error Command TransferMode State )
enum TransferType{
Binary = QFtp::Binary, Ascii = QFtp::Ascii};
enum Error{
NoError = QFtp::NoError, UnknownError = QFtp::UnknownError, HostNotFound = QFtp::HostNotFound, ConnectionRefused = QFtp::ConnectionRefused, NotConnected = QFtp::NotConnected};
enum Command{
None = QFtp::None, SetTransferMode = QFtp::SetTransferMode, SetProxy = QFtp::SetProxy, ConnectToHost = QFtp::ConnectToHost, Login = QFtp::Login, Close = QFtp::Close, List = QFtp::List, Cd = QFtp::Cd, Get = QFtp::Get, Put = QFtp::Put, Remove = QFtp::Remove, Mkdir = QFtp::Mkdir, Rmdir = QFtp::Rmdir, Rename = QFtp::Rename, RawCommand = QFtp::RawCommand};
enum TransferMode{
Active = QFtp::Active, Passive = QFtp::Passive};
enum State{
Unconnected = QFtp::Unconnected, HostLookup = QFtp::HostLookup, Connecting = QFtp::Connecting, Connected = QFtp::Connected, LoggedIn = QFtp::LoggedIn, Closing = QFtp::Closing};
public slots:
QFtp* new_QFtp(QObject* parent = 0);
void delete_QFtp(QFtp* obj) { delete obj; }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int remove(QFtp* theWrappedObject, const QString& file);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QFtp::Command currentCommand(QFtp* theWrappedObject) const;
QIODevice* currentDevice(QFtp* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 int list(QFtp* theWrappedObject, const QString& dir = QString());
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int put(QFtp* theWrappedObject, const QByteArray& data, const QString& file, QFtp::TransferType type = QFtp::Binary);
int cd(QFtp* theWrappedObject, const QString& dir);
int connectToHost(QFtp* theWrappedObject, const QString& host, unsigned short port = 21);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 bool hasPendingCommands(QFtp* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 qint64 read(QFtp* theWrappedObject, char* data, qint64 maxlen);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 qint64 bytesAvailable(QFtp* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void clearPendingCommands(QFtp* theWrappedObject);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QFtp::State state(QFtp* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QByteArray readAll(QFtp* theWrappedObject);
florianlink
upgraded wrappers to current generator version...
r28 int setProxy(QFtp* theWrappedObject, const QString& host, unsigned short port);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int get(QFtp* theWrappedObject, const QString& file, QIODevice* dev = 0, QFtp::TransferType type = QFtp::Binary);
florianlink
upgraded wrappers to current generator version...
r28 int rawCommand(QFtp* theWrappedObject, const QString& command);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int currentId(QFtp* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QFtp::Error error(QFtp* theWrappedObject) const;
int rename(QFtp* theWrappedObject, const QString& oldname, const QString& newname);
int mkdir(QFtp* theWrappedObject, const QString& dir);
int put(QFtp* theWrappedObject, QIODevice* dev, const QString& file, QFtp::TransferType type = QFtp::Binary);
QString errorString(QFtp* theWrappedObject) const;
int rmdir(QFtp* theWrappedObject, const QString& dir);
int close(QFtp* theWrappedObject);
int setTransferMode(QFtp* theWrappedObject, QFtp::TransferMode mode);
int login(QFtp* theWrappedObject, const QString& user = QString(), const QString& password = QString());
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QFTP_H