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

VirtualInterface Class Reference

#include </home/clem/local/src/opie/examples/networksettings/exampleiface.h>

Inheritance diagram for VirtualInterface:

Inheritance graph
[legend]
Collaboration diagram for VirtualInterface:

Collaboration graph
[legend]
List of all members.

Public Slots

bool refresh ()
void start ()
void stop ()

Public Member Functions

 VirtualInterface (QObject *parent, const char *name="vpn", bool up=false)
 ~VirtualInterface ()

Private Attributes

bool m_isUp: 1

Constructor & Destructor Documentation

VirtualInterface::VirtualInterface QObject *  parent,
const char *  name = "vpn",
bool  up = false
 

Definition at line 6 of file exampleiface.cpp.

VirtualInterface::~VirtualInterface  ) 
 

Definition at line 13 of file exampleiface.cpp.


Member Function Documentation

bool VirtualInterface::refresh  )  [virtual, slot]
 

Try to refresh the information about the interface. First call ifconfig, then check the dhcp-info file

Returns:
bool true if successful.

Reimplemented from Interface.

Definition at line 16 of file exampleiface.cpp.

References Interface::getInterfaceName(), odebug, oendl, Interface::refresh(), Interface::setInterfaceName(), and Interface::updateInterface().

Referenced by start(), and stop().

void VirtualInterface::start void   )  [virtual, slot]
 

Try to start the interface.

Reimplemented from Interface.

Definition at line 35 of file exampleiface.cpp.

References refresh(), Interface::setStatus(), and Interface::updateMessage().

void VirtualInterface::stop void   )  [virtual, slot]
 

Try to stop the interface.

Reimplemented from Interface.

Definition at line 42 of file exampleiface.cpp.

References refresh(), Interface::setStatus(), and Interface::updateMessage().


Member Data Documentation

bool VirtualInterface::m_isUp [private]
 

Definition at line 19 of file exampleiface.h.


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