Advertisement
sammarks

jarprogress.h

Apr 14th, 2011
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef JARPROGRESS_H
  2. #define JARPROGRESS_H
  3.  
  4. #include <QDialog>
  5.  
  6. namespace Ui {
  7.     class JarProgress;
  8. }
  9.  
  10. class JarProgress : public QDialog
  11. {
  12.     Q_OBJECT
  13.  
  14. public:
  15.     explicit JarProgress(QWidget *parent = 0);
  16.     ~JarProgress();
  17.     void SetType(QString type);
  18.     void ExtractMinecraft(QString minecraftLocation, QString modLocation);
  19.     void Sync(QString minecraftLocation, QString modLocation);
  20.  
  21. public slots:
  22.     void ProgressUpdated(int min, int max, QString detail, QString subDetail);
  23.     void Completed();
  24.     void SyncProgressUpdated(int val, int max, QString top, QString bottom);
  25.     void SyncComplete(bool successful, QString message);
  26.  
  27.     void DownloadProgress(int min, int max, QString message);
  28.     void DownloadFinished(QString filename, bool success, QString message);
  29.  
  30. private:
  31.     Ui::JarProgress *ui;
  32. };
  33.  
  34. #endif // JARPROGRESS_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement