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

Public Member Functions | |
KBugReport (TQWidget *parent=0L, bool modal=true, const TDEAboutData *aboutData=0L) | |
virtual | ~KBugReport () |
TQString | compilerVersion () |
TQString | operatingSystem () |
TQString | tdeVersion () |
Protected Slots | |
virtual void | slotConfigureEmail () |
virtual void | slotSetFrom () |
virtual void | slotUrlClicked (const TQString &) |
virtual void | slotOk (void) |
virtual void | slotCancel () |
void | appChanged (int) |
void | updateURL () |
Protected Member Functions | |
TQString | text () const |
bool | sendBugReport () |
virtual void | virtual_hook (int id, void *data) |
Protected Attributes | |
TDEProcess * | m_process |
const TDEAboutData * | m_aboutData |
TQMultiLineEdit * | m_lineedit |
TQLineEdit * | m_subject |
TQLabel * | m_from |
TQLabel * | m_version |
TQString | m_strVersion |
TQHButtonGroup * | m_bgSeverity |
TQPushButton * | m_configureEmail |
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 TDEAboutData class. Make sure you create an instance of TDEAboutData and pass it to TDECmdLineArgs.
Definition at line 43 of file kbugreport.h.
Constructor & Destructor Documentation
KBugReport::KBugReport | ( | TQWidget * | parent = 0L , |
|
bool | modal = true , |
|||
const TDEAboutData * | 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] |
Destructor.
Definition at line 280 of file kbugreport.cpp.
Member Function Documentation
void KBugReport::appChanged | ( | int | i | ) | [protected, slot] |
Application combo selection changed (and was activated).
Definition at line 298 of file kbugreport.cpp.
bool KBugReport::sendBugReport | ( | ) | [protected] |
Attempt to e-mail the bug report.
- Returns:
- true on success
Definition at line 486 of file kbugreport.cpp.
void KBugReport::slotCancel | ( | void | ) | [protected, virtual, slot] |
Cancel has been clicked.
Reimplemented from KDialogBase.
Definition at line 432 of file kbugreport.cpp.
void KBugReport::slotConfigureEmail | ( | ) | [protected, virtual, slot] |
"Configure email" has been clicked - this calls tdecmshell System/email
Definition at line 319 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 335 of file kbugreport.cpp.
void KBugReport::slotUrlClicked | ( | const TQString & | urlText | ) | [protected, virtual, slot] |
The URL-Label "http://bugs.trinitydesktop.org/" was clicked.
- Deprecated:
- remove in KDE4.0
Definition at line 364 of file kbugreport.cpp.
TQString KBugReport::text | ( | ) | const [protected] |
A complete copy of the bug report.
- Returns:
- TQString copy of the bug report.
Definition at line 446 of file kbugreport.cpp.
void KBugReport::updateURL | ( | ) | [protected, slot] |
Update the url to match the current os, compiler, selected app, etc.
Definition at line 285 of file kbugreport.cpp.
The documentation for this class was generated from the following files: