Lines Matching refs:kurl
41 KURL kurl = url();
42 if (kurl.isNull())
44 kurl.setProtocol(value);
45 setURL(kurl);
50 KURL kurl = url();
51 if (kurl.isNull())
53 kurl.setUser(value);
54 setURL(kurl);
59 KURL kurl = url();
60 if (kurl.isNull())
62 kurl.setPass(value);
63 setURL(kurl);
71 KURL kurl = url();
72 if (!kurl.canSetHostOrPort())
75 kurl.setHostAndPort(value);
76 setURL(kurl);
81 KURL kurl = url();
82 if (!kurl.canSetHostOrPort())
95 kurl.setHost(value.substring(i));
97 setURL(kurl);
102 KURL kurl = url();
103 if (!kurl.canSetHostOrPort())
106 kurl.setPort(value);
107 setURL(kurl);
112 KURL kurl = url();
113 if (!kurl.canSetPathname())
115 kurl.setPath(value);
116 setURL(kurl);
121 KURL kurl = url();
122 if (!kurl.isValid())
125 // FIXME: have KURL do this clearing of the query component
129 kurl.setQuery(value.length() == 1 ? String() : value.substring(1));
131 kurl.setQuery(value.isEmpty() ? String() : value);
133 setURL(kurl);
138 KURL kurl = url();
139 if (kurl.isNull())
142 // FIXME: have KURL handle the clearing of the fragment component
145 kurl.setFragmentIdentifier(value.length() == 1 ? String() : value.substring(1));
147 kurl.setFragmentIdentifier(value.isEmpty() ? String() : value);
149 setURL(kurl);