/* Filename: mainwindow.h Subclass of QMainWindow Interface for DIY PIC programmer hardware Created January 6, 2006 by Brandon Fosdick Copyright 2006 Brandon Fosdick (BSD License) $Id: mainwindow.h,v 1.3 2007/06/17 16:52:28 bfoz Exp $ */ #ifndef MAINWINDOW_H #define MAINWINDOW_H #include #include #include #include class MainWindow : public QMainWindow { Q_OBJECT public: MainWindow(); private slots: void handleAbout(); void updateChipInfo(); void cancelDownload(); void httpRequestFinished(int, bool); void readResponseHeader(const QHttpResponseHeader &); void updateDataReadProgress(int, int); void updateChipInfoFromFile(); private: QBuffer *buffer; QHttp *http; QProgressDialog *progressDialog; bool httpRequestAborted; int httpGetId; }; #endif //MAINWINDOW_H