Exemplo n.º 1
0
        public bool SetContent(QIODevice dev, StringBuilder errorMsg, ref int errorLine)
        {
            StackItem[] stack = new StackItem[4];
#if DEBUG
            stack[1].s_class = (IntPtr)DebugGCHandle.Alloc(dev);
#else
            stack[1].s_class = (IntPtr)GCHandle.Alloc(dev);
#endif
#if DEBUG
            stack[2].s_class = (IntPtr)DebugGCHandle.Alloc(errorMsg);
#else
            stack[2].s_class = (IntPtr)GCHandle.Alloc(errorMsg);
#endif
            stack[3].s_int = errorLine;
            interceptor.Invoke("setContent#$$", "setContent(QIODevice*, QString*, int*)", stack);
#if DEBUG
            DebugGCHandle.Free((GCHandle)stack[1].s_class);
#else
            ((GCHandle)stack[1].s_class).SynchronizedFree();
#endif
#if DEBUG
            DebugGCHandle.Free((GCHandle)stack[2].s_class);
#else
            ((GCHandle)stack[2].s_class).SynchronizedFree();
#endif
            errorLine = stack[3].s_int;
            return(stack[0].s_bool);
        }
Exemplo n.º 2
0
 public bool SetContent(QIODevice dev)
 {
     return((bool)interceptor.Invoke("setContent#", "setContent(QIODevice*)", typeof(bool), typeof(QIODevice), dev));
 }
Exemplo n.º 3
0
 /// <remarks>
 ///  Sets the XML used to define the operation schema for
 ///  this Service.
 ///      </remarks>        <short>    Sets the XML used to define the operation schema for  this Service.</short>
 protected void SetOperationsScheme(QIODevice xml)
 {
     interceptor.Invoke("setOperationsScheme#", "setOperationsScheme(QIODevice*)", typeof(void), typeof(QIODevice), xml);
 }
Exemplo n.º 4
0
 public QXmlStreamReader(QIODevice device) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QXmlStreamReader#", "QXmlStreamReader(QIODevice*)", typeof(void), typeof(QIODevice), device);
 }
Exemplo n.º 5
0
 public QNetworkReply Put(QNetworkRequest request, QIODevice data)
 {
     return((QNetworkReply)interceptor.Invoke("put##", "put(const QNetworkRequest&, QIODevice*)", typeof(QNetworkReply), typeof(QNetworkRequest), request, typeof(QIODevice), data));
 }
Exemplo n.º 6
0
 public void SetDevice(QIODevice device)
 {
     interceptor.Invoke("setDevice#", "setDevice(QIODevice*)", typeof(void), typeof(QIODevice), device);
 }
Exemplo n.º 7
0
 public int Put(QIODevice dev, string file, QFtp.TransferType type) {
     return (int) interceptor.Invoke("put#$$", "put(QIODevice*, const QString&, QFtp::TransferType)", typeof(int), typeof(QIODevice), dev, typeof(string), file, typeof(QFtp.TransferType), type);
 }
Exemplo n.º 8
0
 public static QByteArray ImageFormat(QIODevice device)
 {
     return (QByteArray) staticInterceptor.Invoke("imageFormat#", "imageFormat(QIODevice*)", typeof(QByteArray), typeof(QIODevice), device);
 }
Exemplo n.º 9
0
 public QDataStream(QIODevice arg1) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QDataStream#", "QDataStream(QIODevice*)", typeof(void), typeof(QIODevice), arg1);
 }
Exemplo n.º 10
0
 public int Request(QHttpRequestHeader header, QByteArray data, QIODevice to)
 {
     return((int)interceptor.Invoke("request###", "request(const QHttpRequestHeader&, const QByteArray&, QIODevice*)", typeof(int), typeof(QHttpRequestHeader), header, typeof(QByteArray), data, typeof(QIODevice), to));
 }
Exemplo n.º 11
0
 public int Request(QHttpRequestHeader header, QIODevice device)
 {
     return((int)interceptor.Invoke("request##", "request(const QHttpRequestHeader&, QIODevice*)", typeof(int), typeof(QHttpRequestHeader), header, typeof(QIODevice), device));
 }
Exemplo n.º 12
0
 public int Post(string path, QByteArray data, QIODevice to)
 {
     return((int)interceptor.Invoke("post$##", "post(const QString&, const QByteArray&, QIODevice*)", typeof(int), typeof(string), path, typeof(QByteArray), data, typeof(QIODevice), to));
 }
Exemplo n.º 13
0
 public int Post(string path, QIODevice data)
 {
     return((int)interceptor.Invoke("post$#", "post(const QString&, QIODevice*)", typeof(int), typeof(string), path, typeof(QIODevice), data));
 }
Exemplo n.º 14
0
 public int Get(string path, QIODevice to)
 {
     return((int)interceptor.Invoke("get$#", "get(const QString&, QIODevice*)", typeof(int), typeof(string), path, typeof(QIODevice), to));
 }
Exemplo n.º 15
0
 public QXmlInputSource(QIODevice dev) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QXmlInputSource#", "QXmlInputSource(QIODevice*)", typeof(void), typeof(QIODevice), dev);
 }
Exemplo n.º 16
0
 public bool Load(QIODevice dev)
 {
     return((bool)interceptor.Invoke("load#", "load(QIODevice*)", typeof(bool), typeof(QIODevice), dev));
 }
Exemplo n.º 17
0
 public bool Save(QIODevice dev)
 {
     return((bool)interceptor.Invoke("save#", "save(QIODevice*)", typeof(bool), typeof(QIODevice), dev));
 }
Exemplo n.º 18
0
 public bool Load(QIODevice device, string format)
 {
     return((bool)interceptor.Invoke("load#$", "load(QIODevice*, const char*)", typeof(bool), typeof(QIODevice), device, typeof(string), format));
 }
Exemplo n.º 19
0
 public abstract void Serialize(Akonadi.Item item, QByteArray label, QIODevice data, ref int version);
Exemplo n.º 20
0
 public bool Save(QIODevice device, string format, int quality)
 {
     return((bool)interceptor.Invoke("save#$$", "save(QIODevice*, const char*, int) const", typeof(bool), typeof(QIODevice), device, typeof(string), format, typeof(int), quality));
 }
Exemplo n.º 21
0
 public int Get(string file, QIODevice dev, QFtp.TransferType type) {
     return (int) interceptor.Invoke("get$#$", "get(const QString&, QIODevice*, QFtp::TransferType)", typeof(int), typeof(string), file, typeof(QIODevice), dev, typeof(QFtp.TransferType), type);
 }
Exemplo n.º 22
0
 public QIODeviceWrapper(QIODevice device)
 {
     m_device = device;
 }
Exemplo n.º 23
0
 public abstract void Insert(QIODevice device);
Exemplo n.º 24
0
 public static QByteArray ImageFormat(QIODevice device)
 {
     return((QByteArray)staticInterceptor.Invoke("imageFormat#", "imageFormat(QIODevice*)", typeof(QByteArray), typeof(QIODevice), device));
 }
Exemplo n.º 25
0
Arquivo: QSslKey.cs Projeto: KDE/qyoto
 public QSslKey(QIODevice device, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QSslKey#$$", "QSslKey(QIODevice*, QSsl::KeyAlgorithm, QSsl::EncodingFormat)", typeof(void), typeof(QIODevice), device, typeof(QSsl.KeyAlgorithm), algorithm, typeof(QSsl.EncodingFormat), format);
 }
Exemplo n.º 26
0
 public QImageReader(QIODevice device, QByteArray format) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QImageReader##", "QImageReader(QIODevice*, const QByteArray&)", typeof(void), typeof(QIODevice), device, typeof(QByteArray), format);
 }
Exemplo n.º 27
0
 /// <remarks>
 ///  Creates an i/o device that is able to read from the QIODevice <code>inDevice</code>,
 ///  whether the data is compressed or not. Available compression filters
 ///  (gzip/bzip2 etc.) will automatically be used.
 ///  The compression filter to be used is determined <code>mimetype</code> .
 ///  Pass "application/x-gzip" or "application/x-bzip"
 ///  to use the corresponding decompression filter.
 ///  Warning: application/x-bzip may not be available.
 ///  In that case 0 will be returned !
 ///  The returned QIODevice has to be deleted after using.
 /// <param> name="inDevice" input device. Won't be deleted if <code>autoDeleteInDevice</code> = false
 /// </param><param> name="mimetype" the mime type for the filter
 /// </param><param> name="autoDeleteInDevice" if true, <code>inDevice</code> will be deleted automatically
 /// </param></remarks>        <return> a QIODevice that filters the original stream. Must be deleted after
 ///          using
 ///      </return>
 ///         <short>    Creates an i/o device that is able to read from the QIODevice <code>inDevice</code>,  whether the data is compressed or not.</short>
 public static QIODevice Device(QIODevice inDevice, string mimetype, bool autoDeleteInDevice)
 {
     return (QIODevice) staticInterceptor.Invoke("device#$$", "device(QIODevice*, const QString&, bool)", typeof(QIODevice), typeof(QIODevice), inDevice, typeof(string), mimetype, typeof(bool), autoDeleteInDevice);
 }
Exemplo n.º 28
0
 public static List <QSslCertificate> FromDevice(QIODevice device, QSsl.EncodingFormat format)
 {
     return((List <QSslCertificate>)staticInterceptor.Invoke("fromDevice#$", "fromDevice(QIODevice*, QSsl::EncodingFormat)", typeof(List <QSslCertificate>), typeof(QIODevice), device, typeof(QSsl.EncodingFormat), format));
 }
Exemplo n.º 29
0
 public bool Save(QIODevice dev, string format)
 {
     return (bool) interceptor.Invoke("save#$", "save(QIODevice*, const char*)", typeof(bool), typeof(QIODevice), dev, typeof(string), format);
 }
Exemplo n.º 30
0
 public static List <QSslCertificate> FromDevice(QIODevice device)
 {
     return((List <QSslCertificate>)staticInterceptor.Invoke("fromDevice#", "fromDevice(QIODevice*)", typeof(List <QSslCertificate>), typeof(QIODevice), device));
 }
Exemplo n.º 31
0
 public QXmlInputSource(QIODevice dev)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QXmlInputSource#", "QXmlInputSource(QIODevice*)", typeof(void), typeof(QIODevice), dev);
 }
Exemplo n.º 32
0
 // QMultiMap<QSsl::AlternateNameEntryType, QString> alternateSubjectNames(); >>>> NOT CONVERTED
 public QSslCertificate(QIODevice device, QSsl.EncodingFormat format) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QSslCertificate#$", "QSslCertificate(QIODevice*, QSsl::EncodingFormat)", typeof(void), typeof(QIODevice), device, typeof(QSsl.EncodingFormat), format);
 }
Exemplo n.º 33
0
 public bool Save(QIODevice dev, string format)
 {
     return((bool)interceptor.Invoke("save#$", "save(QIODevice*, const char*)", typeof(bool), typeof(QIODevice), dev, typeof(string), format));
 }
Exemplo n.º 34
0
 public QSslCertificate(QIODevice device) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QSslCertificate#", "QSslCertificate(QIODevice*)", typeof(void), typeof(QIODevice), device);
 }
Exemplo n.º 35
0
 public QImageReader(QIODevice device)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QImageReader#", "QImageReader(QIODevice*)", typeof(void), typeof(QIODevice), device);
 }
Exemplo n.º 36
0
 public override void Insert(QIODevice device)
 {
     interceptor.Invoke("insert#", "insert(QIODevice*)", typeof(void), typeof(QIODevice), device);
 }
Exemplo n.º 37
0
 public abstract bool Deserialize(Akonadi.Item item, QByteArray label, QIODevice data, int version);
 public abstract QImageIOHandler Create(QIODevice device, QByteArray format);
Exemplo n.º 39
0
Arquivo: KAr.cs Projeto: KDE/kimono
 /// <remarks>
 ///  Creates an instance that operates on the given device.
 ///  The device can be compressed (KFilterDev) or not (QFile, etc.).
 /// <param> name="dev" the device to read from
 ///      </param></remarks>        <short>    Creates an instance that operates on the given device.</short>
 public KAr(QIODevice dev)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KAr#", "KAr(QIODevice*)", typeof(void), typeof(QIODevice), dev);
 }
Exemplo n.º 40
0
 public QTextStream(QIODevice device) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QTextStream#", "QTextStream(QIODevice*)", typeof(void), typeof(QIODevice), device);
 }
Exemplo n.º 41
0
 public int Put(QIODevice dev, string file) {
     return (int) interceptor.Invoke("put#$", "put(QIODevice*, const QString&)", typeof(int), typeof(QIODevice), dev, typeof(string), file);
 }
Exemplo n.º 42
0
 public QNetworkReply Put(QNetworkRequest request, QIODevice data)
 {
     return (QNetworkReply) interceptor.Invoke("put##", "put(const QNetworkRequest&, QIODevice*)", typeof(QNetworkReply), typeof(QNetworkRequest), request, typeof(QIODevice), data);
 }
Exemplo n.º 43
0
 public int Get(string file, QIODevice dev) {
     return (int) interceptor.Invoke("get$#", "get(const QString&, QIODevice*)", typeof(int), typeof(string), file, typeof(QIODevice), dev);
 }
Exemplo n.º 44
0
 protected virtual QNetworkReply CreateRequest(QNetworkAccessManager.Operation op, QNetworkRequest request, QIODevice outgoingData)
 {
     return (QNetworkReply) interceptor.Invoke("createRequest$##", "createRequest(QNetworkAccessManager::Operation, const QNetworkRequest&, QIODevice*)", typeof(QNetworkReply), typeof(QNetworkAccessManager.Operation), op, typeof(QNetworkRequest), request, typeof(QIODevice), outgoingData);
 }
Exemplo n.º 45
0
 public QImageWriter(QIODevice device, QByteArray format)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QImageWriter##", "QImageWriter(QIODevice*, const QByteArray&)", typeof(void), typeof(QIODevice), device, typeof(QByteArray), format);
 }
Exemplo n.º 46
0
 /// <remarks>
 ///  Creates a MediaSource object for a QIODevice.
 ///  This constructor can be very handy in the combination of QByteArray and QBuffer.
 ///  \param ioDevice An arbitrary readable QIODevice subclass. If the device is not opened
 ///  MediaSource will open it as QIODevice.ReadOnly. Sequential I/O devices are possible,
 ///  too. For those MediaObject.IsSeekable() will have to return false obviously.
 ///  \see setAutoDelete
 ///          </remarks>        <short>    Creates a MediaSource object for a QIODevice.</short>
 public MediaSource(QIODevice ioDevice)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("MediaSource#", "MediaSource(QIODevice*)", typeof(void), typeof(QIODevice), ioDevice);
 }
Exemplo n.º 47
0
 protected virtual QNetworkReply CreateRequest(QNetworkAccessManager.Operation op, QNetworkRequest request, QIODevice outgoingData)
 {
     return((QNetworkReply)interceptor.Invoke("createRequest$##", "createRequest(QNetworkAccessManager::Operation, const QNetworkRequest&, QIODevice*)", typeof(QNetworkReply), typeof(QNetworkAccessManager.Operation), op, typeof(QNetworkRequest), request, typeof(QIODevice), outgoingData));
 }
Exemplo n.º 48
0
 public QTextStream(QIODevice device)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QTextStream#", "QTextStream(QIODevice*)", typeof(void), typeof(QIODevice), device);
 }
Exemplo n.º 49
0
Arquivo: QSslKey.cs Projeto: KDE/qyoto
 public QSslKey(QIODevice device, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type, QByteArray passPhrase)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QSslKey#$$$#", "QSslKey(QIODevice*, QSsl::KeyAlgorithm, QSsl::EncodingFormat, QSsl::KeyType, const QByteArray&)", typeof(void), typeof(QIODevice), device, typeof(QSsl.KeyAlgorithm), algorithm, typeof(QSsl.EncodingFormat), format, typeof(QSsl.KeyType), type, typeof(QByteArray), passPhrase);
 }
Exemplo n.º 50
0
 /// <remarks>
 ///  Sets the device on which the filter will work
 /// <param> name="dev" the device on which the filter will work
 /// </param><param> name="autodelete" if true, <code>dev</code> is deleted when the filter is deleted
 ///      </param></remarks>        <short>    Sets the device on which the filter will work </short>
 public void SetDevice(QIODevice dev, bool autodelete)
 {
     interceptor.Invoke("setDevice#$", "setDevice(QIODevice*, bool)", typeof(void), typeof(QIODevice), dev, typeof(bool), autodelete);
 }
Exemplo n.º 51
0
Arquivo: QSslKey.cs Projeto: KDE/qyoto
 public QSslKey(QIODevice device, QSsl.KeyAlgorithm algorithm)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QSslKey#$", "QSslKey(QIODevice*, QSsl::KeyAlgorithm)", typeof(void), typeof(QIODevice), device, typeof(QSsl.KeyAlgorithm), algorithm);
 }
Exemplo n.º 52
0
 public QXmlStreamWriter(QIODevice device)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QXmlStreamWriter#", "QXmlStreamWriter(QIODevice*)", typeof(void), typeof(QIODevice), device);
 }
Exemplo n.º 53
0
 public void SetDevice(QIODevice device)
 {
     interceptor.Invoke("setDevice#", "setDevice(QIODevice*)", typeof(void), typeof(QIODevice), device);
 }
Exemplo n.º 54
0
 public static List<QSslCertificate> FromDevice(QIODevice device, QSsl.EncodingFormat format)
 {
     return (List<QSslCertificate>) staticInterceptor.Invoke("fromDevice#$", "fromDevice(QIODevice*, QSsl::EncodingFormat)", typeof(List<QSslCertificate>), typeof(QIODevice), device, typeof(QSsl.EncodingFormat), format);
 }
Exemplo n.º 55
0
 public static QIODevice Device(QIODevice inDevice, string mimetype)
 {
     return (QIODevice) staticInterceptor.Invoke("device#$", "device(QIODevice*, const QString&)", typeof(QIODevice), typeof(QIODevice), inDevice, typeof(string), mimetype);
 }
Exemplo n.º 56
0
 public static List<QSslCertificate> FromDevice(QIODevice device)
 {
     return (List<QSslCertificate>) staticInterceptor.Invoke("fromDevice#", "fromDevice(QIODevice*)", typeof(List<QSslCertificate>), typeof(QIODevice), device);
 }
Exemplo n.º 57
0
 public bool Load(QIODevice dev)
 {
     return (bool) interceptor.Invoke("load#", "load(QIODevice*)", typeof(bool), typeof(QIODevice), dev);
 }
Exemplo n.º 58
0
 // QMultiMap<QSsl::AlternateNameEntryType,QString> alternateSubjectNames(); >>>> NOT CONVERTED
 public QSslCertificate(QIODevice device, QSsl.EncodingFormat format)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QSslCertificate#$", "QSslCertificate(QIODevice*, QSsl::EncodingFormat)", typeof(void), typeof(QIODevice), device, typeof(QSsl.EncodingFormat), format);
 }
Exemplo n.º 59
0
 public bool Save(QIODevice dev)
 {
     return (bool) interceptor.Invoke("save#", "save(QIODevice*)", typeof(bool), typeof(QIODevice), dev);
 }
Exemplo n.º 60
0
 public QSslCertificate(QIODevice device)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QSslCertificate#", "QSslCertificate(QIODevice*)", typeof(void), typeof(QIODevice), device);
 }