![]() |
Home · All Classes · Main Classes · Annotated · Grouped Classes · 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.
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.
Use encodedQuery() instead.
Use fragment() instead.
Use clear() instead.
Use setPath() instead.
Use setScheme() instead.
Use setEncodedQuery() instead.
Use setFragment() instead.
Use setUserName() instead.
Use userName() instead.
Use toString() instead.
Copyright © 2005 Trolltech | Trademarks | Qt 4.0.0 |