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 <kdialog.h>
00023
00024 class KAboutData;
00025 class KBugReportPrivate;
00026
00040 class KDEUI_EXPORT KBugReport : public KDialog
00041 {
00042 Q_OBJECT
00043
00044 public:
00051
00052 explicit KBugReport(QWidget *parent = 0L, bool modal=true, const KAboutData *aboutData = 0L);
00053
00057 virtual ~KBugReport();
00058
00063 QString messageBody() const;
00064
00068 void setMessageBody(const QString &messageBody);
00069
00073 virtual void accept();
00074
00075 private:
00079 Q_PRIVATE_SLOT(d, void _k_slotConfigureEmail())
00080
00081
00085 Q_PRIVATE_SLOT(d, void _k_slotSetFrom())
00086
00087
00090 Q_PRIVATE_SLOT(d, void _k_appChanged(int))
00091
00092
00095 Q_PRIVATE_SLOT(d, void _k_updateUrl())
00096
00097 protected:
00102 QString text() const;
00103
00108 bool sendBugReport();
00109
00110 virtual void closeEvent(QCloseEvent *e);
00111
00112 private:
00113 friend class KBugReportPrivate;
00114 KBugReportPrivate *const d;
00115
00116 Q_DISABLE_COPY(KBugReport)
00117 };
00118
00119 #endif
00120