예제 #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);
        }
예제 #2
0
 public bool SetContent(QIODevice dev)
 {
     return((bool)interceptor.Invoke("setContent#", "setContent(QIODevice*)", typeof(bool), typeof(QIODevice), dev));
 }
예제 #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);
 }
예제 #4
0
 public QXmlStreamReader(QIODevice device) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QXmlStreamReader#", "QXmlStreamReader(QIODevice*)", typeof(void), typeof(QIODevice), device);
 }
예제 #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));
 }
예제 #6
0
파일: QImageWriter.cs 프로젝트: KDE/qyoto
 public void SetDevice(QIODevice device)
 {
     interceptor.Invoke("setDevice#", "setDevice(QIODevice*)", typeof(void), typeof(QIODevice), device);
 }
예제 #7
0
파일: QFtp.cs 프로젝트: micro-chen/qyoto
 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);
 }
예제 #8
0
 public static QByteArray ImageFormat(QIODevice device)
 {
     return (QByteArray) staticInterceptor.Invoke("imageFormat#", "imageFormat(QIODevice*)", typeof(QByteArray), typeof(QIODevice), device);
 }
예제 #9
0
 public QDataStream(QIODevice arg1) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QDataStream#", "QDataStream(QIODevice*)", typeof(void), typeof(QIODevice), arg1);
 }
예제 #10
0
파일: QHttp.cs 프로젝트: micro-chen/qyoto
 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));
 }
예제 #11
0
파일: QHttp.cs 프로젝트: micro-chen/qyoto
 public int Request(QHttpRequestHeader header, QIODevice device)
 {
     return((int)interceptor.Invoke("request##", "request(const QHttpRequestHeader&, QIODevice*)", typeof(int), typeof(QHttpRequestHeader), header, typeof(QIODevice), device));
 }
예제 #12
0
파일: QHttp.cs 프로젝트: micro-chen/qyoto
 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));
 }
예제 #13
0
파일: QHttp.cs 프로젝트: micro-chen/qyoto
 public int Post(string path, QIODevice data)
 {
     return((int)interceptor.Invoke("post$#", "post(const QString&, QIODevice*)", typeof(int), typeof(string), path, typeof(QIODevice), data));
 }
예제 #14
0
파일: QHttp.cs 프로젝트: micro-chen/qyoto
 public int Get(string path, QIODevice to)
 {
     return((int)interceptor.Invoke("get$#", "get(const QString&, QIODevice*)", typeof(int), typeof(string), path, typeof(QIODevice), to));
 }
예제 #15
0
 public QXmlInputSource(QIODevice dev) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QXmlInputSource#", "QXmlInputSource(QIODevice*)", typeof(void), typeof(QIODevice), dev);
 }
예제 #16
0
 public bool Load(QIODevice dev)
 {
     return((bool)interceptor.Invoke("load#", "load(QIODevice*)", typeof(bool), typeof(QIODevice), dev));
 }
예제 #17
0
 public bool Save(QIODevice dev)
 {
     return((bool)interceptor.Invoke("save#", "save(QIODevice*)", typeof(bool), typeof(QIODevice), dev));
 }
예제 #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));
 }
예제 #19
0
 public abstract void Serialize(Akonadi.Item item, QByteArray label, QIODevice data, ref int version);
예제 #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));
 }
예제 #21
0
파일: QFtp.cs 프로젝트: micro-chen/qyoto
 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);
 }
예제 #22
0
 public QIODeviceWrapper(QIODevice device)
 {
     m_device = device;
 }
예제 #23
0
 public abstract void Insert(QIODevice device);
예제 #24
0
 public static QByteArray ImageFormat(QIODevice device)
 {
     return((QByteArray)staticInterceptor.Invoke("imageFormat#", "imageFormat(QIODevice*)", typeof(QByteArray), typeof(QIODevice), device));
 }
예제 #25
0
파일: QSslKey.cs 프로젝트: 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);
 }
예제 #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);
 }
예제 #27
0
파일: KFilterDev.cs 프로젝트: KDE/kimono
 /// <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);
 }
예제 #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));
 }
예제 #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);
 }
예제 #30
0
 public static List <QSslCertificate> FromDevice(QIODevice device)
 {
     return((List <QSslCertificate>)staticInterceptor.Invoke("fromDevice#", "fromDevice(QIODevice*)", typeof(List <QSslCertificate>), typeof(QIODevice), device));
 }
예제 #31
0
 public QXmlInputSource(QIODevice dev)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QXmlInputSource#", "QXmlInputSource(QIODevice*)", typeof(void), typeof(QIODevice), dev);
 }
예제 #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);
 }
예제 #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));
 }
예제 #34
0
 public QSslCertificate(QIODevice device) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QSslCertificate#", "QSslCertificate(QIODevice*)", typeof(void), typeof(QIODevice), device);
 }
예제 #35
0
 public QImageReader(QIODevice device)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QImageReader#", "QImageReader(QIODevice*)", typeof(void), typeof(QIODevice), device);
 }
예제 #36
0
 public override void Insert(QIODevice device)
 {
     interceptor.Invoke("insert#", "insert(QIODevice*)", typeof(void), typeof(QIODevice), device);
 }
예제 #37
0
 public abstract bool Deserialize(Akonadi.Item item, QByteArray label, QIODevice data, int version);
 public abstract QImageIOHandler Create(QIODevice device, QByteArray format);
예제 #39
0
파일: KAr.cs 프로젝트: 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);
 }
예제 #40
0
 public QTextStream(QIODevice device) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QTextStream#", "QTextStream(QIODevice*)", typeof(void), typeof(QIODevice), device);
 }
예제 #41
0
파일: QFtp.cs 프로젝트: micro-chen/qyoto
 public int Put(QIODevice dev, string file) {
     return (int) interceptor.Invoke("put#$", "put(QIODevice*, const QString&)", typeof(int), typeof(QIODevice), dev, typeof(string), file);
 }
예제 #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);
 }
예제 #43
0
파일: QFtp.cs 프로젝트: micro-chen/qyoto
 public int Get(string file, QIODevice dev) {
     return (int) interceptor.Invoke("get$#", "get(const QString&, QIODevice*)", typeof(int), typeof(string), file, typeof(QIODevice), dev);
 }
예제 #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);
 }
예제 #45
0
파일: QImageWriter.cs 프로젝트: KDE/qyoto
 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);
 }
예제 #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);
 }
예제 #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));
 }
예제 #48
0
파일: QTextStream.cs 프로젝트: KDE/qyoto
 public QTextStream(QIODevice device)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QTextStream#", "QTextStream(QIODevice*)", typeof(void), typeof(QIODevice), device);
 }
예제 #49
0
파일: QSslKey.cs 프로젝트: 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);
 }
예제 #50
0
파일: KFilterBase.cs 프로젝트: KDE/kimono
 /// <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);
 }
예제 #51
0
파일: QSslKey.cs 프로젝트: 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);
 }
예제 #52
0
 public QXmlStreamWriter(QIODevice device)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QXmlStreamWriter#", "QXmlStreamWriter(QIODevice*)", typeof(void), typeof(QIODevice), device);
 }
예제 #53
0
 public void SetDevice(QIODevice device)
 {
     interceptor.Invoke("setDevice#", "setDevice(QIODevice*)", typeof(void), typeof(QIODevice), device);
 }
예제 #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);
 }
예제 #55
0
파일: KFilterDev.cs 프로젝트: KDE/kimono
 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);
 }
예제 #56
0
 public static List<QSslCertificate> FromDevice(QIODevice device)
 {
     return (List<QSslCertificate>) staticInterceptor.Invoke("fromDevice#", "fromDevice(QIODevice*)", typeof(List<QSslCertificate>), typeof(QIODevice), device);
 }
예제 #57
0
 public bool Load(QIODevice dev)
 {
     return (bool) interceptor.Invoke("load#", "load(QIODevice*)", typeof(bool), typeof(QIODevice), dev);
 }
예제 #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);
 }
예제 #59
0
 public bool Save(QIODevice dev)
 {
     return (bool) interceptor.Invoke("save#", "save(QIODevice*)", typeof(bool), typeof(QIODevice), dev);
 }
예제 #60
0
 public QSslCertificate(QIODevice device)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QSslCertificate#", "QSslCertificate(QIODevice*)", typeof(void), typeof(QIODevice), device);
 }