kdeui
KBugReport Class Reference
A dialog box for sending bug reports. More...
#include <kbugreport.h>
Public Member Functions | |
KBugReport (QWidget *parent=0L, bool modal=true, const KAboutData *aboutData=0L) | |
virtual | ~KBugReport () |
Protected Slots | |
void | appChanged (int) |
virtual void | slotCancel () |
virtual void | slotConfigureEmail () |
virtual void | slotOk (void) |
virtual void | slotSetFrom () |
virtual void | slotUrlClicked (const QString &) |
void | updateURL () |
Protected Member Functions | |
bool | sendBugReport () |
QString | text () const |
virtual void | virtual_hook (int id, void *data) |
Protected Attributes | |
const KAboutData * | m_aboutData |
QHButtonGroup * | m_bgSeverity |
QPushButton * | m_configureEmail |
QLabel * | m_from |
QMultiLineEdit * | m_lineedit |
KProcess * | m_process |
QString | m_strVersion |
QLineEdit * | m_subject |
QLabel * | m_version |
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.
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::appChanged | ( | int | i | ) | [protected, slot] |
Application combo selection changed (and was activated).
Definition at line 287 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.
void KBugReport::slotCancel | ( | void | ) | [protected, virtual, slot] |
Cancel has been clicked.
Reimplemented from KDialogBase.
Definition at line 421 of file kbugreport.cpp.
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::slotOk | ( | void | ) | [protected, virtual, slot] |
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 & | urlText | ) | [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.
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.
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.
void KBugReport::virtual_hook | ( | int | id, | |
void * | data | |||
) | [protected, virtual] |
Member Data Documentation
const KAboutData* KBugReport::m_aboutData [protected] |
Definition at line 104 of file kbugreport.h.
QHButtonGroup* KBugReport::m_bgSeverity [protected] |
Definition at line 111 of file kbugreport.h.
QPushButton* KBugReport::m_configureEmail [protected] |
Definition at line 112 of file kbugreport.h.
QLabel* KBugReport::m_from [protected] |
Definition at line 108 of file kbugreport.h.
QMultiLineEdit* KBugReport::m_lineedit [protected] |
Definition at line 106 of file kbugreport.h.
KProcess* KBugReport::m_process [protected] |
Definition at line 103 of file kbugreport.h.
QString KBugReport::m_strVersion [protected] |
Definition at line 110 of file kbugreport.h.
QLineEdit* KBugReport::m_subject [protected] |
Definition at line 107 of file kbugreport.h.
QLabel* KBugReport::m_version [protected] |
Definition at line 109 of file kbugreport.h.
The documentation for this class was generated from the following files: