On 9/6/11 1:33 PM, "ext Thiago Macieira" <[email protected]> wrote:
>On Tuesday, 6 de September de 2011 13:05:49 Thiago Macieira wrote: >> On Wednesday, 17 de August de 2011 11:19:11 David Faure wrote: >> > > - the setters will take an extra flag of type QUrl::ParsingMode >> > >(StrictMode> >> > > and TolerantMode). Default should be TolerantMode. > >> For the moment, I'll leave it like it is right now. > >But I want to remove it. Here's what has happened for QUrlQuery with the >mode: > > bool hasQueryItem(const QString &key, QUrl::ParsingMode mode = >QUrl::TolerantMode) const; > void addQueryItem(const QString &key, const QString &value, >QUrl::ParsingMode mode = QUrl::TolerantMode); > void removeQueryItem(const QString &key, QUrl::ParsingMode mode = >QUrl::TolerantMode); > QString queryItemValue(const QString &key, >QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded, > QUrl::ParsingMode mode = QUrl::TolerantMode) >const; > QStringList allQueryItemValues(const QString &key, >QUrl::ComponentFormattingOptions encoding = QUrl::PrettyDecoded, > QUrl::ParsingMode mode = >QUrl::TolerantMode) const; > void removeAllQueryItems(const QString &key, QUrl::ParsingMode mode = >QUrl::TolerantMode); > >Even the getters need the extra argument... Ugly. I'd say go ahead and remove it. Lars _______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
