Diffstat (limited to 'noncore/settings/networksettings/ppp/pppdata.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/pppdata.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/noncore/settings/networksettings/ppp/pppdata.h b/noncore/settings/networksettings/ppp/pppdata.h index c4d7bc3..41dfbd8 100644 --- a/noncore/settings/networksettings/ppp/pppdata.h +++ b/noncore/settings/networksettings/ppp/pppdata.h | |||
@@ -238,13 +238,13 @@ public: | |||
238 | const QString modemEscapeStr(); | 238 | const QString modemEscapeStr(); |
239 | 239 | ||
240 | void setModemEscapeResp(const QString &); | 240 | void setModemEscapeResp(const QString &); |
241 | const QString modemEscapeResp(); | 241 | const QString modemEscapeResp(); |
242 | 242 | ||
243 | const QString modemDevice(); | 243 | const QString modemDevice(); |
244 | void setModemDevice(const QString &); | 244 | bool setModemDevice(const QString &); |
245 | 245 | ||
246 | const QString flowcontrol(); | 246 | const QString flowcontrol(); |
247 | void setFlowcontrol(const QString &); | 247 | void setFlowcontrol(const QString &); |
248 | 248 | ||
249 | int modemTimeout(); | 249 | int modemTimeout(); |
250 | void setModemTimeout(int); | 250 | void setModemTimeout(int); |
@@ -416,20 +416,20 @@ public: | |||
416 | void setpppdRunning(bool set); | 416 | void setpppdRunning(bool set); |
417 | 417 | ||
418 | int pppdError() const; | 418 | int pppdError() const; |
419 | void setpppdError(int err); | 419 | void setpppdError(int err); |
420 | 420 | ||
421 | // functions to set/query the accounting info | 421 | // functions to set/query the accounting info |
422 | const QString accountingFile(); | 422 | // const QString accountingFile(); |
423 | void setAccountingFile(const QString &); | 423 | // void setAccountingFile(const QString &); |
424 | 424 | ||
425 | const QString totalCosts(); | 425 | // const QString totalCosts(); |
426 | void setTotalCosts(const QString &); | 426 | // void setTotalCosts(const QString &); |
427 | 427 | ||
428 | int totalBytes(); | 428 | // int totalBytes(); |
429 | void setTotalBytes(int); | 429 | // void setTotalBytes(int); |
430 | 430 | ||
431 | // // graphing widget | 431 | // // graphing widget |
432 | // void setGraphingOptions(bool enabled, | 432 | // void setGraphingOptions(bool enabled, |
433 | // QColor bg, | 433 | // QColor bg, |
434 | // QColor text, | 434 | // QColor text, |
435 | // QColor in, | 435 | // QColor in, |
@@ -447,13 +447,13 @@ public: | |||
447 | // void winPosStatWin(int &, int &); | 447 | // void winPosStatWin(int &, int &); |
448 | // void setWinPosStatWin(int, int); | 448 | // void setWinPosStatWin(int, int); |
449 | 449 | ||
450 | private: | 450 | private: |
451 | 451 | ||
452 | static PPPData *_data; | 452 | static PPPData *_data; |
453 | 453 | int modemDeviceGroup; | |
454 | QString passwd; | 454 | QString passwd; |
455 | static Config* config; // configuration object | 455 | static Config* config; // configuration object |
456 | int highcount; // index of highest account | 456 | int highcount; // index of highest account |
457 | int caccount; // index of the current account | 457 | int caccount; // index of the current account |
458 | QString cgroup; // name of current config group | 458 | QString cgroup; // name of current config group |
459 | pid_t suidprocessid; // process ID of setuid child | 459 | pid_t suidprocessid; // process ID of setuid child |