summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/profile/profileedit.h
blob: 56bd15d696c1a0d899b60f240849f234e2cad372 (plain)
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
#include "profiledata.h"
#include "profileGUI.h"

#include <qtimer.h>
class ANetNodeInstance;
class RuntimeInfo;

class ProfileEdit  : public ProfileGUI {

    Q_OBJECT

public :

    ProfileEdit( QWidget * parent, ANetNodeInstance * NNI );
    QString acceptable( void );
    bool commit( ProfileData & Data );
    void showData( ProfileData & Data );

public slots :

    void SLOT_AutoRefresh( bool );
    void SLOT_Refresh( void );
    void SLOT_ResetODO( void );

private :

    QTimer RefreshTimer;
    ANetNodeInstance * NNI;
    RuntimeInfo * Dev;
    long          RcvODO;
    long          SndODO;
};