Inheritance: Object, IDisposable
Example #1
0
 void on_textBrowser_anchorClicked(QUrl link)
 {
     if (link.ToString() == "#message-eric") {
         var account = Gui.ShowAccountSelectMenu(null);
         if (account != null) {
             Gui.TabbedChatsWindow.StartChat(account, new jabber.JID("*****@*****.**"));
         }
     }
 }
Example #2
0
 public QUrl Resolved(QUrl relative)
 {
     return (QUrl) interceptor.Invoke("resolved#", "resolved(const QUrl&) const", typeof(QUrl), typeof(QUrl), relative);
 }
Example #3
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 #4
0
 protected virtual QObject CreatePlugin(string classid, QUrl url, List<string> paramNames, List<string> paramValues)
 {
     return (QObject) interceptor.Invoke("createPlugin$#??", "createPlugin(const QString&, const QUrl&, const QStringList&, const QStringList&)", typeof(QObject), typeof(string), classid, typeof(QUrl), url, typeof(List<string>), paramNames, typeof(List<string>), paramValues);
 }
 public abstract QNetworkCacheMetaData MetaData(QUrl url);
Example #6
0
 public virtual QVariant LoadResource(int type, QUrl name)
 {
     return((QVariant)interceptor.Invoke("loadResource$#", "loadResource(int, const QUrl&)", typeof(QVariant), typeof(int), type, typeof(QUrl), name));
 }
Example #7
0
 public bool IsParentOf(QUrl url)
 {
     return((bool)interceptor.Invoke("isParentOf#", "isParentOf(const QUrl&) const", typeof(bool), typeof(QUrl), url));
 }
Example #8
0
 public void Load(QUrl url)
 {
     interceptor.Invoke("load#", "load(const QUrl&)", typeof(void), typeof(QUrl), url);
 }
Example #9
0
 public QNetworkProxyQuery(QUrl requestUrl, QNetworkProxyQuery.QueryType queryType) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QNetworkProxyQuery#$", "QNetworkProxyQuery(const QUrl&, QNetworkProxyQuery::QueryType)", typeof(void), typeof(QUrl), requestUrl, typeof(QNetworkProxyQuery.QueryType), queryType);
 }
Example #10
0
 public abstract QObject Create(string mimeType, QUrl url, List <string> argumentNames, List <string> argumentValues);
Example #11
0
 public QNetworkRequest(QUrl url) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QNetworkRequest#", "QNetworkRequest(const QUrl&)", typeof(void), typeof(QUrl), url);
 }
Example #12
0
 public static QIcon IconForUrl(QUrl url)
 {
     return((QIcon)staticInterceptor.Invoke("iconForUrl#", "iconForUrl(const QUrl&)", typeof(QIcon), typeof(QUrl), url));
 }
Example #13
0
 public void SetUserStyleSheetUrl(QUrl location)
 {
     interceptor.Invoke("setUserStyleSheetUrl#", "setUserStyleSheetUrl(const QUrl&)", typeof(void), typeof(QUrl), location);
 }
Example #14
0
 protected virtual string UserAgentForUrl(QUrl url)
 {
     return((string)interceptor.Invoke("userAgentForUrl#", "userAgentForUrl(const QUrl&) const", typeof(string), typeof(QUrl), url));
 }
Example #15
0
 protected virtual QObject CreatePlugin(string classid, QUrl url, List <string> paramNames, List <string> paramValues)
 {
     return((QObject)interceptor.Invoke("createPlugin$#??", "createPlugin(const QString&, const QUrl&, const QStringList&, const QStringList&)", typeof(QObject), typeof(string), classid, typeof(QUrl), url, typeof(List <string>), paramNames, typeof(List <string>), paramValues));
 }
Example #16
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 #17
0
 public void SetUrl(string url, QUrl.ParsingMode mode)
 {
     interceptor.Invoke("setUrl$$", "setUrl(const QString&, QUrl::ParsingMode)", typeof(void), typeof(string), url, typeof(QUrl.ParsingMode), mode);
 }
Example #18
0
 public QNetworkProxyQuery(QUrl requestUrl) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QNetworkProxyQuery#", "QNetworkProxyQuery(const QUrl&)", typeof(void), typeof(QUrl), requestUrl);
 }
Example #19
0
 public void SetHtml(string html, QUrl baseUrl)
 {
     interceptor.Invoke("setHtml$#", "setHtml(const QString&, const QUrl&)", typeof(void), typeof(string), html, typeof(QUrl), baseUrl);
 }
Example #20
0
 public QVariant(QUrl url) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QVariant#", "QVariant(const QUrl&)", typeof(void), typeof(QUrl), url);
 }
Example #21
0
 public virtual QVariant LoadResource(int type, QUrl name)
 {
     return (QVariant) interceptor.Invoke("loadResource$#", "loadResource(int, const QUrl&)", typeof(QVariant), typeof(int), type, typeof(QUrl), name);
 }
Example #22
0
 public QUrlInfo(QUrl url, int permissions, string owner, string group, long size, QDateTime lastModified, QDateTime lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QUrlInfo#$$$$##$$$$$$", "QUrlInfo(const QUrl&, int, const QString&, const QString&, qint64, const QDateTime&, const QDateTime&, bool, bool, bool, bool, bool, bool)", typeof(void), typeof(QUrl), url, typeof(int), permissions, typeof(string), owner, typeof(string), group, typeof(long), size, typeof(QDateTime), lastModified, typeof(QDateTime), lastRead, typeof(bool), isDir, typeof(bool), isFile, typeof(bool), isSymLink, typeof(bool), isWritable, typeof(bool), isReadable, typeof(bool), isExecutable);
 }
Example #23
0
 public void SetUserStyleSheetUrl(QUrl location)
 {
     interceptor.Invoke("setUserStyleSheetUrl#", "setUserStyleSheetUrl(const QUrl&)", typeof(void), typeof(QUrl), location);
 }
Example #24
0
 public virtual void SetSource(QUrl name)
 {
     interceptor.Invoke("setSource#", "setSource(const QUrl&)", typeof(void), typeof(QUrl), name);
 }
Example #25
0
File: Qt.cs Project: KDE/qyoto
 public static QDataStream Read(QDataStream arg1, QUrl arg2)
 {
     return (QDataStream) staticInterceptor.Invoke("operator>>##", "operator>>(QDataStream&, QUrl&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QUrl), arg2);
 }
Example #26
0
 public void Load(QUrl url)
 {
     interceptor.Invoke("load#", "load(const QUrl&)", typeof(void), typeof(QUrl), url);
 }
Example #27
0
 public void AddResource(int type, QUrl name, QVariant resource)
 {
     interceptor.Invoke("addResource$##", "addResource(int, const QUrl&, const QVariant&)", typeof(void), typeof(int), type, typeof(QUrl), name, typeof(QVariant), resource);
 }
Example #28
0
 public void SetHtml(string html, QUrl baseUrl)
 {
     interceptor.Invoke("setHtml$#", "setHtml(const QString&, const QUrl&)", typeof(void), typeof(string), html, typeof(QUrl), baseUrl);
 }
Example #29
0
 public bool IsParentOf(QUrl url)
 {
     return (bool) interceptor.Invoke("isParentOf#", "isParentOf(const QUrl&) const", typeof(bool), typeof(QUrl), url);
 }
Example #30
0
 public void SetContent(QByteArray data, string mimeType, QUrl baseUrl)
 {
     interceptor.Invoke("setContent#$#", "setContent(const QByteArray&, const QString&, const QUrl&)", typeof(void), typeof(QByteArray), data, typeof(string), mimeType, typeof(QUrl), baseUrl);
 }
Example #31
0
 public QUrl(string url, QUrl.ParsingMode mode)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QUrl$$", "QUrl(const QString&, QUrl::ParsingMode)", typeof(void), typeof(string), url, typeof(QUrl.ParsingMode), mode);
 }
Example #32
0
 /// <remarks>
 ///  Convert an XML Schema URI into a QVariant.Type.
 ///  \return The QVariant.Type corresponding to dataTypeUri or QVariant.Invalid
 ///  if dataTypeUri is unknown.
 ///          </remarks>        <short>    Convert an XML Schema URI into a QVariant.Type.</short>
 public static QVariant.TypeOf TypeFromDataTypeUri(QUrl dataTypeUri)
 {
     return (QVariant.TypeOf) staticInterceptor.Invoke("typeFromDataTypeUri#", "typeFromDataTypeUri(const QUrl&)", typeof(QVariant.TypeOf), typeof(QUrl), dataTypeUri);
 }
Example #33
0
 public QUrl(QUrl copy)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QUrl#", "QUrl(const QUrl&)", typeof(void), typeof(QUrl), copy);
 }
Example #34
0
 void on_webView_linkClicked(QUrl url)
 {
     RequestUrl(new Uri(url.ToString()));
 }
Example #35
0
 public QFileOpenEvent(QUrl url)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QFileOpenEvent#", "QFileOpenEvent(const QUrl&)", typeof(void), typeof(QUrl), url);
 }
Example #36
0
 /// <remarks>
 ///  Create the ontology referred to by <pre>uri</pre>.
 ///  The result is either a valid ontology which could be loaded from the
 ///  Nepomuk store or a simple class which only contains the uri.
 ///  Be aware that the data is only loaded once read.
 ///  Subsequent calls result in a simple hash lookup of cached data.
 ///              </remarks>        <short>    Create the ontology referred to by \p uri.</short>
 public Ontology(QUrl uri)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("Ontology#", "Ontology(const QUrl&)", typeof(void), typeof(QUrl), uri);
 }
Example #37
0
 public void SetContent(QByteArray data, string mimeType, QUrl baseUrl)
 {
     interceptor.Invoke("setContent#$#", "setContent(const QByteArray&, const QString&, const QUrl&)", typeof(void), typeof(QByteArray), data, typeof(string), mimeType, typeof(QUrl), baseUrl);
 }
Example #38
0
 public void SetUrl(QUrl url)
 {
     interceptor.Invoke("setUrl#", "setUrl(const QUrl&)", typeof(void), typeof(QUrl), url);
 }
Example #39
0
 public QUrl Resolved(QUrl relative)
 {
     return((QUrl)interceptor.Invoke("resolved#", "resolved(const QUrl&) const", typeof(QUrl), typeof(QUrl), relative));
 }
Example #40
0
 public QNetworkRequest(QUrl url)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QNetworkRequest#", "QNetworkRequest(const QUrl&)", typeof(void), typeof(QUrl), url);
 }
Example #41
0
 public QUrl(QUrl copy) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QUrl#", "QUrl(const QUrl&)", typeof(void), typeof(QUrl), copy);
 }
Example #42
0
 public virtual List <QNetworkCookie> CookiesForUrl(QUrl url)
 {
     return((List <QNetworkCookie>)interceptor.Invoke("cookiesForUrl#", "cookiesForUrl(const QUrl&) const", typeof(List <QNetworkCookie>), typeof(QUrl), url));
 }
Example #43
0
 protected void SetUrl(QUrl url)
 {
     interceptor.Invoke("setUrl#", "setUrl(const QUrl&)", typeof(void), typeof(QUrl), url);
 }
Example #44
0
 public virtual bool SetCookiesFromUrl(List <QNetworkCookie> cookieList, QUrl url)
 {
     return((bool)interceptor.Invoke("setCookiesFromUrl?#", "setCookiesFromUrl(const QList<QNetworkCookie>&, const QUrl&)", typeof(bool), typeof(List <QNetworkCookie>), cookieList, typeof(QUrl), url));
 }
Example #45
0
 public static QIcon IconForUrl(QUrl url)
 {
     return (QIcon) staticInterceptor.Invoke("iconForUrl#", "iconForUrl(const QUrl&)", typeof(QIcon), typeof(QUrl), url);
 }
Example #46
0
 public static bool OpenUrl(QUrl url)
 {
     return((bool)staticInterceptor.Invoke("openUrl#", "openUrl(const QUrl&)", typeof(bool), typeof(QUrl), url));
 }
Example #47
0
 public abstract QIODevice Data(QUrl url);
Example #48
0
        void HandleLinkClicked(QUrl url)
        {
            // We don't open arbitrary links for security reasons.
            var validSchemes = new [] { "http", "https", "ftp", "xmpp" };
            if (validSchemes.Contains(url.Scheme().ToLower())) {
                Util.Open(url);
            } else if (url.Scheme().ToLower() == "xmpp") {
                // FIXME: Add xmpp: uri handler.
                QMessageBox.Information(this.TopLevelWidget(), "Not implenented", "xmpp: uris not yet supported.");

            // Ignore # urls.
            } else if (!url.HasFragment()) {
                QMessageBox.Information(this.TopLevelWidget(), "Link Fragment", url.HasFragment() + " " + url.Fragment());
                QMessageBox.Information(this.TopLevelWidget(), "Link URL", url.ToString());
            }
        }
Example #49
0
 public abstract bool Remove(QUrl url);
Example #50
0
 public Variant(QUrl url)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("Variant#", "Variant(const QUrl&)", typeof(void), typeof(QUrl), url);
 }
Example #51
0
File: Qt.cs Project: KDE/qyoto
 public static QDataStream Write(QDataStream arg1, QUrl arg2)
 {
     return (QDataStream) staticInterceptor.Invoke("operator<<##", "operator<<(QDataStream&, const QUrl&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QUrl), arg2);
 }
Example #52
0
 public void Append(QUrl url)
 {
     interceptor.Invoke("append#", "append(const QUrl&)", typeof(void), typeof(QUrl), url);
 }
Example #53
0
 protected virtual string UserAgentForUrl(QUrl url)
 {
     return (string) interceptor.Invoke("userAgentForUrl#", "userAgentForUrl(const QUrl&) const", typeof(string), typeof(QUrl), url);
 }
Example #54
0
 public QVariant Resource(int type, QUrl name)
 {
     return((QVariant)interceptor.Invoke("resource$#", "resource(int, const QUrl&) const", typeof(QVariant), typeof(int), type, typeof(QUrl), name));
 }