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
00038 class KDEUI_EXPORT KBugReport : public KDialog
00039 {
00040 Q_OBJECT
00041
00042 public:
00049
00050 explicit KBugReport(QWidget *parent = 0L, bool modal=true, const KAboutData *aboutData = 0L);
00051
00055 virtual ~KBugReport();
00056
00061 QString messageBody() const;
00062
00066 void setMessageBody(const QString &messageBody);
00067
00071 virtual void accept();
00072
00073 private:
00077 Q_PRIVATE_SLOT(d, void _k_slotConfigureEmail())
00078
00079
00083 Q_PRIVATE_SLOT(d, void _k_slotSetFrom())
00084
00085
00088 Q_PRIVATE_SLOT(d, void _k_appChanged(int))
00089
00090
00093 Q_PRIVATE_SLOT(d, void _k_updateUrl())
00094
00095 protected:
00100 QString text() const;
00101
00106 bool sendBugReport();
00107
00108 virtual void closeEvent(QCloseEvent *e);
00109
00110 private:
00111 friend class KBugReportPrivate;
00112 KBugReportPrivate *const d;
00113
00114 Q_DISABLE_COPY(KBugReport)
00115 };
00116
00117 #endif
00118