KUserFeedback
notificationpopup.cpp
68 ui->message->setText(NotificationPopup::tr("You can help us improving this application by sharing statistics and participate in surveys."));
71 ui->message->setText(NotificationPopup::tr("You can help us improving %1 by sharing statistics and participate in surveys.").arg(name));
86 ui->message->setText(NotificationPopup::tr("We would like a few minutes of your time to provide feedback about this application in a survey."));
88 ui->message->setText(NotificationPopup::tr("We would like a few minutes of your time to provide feedback about %1 in a survey.").arg(name));
182 connect(provider, &Provider::showEncouragementMessage, this, [this]() { d->showEncouragement(); });
183 connect(provider, &Provider::surveyAvailable, this, [this](const SurveyInfo &info) { d->surveyAvailable(info); });
Configure which feedback a user wants to provide.
Definition feedbackconfigdialog.h:25
Notification popup that overlays a small part of the application for encouraging contributions or inf...
Definition notificationpopup.h:26
NotificationPopup(QWidget *parent)
Create a new notification popup.
Definition notificationpopup.cpp:156
void setFeedbackProvider(Provider *provider)
Set the feedback provider that is going to drive this notification popup.
Definition notificationpopup.cpp:178
The central object managing data sources and transmitting feedback to the server.
Definition provider.h:32
void surveyCompleted(const KUserFeedback::SurveyInfo &info)
Marks the given survey as completed.
Definition provider.cpp:611
void showEncouragementMessage()
Indicate that the encouragement notice should be shown.
void surveyAvailable(const KUserFeedback::SurveyInfo &survey)
Emitted whenever there is a new survey available that can be presented to the user.
QString name(StandardAction id)
Classes for integrating telemetry collection, survey targeting, and contribution encouragenemt and co...
Definition surveytargetexpression.h:16
Running
void start(QAbstractAnimation::DeletionPolicy policy)
void stop()
void clicked(bool checked)
bool openUrl(const QUrl &url)
InQuad
applicationDisplayName
layoutDirection
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
virtual bool eventFilter(QObject *watched, QEvent *event)
void installEventFilter(QObject *filterObj)
QObject * parent() const const
QString tr(const char *sourceText, const char *disambiguation, int n)
bool isEmpty() const const
SP_DialogCloseButton
Key_Escape
LeftToRight
void setDuration(int msecs)
void setEasingCurve(const QEasingCurve &easing)
void setEndValue(const QVariant &value)
void setStartValue(const QVariant &value)
virtual bool event(QEvent *event) override
height
void hide()
virtual void keyReleaseEvent(QKeyEvent *event)
QWidget * parentWidget() const const
void move(const QPoint &)
void show()
void resize(const QSize &)
sizeHint
QStyle * style() const const
bool isVisible() const const
width
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.