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

OpieTooth::DeviceHandler Class Reference

#include </home/clem/local/src/opie/noncore/net/opietooth/manager/devicehandler.h>

List of all members.

Public Member Functions

 DeviceHandler ()
 ~DeviceHandler ()
RemoteDevice::ValueList load ()
void save (const RemoteDevice::ValueList &)


Detailed Description

DeviceHandler is responsible for loading and saving devices from a config File

Definition at line 14 of file devicehandler.h.


Constructor & Destructor Documentation

DeviceHandler::DeviceHandler  ) 
 

c'tor

Definition at line 13 of file devicehandler.cpp.

DeviceHandler::~DeviceHandler  ) 
 

d'tor

Definition at line 16 of file devicehandler.cpp.


Member Function Documentation

RemoteDevice::ValueList DeviceHandler::load  ) 
 

loads from $HOME/Settings/bluetooth/ *

Definition at line 20 of file devicehandler.cpp.

References QValueList< T >::append(), QValueList< T >::begin(), QValueList< T >::end(), QDir::entryList(), Config::File, QDir::homeDirPath(), QString::isEmpty(), QValueList< T >::isEmpty(), list, name, QString::null, odebug, oendl, Config::readEntry(), and Config::setGroup().

Referenced by OpieTooth::BlueBase::readSavedDevices().

void DeviceHandler::save const RemoteDevice::ValueList  ) 
 

Saves to $HOME/Settings/bluetooth

Definition at line 57 of file devicehandler.cpp.

References Config::File, QDir::homeDirPath(), odebug, oendl, owarn, Config::setGroup(), and Config::writeEntry().

Referenced by OpieTooth::BlueBase::writeSavedDevices().


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