Obsolete Members for QString

The following members of class QString are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Types

(obsolete) enum SplitBehavior { KeepEmptyParts, SkipEmptyParts }

Member Type Documentation

enum QString::SplitBehavior

This enum is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Use Qt::SplitBehavior instead.

This enum specifies how the split() function should behave with respect to empty strings.

ConstantValueDescription
QString::KeepEmptyParts0If a field is empty, keep it in the result.
QString::SkipEmptyParts1If a field is empty, don't include it in the result.

See also split().