Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

PPPData Class Reference

#include </home/clem/local/src/opie/noncore/settings/networksettings/ppp/pppdata.h>

Collaboration diagram for PPPData:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { NumInitStrings = 2 }
enum  LineTermination { EndCR, EndLF, EndCRLF }
enum  FlowControl { FlowHardware, FlowSoftware, FlowNone }

Public Member Functions

 PPPData ()
 ~PPPData ()
void save ()
void cancel ()
QStringList getAccountList ()
QString readConfig (const QString &, const QString &, const QString &)
int readNumConfig (const QString &, const QString &, int)
bool readListConfig (const QString &, const QString &, QStringList &, char sep= ',')
void writeConfig (const QString &, const QString &, const QString &)
void writeConfig (const QString &, const QString &, int)
void writeListConfig (const QString &, const QString &, QStringList &, char sep= ',')
QString currentGroup ()
QString modemGroup ()
QString password ()
void setPassword (const QString &)
const QString defaultAccount ()
void setDefaultAccount (const QString &)
void set_xserver_exit_disconnect (bool set)
bool get_xserver_exit_disconnect ()
void setPPPDebug (bool set)
bool getPPPDebug ()
void set_quit_on_disconnect (bool)
bool quit_on_disconnect ()
void set_show_clock_on_caption (bool set)
bool get_show_clock_on_caption ()
void set_show_log_window (bool set)
bool get_show_log_window ()
void set_automatic_redial (bool set)
bool automatic_redial ()
enum LineTermination enter ()
void setEnter (enum LineTermination)
QString pppdVersion ()
bool pppdVersionMin (int ver, int mod, int patch)
int pppdTimeout ()
void setpppdTimeout (int)
int busyWait ()
void setbusyWait (int)
bool modemLockFile ()
void setModemLockFile (bool set)
int modemEscapeGuardTime ()
void setModemEscapeGuardTime (int i)
void setModemEscapeStr (const QString &)
const QString modemEscapeStr ()
void setModemEscapeResp (const QString &)
const QString modemEscapeResp ()
const QString modemDevice ()
bool setModemDevice (const QString &)
enum FlowControl flowcontrol ()
void setFlowcontrol (enum FlowControl)
int modemTimeout ()
void setModemTimeout (int)
int modemToneDuration ()
void setModemToneDuration (int)
QString volumeInitString ()
int volume ()
void setVolume (int)
int waitForDialTone ()
void setWaitForDialTone (int i)
const QString modemInitStr (int i)
void setModemInitStr (int i, const QString &)
const QString modemInitResp ()
void setModemInitResp (const QString &)
int modemPreInitDelay ()
void setModemPreInitDelay (int)
int modemInitDelay ()
void setModemInitDelay (int)
QString modemNoDialToneDetectionStr ()
void setModemNoDialToneDetectionStr (const QString &)
const QString modemDialStr ()
void setModemDialStr (const QString &)
const QString modemConnectResp ()
void setModemConnectResp (const QString &)
const QString modemBusyResp ()
void setModemBusyResp (const QString &)
const QString modemNoCarrierResp ()
void setModemNoCarrierResp (const QString &)
const QString modemNoDialtoneResp ()
void setModemNoDialtoneResp (const QString &)
const QString modemHangupStr ()
void setModemHangupStr (const QString &)
const QString modemHangupResp ()
void setModemHangupResp (const QString &)
const QString modemAnswerStr ()
void setModemAnswerStr (const QString &)
const QString modemRingResp ()
void setModemRingResp (const QString &)
const QString modemAnswerResp ()
void setModemAnswerResp (const QString &)
QString volumeOff ()
void setVolumeOff (const QString &)
QString volumeMedium ()
void setVolumeMedium (const QString &)
QString volumeHigh ()
void setVolumeHigh (const QString &)
int count () const
bool setAccount (const QString &)
bool isUniqueAccname (const QString &)
bool isUniqueDevname (const QString &)
bool deleteAccount ()
bool deleteAccount (const QString &)
int newaccount ()
int copyaccount (const QString &)
const QString accname ()
void setAccname (const QString &)
QStringListphonenumbers ()
const QString phonenumber ()
void setPhonenumber (const QString &)
const QString dialPrefix ()
void setDialPrefix (const QString &)
int authMethod ()
void setAuthMethod (int)
const QString storedUsername ()
void setStoredUsername (const QString &)
const QString storedPassword ()
void setStoredPassword (const QString &)
bool storePassword ()
void setStorePassword (bool)
const QString speed ()
void setSpeed (const QString &)
const QString command_before_connect ()
void setCommand_before_connect (const QString &)
const QString command_on_connect ()
void setCommand_on_connect (const QString &)
const QString command_on_disconnect ()
void setCommand_on_disconnect (const QString &)
const QString command_before_disconnect ()
void setCommand_before_disconnect (const QString &)
const QString ipaddr ()
void setIpaddr (const QString &)
const QString subnetmask ()
void setSubnetmask (const QString &)
bool AcctEnabled ()
void setAcctEnabled (bool set)
bool autoDNS ()
void setAutoDNS (bool set)
bool exDNSDisabled ()
void setExDNSDisabled (bool set)
bool autoname ()
void setAutoname (bool set)
const QString gateway ()
void setGateway (const QString &)
bool defaultroute ()
void setDefaultroute (bool set)
QStringListdns ()
void setDns (QStringList &)
const QString domain ()
void setDomain (const QString &)
QStringListscriptType ()
void setScriptType (QStringList &)
QStringListscript ()
void setScript (QStringList &)
QStringListpppdArgument ()
void setpppdArgumentDefaults ()
void setpppdArgument (QStringList &)
bool pppdRunning () const
void setpppdRunning (bool set)
int pppdError () const
void setpppdError (int err)
QStringList getDevicesList ()
const QString devname ()
void setDevname (const QString &)
bool setDevice (const QString &)
bool deleteDevice ()
bool deleteDevice (const QString &)
int newdevice ()
int copydevice (const QString &)
QStringList getDevicesNamesList ()

Static Public Member Functions

static QMap< QString, QStringgetConfiguredInterfaces ()
static void setConfiguredInterfaces (QMap< QString, QString >)
static Config config ()
static QString encodeWord (const QString &s)

Public Attributes

struct {
   bool   LocalOverrule
   bool   RemoteOverrule
   QString   LocalAddress
   QString   RemoteAddress
   bool   GWAutomatic
   QString   GWAddress
   bool   GWIsDefault
   bool   GWIfNotSet
IP
struct {
   short   Mode
   struct {
      QString   Expect
      QString   Send
   }   Login
   struct {
      QString   Expect
      QString   Send
   }   Password
   short   PCEMode
   QString   Server
   QString   Client
   QString   Secret
Auth
struct {
   bool   ServerAssigned
   QString   DomainName
   QArray< QString * >   Servers
DNS
struct {
   QString   PreConnect
   QString   PostConnect
   QString   PreDisconnect
   QString   PostDisconnect
Run

Private Attributes

QString passwd
QString _modemName
int highcount
int highcountdev
QString cgroup
pid_t suidprocessid
bool pppdisrunning
int pppderror
int pppdVer
int pppdMod
int pppdPatch
QStringList phonelist
QStringList accountList
QStringList deviceList
QMap< QString, QStringstringEntries
QMap< QString, int > intEntries
QMap< QString, QStringListlistEntries
QMap< QString, QCharsepEntries

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
NumInitStrings 

Definition at line 167 of file pppdata.h.

enum PPPData::FlowControl
 

Enumeration values:
FlowHardware 
FlowSoftware 
FlowNone 

Definition at line 174 of file pppdata.h.

enum PPPData::LineTermination
 

Enumeration values:
EndCR 
EndLF 
EndCRLF 

Definition at line 168 of file pppdata.h.


Constructor & Destructor Documentation

PPPData::PPPData  ) 
 

Definition at line 45 of file pppdata.cpp.

References accname(), ACCOUNT_LIST, accountList, config(), deviceList, DEVICESNAMES_LIST, GENERAL_GRP, highcount, highcountdev, QStringList::join(), NUMACCOUNTS_KEY, NUMDEVICES_KEY, odebug, oendl, pppdMod, pppdPatch, pppdVer, pppdVersion(), Config::readListEntry(), readNumConfig(), setDefaultAccount(), Config::setGroup(), and setPPPDebug().

PPPData::~PPPData  )  [inline]
 

Definition at line 165 of file pppdata.h.


Member Function Documentation

const QString PPPData::accname  ) 
 

Definition at line 904 of file pppdata.cpp.

References cgroup, NAME_KEY, and readConfig().

Referenced by AccountWidget::AccountWidget(), KPPPWidget::beginConnect(), AccountWidget::copy(), AccountWidget::create(), DialWidget::DialWidget(), AccountWidget::doTab(), AccountWidget::edit(), getAccountList(), isUniqueAccname(), KPPPWidget::KPPPWidget(), PPPData(), KPPPWidget::quitbutton(), setAccname(), setAccount(), and ConWindow::startClock().

bool PPPData::AcctEnabled  ) 
 

Definition at line 1062 of file pppdata.cpp.

References ACCTENABLED_KEY, cgroup, and readNumConfig().

int PPPData::authMethod  ) 
 

Definition at line 949 of file pppdata.cpp.

References AUTH_KEY, cgroup, and readNumConfig().

Referenced by AuthWidget::AuthWidget(), KPPPWidget::beginConnect(), and KPPPWidget::sigPPPDDied().

bool PPPData::autoDNS  ) 
 

Definition at line 1103 of file pppdata.cpp.

References AUTODNS_KEY, cgroup, pppdVersionMin(), and readNumConfig().

Referenced by DNSWidget::DNSWidget().

bool PPPData::automatic_redial  ) 
 

Definition at line 308 of file pppdata.cpp.

References AUTOREDIAL_KEY, FALSE, GENERAL_GRP, and readNumConfig().

Referenced by KPPPWidget::sigPPPDDied().

bool PPPData::autoname  ) 
 

Definition at line 1052 of file pppdata.cpp.

References AUTONAME_KEY, cgroup, and readNumConfig().

Referenced by IPWidget::IPWidget().

int PPPData::busyWait  ) 
 

Definition at line 487 of file pppdata.cpp.

References BUSY_WAIT, BUSYWAIT_KEY, modemGroup(), and readNumConfig().

void PPPData::cancel  ) 
 

Definition at line 137 of file pppdata.cpp.

References QMap< Key, T >::clear(), intEntries, listEntries, and stringEntries.

const QString PPPData::command_before_connect  ) 
 

Definition at line 987 of file pppdata.cpp.

References BEFORE_CONNECT_KEY, cgroup, and readConfig().

Referenced by ExecWidget::ExecWidget().

const QString PPPData::command_before_disconnect  ) 
 

Definition at line 1022 of file pppdata.cpp.

References BEFORE_DISCONNECT_KEY, cgroup, and readConfig().

Referenced by KPPPWidget::disconnect(), and ExecWidget::ExecWidget().

const QString PPPData::command_on_connect  ) 
 

Definition at line 1002 of file pppdata.cpp.

References cgroup, COMMAND_KEY, and readConfig().

Referenced by ExecWidget::ExecWidget().

const QString PPPData::command_on_disconnect  ) 
 

Definition at line 1012 of file pppdata.cpp.

References cgroup, DISCONNECT_COMMAND_KEY, and readConfig().

Referenced by KPPPWidget::disconnect(), ExecWidget::ExecWidget(), KPPPWidget::quitbutton(), and KPPPWidget::sigPPPDDied().

Config PPPData::config  )  [static]
 

Definition at line 81 of file pppdata.cpp.

Referenced by deleteAccount(), deleteDevice(), getConfiguredInterfaces(), PPPData(), readConfig(), readListConfig(), readNumConfig(), save(), and setConfiguredInterfaces().

int PPPData::copyaccount const QString  ) 
 

Definition at line 879 of file pppdata.cpp.

Referenced by AccountWidget::copy().

int PPPData::copydevice const QString  ) 
 

Definition at line 1479 of file pppdata.cpp.

Referenced by DevicesWidget::copy().

int PPPData::count  )  const
 

Definition at line 738 of file pppdata.cpp.

References highcount.

Referenced by getConfiguredInterfaces(), and save().

QString PPPData::currentGroup  )  [inline]
 

Definition at line 201 of file pppdata.h.

References cgroup.

const QString PPPData::defaultAccount  ) 
 

Definition at line 245 of file pppdata.cpp.

References DEFAULTACCOUNT_KEY, GENERAL_GRP, and readConfig().

Referenced by setAccname(), and setDefaultAccount().

bool PPPData::defaultroute  ) 
 

Definition at line 1092 of file pppdata.cpp.

References cgroup, DEFAULTROUTE_KEY, and readNumConfig().

Referenced by GatewayWidget::GatewayWidget().

bool PPPData::deleteAccount const QString  ) 
 

Definition at line 853 of file pppdata.cpp.

References deleteAccount(), and setAccount().

bool PPPData::deleteAccount  ) 
 

Definition at line 809 of file pppdata.cpp.

References accountList, QMap< Key, T >::begin(), cgroup, Config::clearGroup(), config(), QMap< Key, T >::end(), intEntries, QStringList::join(), QString::latin1(), listEntries, odebug, oendl, QMap< Key, T >::remove(), QValueList< T >::remove(), sepEntries, Config::setGroup(), QStringList::split(), stringEntries, and val.

Referenced by AccountWidget::create(), deleteAccount(), and AccountWidget::remove().

bool PPPData::deleteDevice const QString  ) 
 

Definition at line 1457 of file pppdata.cpp.

References deleteDevice(), and setDevice().

bool PPPData::deleteDevice  ) 
 

Definition at line 1412 of file pppdata.cpp.

References QMap< Key, T >::begin(), Config::clearGroup(), config(), deviceList, QMap< Key, T >::end(), intEntries, QStringList::join(), QString::latin1(), listEntries, modemGroup(), odebug, oendl, QMap< Key, T >::remove(), QValueList< T >::remove(), sepEntries, Config::setGroup(), QStringList::split(), stringEntries, and val.

Referenced by DevicesWidget::create(), deleteDevice(), and DevicesWidget::remove().

const QString PPPData::devname  ) 
 

Definition at line 1374 of file pppdata.cpp.

References QString::latin1(), modemGroup(), MODEMNAME_KEY, odebug, oendl, and readConfig().

Referenced by DevicesWidget::copy(), DevicesWidget::create(), DevicesWidget::DevicesWidget(), DevicesWidget::doTab(), DevicesWidget::edit(), getDevicesNamesList(), isUniqueDevname(), ModemWidget::ModemWidget(), and setDevice().

const QString PPPData::dialPrefix  ) 
 

Definition at line 939 of file pppdata.cpp.

References cgroup, DIAL_PREFIX_KEY, and readConfig().

QStringList & PPPData::dns  ) 
 

Definition at line 1124 of file pppdata.cpp.

References cgroup, QValueList< T >::count(), DNS_KEY, QValueList< T >::last(), MAX_DNS_ENTRIES, readListConfig(), and QValueList< T >::remove().

Referenced by DNSWidget::DNSWidget().

const QString PPPData::domain  ) 
 

Definition at line 1140 of file pppdata.cpp.

References cgroup, DOMAIN_KEY, and readConfig().

Referenced by DNSWidget::DNSWidget().

QString PPPData::encodeWord const QString s  )  [static]
 

pppd's getword() function knows about escape characters. If we write the username and password to the secrets file we'll therefore have to escape back slashes.

Definition at line 1347 of file pppdata.cpp.

References QString::replace().

Referenced by InterfacePPP::start().

enum PPPData::LineTermination PPPData::enter  ) 
 

Definition at line 723 of file pppdata.cpp.

References EndCR, ENTER_KEY, modemGroup(), and readNumConfig().

Referenced by ModemWidget::ModemWidget(), ModemWidget::slotBeforeModemQuery(), and Modem::writeLine().

bool PPPData::exDNSDisabled  ) 
 

Definition at line 1119 of file pppdata.cpp.

References cgroup, EXDNSDISABLED_KEY, and readNumConfig().

Referenced by DNSWidget::DNSWidget().

enum PPPData::FlowControl PPPData::flowcontrol  ) 
 

Definition at line 390 of file pppdata.cpp.

References FLOWCONTROL_KEY, FlowHardware, modemGroup(), and readNumConfig().

Referenced by ModemWidget::ModemWidget(), Modem::opentty(), and ModemWidget::slotBeforeModemQuery().

const QString PPPData::gateway  ) 
 

Definition at line 1082 of file pppdata.cpp.

References cgroup, GATEWAY_KEY, and readConfig().

Referenced by GatewayWidget::GatewayWidget().

bool PPPData::get_show_clock_on_caption  ) 
 

Definition at line 258 of file pppdata.cpp.

References GENERAL_GRP, readNumConfig(), and SHOWCLOCK_KEY.

Referenced by ConWindow::startClock().

bool PPPData::get_show_log_window  ) 
 

Definition at line 298 of file pppdata.cpp.

References GENERAL_GRP, readNumConfig(), and SHOWLOGWIN_KEY.

Referenced by KPPPWidget::KPPPWidget().

bool PPPData::get_xserver_exit_disconnect  ) 
 

Definition at line 268 of file pppdata.cpp.

References DISCONNECT_KEY, GENERAL_GRP, and readNumConfig().

QStringList PPPData::getAccountList  ) 
 

Definition at line 1360 of file pppdata.cpp.

References accname(), accountList, QValueList< T >::begin(), cgroup, QValueList< T >::end(), and list.

Referenced by AccountWidget::AccountWidget().

QMap< QString, QString > PPPData::getConfiguredInterfaces  )  [static]
 

Definition at line 1307 of file pppdata.cpp.

References ACCLIST_GRP, ACCOUNTS_COUNT, ACOUNTS_ACC, ACOUNTS_DEV, config(), count(), i, ifaces, QMap< Key, T >::insert(), Config::readEntry(), Config::readNumEntry(), and Config::setGroup().

Referenced by PPPModule::PPPModule().

QStringList PPPData::getDevicesList  ) 
 

Definition at line 1353 of file pppdata.cpp.

References DEVICES_LIST, DEVICES_LIST_SEP, Config::readListEntry(), and Config::setGroup().

QStringList PPPData::getDevicesNamesList  ) 
 

Definition at line 1485 of file pppdata.cpp.

References _modemName, QValueList< T >::begin(), deviceList, devname(), QValueList< T >::end(), QStringList::join(), QString::latin1(), list, odebug, and oendl.

Referenced by DevicesWidget::DevicesWidget().

bool PPPData::getPPPDebug  ) 
 

Definition at line 278 of file pppdata.cpp.

References GENERAL_GRP, PPP_DEBUG_OPTION, and readNumConfig().

const QString PPPData::ipaddr  ) 
 

Definition at line 1032 of file pppdata.cpp.

References cgroup, IPADDR_KEY, and readConfig().

Referenced by IPWidget::IPWidget().

bool PPPData::isUniqueAccname const QString  ) 
 

Definition at line 773 of file pppdata.cpp.

References accname(), accountList, QValueList< T >::begin(), cgroup, QValueList< T >::end(), QString::latin1(), odebug, and oendl.

Referenced by DialWidget::save().

bool PPPData::isUniqueDevname const QString  ) 
 

Definition at line 791 of file pppdata.cpp.

References _modemName, QValueList< T >::begin(), deviceList, devname(), QValueList< T >::end(), QString::latin1(), odebug, and oendl.

Referenced by ModemWidget::save().

const QString PPPData::modemAnswerResp  ) 
 

Definition at line 713 of file pppdata.cpp.

References ANSWERRESP_KEY, modemGroup(), and readConfig().

Referenced by ModemCommands::ModemCommands().

const QString PPPData::modemAnswerStr  ) 
 

Definition at line 622 of file pppdata.cpp.

References ANSWERSTR_KEY, modemGroup(), and readConfig().

Referenced by ModemCommands::ModemCommands().

const QString PPPData::modemBusyResp  ) 
 

Definition at line 574 of file pppdata.cpp.

References BUSYRESP_KEY, modemGroup(), and readConfig().

Referenced by ModemCommands::ModemCommands().

const QString PPPData::modemConnectResp  ) 
 

Definition at line 564 of file pppdata.cpp.

References CONNECTRESP_KEY, modemGroup(), and readConfig().

Referenced by ModemCommands::ModemCommands().

const QString PPPData::modemDevice  ) 
 

Definition at line 359 of file pppdata.cpp.

References MODEMDEV_KEY, modemGroup(), and readConfig().

Referenced by KPPPWidget::beginConnect(), Modem::lockdevice(), ModemWidget::ModemWidget(), Modem::opentty(), and ModemWidget::slotBeforeModemQuery().

const QString PPPData::modemDialStr  ) 
 

Definition at line 554 of file pppdata.cpp.

References DIALSTR_KEY, modemGroup(), and readConfig().

Referenced by ModemCommands::ModemCommands().

int PPPData::modemEscapeGuardTime  ) 
 

Definition at line 447 of file pppdata.cpp.

References ESCAPEGUARDTIME_KEY, modemGroup(), and readNumConfig().

Referenced by Modem::escape_to_command_mode(), and ModemCommands::ModemCommands().

const QString PPPData::modemEscapeResp  ) 
 

Definition at line 437 of file pppdata.cpp.

References ESCAPERESP_KEY, modemGroup(), and readConfig().

Referenced by ModemCommands::ModemCommands().

const QString PPPData::modemEscapeStr  ) 
 

Definition at line 427 of file pppdata.cpp.

References ESCAPESTR_KEY, modemGroup(), and readConfig().

Referenced by Modem::escape_to_command_mode(), and ModemCommands::ModemCommands().

QString PPPData::modemGroup  ) 
 

Definition at line 1299 of file pppdata.cpp.

References _modemName, deviceList, and QString::isEmpty().

Referenced by busyWait(), deleteDevice(), devname(), enter(), flowcontrol(), modemAnswerResp(), modemAnswerStr(), modemBusyResp(), modemConnectResp(), modemDevice(), modemDialStr(), modemEscapeGuardTime(), modemEscapeResp(), modemEscapeStr(), modemHangupResp(), modemHangupStr(), modemInitDelay(), modemInitResp(), modemInitStr(), modemLockFile(), modemNoCarrierResp(), modemNoDialToneDetectionStr(), modemNoDialtoneResp(), modemPreInitDelay(), modemRingResp(), modemTimeout(), modemToneDuration(), setbusyWait(), setDevname(), setEnter(), setFlowcontrol(), setModemAnswerResp(), setModemAnswerStr(), setModemBusyResp(), setModemConnectResp(), setModemDevice(), setModemDialStr(), setModemEscapeGuardTime(), setModemEscapeResp(), setModemEscapeStr(), setModemHangupResp(), setModemHangupStr(), setModemInitDelay(), setModemInitResp(), setModemInitStr(), setModemLockFile(), setModemNoCarrierResp(), setModemNoDialToneDetectionStr(), setModemNoDialtoneResp(), setModemPreInitDelay(), setModemRingResp(), setModemTimeout(), setModemToneDuration(), setSpeed(), setVolume(), setVolumeHigh(), setVolumeMedium(), setVolumeOff(), setWaitForDialTone(), speed(), volume(), volumeHigh(), volumeMedium(), volumeOff(), and waitForDialTone().

const QString PPPData::modemHangupResp  ) 
 

Definition at line 613 of file pppdata.cpp.

References HANGUPRESP_KEY, modemGroup(), and readConfig().

Referenced by ModemCommands::ModemCommands().

const QString PPPData::modemHangupStr  ) 
 

Definition at line 604 of file pppdata.cpp.

References HANGUPSTR_KEY, modemGroup(), and readConfig().

Referenced by Modem::hangup(), and ModemCommands::ModemCommands().

int PPPData::modemInitDelay  ) 
 

Definition at line 537 of file pppdata.cpp.

References INITDELAY_KEY, modemGroup(), and readNumConfig().

Referenced by Modem::hangup(), and ModemCommands::ModemCommands().

const QString PPPData::modemInitResp  ) 
 

Definition at line 517 of file pppdata.cpp.

References INITRESP_KEY, modemGroup(), and readConfig().

Referenced by ModemCommands::ModemCommands().

const QString PPPData::modemInitStr int  i  ) 
 

Definition at line 501 of file pppdata.cpp.

References assert, INITSTR_KEY, modemGroup(), QString::number(), NumInitStrings, and readConfig().

Referenced by ModemCommands::ModemCommands().

bool PPPData::modemLockFile  ) 
 

Definition at line 457 of file pppdata.cpp.

References LOCKFILE_KEY, modemGroup(), and readNumConfig().

Referenced by Modem::lockdevice(), ModemWidget::ModemWidget(), and ModemWidget::slotBeforeModemQuery().

const QString PPPData::modemNoCarrierResp  ) 
 

Definition at line 584 of file pppdata.cpp.

References modemGroup(), NOCARRIERRESP_KEY, and readConfig().

Referenced by ModemCommands::ModemCommands().

QString PPPData::modemNoDialToneDetectionStr  ) 
 

Definition at line 546 of file pppdata.cpp.

References modemGroup(), NODTDETECT_KEY, and readConfig().

Referenced by ModemCommands::ModemCommands().

const QString PPPData::modemNoDialtoneResp  ) 
 

Definition at line 594 of file pppdata.cpp.

References modemGroup(), NODIALTONERESP_KEY, and readConfig().

Referenced by ModemCommands::ModemCommands().

int PPPData::modemPreInitDelay  ) 
 

Definition at line 527 of file pppdata.cpp.

References modemGroup(), PREINITDELAY_KEY, and readNumConfig().

Referenced by ModemCommands::ModemCommands().

const QString PPPData::modemRingResp  ) 
 

Definition at line 703 of file pppdata.cpp.

References modemGroup(), readConfig(), and RINGRESP_KEY.

Referenced by ModemCommands::ModemCommands().

int PPPData::modemTimeout  ) 
 

Definition at line 467 of file pppdata.cpp.

References MODEM_TIMEOUT, modemGroup(), readNumConfig(), and TIMEOUT_KEY.

Referenced by ModemWidget::ModemWidget(), and ModemWidget::slotBeforeModemQuery().

int PPPData::modemToneDuration  ) 
 

Definition at line 477 of file pppdata.cpp.

References MODEM_TONEDURATION, modemGroup(), readNumConfig(), and TONEDURATION_KEY.

Referenced by ModemCommands::ModemCommands().

int PPPData::newaccount  ) 
 

Definition at line 863 of file pppdata.cpp.

References ACCOUNT_GRP, accountList, cgroup, highcount, QString::latin1(), MAX_ACCOUNTS, odebug, oendl, setpppdArgumentDefaults(), and QString::sprintf().

Referenced by AccountWidget::create().

int PPPData::newdevice  ) 
 

Definition at line 1465 of file pppdata.cpp.

References _modemName, cgroup, deviceList, highcountdev, QString::latin1(), MODEM_GRP, odebug, oendl, and QString::sprintf().

Referenced by DevicesWidget::create().

QString PPPData::password  ) 
 

Definition at line 234 of file pppdata.cpp.

References passwd, storedPassword(), and storePassword().

Referenced by KPPPWidget::beginConnect(), and KPPPWidget::sigPPPDDied().

const QString PPPData::phonenumber  ) 
 

Definition at line 929 of file pppdata.cpp.

References cgroup, PHONENUMBER_KEY, and readConfig().

Referenced by KPPPWidget::beginConnect(), and DialWidget::DialWidget().

QStringList & PPPData::phonenumbers  ) 
 

Definition at line 921 of file pppdata.cpp.

References cgroup, phonelist, PHONENUMBER_KEY, readListConfig(), and SEPARATOR_CHAR.

QStringList & PPPData::pppdArgument  ) 
 

Definition at line 1211 of file pppdata.cpp.

References cgroup, QValueList< T >::count(), QValueList< T >::last(), MAX_PPPD_ARGUMENTS, PPPDARG_KEY, readListConfig(), and QValueList< T >::remove().

Referenced by PPPdArguments::defaultsbutton(), and PPPdArguments::init().

int PPPData::pppdError  )  const
 

Definition at line 1291 of file pppdata.cpp.

References pppderror.

Referenced by KPPPWidget::sigPPPDDied().

bool PPPData::pppdRunning  )  const
 

Definition at line 1283 of file pppdata.cpp.

References pppdisrunning.

Referenced by KPPPWidget::interruptConnection(), KPPPWidget::quitbutton(), and KPPPWidget::sigPPPDDied().

int PPPData::pppdTimeout  ) 
 

Definition at line 349 of file pppdata.cpp.

References GENERAL_GRP, PPPD_TIMEOUT, PPPDTIMEOUT_KEY, and readNumConfig().

QString PPPData::pppdVersion  ) 
 

Definition at line 338 of file pppdata.cpp.

References pppdMod, pppdPatch, and pppdVer.

Referenced by PPPData().

bool PPPData::pppdVersionMin int  ver,
int  mod,
int  patch
 

Definition at line 342 of file pppdata.cpp.

References pppdMod, pppdPatch, and pppdVer.

Referenced by autoDNS(), and DNSWidget::DNSWidget().

bool PPPData::quit_on_disconnect  ) 
 

Definition at line 288 of file pppdata.cpp.

References GENERAL_GRP, QUITONDISCONNECT_KEY, and readNumConfig().

QString PPPData::readConfig const QString ,
const QString ,
const QString
 

Definition at line 144 of file pppdata.cpp.

References config(), QMap< Key, T >::end(), QMap< Key, T >::find(), Config::readEntry(), SEP, Config::setGroup(), and stringEntries.

Referenced by accname(), command_before_connect(), command_before_disconnect(), command_on_connect(), command_on_disconnect(), defaultAccount(), devname(), dialPrefix(), domain(), gateway(), ipaddr(), modemAnswerResp(), modemAnswerStr(), modemBusyResp(), modemConnectResp(), modemDevice(), modemDialStr(), modemEscapeResp(), modemEscapeStr(), modemHangupResp(), modemHangupStr(), modemInitResp(), modemInitStr(), modemNoCarrierResp(), modemNoDialToneDetectionStr(), modemNoDialtoneResp(), modemRingResp(), phonenumber(), speed(), storedPassword(), storedUsername(), subnetmask(), volumeHigh(), volumeMedium(), and volumeOff().

bool PPPData::readListConfig const QString ,
const QString ,
QStringList ,
char  sep = ','
 

Definition at line 176 of file pppdata.cpp.

References QValueList< T >::clear(), config(), QValueList< T >::count(), QMap< Key, T >::end(), QMap< Key, T >::find(), listEntries, Config::readListEntry(), SEP, and Config::setGroup().

Referenced by dns(), phonenumbers(), pppdArgument(), script(), and scriptType().

int PPPData::readNumConfig const QString ,
const QString ,
int 
 

Definition at line 157 of file pppdata.cpp.

References config(), QMap< Key, T >::end(), QMap< Key, T >::find(), intEntries, Config::readNumEntry(), SEP, and Config::setGroup().

Referenced by AcctEnabled(), authMethod(), autoDNS(), automatic_redial(), autoname(), busyWait(), defaultroute(), enter(), exDNSDisabled(), flowcontrol(), get_show_clock_on_caption(), get_show_log_window(), get_xserver_exit_disconnect(), getPPPDebug(), modemEscapeGuardTime(), modemInitDelay(), modemLockFile(), modemPreInitDelay(), modemTimeout(), modemToneDuration(), PPPData(), pppdTimeout(), quit_on_disconnect(), KPPPWidget::showNews(), storePassword(), volume(), and waitForDialTone().

void PPPData::save  ) 
 

Definition at line 89 of file pppdata.cpp.

References ACCOUNT_LIST, accountList, QMap< Key, T >::begin(), config(), count(), deviceList, DEVICESNAMES_LIST, QMap< Key, T >::end(), GENERAL_GRP, highcountdev, intEntries, listEntries, NUMACCOUNTS_KEY, NUMDEVICES_KEY, odebug, oendl, sepEntries, Config::setGroup(), QStringList::split(), stringEntries, val, writeConfig(), and Config::writeEntry().

Referenced by DevicesWidget::copy(), AccountWidget::copy(), DevicesWidget::create(), AccountWidget::create(), DevicesWidget::edit(), AccountWidget::edit(), KPPPWidget::newdefaultaccount(), KPPPWidget::quitbutton(), KPPPWidget::saveMyself(), KPPPWidget::showNews(), and ModemCommands::slotOk().

QStringList & PPPData::script  ) 
 

Definition at line 1166 of file pppdata.cpp.

References cgroup, QValueList< T >::count(), QValueList< T >::last(), MAX_SCRIPT_ENTRIES, readListConfig(), QValueList< T >::remove(), and SCRIPTARG_KEY.

Referenced by ScriptWidget::ScriptWidget().

QStringList & PPPData::scriptType  ) 
 

Definition at line 1150 of file pppdata.cpp.

References cgroup, QValueList< T >::count(), QValueList< T >::last(), MAX_SCRIPT_ENTRIES, readListConfig(), QValueList< T >::remove(), and SCRIPTCOM_KEY.

Referenced by ScriptWidget::ScriptWidget().

void PPPData::set_automatic_redial bool  set  ) 
 

Definition at line 313 of file pppdata.cpp.

References AUTOREDIAL_KEY, GENERAL_GRP, and writeConfig().

void PPPData::set_quit_on_disconnect bool   ) 
 

Definition at line 293 of file pppdata.cpp.

References GENERAL_GRP, QUITONDISCONNECT_KEY, and writeConfig().

void PPPData::set_show_clock_on_caption bool  set  ) 
 

Definition at line 263 of file pppdata.cpp.

References GENERAL_GRP, SHOWCLOCK_KEY, and writeConfig().

void PPPData::set_show_log_window bool  set  ) 
 

Definition at line 303 of file pppdata.cpp.

References GENERAL_GRP, SHOWLOGWIN_KEY, and writeConfig().

Referenced by KPPPWidget::log_window_toggled().

void PPPData::set_xserver_exit_disconnect bool  set  ) 
 

Definition at line 283 of file pppdata.cpp.

References DISCONNECT_KEY, GENERAL_GRP, and writeConfig().

void PPPData::setAccname const QString  ) 
 

Definition at line 908 of file pppdata.cpp.

References accname(), cgroup, defaultAccount(), QString::isNull(), NAME_KEY, setDefaultAccount(), and writeConfig().

Referenced by DialWidget::save().

bool PPPData::setAccount const QString  ) 
 

Definition at line 743 of file pppdata.cpp.

References accname(), accountList, QValueList< T >::begin(), cgroup, QValueList< T >::end(), QString::latin1(), odebug, and oendl.

Referenced by InterfacePPP::data(), deleteAccount(), AccountWidget::edit(), KPPPWidget::KPPPWidget(), setDefaultAccount(), and AccountWidget::slotListBoxSelect().

void PPPData::setAcctEnabled bool  set  ) 
 

Definition at line 1067 of file pppdata.cpp.

References ACCTENABLED_KEY, cgroup, and writeConfig().

void PPPData::setAuthMethod int   ) 
 

Definition at line 954 of file pppdata.cpp.

References AUTH_KEY, cgroup, and writeConfig().

Referenced by AuthWidget::save().

void PPPData::setAutoDNS bool  set  ) 
 

Definition at line 1109 of file pppdata.cpp.

References AUTODNS_KEY, cgroup, and writeConfig().

Referenced by DNSWidget::save().

void PPPData::setAutoname bool  set  ) 
 

Definition at line 1057 of file pppdata.cpp.

References AUTONAME_KEY, cgroup, and writeConfig().

Referenced by IPWidget::save().

void PPPData::setbusyWait int   ) 
 

Definition at line 492 of file pppdata.cpp.

References BUSYWAIT_KEY, modemGroup(), and writeConfig().

Referenced by ModemWidget2::save().

void PPPData::setCommand_before_connect const QString  ) 
 

Definition at line 992 of file pppdata.cpp.

References BEFORE_CONNECT_KEY, cgroup, and writeConfig().

Referenced by ExecWidget::save().

void PPPData::setCommand_before_disconnect const QString  ) 
 

Definition at line 1027 of file pppdata.cpp.

References BEFORE_DISCONNECT_KEY, cgroup, and writeConfig().

Referenced by ExecWidget::save().

void PPPData::setCommand_on_connect const QString  ) 
 

Definition at line 1007 of file pppdata.cpp.

References cgroup, COMMAND_KEY, and writeConfig().

Referenced by ExecWidget::save().

void PPPData::setCommand_on_disconnect const QString  ) 
 

Definition at line 1017 of file pppdata.cpp.

References cgroup, DISCONNECT_COMMAND_KEY, and writeConfig().

Referenced by ExecWidget::save().

void PPPData::setConfiguredInterfaces QMap< QString, QString  )  [static]
 

Definition at line 1325 of file pppdata.cpp.

References ACCLIST_GRP, ACCOUNTS_COUNT, ACOUNTS_ACC, ACOUNTS_DEV, QMap< Key, T >::begin(), config(), QMap< Key, T >::end(), i, odebug, oendl, Config::setGroup(), and Config::writeEntry().

Referenced by PPPModule::~PPPModule().

void PPPData::setDefaultAccount const QString  ) 
 

Definition at line 250 of file pppdata.cpp.

References defaultAccount(), DEFAULTACCOUNT_KEY, GENERAL_GRP, setAccount(), and writeConfig().

Referenced by KPPPWidget::newdefaultaccount(), PPPData(), and setAccname().

void PPPData::setDefaultroute bool  set  ) 
 

Definition at line 1098 of file pppdata.cpp.

References cgroup, DEFAULTROUTE_KEY, and writeConfig().

Referenced by GatewayWidget::save().

bool PPPData::setDevice const QString  ) 
 

Definition at line 1393 of file pppdata.cpp.

References _modemName, QValueList< T >::begin(), deviceList, devname(), QValueList< T >::end(), QString::latin1(), odebug, and oendl.

Referenced by InterfacePPP::data(), deleteDevice(), DevicesWidget::edit(), and DevicesWidget::slotListBoxSelect().

void PPPData::setDevname const QString  ) 
 

Definition at line 1381 of file pppdata.cpp.

References modemGroup(), MODEMNAME_KEY, and writeConfig().

Referenced by ModemWidget::save().

void PPPData::setDialPrefix const QString  ) 
 

Definition at line 944 of file pppdata.cpp.

References cgroup, DIAL_PREFIX_KEY, and writeConfig().

void PPPData::setDns QStringList  ) 
 

Definition at line 1135 of file pppdata.cpp.

References cgroup, DNS_KEY, and writeListConfig().

Referenced by DNSWidget::save().

void PPPData::setDomain const QString  ) 
 

Definition at line 1145 of file pppdata.cpp.

References cgroup, DOMAIN_KEY, and writeConfig().

Referenced by DNSWidget::save().

void PPPData::setEnter enum  LineTermination  ) 
 

Definition at line 728 of file pppdata.cpp.

References ENTER_KEY, modemGroup(), and writeConfig().

Referenced by ModemWidget::save(), ModemWidget::slotAfterModemQuery(), and ModemWidget::slotBeforeModemQuery().

void PPPData::setExDNSDisabled bool  set  ) 
 

Definition at line 1114 of file pppdata.cpp.

References cgroup, EXDNSDISABLED_KEY, and writeConfig().

Referenced by DNSWidget::save().

void PPPData::setFlowcontrol enum  FlowControl  ) 
 

Definition at line 395 of file pppdata.cpp.

References FLOWCONTROL_KEY, modemGroup(), and writeConfig().

Referenced by ModemWidget::save(), ModemWidget::slotAfterModemQuery(), and ModemWidget::slotBeforeModemQuery().

void PPPData::setGateway const QString  ) 
 

Definition at line 1087 of file pppdata.cpp.

References cgroup, GATEWAY_KEY, and writeConfig().

Referenced by GatewayWidget::save().

void PPPData::setIpaddr const QString  ) 
 

Definition at line 1037 of file pppdata.cpp.

References cgroup, IPADDR_KEY, and writeConfig().

Referenced by IPWidget::save().

void PPPData::setModemAnswerResp const QString  ) 
 

Definition at line 718 of file pppdata.cpp.

References ANSWERRESP_KEY, modemGroup(), and writeConfig().

Referenced by ModemCommands::slotOk().

void PPPData::setModemAnswerStr const QString  ) 
 

Definition at line 698 of file pppdata.cpp.

References ANSWERSTR_KEY, modemGroup(), and writeConfig().

Referenced by ModemCommands::slotOk().

void PPPData::setModemBusyResp const QString  ) 
 

Definition at line 579 of file pppdata.cpp.

References BUSYRESP_KEY, modemGroup(), and writeConfig().

Referenced by ModemCommands::slotOk().

void PPPData::setModemConnectResp const QString  ) 
 

Definition at line 569 of file pppdata.cpp.

References CONNECTRESP_KEY, modemGroup(), and writeConfig().

Referenced by ModemCommands::slotOk().

bool PPPData::setModemDevice const QString  ) 
 

Definition at line 383 of file pppdata.cpp.

References QString::latin1(), MODEMDEV_KEY, modemGroup(), odebug, oendl, and writeConfig().

Referenced by KPPPWidget::KPPPWidget(), ModemWidget::save(), ModemWidget::slotAfterModemQuery(), and ModemWidget::slotBeforeModemQuery().

void PPPData::setModemDialStr const QString  ) 
 

Definition at line 559 of file pppdata.cpp.

References DIALSTR_KEY, modemGroup(), and writeConfig().

Referenced by ModemCommands::slotOk().

void PPPData::setModemEscapeGuardTime int  i  ) 
 

Definition at line 452 of file pppdata.cpp.

References ESCAPEGUARDTIME_KEY, modemGroup(), and writeConfig().

Referenced by ModemCommands::slotOk().

void PPPData::setModemEscapeResp const QString  ) 
 

Definition at line 442 of file pppdata.cpp.

References ESCAPERESP_KEY, modemGroup(), and writeConfig().

Referenced by ModemCommands::slotOk().

void PPPData::setModemEscapeStr const QString  ) 
 

Definition at line 432 of file pppdata.cpp.

References ESCAPESTR_KEY, modemGroup(), and writeConfig().

Referenced by ModemCommands::slotOk().

void PPPData::setModemHangupResp const QString  ) 
 

Definition at line 617 of file pppdata.cpp.

References HANGUPRESP_KEY, modemGroup(), and writeConfig().

Referenced by ModemCommands::slotOk().

void PPPData::setModemHangupStr const QString  ) 
 

Definition at line 608 of file pppdata.cpp.

References HANGUPSTR_KEY, modemGroup(), and writeConfig().

Referenced by ModemCommands::slotOk().

void PPPData::setModemInitDelay int   ) 
 

Definition at line 542 of file pppdata.cpp.

References INITDELAY_KEY, modemGroup(), and writeConfig().

Referenced by ModemCommands::slotOk().

void PPPData::setModemInitResp const QString  ) 
 

Definition at line 522 of file pppdata.cpp.

References INITRESP_KEY, modemGroup(), and writeConfig().

Referenced by ModemCommands::slotOk().

void PPPData::setModemInitStr int  i,
const QString
 

Definition at line 510 of file pppdata.cpp.

References assert, INITSTR_KEY, modemGroup(), QString::number(), NumInitStrings, and writeConfig().

Referenced by ModemCommands::slotOk().

void PPPData::setModemLockFile bool  set  ) 
 

Definition at line 462 of file pppdata.cpp.

References LOCKFILE_KEY, modemGroup(), and writeConfig().

Referenced by ModemWidget::save(), ModemWidget::slotAfterModemQuery(), and ModemWidget::slotBeforeModemQuery().

void PPPData::setModemNoCarrierResp const QString  ) 
 

Definition at line 589 of file pppdata.cpp.

References modemGroup(), NOCARRIERRESP_KEY, and writeConfig().

Referenced by ModemCommands::slotOk().

void PPPData::setModemNoDialToneDetectionStr const QString  ) 
 

Definition at line 550 of file pppdata.cpp.

References modemGroup(), NODTDETECT_KEY, and writeConfig().

Referenced by ModemCommands::slotOk().

void PPPData::setModemNoDialtoneResp const QString  ) 
 

Definition at line 599 of file pppdata.cpp.

References modemGroup(), NODIALTONERESP_KEY, and writeConfig().

Referenced by ModemCommands::slotOk().

void PPPData::setModemPreInitDelay int   ) 
 

Definition at line 532 of file pppdata.cpp.

References modemGroup(), PREINITDELAY_KEY, and writeConfig().

Referenced by ModemCommands::slotOk().

void PPPData::setModemRingResp const QString  ) 
 

Definition at line 708 of file pppdata.cpp.

References modemGroup(), RINGRESP_KEY, and writeConfig().

Referenced by ModemCommands::slotOk().

void PPPData::setModemTimeout int   ) 
 

Definition at line 472 of file pppdata.cpp.

References modemGroup(), TIMEOUT_KEY, and writeConfig().

Referenced by ModemWidget::save(), ModemWidget::slotAfterModemQuery(), and ModemWidget::slotBeforeModemQuery().

void PPPData::setModemToneDuration int   ) 
 

Definition at line 482 of file pppdata.cpp.

References modemGroup(), TONEDURATION_KEY, and writeConfig().

Referenced by ModemCommands::slotOk().

void PPPData::setPassword const QString  ) 
 

Definition at line 240 of file pppdata.cpp.

References passwd.

Referenced by KPPPWidget::beginConnect().

void PPPData::setPhonenumber const QString  ) 
 

Definition at line 934 of file pppdata.cpp.

References cgroup, PHONENUMBER_KEY, and writeConfig().

Referenced by DialWidget::save().

void PPPData::setpppdArgument QStringList  ) 
 

Definition at line 1222 of file pppdata.cpp.

References cgroup, PPPDARG_KEY, and writeListConfig().

Referenced by PPPdArguments::accept(), PPPdArguments::defaultsbutton(), and setpppdArgumentDefaults().

void PPPData::setpppdArgumentDefaults  ) 
 

Definition at line 1227 of file pppdata.cpp.

References setpppdArgument().

Referenced by PPPdArguments::defaultsbutton(), and newaccount().

void PPPData::setPPPDebug bool  set  ) 
 

Definition at line 273 of file pppdata.cpp.

References GENERAL_GRP, PPP_DEBUG_OPTION, and writeConfig().

Referenced by PPPData().

void PPPData::setpppdError int  err  ) 
 

Definition at line 1295 of file pppdata.cpp.

References pppderror.

Referenced by KPPPWidget::sigPPPDDied().

void PPPData::setpppdRunning bool  set  ) 
 

Definition at line 1287 of file pppdata.cpp.

References pppdisrunning.

Referenced by Modem::execPPPDaemon(), Modem::killPPPDaemon(), and KPPPWidget::sigPPPDDied().

void PPPData::setpppdTimeout int   ) 
 

Definition at line 354 of file pppdata.cpp.

References GENERAL_GRP, PPPDTIMEOUT_KEY, and writeConfig().

void PPPData::setScript QStringList  ) 
 

Definition at line 1177 of file pppdata.cpp.

References cgroup, SCRIPTARG_KEY, and writeListConfig().

Referenced by ScriptWidget::save().

void PPPData::setScriptType QStringList  ) 
 

Definition at line 1161 of file pppdata.cpp.

References cgroup, SCRIPTCOM_KEY, and writeListConfig().

Referenced by ScriptWidget::save().

void PPPData::setSpeed const QString  ) 
 

Definition at line 411 of file pppdata.cpp.

References modemGroup(), SPEED_KEY, and writeConfig().

Referenced by ModemWidget::save(), ModemWidget::slotAfterModemQuery(), and ModemWidget::slotBeforeModemQuery().

void PPPData::setStoredPassword const QString  ) 
 

Definition at line 977 of file pppdata.cpp.

References cgroup, STORED_PASSWORD_KEY, and writeConfig().

Referenced by KPPPWidget::passwordChanged(), KPPPWidget::quitbutton(), and AuthWidget::save().

void PPPData::setStoredUsername const QString  ) 
 

Definition at line 964 of file pppdata.cpp.

References cgroup, STORED_USERNAME_KEY, and writeConfig().

Referenced by AuthWidget::save(), and KPPPWidget::usernameChanged().

void PPPData::setStorePassword bool   ) 
 

Definition at line 997 of file pppdata.cpp.

References cgroup, STORE_PASSWORD_KEY, and writeConfig().

Referenced by AuthWidget::save().

void PPPData::setSubnetmask const QString  ) 
 

Definition at line 1047 of file pppdata.cpp.

References cgroup, SUBNETMASK_KEY, and writeConfig().

Referenced by IPWidget::save().

void PPPData::setVolume int   ) 
 

Definition at line 686 of file pppdata.cpp.

References modemGroup(), VOLUME_KEY, and writeConfig().

Referenced by ModemWidget2::save().

void PPPData::setVolumeHigh const QString  ) 
 

Definition at line 655 of file pppdata.cpp.

References modemGroup(), VOLUME_HIGH, and writeConfig().

Referenced by ModemCommands::slotOk().

void PPPData::setVolumeMedium const QString  ) 
 

Definition at line 642 of file pppdata.cpp.

References modemGroup(), VOLUME_MEDIUM, and writeConfig().

Referenced by ModemCommands::slotOk().

void PPPData::setVolumeOff const QString  ) 
 

Definition at line 632 of file pppdata.cpp.

References modemGroup(), VOLUME_OFF, and writeConfig().

Referenced by ModemCommands::slotOk().

void PPPData::setWaitForDialTone int  i  ) 
 

Definition at line 694 of file pppdata.cpp.

References DIALTONEWAIT_KEY, modemGroup(), and writeConfig().

Referenced by ModemWidget2::save().

const QString PPPData::speed  ) 
 

Definition at line 400 of file pppdata.cpp.

References modemGroup(), readConfig(), s, SPEED_KEY, and QString::toUInt().

Referenced by Modem::modemspeed(), ModemWidget::ModemWidget(), and ModemWidget::slotBeforeModemQuery().

const QString PPPData::storedPassword  ) 
 

Definition at line 969 of file pppdata.cpp.

References cgroup, QString::latin1(), odebug, oendl, readConfig(), and STORED_PASSWORD_KEY.

Referenced by AuthWidget::AuthWidget(), KPPPWidget::beginConnect(), KPPPWidget::newdefaultaccount(), and password().

const QString PPPData::storedUsername  ) 
 

Definition at line 959 of file pppdata.cpp.

References cgroup, readConfig(), and STORED_USERNAME_KEY.

Referenced by AuthWidget::AuthWidget(), KPPPWidget::beginConnect(), KPPPWidget::newdefaultaccount(), and KPPPWidget::sigPPPDDied().

bool PPPData::storePassword  ) 
 

Definition at line 982 of file pppdata.cpp.

References cgroup, readNumConfig(), and STORE_PASSWORD_KEY.

Referenced by AuthWidget::AuthWidget(), password(), KPPPWidget::passwordChanged(), and KPPPWidget::quitbutton().

const QString PPPData::subnetmask  ) 
 

Definition at line 1042 of file pppdata.cpp.

References cgroup, readConfig(), and SUBNETMASK_KEY.

Referenced by IPWidget::IPWidget().

int PPPData::volume  ) 
 

Definition at line 681 of file pppdata.cpp.

References modemGroup(), readNumConfig(), and VOLUME_KEY.

Referenced by ModemWidget2::ModemWidget2(), and volumeInitString().

QString PPPData::volumeHigh  ) 
 

Definition at line 647 of file pppdata.cpp.

References modemGroup(), readConfig(), and VOLUME_HIGH.

Referenced by ModemCommands::ModemCommands(), and volumeInitString().

QString PPPData::volumeInitString  ) 
 

Definition at line 660 of file pppdata.cpp.

References s, volume(), volumeHigh(), volumeMedium(), and volumeOff().

QString PPPData::volumeMedium  ) 
 

Definition at line 637 of file pppdata.cpp.

References modemGroup(), readConfig(), and VOLUME_MEDIUM.

Referenced by ModemCommands::ModemCommands(), and volumeInitString().

QString PPPData::volumeOff  ) 
 

Definition at line 627 of file pppdata.cpp.

References modemGroup(), readConfig(), and VOLUME_OFF.

Referenced by ModemCommands::ModemCommands(), and volumeInitString().

int PPPData::waitForDialTone  ) 
 

Definition at line 690 of file pppdata.cpp.

References DIALTONEWAIT_KEY, modemGroup(), and readNumConfig().

Referenced by ModemWidget2::ModemWidget2().

void PPPData::writeConfig const QString ,
const QString ,
int 
 

Definition at line 209 of file pppdata.cpp.

References QMap< Key, T >::insert(), intEntries, and SEP.

void PPPData::writeConfig const QString ,
const QString ,
const QString
 

Definition at line 199 of file pppdata.cpp.

References QMap< Key, T >::insert(), SEP, and stringEntries.

Referenced by save(), set_automatic_redial(), set_quit_on_disconnect(), set_show_clock_on_caption(), set_show_log_window(), set_xserver_exit_disconnect(), setAccname(), setAcctEnabled(), setAuthMethod(), setAutoDNS(), setAutoname(), setbusyWait(), setCommand_before_connect(), setCommand_before_disconnect(), setCommand_on_connect(), setCommand_on_disconnect(), setDefaultAccount(), setDefaultroute(), setDevname(), setDialPrefix(), setDomain(), setEnter(), setExDNSDisabled(), setFlowcontrol(), setGateway(), setIpaddr(), setModemAnswerResp(), setModemAnswerStr(), setModemBusyResp(), setModemConnectResp(), setModemDevice(), setModemDialStr(), setModemEscapeGuardTime(), setModemEscapeResp(), setModemEscapeStr(), setModemHangupResp(), setModemHangupStr(), setModemInitDelay(), setModemInitResp(), setModemInitStr(), setModemLockFile(), setModemNoCarrierResp(), setModemNoDialToneDetectionStr(), setModemNoDialtoneResp(), setModemPreInitDelay(), setModemRingResp(), setModemTimeout(), setModemToneDuration(), setPhonenumber(), setPPPDebug(), setpppdTimeout(), setSpeed(), setStoredPassword(), setStoredUsername(), setStorePassword(), setSubnetmask(), setVolume(), setVolumeHigh(), setVolumeMedium(), setVolumeOff(), setWaitForDialTone(), and KPPPWidget::showNews().

void PPPData::writeListConfig const QString ,
const QString ,
QStringList ,
char  sep = ','
 

Definition at line 219 of file pppdata.cpp.

References QMap< Key, T >::insert(), listEntries, SEP, and sepEntries.

Referenced by setDns(), setpppdArgument(), setScript(), and setScriptType().


Member Data Documentation

QString PPPData::_modemName [private]
 

Definition at line 456 of file pppdata.h.

Referenced by getDevicesNamesList(), isUniqueDevname(), modemGroup(), newdevice(), and setDevice().

QStringList PPPData::accountList [private]
 

Definition at line 469 of file pppdata.h.

Referenced by deleteAccount(), getAccountList(), isUniqueAccname(), newaccount(), PPPData(), save(), and setAccount().

struct { ... } PPPData::Auth
 

Referenced by PPPAuthEdit::commit(), and PPPAuthEdit::showData().

QString PPPData::cgroup [private]
 

Definition at line 460 of file pppdata.h.

Referenced by accname(), AcctEnabled(), authMethod(), autoDNS(), autoname(), command_before_connect(), command_before_disconnect(), command_on_connect(), command_on_disconnect(), currentGroup(), defaultroute(), deleteAccount(), dialPrefix(), dns(), domain(), exDNSDisabled(), gateway(), getAccountList(), ipaddr(), isUniqueAccname(), newaccount(), newdevice(), phonenumber(), phonenumbers(), pppdArgument(), script(), scriptType(), setAccname(), setAccount(), setAcctEnabled(), setAuthMethod(), setAutoDNS(), setAutoname(), setCommand_before_connect(), setCommand_before_disconnect(), setCommand_on_connect(), setCommand_on_disconnect(), setDefaultroute(), setDialPrefix(), setDns(), setDomain(), setExDNSDisabled(), setGateway(), setIpaddr(), setPhonenumber(), setpppdArgument(), setScript(), setScriptType(), setStoredPassword(), setStoredUsername(), setStorePassword(), setSubnetmask(), storedPassword(), storedUsername(), storePassword(), and subnetmask().

QString PPPData::Client
 

Definition at line 34 of file pppdata.h.

QStringList PPPData::deviceList [private]
 

Definition at line 470 of file pppdata.h.

Referenced by deleteDevice(), getDevicesNamesList(), isUniqueDevname(), modemGroup(), newdevice(), PPPData(), save(), and setDevice().

struct { ... } PPPData::DNS
 

Referenced by PPPDNSEdit::commit().

QString PPPData::DomainName
 

Definition at line 39 of file pppdata.h.

QString PPPData::Expect
 

Definition at line 29 of file pppdata.h.

QString PPPData::GWAddress
 

Definition at line 17 of file pppdata.h.

bool PPPData::GWAutomatic
 

Definition at line 16 of file pppdata.h.

bool PPPData::GWIfNotSet
 

Definition at line 19 of file pppdata.h.

bool PPPData::GWIsDefault
 

Definition at line 18 of file pppdata.h.

int PPPData::highcount [private]
 

Definition at line 457 of file pppdata.h.

Referenced by count(), newaccount(), and PPPData().

int PPPData::highcountdev [private]
 

Definition at line 458 of file pppdata.h.

Referenced by newdevice(), PPPData(), and save().

QMap<QString,int> PPPData::intEntries [private]
 

Definition at line 472 of file pppdata.h.

Referenced by cancel(), deleteAccount(), deleteDevice(), readNumConfig(), save(), and writeConfig().

struct { ... } PPPData::IP
 

Referenced by PPPIPEdit::commit(), and PPPIPEdit::showData().

QMap<QString,QStringList> PPPData::listEntries [private]
 

Definition at line 473 of file pppdata.h.

Referenced by cancel(), deleteAccount(), deleteDevice(), readListConfig(), save(), and writeListConfig().

QString PPPData::LocalAddress
 

Definition at line 14 of file pppdata.h.

bool PPPData::LocalOverrule
 

Definition at line 12 of file pppdata.h.

struct { ... } PPPData::Login
 

short PPPData::Mode
 

Definition at line 23 of file pppdata.h.

QString PPPData::passwd [private]
 

Definition at line 455 of file pppdata.h.

Referenced by password(), and setPassword().

struct { ... } PPPData::Password
 

short PPPData::PCEMode
 

Definition at line 32 of file pppdata.h.

QStringList PPPData::phonelist [private]
 

Definition at line 468 of file pppdata.h.

Referenced by phonenumbers().

QString PPPData::PostConnect
 

Definition at line 44 of file pppdata.h.

QString PPPData::PostDisconnect
 

Definition at line 46 of file pppdata.h.

int PPPData::pppderror [private]
 

Definition at line 464 of file pppdata.h.

Referenced by pppdError(), and setpppdError().

bool PPPData::pppdisrunning [private]
 

Definition at line 462 of file pppdata.h.

Referenced by pppdRunning(), and setpppdRunning().

int PPPData::pppdMod [private]
 

Definition at line 465 of file pppdata.h.

Referenced by PPPData(), pppdVersion(), and pppdVersionMin().

int PPPData::pppdPatch [private]
 

Definition at line 465 of file pppdata.h.

Referenced by PPPData(), pppdVersion(), and pppdVersionMin().

int PPPData::pppdVer [private]
 

Definition at line 465 of file pppdata.h.

Referenced by PPPData(), pppdVersion(), and pppdVersionMin().

QString PPPData::PreConnect
 

Definition at line 43 of file pppdata.h.

QString PPPData::PreDisconnect
 

Definition at line 45 of file pppdata.h.

QString PPPData::RemoteAddress
 

Definition at line 15 of file pppdata.h.

bool PPPData::RemoteOverrule
 

Definition at line 13 of file pppdata.h.

struct { ... } PPPData::Run
 

Referenced by PPPRunEdit::commit(), and PPPRunEdit::showData().

QString PPPData::Secret
 

Definition at line 35 of file pppdata.h.

QString PPPData::Send
 

Definition at line 30 of file pppdata.h.

QMap<QString,QChar> PPPData::sepEntries [private]
 

Definition at line 474 of file pppdata.h.

Referenced by deleteAccount(), deleteDevice(), save(), and writeListConfig().

QString PPPData::Server
 

Definition at line 33 of file pppdata.h.

bool PPPData::ServerAssigned
 

Definition at line 38 of file pppdata.h.

QArray<QString *> PPPData::Servers
 

Definition at line 40 of file pppdata.h.

QMap<QString,QString> PPPData::stringEntries [private]
 

Definition at line 471 of file pppdata.h.

Referenced by cancel(), deleteAccount(), deleteDevice(), readConfig(), save(), and writeConfig().

pid_t PPPData::suidprocessid [private]
 

Definition at line 461 of file pppdata.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:45:25 2005 for OPIE by  doxygen 1.4.2