Pages
API Documentation
On this page

KBugReport Class

A dialog box for sending bug reports. More...

  • Header: #include <KBugReport>
  • CMake: find_package(KF6 REQUIRED COMPONENTS XmlGui)
    target_link_libraries(mytarget PRIVATE KF6::XmlGui)
  • Inherits: QDialog

List of all members, including inherited members

Public Functions

Protected Functions

Detailed Description

All the information needed by the dialog box (program name, version, bug-report address, etc.) comes from the KAboutData class. Make sure you create an instance of KAboutData and call KAboutData::setApplicationData(<aboutData>).

Member Function Documentation

[explicit] KBugReport::KBugReport(const KAboutData &aboutData, QWidget *parent = nullptr)

Creates a bug-report dialog using information derived from aboutData as a child of parent.

Note that you shouldn't have to do this manually, since KHelpMenu takes care of the menu item for "Report Bug..." and of creating a KBugReport dialog.

[override virtual noexcept] KBugReport::~KBugReport()

Destructor.

[override virtual] void KBugReport::accept()

Reimplements: QDialog::accept().

OK has been clicked.

[protected] bool KBugReport::sendBugReport()

Attempt to e-mail the bug report.

Returns true on success.

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