Exemplo n.º 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);
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 6
0
 protected override bool IsGroupImmutableImpl(QByteArray aGroup)
 {
     return (bool) interceptor.Invoke("isGroupImmutableImpl#", "isGroupImmutableImpl(const QByteArray&) const", typeof(bool), typeof(QByteArray), aGroup);
 }
Exemplo n.º 7
0
 protected override KConfigGroup GroupImpl(QByteArray b)
 {
     return (KConfigGroup) interceptor.Invoke("groupImpl#", "groupImpl(const QByteArray&)", typeof(KConfigGroup), typeof(QByteArray), b);
 }
Exemplo n.º 8
0
Arquivo: Qt.cs Projeto: 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 10
0
 public static QTextCodec CodecForHtml(QByteArray ba)
 {
     return((QTextCodec)staticInterceptor.Invoke("codecForHtml#", "codecForHtml(const QByteArray&)", typeof(QTextCodec), typeof(QByteArray), ba));
 }
Exemplo n.º 11
0
 public static string DecodeName(QByteArray localFileName)
 {
     return((string)staticInterceptor.Invoke("decodeName#", "decodeName(const QByteArray&)", typeof(string), typeof(QByteArray), localFileName));
 }
Exemplo n.º 12
0
 public bool HasEncodedQueryItem(QByteArray key)
 {
     return((bool)interceptor.Invoke("hasEncodedQueryItem#", "hasEncodedQueryItem(const QByteArray&) const", typeof(bool), typeof(QByteArray), key));
 }
Exemplo n.º 13
0
 public QByteArray EncodedQueryItemValue(QByteArray key)
 {
     return((QByteArray)interceptor.Invoke("encodedQueryItemValue#", "encodedQueryItemValue(const QByteArray&) const", typeof(QByteArray), typeof(QByteArray), key));
 }
Exemplo n.º 14
0
 public void SetEncodedQuery(QByteArray query)
 {
     interceptor.Invoke("setEncodedQuery#", "setEncodedQuery(const QByteArray&)", typeof(void), typeof(QByteArray), query);
 }
Exemplo n.º 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);
 }
Exemplo n.º 16
0
 public void SetEncodedPath(QByteArray path)
 {
     interceptor.Invoke("setEncodedPath#", "setEncodedPath(const QByteArray&)", typeof(void), typeof(QByteArray), path);
 }
Exemplo n.º 17
0
 public void SetEncodedHost(QByteArray host)
 {
     interceptor.Invoke("setEncodedHost#", "setEncodedHost(const QByteArray&)", typeof(void), typeof(QByteArray), host);
 }
Exemplo n.º 18
0
 public void SetEncodedPassword(QByteArray password)
 {
     interceptor.Invoke("setEncodedPassword#", "setEncodedPassword(const QByteArray&)", typeof(void), typeof(QByteArray), password);
 }
Exemplo n.º 19
0
Arquivo: QSslKey.cs Projeto: KDE/qyoto
 public QByteArray ToPem(QByteArray passPhrase)
 {
     return (QByteArray) interceptor.Invoke("toPem#", "toPem(const QByteArray&) const", typeof(QByteArray), typeof(QByteArray), passPhrase);
 }
Exemplo n.º 20
0
 public List <QByteArray> AllEncodedQueryItemValues(QByteArray key)
 {
     return((List <QByteArray>)interceptor.Invoke("allEncodedQueryItemValues#", "allEncodedQueryItemValues(const QByteArray&) const", typeof(List <QByteArray>), typeof(QByteArray), key));
 }
Exemplo n.º 21
0
Arquivo: QSslKey.cs Projeto: 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);
 }
Exemplo n.º 22
0
 public void RemoveAllEncodedQueryItems(QByteArray key)
 {
     interceptor.Invoke("removeAllEncodedQueryItems#", "removeAllEncodedQueryItems(const QByteArray&)", typeof(void), typeof(QByteArray), key);
 }
Exemplo n.º 23
0
 public string ToUnicode(QByteArray arg1)
 {
     return((string)interceptor.Invoke("toUnicode#", "toUnicode(const QByteArray&) const", typeof(string), typeof(QByteArray), arg1));
 }
Exemplo n.º 24
0
 public void SetEncodedFragment(QByteArray fragment)
 {
     interceptor.Invoke("setEncodedFragment#", "setEncodedFragment(const QByteArray&)", typeof(void), typeof(QByteArray), fragment);
 }
Exemplo n.º 25
0
 public void SetEncodedUserName(QByteArray userName)
 {
     interceptor.Invoke("setEncodedUserName#", "setEncodedUserName(const QByteArray&)", typeof(void), typeof(QByteArray), userName);
 }
Exemplo n.º 26
0
 public static QUrl FromEncoded(QByteArray url)
 {
     return((QUrl)staticInterceptor.Invoke("fromEncoded#", "fromEncoded(const QByteArray&)", typeof(QUrl), typeof(QByteArray), url));
 }
Exemplo n.º 27
0
 public QXmlStreamReader(QByteArray data) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QXmlStreamReader#", "QXmlStreamReader(const QByteArray&)", typeof(void), typeof(QByteArray), data);
 }
Exemplo n.º 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));
 }
Exemplo n.º 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);
 }
Exemplo n.º 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));
 }
Exemplo n.º 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);
 }
Exemplo n.º 32
0
 public static string FromAce(QByteArray arg1)
 {
     return((string)staticInterceptor.Invoke("fromAce#", "fromAce(const QByteArray&)", typeof(string), typeof(QByteArray), arg1));
 }
Exemplo n.º 33
0
 protected override bool HasGroupImpl(QByteArray group)
 {
     return (bool) interceptor.Invoke("hasGroupImpl#", "hasGroupImpl(const QByteArray&) const", typeof(bool), typeof(QByteArray), group);
 }
Exemplo n.º 34
0
 public void SetEncodedUrl(QByteArray url)
 {
     interceptor.Invoke("setEncodedUrl#", "setEncodedUrl(const QByteArray&)", typeof(void), typeof(QByteArray), url);
 }
Exemplo n.º 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));
 }
Exemplo n.º 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);
 }
Exemplo n.º 37
0
Arquivo: QSslKey.cs Projeto: 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);
 }
Exemplo n.º 38
0
 public bool HasRawHeader(QByteArray headerName)
 {
     return((bool)interceptor.Invoke("hasRawHeader#", "hasRawHeader(const QByteArray&) const", typeof(bool), typeof(QByteArray), headerName));
 }
Exemplo n.º 39
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.º 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);
 }
Exemplo n.º 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));
 }
Exemplo n.º 42
0
Arquivo: Qt.cs Projeto: 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);
 }
Exemplo n.º 43
0
 public static QTextCodec CodecForName(QByteArray name)
 {
     return((QTextCodec)staticInterceptor.Invoke("codecForName#", "codecForName(const QByteArray&)", typeof(QTextCodec), typeof(QByteArray), name));
 }
Exemplo n.º 44
0
Arquivo: Qt.cs Projeto: 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);
 }
Exemplo n.º 45
0
 public QByteArray RawHeader(QByteArray headerName)
 {
     return((QByteArray)interceptor.Invoke("rawHeader#", "rawHeader(const QByteArray&) const", typeof(QByteArray), typeof(QByteArray), headerName));
 }
Exemplo n.º 46
0
 public void SetContent(QByteArray data)
 {
     interceptor.Invoke("setContent#", "setContent(const QByteArray&)", typeof(void), typeof(QByteArray), data);
 }
Exemplo n.º 47
0
Arquivo: Qt.cs Projeto: KDE/qyoto
 public static QTextCodec CodecForHtml(QByteArray ba)
 {
     return (QTextCodec) staticInterceptor.Invoke("codecForHtml#", "codecForHtml(const QByteArray&)", typeof(QTextCodec), typeof(QByteArray), ba);
 }
Exemplo n.º 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);
 }
Exemplo n.º 49
0
Arquivo: Qt.cs Projeto: 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);
 }
Exemplo n.º 50
0
 public bool RestoreState(QByteArray state)
 {
     return (bool) interceptor.Invoke("restoreState#", "restoreState(const QByteArray&)", typeof(bool), typeof(QByteArray), state);
 }
Exemplo n.º 51
0
Arquivo: Qt.cs Projeto: KDE/qyoto
 public static QByteArray QUncompress(QByteArray data)
 {
     return (QByteArray) staticInterceptor.Invoke("qUncompress#", "qUncompress(const QByteArray&)", typeof(QByteArray), typeof(QByteArray), data);
 }
Exemplo n.º 52
0
 public void SetFormat(QByteArray format)
 {
     interceptor.Invoke("setFormat#", "setFormat(const QByteArray&)", typeof(void), typeof(QByteArray), format);
 }
Exemplo n.º 53
0
Arquivo: Qt.cs Projeto: 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 55
0
 public void AddData(QByteArray data)
 {
     interceptor.Invoke("addData#", "addData(const QByteArray&)", typeof(void), typeof(QByteArray), data);
 }
Exemplo n.º 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);
 }
Exemplo n.º 57
0
 public Session(QByteArray sessionId)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("Session#", "Session(const QByteArray&)", typeof(void), typeof(QByteArray), sessionId);
 }
Exemplo n.º 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);
 }
Exemplo n.º 59
0
 public QDynamicPropertyChangeEvent(QByteArray name)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QDynamicPropertyChangeEvent#", "QDynamicPropertyChangeEvent(const QByteArray&)", typeof(void), typeof(QByteArray), name);
 }
Exemplo n.º 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);
 }