Diffstat (limited to 'noncore/settings/networksettings/ppp/pppdata.h') (more/less context) (ignore 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 | |||
@@ -236,17 +236,17 @@ public: | |||
236 | 236 | ||
237 | void setModemEscapeStr(const QString &); | 237 | void setModemEscapeStr(const QString &); |
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); |
251 | 251 | ||
252 | int modemToneDuration(); | 252 | int modemToneDuration(); |
@@ -414,24 +414,24 @@ public: | |||
414 | //functions to change/set the child pppd process info | 414 | //functions to change/set the child pppd process info |
415 | bool pppdRunning() const; | 415 | bool pppdRunning() const; |
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, |
436 | // QColor out); | 436 | // QColor out); |
437 | // void graphingOptions(bool &enabled, | 437 | // void graphingOptions(bool &enabled, |
@@ -445,17 +445,17 @@ public: | |||
445 | // void winPosConWin(int &, int &); | 445 | // void winPosConWin(int &, int &); |
446 | // void setWinPosConWin(int, int); | 446 | // void setWinPosConWin(int, int); |
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 |
460 | bool pppdisrunning; // pppd process | 460 | bool pppdisrunning; // pppd process |
461 | // daemon | 461 | // daemon |