summaryrefslogtreecommitdiffstats
path: root/drkonqi/toplevel.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-03-29 04:12:02 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-03-29 04:12:02 -0500
commit39808986b1df661b2a02c9e762eb55ff9a2ea618 (patch)
tree8f886f8350f7b3f81bfc7fccbed96f092cbba127 /drkonqi/toplevel.h
parent71be0ee5d441711ed7070bb69f4db18f775b1030 (diff)
downloadtdebase-39808986b1df661b2a02c9e762eb55ff9a2ea618.tar.gz
tdebase-39808986b1df661b2a02c9e762eb55ff9a2ea618.zip
Add preliminary support for uploading crash reports to a central server without requiring Bugzilla
Diffstat (limited to 'drkonqi/toplevel.h')
-rw-r--r--drkonqi/toplevel.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/drkonqi/toplevel.h b/drkonqi/toplevel.h
index e6d1b84cb..95c1bcb72 100644
--- a/drkonqi/toplevel.h
+++ b/drkonqi/toplevel.h
@@ -33,9 +33,13 @@
class TDEAboutData;
class KrashConfig;
class DrKBugReport;
+class BugDescription;
#include <kdialogbase.h>
+#include <tdeio/job.h>
+#include <tdeio/netaccess.h>
+
class Toplevel : public KDialogBase
{
Q_OBJECT
@@ -47,6 +51,7 @@ public:
private:
// helper methods
TQString generateText() const;
+ int postCrashDataToServer(TQByteArray data);
protected slots:
void slotUser1();
@@ -58,9 +63,18 @@ protected slots:
void slotBacktraceSomeError();
void slotBacktraceDone(const TQString &);
+ void slotSendReportBacktraceSomeError();
+ void slotSendReportBacktraceDone(const TQString &);
+
+ void postCrashDataToServerData(TDEIO::Job *, const TQByteArray &);
+ void postCrashDataToServerResult(TDEIO::Job *job);
+ void postCrashDataToServerDataRedirection(TDEIO::Job * /*job*/, const KURL& url);
+
private:
KrashConfig *m_krashconf;
DrKBugReport *m_bugreport;
+ BugDescription* m_bugdescription;
+ TQCString serverResponse;
};
#endif