• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.8.3 API Reference
  • KDE Home
  • Contact Us
 

KDEUI

Public Member Functions | Protected Member Functions
KBugReport Class Reference

#include <kbugreport.h>

Inheritance diagram for KBugReport:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 KBugReport (QWidget *parent=0L, bool modal=true, const KAboutData *aboutData=0L)
virtual ~KBugReport ()
virtual void accept ()
QString messageBody () const
void setMessageBody (const QString &messageBody)

Protected Member Functions

virtual void closeEvent (QCloseEvent *e)
bool sendBugReport ()
QString text () const

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.

kbugreport.png
KDE Bug Report Dialog
Author:
David Faure faure.nosp@m.@kde.nosp@m..org

Definition at line 40 of file kbugreport.h.


Constructor & Destructor Documentation

KBugReport::KBugReport ( QWidget *  parent = 0L,
bool  modal = true,
const KAboutData *  aboutData = 0L 
) [explicit]

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 89 of file kbugreport.cpp.

KBugReport::~KBugReport ( ) [virtual]

Destructor.

Definition at line 305 of file kbugreport.cpp.


Member Function Documentation

void KBugReport::accept ( ) [virtual]

OK has been clicked.

Definition at line 407 of file kbugreport.cpp.

void KBugReport::closeEvent ( QCloseEvent *  e) [protected, virtual]

Detects when a dialog is being closed from the window manager controls.

If the Cancel or Close button is present then the button is activated. Otherwise standard QDialog behavior will take place.

Reimplemented from KDialog.

Definition at line 464 of file kbugreport.cpp.

QString KBugReport::messageBody ( ) const

The message body of the bug report.

Returns:
The message body of the bug report.

Definition at line 310 of file kbugreport.cpp.

bool KBugReport::sendBugReport ( ) [protected]

Attempt to e-mail the bug report.

Returns:
true on success

Definition at line 524 of file kbugreport.cpp.

void KBugReport::setMessageBody ( const QString &  messageBody)

Sets the message body of the bug report.

Definition at line 318 of file kbugreport.cpp.

QString KBugReport::text ( ) const [protected]

"Configure email" has been clicked - this calls kcmshell4 System/email

Sets the "From" field from the e-mail configuration Called at creation time, but also after "Configure email" is closed. Application combo selection changed (and was activated) Update the url to match the current os, compiler, selected app, etc A complete copy of the bug report

Returns:
QString copy of the bug report.

Definition at line 481 of file kbugreport.cpp.


The documentation for this class was generated from the following files:
  • kbugreport.h
  • kbugreport.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 20:53:11 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDEUI

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

kdelibs-4.8.3 API Reference

Skip menu "kdelibs-4.8.3 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal