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

kdeui

Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
KBugReport Class Reference

#include <kbugreport.h>

Inheritance diagram for KBugReport:
KDialogBase KDialog

List of all members.

Public Member Functions

 KBugReport (TQWidget *parent=0L, bool modal=true, const KAboutData *aboutData=0L)
virtual ~KBugReport ()

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

KProcess * m_process
const KAboutData * 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 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

KBugReport::KBugReport ( TQWidget *  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 279 of file kbugreport.cpp.


Member Function Documentation

void KBugReport::appChanged ( int  i) [protected, slot]

Application combo selection changed (and was activated)

Definition at line 297 of file kbugreport.cpp.

bool KBugReport::sendBugReport ( ) [protected]

Attempt to e-mail the bug report.

Returns:
true on success

Definition at line 485 of file kbugreport.cpp.

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

Cancel has been clicked.

Reimplemented from KDialogBase.

Definition at line 431 of file kbugreport.cpp.

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

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

Definition at line 318 of file kbugreport.cpp.

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

OK has been clicked.

Reimplemented from KDialogBase.

Definition at line 375 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 334 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 363 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 445 of file kbugreport.cpp.

void KBugReport::updateURL ( ) [protected, slot]

Update the url to match the current os, compiler, selected app, etc.

Definition at line 284 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

kdeui

Skip menu "kdeui"
  • 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
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdeui by doxygen 1.7.6.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |