Changeset View
Changeset View
Standalone View
Standalone View
duchain/types/integraltypeextended.cpp
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | |||||
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) { | 54 | } else if (d_func()->m_dataType == TypeCallable) { | ||
55 | return QStringLiteral("callable"); | 55 | return QStringLiteral("callable"); | ||
56 | } else if (d_func()->m_dataType == TypeObject) { | ||||
57 | return QStringLiteral("object"); | ||||
56 | } | 58 | } | ||
57 | return KDevelop::IntegralType::toString(); | 59 | return KDevelop::IntegralType::toString(); | ||
58 | } | 60 | } | ||
59 | 61 | | |||
60 | KDevelop::AbstractType* IntegralTypeExtended::clone() const | 62 | KDevelop::AbstractType* IntegralTypeExtended::clone() const | ||
61 | { | 63 | { | ||
62 | return new IntegralTypeExtended(*this); | 64 | return new IntegralTypeExtended(*this); | ||
63 | } | 65 | } | ||
Show All 24 Lines |