EntryCommentDelegate

Search for usage in LXR

EntryCommentDelegate Class Reference

Inherits RowLayout.

Properties

string author
 
QtObject commentAuthor
 
int depth
 
QtObject engine
 
string entryAuthorId
 
string entryProviderId
 
alias reviewText
 
int score
 
string title
 

Detailed Description

A card based delegate for showing a comment from a KNewStuffQuick::QuickCommentsModel.

Definition at line 14 of file EntryCommentDelegate.qml.

Property Documentation

◆ author

string EntryCommentDelegate::author
read

The username of the comment's author.

Definition at line 31 of file EntryCommentDelegate.qml.

◆ depth

int EntryCommentDelegate::depth
read

The depth of the comment (in essence, how many parents the comment has)

Definition at line 48 of file EntryCommentDelegate.qml.

◆ engine

QtObject EntryCommentDelegate::engine
read

The KNSQuick Engine object which handles all our content.

Definition at line 19 of file EntryCommentDelegate.qml.

◆ entryAuthorId

string EntryCommentDelegate::entryAuthorId
read

The username of the author of whatever the comment is attached to.

Definition at line 23 of file EntryCommentDelegate.qml.

◆ entryProviderId

string EntryCommentDelegate::entryProviderId
read

The provider ID as supplied by the entry the comment is attached to.

Definition at line 27 of file EntryCommentDelegate.qml.

◆ reviewText

alias EntryCommentDelegate::reviewText
read

The actual text of the comment.

Definition at line 44 of file EntryCommentDelegate.qml.

◆ score

int EntryCommentDelegate::score
read

The OCS score, an integer from 1 to 100.

It will be interpreted as a 5 star rating, with half star support (0-10)

Definition at line 36 of file EntryCommentDelegate.qml.

◆ title

string EntryCommentDelegate::title
read

The title or subject line for the comment.

Definition at line 40 of file EntryCommentDelegate.qml.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 9 2023 03:56:56 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.