KBugReport Class Reference
#include <kbugreport.h>
Inheritance diagram for KBugReport:

Detailed Description
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.
Definition at line 42 of file kbugreport.h.
Public Member Functions | |
KBugReport (QWidget *parent=0L, bool modal=true, const KAboutData *aboutData=0L) | |
virtual | ~KBugReport () |
Protected Slots | |
virtual void | slotConfigureEmail () |
virtual void | slotSetFrom () |
virtual void | slotUrlClicked (const QString &) |
virtual void | slotOk (void) |
virtual void | slotCancel () |
void | appChanged (int) |
void | updateURL () |
Protected Member Functions | |
QString | text () const |
bool | sendBugReport () |
virtual void | virtual_hook (int id, void *data) |
Protected Attributes | |
KProcess * | m_process |
const KAboutData * | m_aboutData |
QMultiLineEdit * | m_lineedit |
QLineEdit * | m_subject |
QLabel * | m_from |
QLabel * | m_version |
QString | m_strVersion |
QHButtonGroup * | m_bgSeverity |
QPushButton * | m_configureEmail |
Constructor & Destructor Documentation
KBugReport::KBugReport | ( | QWidget * | parent = 0L , |
|
bool | modal = true , |
|||
const KAboutData * | aboutData = 0L | |||
) |
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.
Definition at line 68 of file kbugreport.cpp.
KBugReport::~KBugReport | ( | ) | [virtual] |
Member Function Documentation
void KBugReport::slotConfigureEmail | ( | ) | [protected, virtual, slot] |
"Configure email" has been clicked - this calls kcmshell System/email
Definition at line 308 of file kbugreport.cpp.
void KBugReport::slotSetFrom | ( | ) | [protected, virtual, slot] |
Sets the "From" field from the e-mail configuration Called at creation time, but also after "Configure email" is closed.
Definition at line 324 of file kbugreport.cpp.
void KBugReport::slotUrlClicked | ( | const QString & | ) | [protected, virtual, slot] |
The URL-Label "http://bugs.kde.org/" was clicked.
- Deprecated:
- remove in KDE4.0
Definition at line 353 of file kbugreport.cpp.
void KBugReport::slotOk | ( | void | ) | [protected, virtual, slot] |
void KBugReport::slotCancel | ( | ) | [protected, virtual, slot] |
Cancel has been clicked.
Reimplemented from KDialogBase.
Definition at line 421 of file kbugreport.cpp.
void KBugReport::appChanged | ( | int | ) | [protected, slot] |
Application combo selection changed (and was activated).
Definition at line 287 of file kbugreport.cpp.
void KBugReport::updateURL | ( | ) | [protected, slot] |
Update the url to match the current os, compiler, selected app, etc.
Definition at line 275 of file kbugreport.cpp.
QString KBugReport::text | ( | ) | const [protected] |
A complete copy of the bug report.
- Returns:
- QString copy of the bug report.
Definition at line 435 of file kbugreport.cpp.
bool KBugReport::sendBugReport | ( | ) | [protected] |
Attempt to e-mail the bug report.
- Returns:
- true on success
Definition at line 475 of file kbugreport.cpp.
The documentation for this class was generated from the following files: