source: src-qt4/pc-sysmanager/updaterDialog.h @ 1620346

9.1-release9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3
Last change on this file since 1620346 was 1620346, checked in by Kris Moore <kris@…>, 17 months ago

Initial import of PC-BSD /current/ SVN repo

  • Property mode set to 100644
File size: 1001 bytes
Line 
1
2#ifndef UPDATERDIALOG_H
3#define UPDATERDIALOG_H
4
5#include "ui_updaterDialog.h"
6#include <qstring.h>
7
8class updaterStatus : public QDialog, private Ui::updaterStatus
9{
10        Q_OBJECT
11
12public:
13        updaterStatus() : QDialog()
14        {
15          setupUi(this);
16        }
17
18    void programInit();
19    void insertStatusListBoxItem( QString &itemName, QString itemSize, QString itemStatus, int id );
20    void updateStatusListBoxItem( QString &itemStatus, int id );
21    void setLabelSysUpdateStatus( QString &text );
22    void setProgressTotalSteps( int totalSteps );
23    void setProgressSteps( int currentStep );
24    void clearWorkingItems();
25    void updateSizeListBoxItem( QString &itemSize, int id );
26    void generateCopyLabel();
27
28
29public slots:
30    void slotJobUpdateProcessedSize(qint64 rec, qint64 total);
31
32protected:
33    void closeEvent( QCloseEvent *event );
34
35private slots:
36
37private:
38    unsigned long speed;
39    qint64 totalSize;
40    qint64 processedSize;
41
42signals:
43
44} ;
45#endif // UPDATERDIALOG_H
Note: See TracBrowser for help on using the repository browser.