Changeset View
Changeset View
Standalone View
Standalone View
duchain/types/integraltypeextended.cpp
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | 44 | { | |||
---|---|---|---|---|---|
46 | setModifiers(ConstModifier); | 46 | setModifiers(ConstModifier); | ||
47 | } | 47 | } | ||
48 | 48 | | |||
49 | 49 | | |||
50 | QString IntegralTypeExtended::toString() const | 50 | QString IntegralTypeExtended::toString() const | ||
51 | { | 51 | { | ||
52 | if ( d_func()->m_dataType == TypeResource ) { | 52 | if ( d_func()->m_dataType == TypeResource ) { | ||
53 | return QStringLiteral("resource"); | 53 | return QStringLiteral("resource"); | ||
54 | } else if (d_func()->m_dataType == TypeCallable) { | ||||
55 | return QStringLiteral("callable"); | ||||
54 | } | 56 | } | ||
55 | return KDevelop::IntegralType::toString(); | 57 | return KDevelop::IntegralType::toString(); | ||
56 | } | 58 | } | ||
57 | 59 | | |||
58 | KDevelop::AbstractType* IntegralTypeExtended::clone() const | 60 | KDevelop::AbstractType* IntegralTypeExtended::clone() const | ||
59 | { | 61 | { | ||
60 | return new IntegralTypeExtended(*this); | 62 | return new IntegralTypeExtended(*this); | ||
61 | } | 63 | } | ||
Show All 24 Lines |