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
47
48
49
50
51
52
53
54
55
56
57
#ifndef CADVANCEDNETPARAMS_H
#define CADVANCEDNETPARAMS_H
 
#include <QtGui/QDialog>
#include<QStandardItemModel>
#include "ui_cadvancednetparams.h"
 
namespace Ui
{
    class CAdvancedNetParams;
}
 
class CAdvancedNetParams : public QDialog
{
    Q_OBJECT
 
public:
    CAdvancedNetParams(QWidget *parent = 0);
    ~CAdvancedNetParams();
    void showEvent ( QShowEvent * event );
 
    //set the uerID and channel
    int setUserIDAndChannel(long lUserID, long lChannel);
 
    //PPoE params.
    int getPPPoEInfo();
    int setPPPoEInfo();
 
    //NTP
    int getNTPInfo();
    int setNTPInfo();
 
     //DDNS
    int getDDNSInfo();
    int setDDNSInfo();
 
    //Email
    int getEmailInfo();
    int setEmailInfo();
 
 public slots:
     void clickPPPoE();
     void clickNTP();
     void clickDDNS();
     void saveParams();
     void refreshParams();
     void on_btnExit_clicked();
 
     //void updateTable(int row, int column );
 
private:
    Ui::CAdvancedNetParamsClass *m_ui;
    long m_lUserID;
    long m_lChannel;
};
 
#endif // CADVANCEDNETPARAMS_H