Main Page | Alphabetical List | Class List | File List | Class Members

ConnectionList Class Reference

#include <connectionlist.h>

List of all members.


Detailed Description

List of VPN connection configurations.


Public Member Functions

 ConnectionList ()
 ~ConnectionList ()
void remove (unsigned i)
bool activate (unsigned i, const QString &pwd)
void deactivate ()
bool hasActive () const
ConnectiongetActive ()
void store () const


Constructor & Destructor Documentation

ConnectionList::ConnectionList  ) 
 

Constructor.

ConnectionList::~ConnectionList  ) 
 

Destructor.


Member Function Documentation

bool ConnectionList::activate unsigned  i,
const QString &  pwd
 

Activate a connection.

Parameters:
i Index of connection to activate.
pwd XAuth password.
Returns:
True if activation started successfully, false otherwise.

void ConnectionList::deactivate  ) 
 

Deactivate active connection.

Connection& ConnectionList::getActive  )  [inline]
 

Get the index of the active connection.

bool ConnectionList::hasActive  )  const [inline]
 

Do we have an active connection?

void ConnectionList::remove unsigned  i  ) 
 

Remove an item by index. Stores the list and maintains the active item, too.

Parameters:
i Index of connection to remove.

void ConnectionList::store  )  const
 

Store the connections in a configuration file.


The documentation for this class was generated from the following files:
Generated on Fri Aug 19 23:02:10 2005 for Viperin-Z by  doxygen 1.4.4