KBugReport Class Reference
A dialog box for sending bug reports. A dialog box for sending bug reports. More...
#include <kbugreport.h>
Inheritance diagram for KBugReport:

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 |
Detailed Description
A dialog box for sending bug reports. 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>
Definition at line 42 of file kbugreport.h.
Constructor & Destructor Documentation
|
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 67 of file kbugreport.cpp. References KInstance::aboutData(), appChanged(), KAboutData::bugAddress(), KGlobal::instance(), KBugReport(), KDialogBase::plainPage(), KAboutData::productName(), slotConfigureEmail(), slotSetFrom(), slotUrlClicked(), KDialog::spacingHint(), text(), updateURL(), and KAboutData::version(). Referenced by KBugReport(). |
|
Destructor.
Definition at line 269 of file kbugreport.cpp. |
Member Function Documentation
|
"Configure email" has been clicked - this calls kcmshell System/email
Definition at line 307 of file kbugreport.cpp. References endl(), kdDebug(), slotSetFrom(), and KProcess::start(). Referenced by KBugReport(). |
|
Sets the "From" field from the e-mail configuration Called at creation time, but also after "Configure email" is closed.
Definition at line 323 of file kbugreport.cpp. References KConfigBase::readEntry(), and KConfigBase::setGroup(). Referenced by KBugReport(), and slotConfigureEmail(). |
|
The URL-Label "http://bugs.kde.org/" was clicked.
Definition at line 352 of file kbugreport.cpp. References KDialogBase::slotCancel(), and slotUrlClicked(). Referenced by KBugReport(), and slotUrlClicked(). |
|
OK has been clicked.
Reimplemented from KDialogBase. Definition at line 364 of file kbugreport.cpp. References sendBugReport(). |
|
Cancel has been clicked.
Reimplemented from KDialogBase. Definition at line 418 of file kbugreport.cpp. References KDialogBase::slotCancel(). |
|
Application combo selection changed (and was activated).
Definition at line 286 of file kbugreport.cpp. References appChanged(), endl(), kdDebug(), updateURL(), and KAboutData::version(). Referenced by appChanged(), and KBugReport(). |
|
Update the url to match the current os, compiler, selected app, etc.
Definition at line 274 of file kbugreport.cpp. References KURL::addQueryItem(), and KURL::url(). Referenced by appChanged(), and KBugReport(). |
|
A complete copy of the bug report.
Definition at line 432 of file kbugreport.cpp. References KLocale::defaultLanguage(), endl(), kdDebug(), KLocale::language(), and KGlobal::locale(). Referenced by KBugReport(), and sendBugReport(). |
|
Attempt to e-mail the bug report.
Definition at line 472 of file kbugreport.cpp. References KAboutData::bugAddress(), KTempFile::close(), endl(), kdDebug(), kdError(), locate(), KTempFile::name(), text(), and KTempFile::unlink(). Referenced by slotOk(). |
The documentation for this class was generated from the following files: