author | benmeyer <benmeyer> | 2002-11-11 21:30:17 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2002-11-11 21:30:17 (UTC) |
commit | 503bb111313dfb62ee6341069a75dad56bbd47bf (patch) (side-by-side diff) | |
tree | 7f074af4b78685829a6bf796e920f3cd686c9e4f /noncore/settings/networksettings/ppp/pppimp.cpp | |
parent | b11baff926843bfa4fa3177dc919be8754fb6d4d (diff) | |
download | opie-503bb111313dfb62ee6341069a75dad56bbd47bf.zip opie-503bb111313dfb62ee6341069a75dad56bbd47bf.tar.gz opie-503bb111313dfb62ee6341069a75dad56bbd47bf.tar.bz2 |
Initial framing
Diffstat (limited to 'noncore/settings/networksettings/ppp/pppimp.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/pppimp.cpp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/ppp/pppimp.cpp b/noncore/settings/networksettings/ppp/pppimp.cpp index e3a7481..d3094fc 100644 --- a/noncore/settings/networksettings/ppp/pppimp.cpp +++ b/noncore/settings/networksettings/ppp/pppimp.cpp @@ -1,4 +1,39 @@ #include "pppimp.h" +PPPConfigureImp::PPPConfigureImp( QWidget* parent, const char* name, bool modal, WFlags fl) : PPP(parent, name, modal, fl) { + +} + +/** + * Open up the peers file and read any set settings + * @param peer the peer file to edit. + */ +void PPPConfigureImp::setPeer(const QString &newPeer){ + peer = newPeer; +} + +/** + * Save the settings for the current peer. + */ +void PPPConfigureImp::accept(){ + // Check to make sure that all of the inputs are valid. + + // Save settings. +/** +/dev/modem or just modem +<speed> any +defaultroute - automaticly add route +noipdefault - get an ip from the server +usepeerdns - automaticly add dns +crtscts - flow control enabled +name <name> - user name (and do secret file) +*/ + + // Make sure it is set in interfaces so pon/off can be used. + + // Close out the dialog + QDialog::accept(); +} + // pppconfigureimp.h |