Pages
API Documentation
On this page

KUserFeedback::AuditLogUiController Class

Widget/QtQuick-independent logic and data for the audit log browser UI. More...

  • Header: #include <KUserFeedback/AuditLogUiController>
  • CMake: find_package(KF6 REQUIRED COMPONENTS UserFeedbackCore)
    target_link_libraries(mytarget PRIVATE KF6::UserFeedbackCore)
  • Inherits: QObject

List of all members, including inherited members

Properties

Public Functions

Public Slots

Signals

Detailed Description

Property Documentation

[read-only] hasLogEntries : bool

Returns true if there are log entries to display.

Access functions:

Notifier signal:

[read-only] logEntryModel : QAbstractItemModel* const

Returns a model listing all log entries.

Access functions:

Member Function Documentation

[explicit] AuditLogUiController::AuditLogUiController(QObject *parent = nullptr)

[slot] void AuditLogUiController::clear()

Delete all audit log entries.

bool AuditLogUiController::hasLogEntries() const

Returns true if there are log entries to display.

Note: Getter function for property hasLogEntries.

[invokable] QString AuditLogUiController::logEntry(const QDateTime &dt) const

Returns a formatted text for display of the specified log entry.

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

[signal] void AuditLogUiController::logEntryCountChanged()

Change notification for the hasLogEntries property.

Note: Notifier signal for property hasLogEntries.

QAbstractItemModel *AuditLogUiController::logEntryModel() const

Returns a model listing all telemetry data submission events.

Qt::UserRole contains the timestamp of the log entry for use in logEntry().

Note: Getter function for property logEntryModel.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.