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

WellenreiterConfigWindow Class Reference

#include </home/clem/local/src/opie/noncore/net/wellenreiter/gui/configwindow.h>

Collaboration diagram for WellenreiterConfigWindow:

Collaboration graph
[legend]
List of all members.

Public Slots

void changedDeviceType (int)
void changedNetworkAction (int t)
void changedClientAction (int t)
void changedStationAction (int t)
void getCaptureFileNameClicked ()
void performAutodetection ()
void channelAllClicked (int)
void performAction (const QString &, const QString &, const QString &, bool, int, int)

Public Member Functions

 WellenreiterConfigWindow (QWidget *parent=0, const char *name="WellenreiterConfigWindow", WFlags f=0)
 ~WellenreiterConfigWindow ()
int driverType () const
const QString soundOnNetwork () const
const QString soundOnBeacon () const
int hoppingInterval () const
bool usePrismHeader () const
bool isChannelChecked (int) const
bool useGPS () const
const QString gpsHost () const
int gpsPort () const
void save ()
void load ()
int hexViewBuffer () const

Static Public Member Functions

static WellenreiterConfigWindowinstance ()

Protected Slots

void synchronizeActionsAndScripts ()
virtual void accept ()

Protected Attributes

QMap< QString, int > _devicetype
int _guess

Static Protected Attributes

static WellenreiterConfigWindow_instance = 0

Constructor & Destructor Documentation

WellenreiterConfigWindow::WellenreiterConfigWindow QWidget *  parent = 0,
const char *  name = "WellenreiterConfigWindow",
WFlags  f = 0
 

Definition at line 52 of file configwindow.cpp.

References _devicetype, accept(), changedClientAction(), changedDeviceType(), changedNetworkAction(), changedStationAction(), channelAllClicked(), DEVTYPE_CISCO, DEVTYPE_FILE, DEVTYPE_HOSTAP, DEVTYPE_MANUAL, DEVTYPE_ORINOCO, DEVTYPE_WLAN_NG, getCaptureFileNameClicked(), Opie::Net::ONetwork::instance(), load(), net, and performAutodetection().

WellenreiterConfigWindow::~WellenreiterConfigWindow  ) 
 

Definition at line 106 of file configwindow.cpp.


Member Function Documentation

void WellenreiterConfigWindow::accept  )  [protected, virtual, slot]
 

Definition at line 99 of file configwindow.cpp.

References save().

Referenced by WellenreiterConfigWindow().

void WellenreiterConfigWindow::changedClientAction int  t  )  [slot]
 

Definition at line 230 of file configwindow.cpp.

References synchronizeActionsAndScripts().

Referenced by WellenreiterConfigWindow().

void WellenreiterConfigWindow::changedDeviceType int   )  [slot]
 

Definition at line 195 of file configwindow.cpp.

References _guess, DEVTYPE_FILE, QFile::exists(), QString::isEmpty(), name, and qApp.

Referenced by WellenreiterConfigWindow().

void WellenreiterConfigWindow::changedNetworkAction int  t  )  [slot]
 

Definition at line 224 of file configwindow.cpp.

References synchronizeActionsAndScripts().

Referenced by WellenreiterConfigWindow().

void WellenreiterConfigWindow::changedStationAction int  t  )  [slot]
 

Definition at line 236 of file configwindow.cpp.

References synchronizeActionsAndScripts().

Referenced by WellenreiterConfigWindow().

void WellenreiterConfigWindow::channelAllClicked int   )  [slot]
 

Definition at line 253 of file configwindow.cpp.

Referenced by WellenreiterConfigWindow().

int WellenreiterConfigWindow::driverType  )  const
 

Definition at line 144 of file configwindow.cpp.

References _devicetype, QMap< Key, T >::contains(), and name.

Referenced by Wellenreiter::startClicked(), and WellenreiterMainWindow::updateToolButtonState().

void WellenreiterConfigWindow::getCaptureFileNameClicked  )  [slot]
 

Definition at line 242 of file configwindow.cpp.

References QString::isEmpty(), name, odebug, oendl, and qApp.

Referenced by WellenreiterConfigWindow().

const QString WellenreiterConfigWindow::gpsHost  )  const
 

Definition at line 279 of file configwindow.cpp.

References QString::null, and useGPS().

int WellenreiterConfigWindow::gpsPort  )  const
 

Definition at line 285 of file configwindow.cpp.

References useGPS().

int WellenreiterConfigWindow::hexViewBuffer  )  const
 

Definition at line 493 of file configwindow.cpp.

int WellenreiterConfigWindow::hoppingInterval  )  const
 

Definition at line 158 of file configwindow.cpp.

static WellenreiterConfigWindow* WellenreiterConfigWindow::instance  )  [inline, static]
 

Definition at line 48 of file configwindow.h.

References _instance.

Referenced by MScanListItem::decorateItem(), WellenreiterMainWindow::demoReadFromGps(), MScanListItem::MScanListItem(), Wellenreiter::startClicked(), and Wellenreiter::stopClicked().

bool WellenreiterConfigWindow::isChannelChecked int   )  const
 

Definition at line 170 of file configwindow.cpp.

void WellenreiterConfigWindow::load  ) 
 

Definition at line 358 of file configwindow.cpp.

References device, i, oApp, odebug, oendl, performAutodetection(), and synchronizeActionsAndScripts().

Referenced by WellenreiterConfigWindow().

void WellenreiterConfigWindow::performAction const QString type,
const QString essid,
const QString mac,
bool  wep,
int  channel,
int 
[slot]
 

Script Substitution Information:

$SSID = SSID $MAC = MAC $WEP = Wep $CHAN = Channel

Definition at line 291 of file configwindow.cpp.

References assert, Opie::ODevice::inst(), QString::number(), odebug, oendl, owarn, and QString::replace().

void WellenreiterConfigWindow::performAutodetection  )  [slot]
 

Definition at line 111 of file configwindow.cpp.

References _guess, QTextStream::atEnd(), DEVTYPE_CISCO, DEVTYPE_HOSTAP, DEVTYPE_ORINOCO, DEVTYPE_WLAN_NG, IO_ReadOnly, odebug, oendl, and QFile::open().

Referenced by load(), and WellenreiterConfigWindow().

void WellenreiterConfigWindow::save  ) 
 

Definition at line 444 of file configwindow.cpp.

References oApp, odebug, and oendl.

Referenced by accept().

const QString WellenreiterConfigWindow::soundOnBeacon  )  const [inline]
 

Definition at line 47 of file configwindow.h.

const QString WellenreiterConfigWindow::soundOnNetwork  )  const [inline]
 

Definition at line 46 of file configwindow.h.

void WellenreiterConfigWindow::synchronizeActionsAndScripts  )  [protected, slot]
 

Definition at line 212 of file configwindow.cpp.

Referenced by changedClientAction(), changedNetworkAction(), changedStationAction(), and load().

bool WellenreiterConfigWindow::useGPS  )  const
 

Definition at line 273 of file configwindow.cpp.

Referenced by gpsHost(), and gpsPort().

bool WellenreiterConfigWindow::usePrismHeader  )  const
 

Definition at line 164 of file configwindow.cpp.

Referenced by Wellenreiter::startClicked().


Member Data Documentation

QMap<QString, int> WellenreiterConfigWindow::_devicetype [protected]
 

Definition at line 78 of file configwindow.h.

Referenced by driverType(), and WellenreiterConfigWindow().

int WellenreiterConfigWindow::_guess [protected]
 

Definition at line 80 of file configwindow.h.

Referenced by changedDeviceType(), and performAutodetection().

WellenreiterConfigWindow * WellenreiterConfigWindow::_instance = 0 [static, protected]
 

Definition at line 50 of file configwindow.cpp.

Referenced by instance().


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