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

OpieTooth::ScanDialog Class Reference

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

Collaboration diagram for OpieTooth::ScanDialog:

Collaboration graph
[legend]
List of all members.

Public Slots

void accept ()

Signals

void selectedDevices (const QValueList< RemoteDevice > &)

Public Member Functions

 ScanDialog (QWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)
 ~ScanDialog ()

Protected Attributes

QVBoxLayout * Layout11

Private Slots

void stopSearch ()
void startSearch ()
void progressTimer ()
void fillList (const QString &device, RemoteDevice::ValueList list)

Private Member Functions

void emitToManager ()

Private Attributes

QProgressBar * progress
QPushButton * StartStopButton
QListView * serviceView
bool m_search:1
ManagerlocalDevice
int progressStat

Constructor & Destructor Documentation

OpieTooth::ScanDialog::ScanDialog QWidget *  parent = 0,
const char *  name = 0,
bool  modal = FALSE,
WFlags  fl = 0
 

Definition at line 44 of file scandialog.cpp.

References fillList(), Layout11, localDevice, m_search, Qtopia::Manager, progress, progressStat, serviceView, startSearch(), StartStopButton, and tr.

OpieTooth::ScanDialog::~ScanDialog  ) 
 

Cleanup

Definition at line 160 of file scandialog.cpp.

References localDevice, oendl, and owarn.


Member Function Documentation

void OpieTooth::ScanDialog::accept  )  [slot]
 

Definition at line 89 of file scandialog.cpp.

References emitToManager().

void OpieTooth::ScanDialog::emitToManager  )  [private]
 

Iterates trough the items, and collects the checked items. Then it emits it, so the manager can connect to the signal to fill the listing.

Definition at line 139 of file scandialog.cpp.

References QValueList< T >::append(), device, selectedDevices(), and serviceView.

Referenced by accept().

void OpieTooth::ScanDialog::fillList const QString device,
RemoteDevice::ValueList  list
[private, slot]
 

Definition at line 120 of file scandialog.cpp.

References QValueList< T >::begin(), QValueList< T >::end(), m_search, progress, progressStat, serviceView, StartStopButton, and tr.

Referenced by ScanDialog().

void OpieTooth::ScanDialog::progressTimer  )  [private, slot]
 

Definition at line 80 of file scandialog.cpp.

References m_search, progress, and progressStat.

Referenced by startSearch().

void OpieTooth::ScanDialog::selectedDevices const QValueList< RemoteDevice > &   )  [signal]
 

Referenced by emitToManager().

void OpieTooth::ScanDialog::startSearch  )  [private, slot]
 

Definition at line 95 of file scandialog.cpp.

References localDevice, m_search, progress, progressStat, progressTimer(), OpieTooth::Manager::searchDevices(), serviceView, StartStopButton, stopSearch(), and tr.

Referenced by ScanDialog().

void OpieTooth::ScanDialog::stopSearch  )  [private, slot]
 

Definition at line 116 of file scandialog.cpp.

References m_search.

Referenced by startSearch().


Member Data Documentation

QVBoxLayout* OpieTooth::ScanDialog::Layout11 [protected]
 

Definition at line 55 of file scandialog.h.

Referenced by ScanDialog().

Manager* OpieTooth::ScanDialog::localDevice [private]
 

Definition at line 66 of file scandialog.h.

Referenced by ScanDialog(), startSearch(), and ~ScanDialog().

bool OpieTooth::ScanDialog::m_search [private]
 

Definition at line 64 of file scandialog.h.

Referenced by fillList(), progressTimer(), ScanDialog(), startSearch(), and stopSearch().

QProgressBar* OpieTooth::ScanDialog::progress [private]
 

Definition at line 47 of file scandialog.h.

Referenced by fillList(), progressTimer(), ScanDialog(), and startSearch().

int OpieTooth::ScanDialog::progressStat [private]
 

Definition at line 67 of file scandialog.h.

Referenced by fillList(), progressTimer(), ScanDialog(), and startSearch().

QListView* OpieTooth::ScanDialog::serviceView [private]
 

Definition at line 49 of file scandialog.h.

Referenced by emitToManager(), fillList(), ScanDialog(), and startSearch().

QPushButton* OpieTooth::ScanDialog::StartStopButton [private]
 

Definition at line 48 of file scandialog.h.

Referenced by fillList(), ScanDialog(), and startSearch().


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