• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

kdeui

KBugReport Class Reference

#include <kbugreport.h>

Inheritance diagram for KBugReport:

KDialogBase KDialog QDialog

List of all members.


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.

Author:
David Faure <faure@kde.org>

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]

Destructor.

Definition at line 270 of file kbugreport.cpp.


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 &  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.

void KBugReport::slotOk ( void   )  [protected, virtual, slot]

OK has been clicked.

Reimplemented from KDialogBase.

Definition at line 365 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::appChanged ( int  i  )  [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:
  • kbugreport.h
  • kbugreport.cpp

kdeui

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

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal