pans
2016-12-15 87e3ee273b2f84081ac45926be9d8e5be3166eaa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/************************************************************************
 *        Copyright 2009-2011 Hikvision Digital Technology Co., Ltd.
 *        FileName                      :   remoteupdate.h
 *        Description                   :   remote update
 *        Modification History          :   none
 *        Version                       :   V1.0
 *        Time                          :   2009-11,12
 *        Author                        :   wanggongpu
 *        Descrp                        :   
*************************************************************************/
#ifndef REMOTEUPDATE_H
#define REMOTEUPDATE_H
 
#include <qtimer.h>
#include <QtGui/QDialog>
#include "ui_remoteupdate.h"
#include "DemoPublic.h"
class RemoteUpdate : public QDialog
{
    Q_OBJECT
 
public:
    RemoteUpdate(int* userid,  QWidget *parent = 0);
    ~RemoteUpdate();
 
private slots:
    void on_comboBox_currentIndexChanged (int  index);
    void on_pushButton_setnetworktype_clicked();
    void on_pushButton_browse_clicked();                
    void on_pushButton_update_clicked();                
    void on_pushButton_cancel_clicked();        
    void on_lineEdit_textChanged(); 
    //timer doing
    void OnTimer();
 
private:
    Ui::RemoteUpdateClass ui;
    QString m_updatefilepath;
    int* m_updateuserid ;
    int m_updatenetworktype;
    int m_hUpgrade;
    QTimer * m_timer;
};
 
#endif // REMOTEUPDATE_H