Inheritance: Object, IDisposable
Esempio n. 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("*****@*****.**"));
         }
     }
 }
Esempio n. 2
0
 public QUrl Resolved(QUrl relative)
 {
     return (QUrl) interceptor.Invoke("resolved#", "resolved(const QUrl&) const", typeof(QUrl), typeof(QUrl), relative);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 5
0
 public abstract QNetworkCacheMetaData MetaData(QUrl url);
Esempio n. 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));
 }
Esempio n. 7
0
 public bool IsParentOf(QUrl url)
 {
     return((bool)interceptor.Invoke("isParentOf#", "isParentOf(const QUrl&) const", typeof(bool), typeof(QUrl), url));
 }
Esempio n. 8
0
 public void Load(QUrl url)
 {
     interceptor.Invoke("load#", "load(const QUrl&)", typeof(void), typeof(QUrl), url);
 }
Esempio n. 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);
 }
Esempio n. 10
0
 public abstract QObject Create(string mimeType, QUrl url, List <string> argumentNames, List <string> argumentValues);
Esempio n. 11
0
 public QNetworkRequest(QUrl url) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QNetworkRequest#", "QNetworkRequest(const QUrl&)", typeof(void), typeof(QUrl), url);
 }
Esempio n. 12
0
 public static QIcon IconForUrl(QUrl url)
 {
     return((QIcon)staticInterceptor.Invoke("iconForUrl#", "iconForUrl(const QUrl&)", typeof(QIcon), typeof(QUrl), url));
 }
Esempio n. 13
0
 public void SetUserStyleSheetUrl(QUrl location)
 {
     interceptor.Invoke("setUserStyleSheetUrl#", "setUserStyleSheetUrl(const QUrl&)", typeof(void), typeof(QUrl), location);
 }
Esempio n. 14
0
 protected virtual string UserAgentForUrl(QUrl url)
 {
     return((string)interceptor.Invoke("userAgentForUrl#", "userAgentForUrl(const QUrl&) const", typeof(string), typeof(QUrl), url));
 }
Esempio n. 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));
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 18
0
 public QNetworkProxyQuery(QUrl requestUrl) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QNetworkProxyQuery#", "QNetworkProxyQuery(const QUrl&)", typeof(void), typeof(QUrl), requestUrl);
 }
Esempio n. 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);
 }
Esempio n. 20
0
 public QVariant(QUrl url) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QVariant#", "QVariant(const QUrl&)", typeof(void), typeof(QUrl), url);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 23
0
 public void SetUserStyleSheetUrl(QUrl location)
 {
     interceptor.Invoke("setUserStyleSheetUrl#", "setUserStyleSheetUrl(const QUrl&)", typeof(void), typeof(QUrl), location);
 }
Esempio n. 24
0
 public virtual void SetSource(QUrl name)
 {
     interceptor.Invoke("setSource#", "setSource(const QUrl&)", typeof(void), typeof(QUrl), name);
 }
Esempio n. 25
0
File: Qt.cs Progetto: 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);
 }
Esempio n. 26
0
 public void Load(QUrl url)
 {
     interceptor.Invoke("load#", "load(const QUrl&)", typeof(void), typeof(QUrl), url);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 29
0
 public bool IsParentOf(QUrl url)
 {
     return (bool) interceptor.Invoke("isParentOf#", "isParentOf(const QUrl&) const", typeof(bool), typeof(QUrl), url);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 33
0
 public QUrl(QUrl copy)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QUrl#", "QUrl(const QUrl&)", typeof(void), typeof(QUrl), copy);
 }
Esempio n. 34
0
 void on_webView_linkClicked(QUrl url)
 {
     RequestUrl(new Uri(url.ToString()));
 }
Esempio n. 35
0
 public QFileOpenEvent(QUrl url)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QFileOpenEvent#", "QFileOpenEvent(const QUrl&)", typeof(void), typeof(QUrl), url);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 38
0
 public void SetUrl(QUrl url)
 {
     interceptor.Invoke("setUrl#", "setUrl(const QUrl&)", typeof(void), typeof(QUrl), url);
 }
Esempio n. 39
0
 public QUrl Resolved(QUrl relative)
 {
     return((QUrl)interceptor.Invoke("resolved#", "resolved(const QUrl&) const", typeof(QUrl), typeof(QUrl), relative));
 }
Esempio n. 40
0
 public QNetworkRequest(QUrl url)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QNetworkRequest#", "QNetworkRequest(const QUrl&)", typeof(void), typeof(QUrl), url);
 }
Esempio n. 41
0
 public QUrl(QUrl copy) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QUrl#", "QUrl(const QUrl&)", typeof(void), typeof(QUrl), copy);
 }
Esempio n. 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));
 }
Esempio n. 43
0
 protected void SetUrl(QUrl url)
 {
     interceptor.Invoke("setUrl#", "setUrl(const QUrl&)", typeof(void), typeof(QUrl), url);
 }
Esempio n. 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));
 }
Esempio n. 45
0
 public static QIcon IconForUrl(QUrl url)
 {
     return (QIcon) staticInterceptor.Invoke("iconForUrl#", "iconForUrl(const QUrl&)", typeof(QIcon), typeof(QUrl), url);
 }
Esempio n. 46
0
 public static bool OpenUrl(QUrl url)
 {
     return((bool)staticInterceptor.Invoke("openUrl#", "openUrl(const QUrl&)", typeof(bool), typeof(QUrl), url));
 }
Esempio n. 47
0
 public abstract QIODevice Data(QUrl url);
Esempio n. 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());
            }
        }
Esempio n. 49
0
 public abstract bool Remove(QUrl url);
Esempio n. 50
0
 public Variant(QUrl url)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("Variant#", "Variant(const QUrl&)", typeof(void), typeof(QUrl), url);
 }
Esempio n. 51
0
File: Qt.cs Progetto: 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);
 }
Esempio n. 52
0
 public void Append(QUrl url)
 {
     interceptor.Invoke("append#", "append(const QUrl&)", typeof(void), typeof(QUrl), url);
 }
Esempio n. 53
0
 protected virtual string UserAgentForUrl(QUrl url)
 {
     return (string) interceptor.Invoke("userAgentForUrl#", "userAgentForUrl(const QUrl&) const", typeof(string), typeof(QUrl), url);
 }
Esempio n. 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));
 }