~ubuntu-branches/ubuntu/maverick/knemo/maverick

« back to all changes in this revision

Viewing changes to src/knemod/interfacestatusdialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2010-01-06 17:16:51 UTC
  • mfrom: (1.1.9 upstream) (2.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100106171651-ff58ryfnav4l1zbm
Tags: 0.6.0-1
* New upstream release 
  - Fixes "FTBFS: sysbackend.cpp:362: error: 'KILO' was not declared in
  this scope" (Closes: #560496)
  - Fixes "context menu does not appear" (Closes: #504791)
* Add Build-Depends: libnl-dev - Linux netlink sockets library

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
     */
51
51
    virtual ~InterfaceStatusDialog();
52
52
 
53
 
    /**
54
 
     * Enable or disable the statistics group when the user turned statistics on or off.
55
 
     */
56
 
    void setStatisticsGroupEnabled( bool enabled );
57
 
 
58
53
public slots:
59
54
    /**
60
 
     * Enable the network groups when the interface is connected
61
 
     */
62
 
    void enableNetworkGroups( int );
63
 
    /**
64
 
     * Disable the network groups when the interface is not connected
65
 
     */
66
 
    void disableNetworkGroups( int );
67
 
    /**
68
55
     * Update the statistics tab when data changed
69
56
     */
70
57
    void statisticsChanged();
74
61
    bool event( QEvent *e );
75
62
 
76
63
private:
 
64
    void doAvailable( const BackendData* data );
 
65
    void doConnected( const BackendData *data );
 
66
    void doUp( const BackendData *data );
 
67
    void doDisconnected( const BackendData *data );
 
68
    void doDown();
 
69
    void doUnavailable();
 
70
 
 
71
 
77
72
    Ui::InterfaceStatusDlg ui;
 
73
    bool mWasShown;
78
74
    bool mSetPos;
79
75
 
80
76
    KSharedConfigPtr mConfig;