Example #1
0
 public static void Init(string[] argv, QByteArray appname, QByteArray catalog, KLocalizedString programName, QByteArray version)
 {
     string[] args = new string[argv.Length + 1];
     args[0] = System.Reflection.Assembly.GetExecutingAssembly().Location;
     argv.CopyTo(args, 1);
     staticInterceptor.Invoke("init$?####", "init(int, char**, const QByteArray&, const QByteArray&, const KLocalizedString&, const QByteArray&)", typeof(void), false, typeof(int), args.Length, typeof(string[]), args, typeof(QByteArray), appname, typeof(QByteArray), catalog, typeof(KLocalizedString), programName, typeof(QByteArray), version);
 }
Example #2
0
 public static QByteArray FromArray(byte[] array)
 {
     var qba = new QByteArray(array.Length, '\0');
     Pointer<sbyte> p = qba.Data();
     for (int i = 0; i < array.Length; i++) {
         p[i] = (sbyte) array[i];
     }
     return qba;
 }
Example #3
0
 public static byte[] ToArray(QByteArray qba)
 {
     Pointer<sbyte> p = qba.Data();
     byte[] array = new byte[qba.Size()];
     for (int i = 0; i < qba.Size(); i++) {
         array[i] = (byte) p[i];
     }
     return array;
 }
Example #4
0
        public static byte[] ToArray(QByteArray qba)
        {
            Pointer <sbyte> p = qba.Data();

            byte[] array = new byte[qba.Size()];
            for (int i = 0; i < qba.Size(); i++)
            {
                array[i] = (byte)p[i];
            }
            return(array);
        }
Example #5
0
        public static QByteArray FromArray(byte[] array)
        {
            var             qba = new QByteArray(array.Length, '\0');
            Pointer <sbyte> p   = qba.Data();

            for (int i = 0; i < array.Length; i++)
            {
                p[i] = (sbyte)array[i];
            }
            return(qba);
        }
Example #6
0
 protected override bool IsGroupImmutableImpl(QByteArray aGroup)
 {
     return (bool) interceptor.Invoke("isGroupImmutableImpl#", "isGroupImmutableImpl(const QByteArray&) const", typeof(bool), typeof(QByteArray), aGroup);
 }
Example #7
0
 protected override KConfigGroup GroupImpl(QByteArray b)
 {
     return (KConfigGroup) interceptor.Invoke("groupImpl#", "groupImpl(const QByteArray&)", typeof(KConfigGroup), typeof(QByteArray), b);
 }
Example #8
0
File: Qt.cs Project: KDE/qyoto
 public static QDataStream Read(QDataStream arg1, QByteArray arg2)
 {
     return (QDataStream) staticInterceptor.Invoke("operator>>##", "operator>>(QDataStream&, QByteArray&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QByteArray), arg2);
 }
Example #9
0
 /// <remarks>
 ///  Creates a new session.
 /// <param> name="sessionId" The identifier for this session, will be a
 ///                   random value if empty.
 /// </param><param> name="parent" The parent object.
 /// </param></remarks>        <short>    Creates a new session.</short>
 ///         <see> defaultSession</see>
 public Session(QByteArray sessionId, QObject parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("Session##", "Session(const QByteArray&, QObject*)", typeof(void), typeof(QByteArray), sessionId, typeof(QObject), parent);
 }
Example #10
0
 public static QTextCodec CodecForHtml(QByteArray ba)
 {
     return((QTextCodec)staticInterceptor.Invoke("codecForHtml#", "codecForHtml(const QByteArray&)", typeof(QTextCodec), typeof(QByteArray), ba));
 }
Example #11
0
 public static string DecodeName(QByteArray localFileName)
 {
     return((string)staticInterceptor.Invoke("decodeName#", "decodeName(const QByteArray&)", typeof(string), typeof(QByteArray), localFileName));
 }
Example #12
0
 public bool HasEncodedQueryItem(QByteArray key)
 {
     return((bool)interceptor.Invoke("hasEncodedQueryItem#", "hasEncodedQueryItem(const QByteArray&) const", typeof(bool), typeof(QByteArray), key));
 }
Example #13
0
 public QByteArray EncodedQueryItemValue(QByteArray key)
 {
     return((QByteArray)interceptor.Invoke("encodedQueryItemValue#", "encodedQueryItemValue(const QByteArray&) const", typeof(QByteArray), typeof(QByteArray), key));
 }
Example #14
0
 public void SetEncodedQuery(QByteArray query)
 {
     interceptor.Invoke("setEncodedQuery#", "setEncodedQuery(const QByteArray&)", typeof(void), typeof(QByteArray), query);
 }
Example #15
0
 public void AddEncodedQueryItem(QByteArray key, QByteArray value)
 {
     interceptor.Invoke("addEncodedQueryItem##", "addEncodedQueryItem(const QByteArray&, const QByteArray&)", typeof(void), typeof(QByteArray), key, typeof(QByteArray), value);
 }
Example #16
0
 public void SetEncodedPath(QByteArray path)
 {
     interceptor.Invoke("setEncodedPath#", "setEncodedPath(const QByteArray&)", typeof(void), typeof(QByteArray), path);
 }
Example #17
0
 public void SetEncodedHost(QByteArray host)
 {
     interceptor.Invoke("setEncodedHost#", "setEncodedHost(const QByteArray&)", typeof(void), typeof(QByteArray), host);
 }
Example #18
0
 public void SetEncodedPassword(QByteArray password)
 {
     interceptor.Invoke("setEncodedPassword#", "setEncodedPassword(const QByteArray&)", typeof(void), typeof(QByteArray), password);
 }
Example #19
0
File: QSslKey.cs Project: KDE/qyoto
 public QByteArray ToPem(QByteArray passPhrase)
 {
     return (QByteArray) interceptor.Invoke("toPem#", "toPem(const QByteArray&) const", typeof(QByteArray), typeof(QByteArray), passPhrase);
 }
Example #20
0
 public List <QByteArray> AllEncodedQueryItemValues(QByteArray key)
 {
     return((List <QByteArray>)interceptor.Invoke("allEncodedQueryItemValues#", "allEncodedQueryItemValues(const QByteArray&) const", typeof(List <QByteArray>), typeof(QByteArray), key));
 }
Example #21
0
File: QSslKey.cs Project: KDE/qyoto
 public QSslKey(QByteArray encoded, QSsl.KeyAlgorithm algorithm)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QSslKey#$", "QSslKey(const QByteArray&, QSsl::KeyAlgorithm)", typeof(void), typeof(QByteArray), encoded, typeof(QSsl.KeyAlgorithm), algorithm);
 }
Example #22
0
 public void RemoveAllEncodedQueryItems(QByteArray key)
 {
     interceptor.Invoke("removeAllEncodedQueryItems#", "removeAllEncodedQueryItems(const QByteArray&)", typeof(void), typeof(QByteArray), key);
 }
Example #23
0
 public string ToUnicode(QByteArray arg1)
 {
     return((string)interceptor.Invoke("toUnicode#", "toUnicode(const QByteArray&) const", typeof(string), typeof(QByteArray), arg1));
 }
Example #24
0
 public void SetEncodedFragment(QByteArray fragment)
 {
     interceptor.Invoke("setEncodedFragment#", "setEncodedFragment(const QByteArray&)", typeof(void), typeof(QByteArray), fragment);
 }
Example #25
0
 public void SetEncodedUserName(QByteArray userName)
 {
     interceptor.Invoke("setEncodedUserName#", "setEncodedUserName(const QByteArray&)", typeof(void), typeof(QByteArray), userName);
 }
Example #26
0
 public static QUrl FromEncoded(QByteArray url)
 {
     return((QUrl)staticInterceptor.Invoke("fromEncoded#", "fromEncoded(const QByteArray&)", typeof(QUrl), typeof(QByteArray), url));
 }
Example #27
0
 public QXmlStreamReader(QByteArray data) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QXmlStreamReader#", "QXmlStreamReader(const QByteArray&)", typeof(void), typeof(QByteArray), data);
 }
Example #28
0
 public static QUrl FromEncoded(QByteArray url, QUrl.ParsingMode mode)
 {
     return((QUrl)staticInterceptor.Invoke("fromEncoded#$", "fromEncoded(const QByteArray&, QUrl::ParsingMode)", typeof(QUrl), typeof(QByteArray), url, typeof(QUrl.ParsingMode), mode));
 }
Example #29
0
 /// <remarks>
 ///  For writing gzip compressed files only:
 ///  set the name of the original file, to be used in the gzip header.
 /// <param> name="fileName" the name of the original file
 ///      </param></remarks>        <short>    For writing gzip compressed files only:  set the name of the original file, to be used in the gzip header.</short>
 public void SetOrigFileName(QByteArray fileName)
 {
     interceptor.Invoke("setOrigFileName#", "setOrigFileName(const QByteArray&)", typeof(void), typeof(QByteArray), fileName);
 }
Example #30
0
 public static QByteArray ToPercentEncoding(string arg1, QByteArray exclude)
 {
     return((QByteArray)staticInterceptor.Invoke("toPercentEncoding$#", "toPercentEncoding(const QString&, const QByteArray&)", typeof(QByteArray), typeof(string), arg1, typeof(QByteArray), exclude));
 }
Example #31
0
 protected override void DeleteGroupImpl(QByteArray group, uint flags)
 {
     interceptor.Invoke("deleteGroupImpl#$", "deleteGroupImpl(const QByteArray&, KConfigBase::WriteConfigFlags)", typeof(void), typeof(QByteArray), group, typeof(uint), flags);
 }
Example #32
0
 public static string FromAce(QByteArray arg1)
 {
     return((string)staticInterceptor.Invoke("fromAce#", "fromAce(const QByteArray&)", typeof(string), typeof(QByteArray), arg1));
 }
Example #33
0
 protected override bool HasGroupImpl(QByteArray group)
 {
     return (bool) interceptor.Invoke("hasGroupImpl#", "hasGroupImpl(const QByteArray&) const", typeof(bool), typeof(QByteArray), group);
 }
Example #34
0
 public void SetEncodedUrl(QByteArray url)
 {
     interceptor.Invoke("setEncodedUrl#", "setEncodedUrl(const QByteArray&)", typeof(void), typeof(QByteArray), url);
 }
Example #35
0
 public QNetworkReply Post(QNetworkRequest request, QByteArray data)
 {
     return((QNetworkReply)interceptor.Invoke("post##", "post(const QNetworkRequest&, const QByteArray&)", typeof(QNetworkReply), typeof(QNetworkRequest), request, typeof(QByteArray), data));
 }
Example #36
0
 public void SetEncodedUrl(QByteArray url, QUrl.ParsingMode mode)
 {
     interceptor.Invoke("setEncodedUrl#$", "setEncodedUrl(const QByteArray&, QUrl::ParsingMode)", typeof(void), typeof(QByteArray), url, typeof(QUrl.ParsingMode), mode);
 }
Example #37
0
File: QSslKey.cs Project: KDE/qyoto
 public QSslKey(QByteArray encoded, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QSslKey#$$$", "QSslKey(const QByteArray&, QSsl::KeyAlgorithm, QSsl::EncodingFormat, QSsl::KeyType)", typeof(void), typeof(QByteArray), encoded, typeof(QSsl.KeyAlgorithm), algorithm, typeof(QSsl.EncodingFormat), format, typeof(QSsl.KeyType), type);
 }
Example #38
0
 public bool HasRawHeader(QByteArray headerName)
 {
     return((bool)interceptor.Invoke("hasRawHeader#", "hasRawHeader(const QByteArray&) const", typeof(bool), typeof(QByteArray), headerName));
 }
Example #39
0
File: QSslKey.cs Project: 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);
 }
Example #40
0
 /// <remarks>
 ///  Write block
 /// <param> name="data" the data to write
 ///      </param></remarks>        <short>    Write block </short>
 public void Write(QByteArray data)
 {
     interceptor.Invoke("write#", "write(const QByteArray&)", typeof(void), typeof(QByteArray), data);
 }
Example #41
0
 public static QTextCodec CodecForHtml(QByteArray ba, QTextCodec defaultCodec)
 {
     return((QTextCodec)staticInterceptor.Invoke("codecForHtml##", "codecForHtml(const QByteArray&, QTextCodec*)", typeof(QTextCodec), typeof(QByteArray), ba, typeof(QTextCodec), defaultCodec));
 }
Example #42
0
File: Qt.cs Project: KDE/qyoto
 public static QByteArray QCompress(QByteArray data, int compressionLevel)
 {
     return (QByteArray) staticInterceptor.Invoke("qCompress#$", "qCompress(const QByteArray&, int)", typeof(QByteArray), typeof(QByteArray), data, typeof(int), compressionLevel);
 }
Example #43
0
 public static QTextCodec CodecForName(QByteArray name)
 {
     return((QTextCodec)staticInterceptor.Invoke("codecForName#", "codecForName(const QByteArray&)", typeof(QTextCodec), typeof(QByteArray), name));
 }
Example #44
0
File: Qt.cs Project: KDE/qyoto
 public static int Qstrcmp(string str1, QByteArray str2)
 {
     return (int) staticInterceptor.Invoke("qstrcmp$#", "qstrcmp(const char*, const QByteArray&)", typeof(int), typeof(string), str1, typeof(QByteArray), str2);
 }
Example #45
0
 public QByteArray RawHeader(QByteArray headerName)
 {
     return((QByteArray)interceptor.Invoke("rawHeader#", "rawHeader(const QByteArray&) const", typeof(QByteArray), typeof(QByteArray), headerName));
 }
Example #46
0
 public void SetContent(QByteArray data)
 {
     interceptor.Invoke("setContent#", "setContent(const QByteArray&)", typeof(void), typeof(QByteArray), data);
 }
Example #47
0
File: Qt.cs Project: KDE/qyoto
 public static QTextCodec CodecForHtml(QByteArray ba)
 {
     return (QTextCodec) staticInterceptor.Invoke("codecForHtml#", "codecForHtml(const QByteArray&)", typeof(QTextCodec), typeof(QByteArray), ba);
 }
Example #48
0
 protected void SetRawHeader(QByteArray headerName, QByteArray value)
 {
     interceptor.Invoke("setRawHeader##", "setRawHeader(const QByteArray&, const QByteArray&)", typeof(void), typeof(QByteArray), headerName, typeof(QByteArray), value);
 }
Example #49
0
File: Qt.cs Project: KDE/qyoto
 public static bool Qputenv(string varName, QByteArray value)
 {
     return (bool) staticInterceptor.Invoke("qputenv$#", "qputenv(const char*, const QByteArray&)", typeof(bool), typeof(string), varName, typeof(QByteArray), value);
 }
Example #50
0
 public bool RestoreState(QByteArray state)
 {
     return (bool) interceptor.Invoke("restoreState#", "restoreState(const QByteArray&)", typeof(bool), typeof(QByteArray), state);
 }
Example #51
0
File: Qt.cs Project: KDE/qyoto
 public static QByteArray QUncompress(QByteArray data)
 {
     return (QByteArray) staticInterceptor.Invoke("qUncompress#", "qUncompress(const QByteArray&)", typeof(QByteArray), typeof(QByteArray), data);
 }
Example #52
0
 public void SetFormat(QByteArray format)
 {
     interceptor.Invoke("setFormat#", "setFormat(const QByteArray&)", typeof(void), typeof(QByteArray), format);
 }
Example #53
0
File: Qt.cs Project: KDE/qyoto
 public static QDataStream Write(QDataStream arg1, QByteArray arg2)
 {
     return (QDataStream) staticInterceptor.Invoke("operator<<##", "operator<<(QDataStream&, const QByteArray&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QByteArray), arg2);
 }
Example #54
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);
 }
Example #55
0
 public void AddData(QByteArray data)
 {
     interceptor.Invoke("addData#", "addData(const QByteArray&)", typeof(void), typeof(QByteArray), data);
 }
Example #56
0
 public QImageWriter(string fileName, QByteArray format)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QImageWriter$#", "QImageWriter(const QString&, const QByteArray&)", typeof(void), typeof(string), fileName, typeof(QByteArray), format);
 }
Example #57
0
 public Session(QByteArray sessionId)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("Session#", "Session(const QByteArray&)", typeof(void), typeof(QByteArray), sessionId);
 }
Example #58
0
 /// <remarks>
 ///  Writes a value to the config object.
 /// <param> name="key" The key to write
 /// </param><param> name="value" The value to write
 /// </param><param> name="pFlags" The flags to use when writing this entry.
 ///      </param></remarks>        <short>    Writes a value to the config object.</short>
 public void WriteEntry(string key, QByteArray value, uint pFlags)
 {
     interceptor.Invoke("writeEntry$#$", "writeEntry(const QString&, const QByteArray&, KConfigBase::WriteConfigFlags)", typeof(void), typeof(string), key, typeof(QByteArray), value, typeof(uint), pFlags);
 }
Example #59
0
 public QDynamicPropertyChangeEvent(QByteArray name)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QDynamicPropertyChangeEvent#", "QDynamicPropertyChangeEvent(const QByteArray&)", typeof(void), typeof(QByteArray), name);
 }
Example #60
0
 public void WriteEntry(string key, QByteArray value)
 {
     interceptor.Invoke("writeEntry$#", "writeEntry(const QString&, const QByteArray&)", typeof(void), typeof(string), key, typeof(QByteArray), value);
 }