kdeui
kbugreport.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef _KBUGREPORT_H__
00020 #define _KBUGREPORT_H__
00021
00022 #include <kdialogbase.h>
00023
00024 class QMultiLineEdit;
00025 class QLineEdit;
00026 class QHButtonGroup;
00027 class KProcess;
00028 class KAboutData;
00029 class KBugReportPrivate;
00030
00042 class KDEUI_EXPORT KBugReport : public KDialogBase
00043 {
00044 Q_OBJECT
00045 public:
00052 KBugReport( QWidget * parent = 0L, bool modal=true, const KAboutData *aboutData = 0L );
00056 virtual ~KBugReport();
00057
00058 protected slots:
00062 virtual void slotConfigureEmail();
00067 virtual void slotSetFrom();
00072 virtual void slotUrlClicked(const QString &);
00076 virtual void slotOk( void );
00080 virtual void slotCancel();
00081
00085 void appChanged(int);
00089 void updateURL();
00090
00091 protected:
00096 QString text() const;
00101 bool sendBugReport();
00102
00103 KProcess * m_process;
00104 const KAboutData * m_aboutData;
00105
00106 QMultiLineEdit * m_lineedit;
00107 QLineEdit * m_subject;
00108 QLabel * m_from;
00109 QLabel * m_version;
00110 QString m_strVersion;
00111 QHButtonGroup * m_bgSeverity;
00112 QPushButton * m_configureEmail;
00113
00114 protected:
00115 virtual void virtual_hook( int id, void* data );
00116 private:
00117 KBugReportPrivate *d;
00118 };
00119
00120 #endif
00121