• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeui
 

tdeui

Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes

KBugReport Class Reference

A dialog box for sending bug reports. More...

#include <kbugreport.h>

Inheritance diagram for KBugReport:
KDialogBase KDialog TQDialog

List of all members.

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.

Author:
David Faure <faure@kde.org>

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]

OK has been clicked.

Reimplemented from KDialogBase.

Definition at line 376 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 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:
  • kbugreport.h
  • kbugreport.cpp

tdeui

Skip menu "tdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.7.1
This website is maintained by Timothy Pearson.