summaryrefslogtreecommitdiffstats
path: root/sip/tdecore/kurl.sip
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-03 22:23:44 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-03 22:23:44 -0600
commit203ba231d0276943aae36111f9ec1e949f3c6a4c (patch)
treef039f7a5b5fc2da88a96876971bac580d87f6788 /sip/tdecore/kurl.sip
parentfd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff)
downloadpytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz
pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip
Initial TQt conversion
Diffstat (limited to 'sip/tdecore/kurl.sip')
-rw-r--r--sip/tdecore/kurl.sip134
1 files changed, 67 insertions, 67 deletions
diff --git a/sip/tdecore/kurl.sip b/sip/tdecore/kurl.sip
index 7acf594..495f3f4 100644
--- a/sip/tdecore/kurl.sip
+++ b/sip/tdecore/kurl.sip
@@ -54,59 +54,59 @@ public:
%End
KURL ();
- KURL (const QString&, int = 0);
+ KURL (const TQString&, int = 0);
KURL (const char*, int = 0);
- KURL (const QCString&, int = 0);
+ KURL (const TQCString&, int = 0);
KURL (const KURL&);
- KURL (const QUrl&);
- KURL (const KURL&, const QString&, int = 0);
- QString protocol () const;
- void setProtocol (const QString&);
+ KURL (const TQUrl&);
+ KURL (const KURL&, const TQString&, int = 0);
+ TQString protocol () const;
+ void setProtocol (const TQString&);
%If ( KDE_3_2_0 - )
int uriMode () const;
%End
- QString user () const;
- void setUser (const QString&);
+ TQString user () const;
+ void setUser (const TQString&);
bool hasUser () const;
- QString pass () /PyName=pass_/;
- void setPass (const QString&);
+ TQString pass () /PyName=pass_/;
+ void setPass (const TQString&);
bool hasPass () const;
- QString host () const;
- void setHost (const QString&);
+ TQString host () const;
+ void setHost (const TQString&);
bool hasHost () const;
ushort port () const;
void setPort (ushort);
- QString path () const;
- QString path (int) const;
- void setPath (const QString&);
+ TQString path () const;
+ TQString path (int) const;
+ void setPath (const TQString&);
bool hasPath () const;
void cleanPath (bool = 0);
void adjustPath (int);
- void setEncodedPathAndQuery (const QString&, int = 0);
- void setEncodedPath (const QString&, int = 0);
- QString encodedPathAndQuery (int = 0, bool = 0, int = 0) const;
- void setQuery (const QString&, int = 0);
- QString query () const;
- QString ref () const;
- void setRef (const QString&);
+ void setEncodedPathAndQuery (const TQString&, int = 0);
+ void setEncodedPath (const TQString&, int = 0);
+ TQString encodedPathAndQuery (int = 0, bool = 0, int = 0) const;
+ void setQuery (const TQString&, int = 0);
+ TQString query () const;
+ TQString ref () const;
+ void setRef (const TQString&);
bool hasRef () const;
- QString htmlRef () const;
- QString encodedHtmlRef () const;
- void setHTMLRef (const QString&);
+ 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 QString&);
- QString fileEncoding () const;
+ void setFileEncoding (const TQString&);
+ TQString fileEncoding () const;
bool hasSubURL () const;
- void addPath (const QString&);
- QString queryItem (const QString&) const;
+ void addPath (const TQString&);
+ TQString queryItem (const TQString&) const;
%If ( KDE_3_2_0 - )
- QString queryItem (const QString&, int) const;
+ TQString queryItem (const TQString&, int) const;
%End
@@ -117,36 +117,36 @@ public:
CaseInsensitiveKeys
};
- QMap<QString,QString> queryItems (int = 0) const;
+ TQMap<TQString,TQString> queryItems (int = 0) const;
%If ( KDE_3_2_0 - )
- QMap<QString,QString> queryItems (int, int) const;
+ TQMap<TQString,TQString> queryItems (int, int) const;
%End
- void addQueryItem (const QString&, const QString&, int = 0);
- void removeQueryItem (const QString&);
+ void addQueryItem (const TQString&, const TQString&, int = 0);
+ void removeQueryItem (const TQString&);
%End
- void setFileName (const QString&);
- QString fileName (bool = 1) const;
- QString directory (bool = 1, bool = 1) const;
+ void setFileName (const TQString&);
+ TQString fileName (bool = 1) const;
+ TQString directory (bool = 1, bool = 1) const;
%If ( KDE_3_2_0 - )
- void setDirectory (const QString&);
+ void setDirectory (const TQString&);
%End
- bool cd (const QString&);
- QString url (int = 0, int = 0) const;
- QString prettyURL (int = 0) const;
- QString prettyURL (int, KURL::AdjustementFlags) const;
+ bool cd (const TQString&);
+ TQString url (int = 0, int = 0) const;
+ TQString prettyURL (int = 0) const;
+ TQString prettyURL (int, KURL::AdjustementFlags) const;
%If ( KDE_3_4_0 - )
- QString pathOrURL () const;
+ TQString pathOrURL () const;
%End
%If ( KDE_3_0_1 - )
- QString htmlURL () const;
+ TQString htmlURL () const;
%End
bool isEmpty () const;
@@ -159,9 +159,9 @@ public:
%If ( KDE_3_1_4 - )
bool operator == (const KURL&) const;
- bool operator == (const QString&) const;
+ bool operator == (const TQString&) const;
bool operator != (const KURL&) const;
- bool operator != (const QString&) const;
+ bool operator != (const TQString&) const;
%End
bool cmp (const KURL&, bool = 0) const;
@@ -171,37 +171,37 @@ public:
%End
bool isParentOf (const KURL&) const;
- static KURL::List split (const QString&);
+ static KURL::List split (const TQString&);
static KURL::List split (const KURL&);
static KURL join (const KURL::List&);
%If ( KDE_3_1_0 - )
- static KURL fromPathOrURL (const QString&);
+ static KURL fromPathOrURL (const TQString&);
%End
- static QString encode_string (const QString&, int = 0);
- static QString encode_string_no_slash (const QString&, int = 0);
- static QString decode_string (const QString&, int = 0);
- static bool isRelativeURL (const QString&);
+ 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 QString relativeURL (const KURL&, const KURL&, int = 0);
- static QString relativePath (const QString&, const QString&, bool* = 0);
- static KURL::URIMode uriModeForProtocol (const QString&);
+ 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
- QString filename (bool = 1) const;
+ TQString filename (bool = 1) const;
protected:
void reset ();
%If ( KDE_3_2_0 - )
- void parseURL (const QString&, int = 0);
- void parseRawURI (const QString&, int = 0);
- void parseMailto (const QString&, int = 0);
+ void parseURL (const TQString&, int = 0);
+ void parseRawURI (const TQString&, int = 0);
+ void parseMailto (const TQString&, int = 0);
%End
- void parse (const QString&, int = 0);
+ void parse (const TQString&, int = 0);
public:
//force
@@ -211,8 +211,8 @@ public:
public:
List ();
- List (const QStringList&);
- QStringList toStringList () const;
+ List (const TQStringList&);
+ TQStringList toStringList () const;
bool isEmpty () const;
void append (const KURL&);
void prepend (const KURL&);
@@ -382,7 +382,7 @@ public:
//returns (bool)
//takes a0 | (KURL)
- QString s = a0->url ();
+ TQString s = a0->url ();
sipRes = 0;
KURL::List::Iterator it;
for (it = sipCpp->begin (); (it != sipCpp->end ()) && (sipRes == 0); it++)
@@ -399,10 +399,10 @@ public:
}; // class KURL
-bool urlcmp (const QString&, const QString&);
-bool urlcmp (const QString&, const QString&, bool, bool);
+bool urlcmp (const TQString&, const TQString&);
+bool urlcmp (const TQString&, const TQString&, bool, bool);
%If ( KDE_3_1_4 - )
-//igx QDataStream& operator << (QDataStream&, const KURL&);
-//igx QDataStream& operator >> (QDataStream&, KURL&);
+//igx TQDataStream& operator << (TQDataStream&, const KURL&);
+//igx TQDataStream& operator >> (TQDataStream&, KURL&);
%End