KUserFeedback::SurveyInfo Class
class KUserFeedback::SurveyInfoInformation about a survey request. More...
| Header: | #include <KUserFeedback/SurveyInfo> |
| CMake: | find_package(KF6 REQUIRED COMPONENTS UserFeedbackCore)target_link_libraries(mytarget PRIVATE KF6::UserFeedbackCore) |
Properties
Public Functions
| SurveyInfo() | |
| bool | isValid() const |
| QString | target() const |
| QUrl | url() const |
| QUuid | uuid() const |
Detailed Description
This class is implicitly shared.
Property Documentation
[read-only] isValid : const bool
Access functions:
| bool | isValid() const |
[read-only] target : const QString
Access functions:
| QString | target() const |
[read-only] url : const QUrl
Access functions:
| QUrl | url() const |
[read-only] uuid : const QUuid
Access functions:
| QUuid | uuid() const |
Member Function Documentation
SurveyInfo::SurveyInfo()
Create an empty, invalid survey request.
bool SurveyInfo::isValid() const
Returns true if this survey has all necessary information to actually execute it.
Note: Getter function for property isValid.
QString SurveyInfo::target() const
The survey targeting expression.
Note: Getter function for property target.
QUrl SurveyInfo::url() const
The URL to the survey website.
Note: Getter function for property url.
QUuid SurveyInfo::uuid() const
Internal global unique id of the survey.
Used to locally check if a user has completed the survey already.
Note: Getter function for property uuid.