Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |
The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.
Use setPath() instead.
Use resolved("..") instead.
For example, if you have code like
QUrl url("http://www.trolltech.com/Developer/"); url.cdUp();
you can rewrite it as
QUrl url("http://www.trolltech.com/Developer/"); url = url.resolved("..");
Use fromPercentEncoding() instead.
Use QFileInfo(path()).absolutePath() or QFileInfo(path()) instead.
Use toPercentEncoding() instead.
Use QFileInfo(path()).fileName() instead.
See also setFileName().
Use !host().isEmpty() instead.
Use !password().isEmpty() instead.
Use !path().isEmpty() instead.
Use port() != -1 instead.
Use !fragment().isEmpty() instead.
Use !userName().isEmpty() instead.
Use isRelative() instead.
Use scheme() instead.
See also setProtocol().
Use encodedQuery() instead.
See also setQuery().
Use fragment() instead.
See also setRef().
Use clear() instead.
Use setPath() instead.
See also fileName().
Use setScheme() instead.
See also protocol().
Use setEncodedQuery() instead.
See also query().
Use setFragment() instead.
See also ref().
Use setUserName() instead.
See also user().
Use userName() instead.
See also setUser().
Use toString() instead.
Copyright © 2005 Trolltech | Trademarks | Qt 4.1.0 |