# class KBugReport

###

Module | kdeui
Namespace |
Class | KBugReport
Inherits | KDialog

A dialog box for sending bug reports.

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 pass it to KCmdLineArgs.

Author David Faure <faure@kde.org>

### methods

- KBugReport (parent, modal, aboutData)

  returns ctor
  KDE 4.1.0 and later only

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget | 0
  modal | bool | 1
  aboutData | KAboutData | 0

  Creates a bug-report dialog. 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.

- KBugReport (a0)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  a0 | KBugReport |

- KBugReport (a0, a1, a2)

  returns ctor
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget | 0
  a1 | bool | 1
  a2 | KAboutData | 0

- accept ( )

  returns Nothing

  OK has been clicked

- closeEvent (e)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  e | QCloseEvent |

- messageBody ( )

  returns QString

  The message body of the bug report Returns The message body of the bug report.

- sendBugReport ( )

  returns bool

  Attempt to e-mail the bug report. Returns true on success

- setMessageBody (messageBody)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  messageBody | QString |

  Sets the message body of the bug report.

- text ( )

  returns QString

  A complete copy of the bug report Returns QString copy of the bug report.