Diffstat (limited to 'noncore/settings/networksettings2/networksettings2/system.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/networksettings2/system.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/noncore/settings/networksettings2/networksettings2/system.h b/noncore/settings/networksettings2/networksettings2/system.h index e67d695..f7a7274 100644 --- a/noncore/settings/networksettings2/networksettings2/system.h +++ b/noncore/settings/networksettings2/networksettings2/system.h @@ -95,15 +95,14 @@ public : System( void ); ~System( void ); - QDict<InterfaceInfo> & interfaces( void ) - { return ProbedInterfaces; } + QDict<InterfaceInfo> & interfaces( void ); InterfaceInfo * interface( const QString& N ) - { return ProbedInterfaces[N]; } + { return interfaces()[N]; } // exec command as root - int runAsRoot( QStringList & S ); + int runAsRoot( QStringList & S, MyProcess * Prc = 0 ); // exec command as user int execAsUser( QStringList & Cmd ); |