diff options
Diffstat (limited to 'sip/tdecore/kurl.sip')
-rw-r--r-- | sip/tdecore/kurl.sip | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/sip/tdecore/kurl.sip b/sip/tdecore/kurl.sip index 495f3f4..652cee1 100644 --- a/sip/tdecore/kurl.sip +++ b/sip/tdecore/kurl.sip @@ -60,53 +60,53 @@ public: KURL (const KURL&); KURL (const TQUrl&); KURL (const KURL&, const TQString&, int = 0); - TQString protocol () const; + TQString protocol () const; void setProtocol (const TQString&); %If ( KDE_3_2_0 - ) int uriMode () const; %End - TQString user () const; + TQString user () const; void setUser (const TQString&); bool hasUser () const; - TQString pass () /PyName=pass_/; + TQString pass () /PyName=pass_/; void setPass (const TQString&); bool hasPass () const; - TQString host () const; + TQString host () const; void setHost (const TQString&); bool hasHost () const; ushort port () const; void setPort (ushort); - TQString path () const; - TQString path (int) const; + TQString path () const; + TQString path (int) const; void setPath (const TQString&); bool hasPath () const; void cleanPath (bool = 0); void adjustPath (int); void setEncodedPathAndQuery (const TQString&, int = 0); void setEncodedPath (const TQString&, int = 0); - TQString encodedPathAndQuery (int = 0, bool = 0, int = 0) const; + TQString encodedPathAndQuery (int = 0, bool = 0, int = 0) const; void setQuery (const TQString&, int = 0); - TQString query () const; - TQString ref () const; + TQString query () const; + TQString ref () const; void setRef (const TQString&); bool hasRef () const; - TQString htmlRef () const; - TQString encodedHtmlRef () const; + TQString htmlRef () const; + TQString encodedHtmlRef () const; void setHTMLRef (const TQString&); bool hasHTMLRef () const; bool isValid () const; bool isMalformed () const; bool isLocalFile () const; void setFileEncoding (const TQString&); - TQString fileEncoding () const; + TQString fileEncoding () const; bool hasSubURL () const; void addPath (const TQString&); - TQString queryItem (const TQString&) const; + TQString queryItem (const TQString&) const; %If ( KDE_3_2_0 - ) - TQString queryItem (const TQString&, int) const; + TQString queryItem (const TQString&, int) const; %End @@ -117,10 +117,10 @@ public: CaseInsensitiveKeys }; - TQMap<TQString,TQString> queryItems (int = 0) const; + TQMap<TQString, TQString> queryItems (int = 0) const; %If ( KDE_3_2_0 - ) - TQMap<TQString,TQString> queryItems (int, int) const; + TQMap<TQString, TQString> queryItems (int, int) const; %End void addQueryItem (const TQString&, const TQString&, int = 0); @@ -128,25 +128,25 @@ public: %End void setFileName (const TQString&); - TQString fileName (bool = 1) const; - TQString directory (bool = 1, bool = 1) const; + TQString fileName (bool = 1) const; + TQString directory (bool = 1, bool = 1) const; %If ( KDE_3_2_0 - ) void setDirectory (const TQString&); %End bool cd (const TQString&); - TQString url (int = 0, int = 0) const; - TQString prettyURL (int = 0) const; - TQString prettyURL (int, KURL::AdjustementFlags) const; + TQString url (int = 0, int = 0) const; + TQString prettyURL (int = 0) const; + TQString prettyURL (int, KURL::AdjustementFlags) const; %If ( KDE_3_4_0 - ) - TQString pathOrURL () const; + TQString pathOrURL () const; %End %If ( KDE_3_0_1 - ) - TQString htmlURL () const; + TQString htmlURL () const; %End bool isEmpty () const; @@ -179,18 +179,18 @@ public: static KURL fromPathOrURL (const TQString&); %End - static TQString encode_string (const TQString&, int = 0); - static TQString encode_string_no_slash (const TQString&, int = 0); - static TQString decode_string (const TQString&, int = 0); + static TQString encode_string (const TQString&, int = 0); + static TQString encode_string_no_slash (const TQString&, int = 0); + static TQString decode_string (const TQString&, int = 0); static bool isRelativeURL (const TQString&); %If ( KDE_3_2_0 - ) - static TQString relativeURL (const KURL&, const KURL&, int = 0); - static TQString relativePath (const TQString&, const TQString&, bool* = 0); + static TQString relativeURL (const KURL&, const KURL&, int = 0); + static TQString relativePath (const TQString&, const TQString&, bool* = 0); static KURL::URIMode uriModeForProtocol (const TQString&); %End - TQString filename (bool = 1) const; + TQString filename (bool = 1) const; protected: void reset (); |