# Options

Parse and store command line options.

## Public Methods

| Options | ( int argc, char* argv[] );
QString& | cmd | ( );
int | divider | ( );
int | interval | ( );
int | link | ( );
int | period | ( );
int | retry | ( );
QColor& | rxColor | ( );
bool | showRx | ( );
bool | showTx | ( );
QColor& | txColor | ( );

## Private Data Members

QString | _cmd; | Command to bring up the PPP link.
int | _divider; | Sapcing between horizontal dividers.
int | _interval; | Statistics polling interval in seconds.
int | _link; | PPP link number to monitor.
int | _period; | Load averaging interval in seconds.
int | _retry; | Time between retries when dialling PPP link.
QColor | _rxColor; | Color for receive stats.
bool | _showRx; | True means display receive stats.
bool | _showTx; | True means display transmit stats.
QColor | _txColor; | Color for transmit stats.

## Public Methods Documentation

#### Options ( int argc, char* argv[] );

Extract command line opotions from argc and argv.

#### QString& cmd ( );

Return the PPP command.

#### int divider ( );

Return the spacing between horizontal dividers.

#### int interval ( );

Return the statistics polling interval.

#### int link ( );

Return the PPP link number to monitor.

#### int period ( );

Return the load averaging period.

#### int retry ( );

Return the time betweem PPP link dialling retries.

#### QColor& rxColor ( );

Return the receive color.

#### bool showRx ( );

Return the receive stats flag.

#### bool showTx ( );

Return the transmit stats flag.

#### QColor& txColor ( );

Return the transmit color.

Return to Index.
Automatically generated on Oct 27 22:19