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("*****@*****.**")); } } }
public QUrl Resolved(QUrl relative) { return (QUrl) interceptor.Invoke("resolved#", "resolved(const QUrl&) const", typeof(QUrl), typeof(QUrl), relative); }
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); }
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);
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)); }
public bool IsParentOf(QUrl url) { return((bool)interceptor.Invoke("isParentOf#", "isParentOf(const QUrl&) const", typeof(bool), typeof(QUrl), url)); }
public void Load(QUrl url) { interceptor.Invoke("load#", "load(const QUrl&)", typeof(void), typeof(QUrl), url); }
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); }
public abstract QObject Create(string mimeType, QUrl url, List <string> argumentNames, List <string> argumentValues);
public QNetworkRequest(QUrl url) : this((Type)null) { CreateProxy(); interceptor.Invoke("QNetworkRequest#", "QNetworkRequest(const QUrl&)", typeof(void), typeof(QUrl), url); }
public static QIcon IconForUrl(QUrl url) { return((QIcon)staticInterceptor.Invoke("iconForUrl#", "iconForUrl(const QUrl&)", typeof(QIcon), typeof(QUrl), url)); }
public void SetUserStyleSheetUrl(QUrl location) { interceptor.Invoke("setUserStyleSheetUrl#", "setUserStyleSheetUrl(const QUrl&)", typeof(void), typeof(QUrl), location); }
protected virtual string UserAgentForUrl(QUrl url) { return((string)interceptor.Invoke("userAgentForUrl#", "userAgentForUrl(const QUrl&) const", typeof(string), typeof(QUrl), url)); }
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 void SetEncodedUrl(QByteArray url, QUrl.ParsingMode mode) { interceptor.Invoke("setEncodedUrl#$", "setEncodedUrl(const QByteArray&, QUrl::ParsingMode)", typeof(void), typeof(QByteArray), url, typeof(QUrl.ParsingMode), mode); }
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); }
public QNetworkProxyQuery(QUrl requestUrl) : this((Type)null) { CreateProxy(); interceptor.Invoke("QNetworkProxyQuery#", "QNetworkProxyQuery(const QUrl&)", typeof(void), typeof(QUrl), requestUrl); }
public void SetHtml(string html, QUrl baseUrl) { interceptor.Invoke("setHtml$#", "setHtml(const QString&, const QUrl&)", typeof(void), typeof(string), html, typeof(QUrl), baseUrl); }
public QVariant(QUrl url) : this((Type)null) { CreateProxy(); interceptor.Invoke("QVariant#", "QVariant(const QUrl&)", typeof(void), typeof(QUrl), url); }
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); }
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); }
public virtual void SetSource(QUrl name) { interceptor.Invoke("setSource#", "setSource(const QUrl&)", typeof(void), typeof(QUrl), name); }
public static QDataStream Read(QDataStream arg1, QUrl arg2) { return (QDataStream) staticInterceptor.Invoke("operator>>##", "operator>>(QDataStream&, QUrl&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QUrl), arg2); }
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); }
public bool IsParentOf(QUrl url) { return (bool) interceptor.Invoke("isParentOf#", "isParentOf(const QUrl&) const", typeof(bool), typeof(QUrl), url); }
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); }
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); }
/// <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); }
public QUrl(QUrl copy) : this((Type) null) { CreateProxy(); interceptor.Invoke("QUrl#", "QUrl(const QUrl&)", typeof(void), typeof(QUrl), copy); }
void on_webView_linkClicked(QUrl url) { RequestUrl(new Uri(url.ToString())); }
public QFileOpenEvent(QUrl url) : this((Type) null) { CreateProxy(); interceptor.Invoke("QFileOpenEvent#", "QFileOpenEvent(const QUrl&)", typeof(void), typeof(QUrl), url); }
/// <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); }
public void SetUrl(QUrl url) { interceptor.Invoke("setUrl#", "setUrl(const QUrl&)", typeof(void), typeof(QUrl), url); }
public QUrl Resolved(QUrl relative) { return((QUrl)interceptor.Invoke("resolved#", "resolved(const QUrl&) const", typeof(QUrl), typeof(QUrl), relative)); }
public QNetworkRequest(QUrl url) : this((Type) null) { CreateProxy(); interceptor.Invoke("QNetworkRequest#", "QNetworkRequest(const QUrl&)", typeof(void), typeof(QUrl), url); }
public QUrl(QUrl copy) : this((Type)null) { CreateProxy(); interceptor.Invoke("QUrl#", "QUrl(const QUrl&)", typeof(void), typeof(QUrl), copy); }
public virtual List <QNetworkCookie> CookiesForUrl(QUrl url) { return((List <QNetworkCookie>)interceptor.Invoke("cookiesForUrl#", "cookiesForUrl(const QUrl&) const", typeof(List <QNetworkCookie>), typeof(QUrl), url)); }
protected void SetUrl(QUrl url) { interceptor.Invoke("setUrl#", "setUrl(const QUrl&)", typeof(void), typeof(QUrl), url); }
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)); }
public static QIcon IconForUrl(QUrl url) { return (QIcon) staticInterceptor.Invoke("iconForUrl#", "iconForUrl(const QUrl&)", typeof(QIcon), typeof(QUrl), url); }
public static bool OpenUrl(QUrl url) { return((bool)staticInterceptor.Invoke("openUrl#", "openUrl(const QUrl&)", typeof(bool), typeof(QUrl), url)); }
public abstract QIODevice Data(QUrl url);
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()); } }
public abstract bool Remove(QUrl url);
public Variant(QUrl url) : this((Type) null) { CreateProxy(); interceptor.Invoke("Variant#", "Variant(const QUrl&)", typeof(void), typeof(QUrl), url); }
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); }
public void Append(QUrl url) { interceptor.Invoke("append#", "append(const QUrl&)", typeof(void), typeof(QUrl), url); }
protected virtual string UserAgentForUrl(QUrl url) { return (string) interceptor.Invoke("userAgentForUrl#", "userAgentForUrl(const QUrl&) const", typeof(string), typeof(QUrl), url); }
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)); }