Changeset View
Changeset View
Standalone View
Standalone View
src/kmime_headers.cpp
Show First 20 Lines • Show All 990 Lines • ▼ Show 20 Line(s) | 989 | if (!addr.isEmpty()) { | |||
---|---|---|---|---|---|
991 | if (!asString.isEmpty()) { | 991 | if (!asString.isEmpty()) { | ||
992 | rv.append(asString.toLatin1()); // FIXME: change parsing to use QByteArrays | 992 | rv.append(asString.toLatin1()); // FIXME: change parsing to use QByteArrays | ||
993 | } | 993 | } | ||
994 | } | 994 | } | ||
995 | } | 995 | } | ||
996 | return rv; | 996 | return rv; | ||
997 | } | 997 | } | ||
998 | 998 | | |||
999 | void Ident::fromIdent(const Ident* ident) | ||||
1000 | { | ||||
1001 | d_func()->encCS = ident->d_func()->encCS; | ||||
1002 | d_func()->msgIdList = ident->d_func()->msgIdList; | ||||
1003 | d_func()->cachedIdentifier = ident->d_func()->cachedIdentifier; | ||||
1004 | } | ||||
1005 | | ||||
999 | void Ident::appendIdentifier(const QByteArray &id) | 1006 | void Ident::appendIdentifier(const QByteArray &id) | ||
1000 | { | 1007 | { | ||
1001 | Q_D(Ident); | 1008 | Q_D(Ident); | ||
1002 | QByteArray tmp = id; | 1009 | QByteArray tmp = id; | ||
1003 | if (!tmp.startsWith('<')) { | 1010 | if (!tmp.startsWith('<')) { | ||
1004 | tmp.prepend('<'); | 1011 | tmp.prepend('<'); | ||
1005 | } | 1012 | } | ||
1006 | if (!tmp.endsWith('>')) { | 1013 | if (!tmp.endsWith('>')) { | ||
▲ Show 20 Lines • Show All 1135 Lines • Show Last 20 Lines |