Changeset View
Changeset View
Standalone View
Standalone View
src/core/entryinternal.cpp
Show First 20 Lines • Show All 313 Lines • ▼ Show 20 Line(s) | |||||
314 | 314 | | |||
315 | void EntryInternal::setRating(int rating) | 315 | void EntryInternal::setRating(int rating) | ||
316 | { | 316 | { | ||
317 | d->mRating = rating; | 317 | d->mRating = rating; | ||
318 | } | 318 | } | ||
319 | 319 | | |||
320 | int EntryInternal::numberOfComments() const | 320 | int EntryInternal::numberOfComments() const | ||
321 | { | 321 | { | ||
322 | return d->mRating; | 322 | return d->mNumberOfComments; | ||
323 | } | 323 | } | ||
324 | 324 | | |||
325 | void EntryInternal::setNumberOfComments (int comments) | 325 | void EntryInternal::setNumberOfComments (int comments) | ||
326 | { | 326 | { | ||
327 | d->mNumberOfComments = comments; | 327 | d->mNumberOfComments = comments; | ||
328 | } | 328 | } | ||
329 | 329 | | |||
330 | int EntryInternal::downloadCount() const | 330 | int EntryInternal::downloadCount() const | ||
▲ Show 20 Lines • Show All 445 Lines • Show Last 20 Lines |