summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/opietooth2/OTInquiry.h
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings2/opietooth2/OTInquiry.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/opietooth2/OTInquiry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/networksettings2/opietooth2/OTInquiry.h b/noncore/settings/networksettings2/opietooth2/OTInquiry.h
index f7bdeec..559af7a 100644
--- a/noncore/settings/networksettings2/opietooth2/OTInquiry.h
+++ b/noncore/settings/networksettings2/opietooth2/OTInquiry.h
@@ -1,89 +1,89 @@
//-*-c++-*-
/***************************************************************************
* Copyright (C) 2003 by Fred Schaettgen *
* kdebluetooth@schaettgen.de *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
***************************************************************************/
#ifndef OTINQUIRY_H
#define OTINQUIRY_H
#include <qstring.h>
#include <qobject.h>
#include <qguardedptr.h>
#include <qtimer.h>
#include <OTPeer.h>
// #include <set>
// #include <deque>
namespace Opietooth2 {
class QSocket;
class QDateTime;
class OTDriver;
class OTHCISocket;
/** Scans for nearby bluetooth devices.
* This class provides an asynchronous interface to the
* inquriy HCI command. To scan for other devices, connect
* to the signals neighbourFound() and finished() and call
* inquiry(). Inquiry results are signalled as soon as they arrive,
* so the information can be displayed before the whole inquiry
* process is finished.
- * Still no connections should be set up before
+ * Still no networkSetups should be set up before
* the finished() signal was sent (hmm, is this always true..?)
*/
class OTInquiry : public QObject {
Q_OBJECT
public:
/** Constructor.
@param owner The owning parent object
*/
OTInquiry( OTDriver* Drv );
/** Destructor. */
virtual ~OTInquiry();
// General/Unlimited Inquiry Access Code
static const int GIAC = 0x9E8B33;
// Limited Dedicated Inquiry Access Code
static const int LIAC = 0x9E8B00;
/** Starts the inquiry.
if you start inquiry several times without calling clear(),
you will receive each result only once.
@param timeout duration of the inquiry in seconds.
It will be rounded to the next multiple of 1.28 sec,
with a maximum of 61.44 sec.
@param lap
*/
bool inquire( double timeout = 8.0,
int numResponses = 0,
int lap = GIAC);
void stopInquiring( );
/** Enters periodic inquiry mode.
An inquiry will be started at a random time in the intervall
between minduration and maxduration.
@param minduration minimum time between two inquiries. Rounded to
a multiple of 1.28, (3.84 <= d <= 83884.8)
@param maxduration maximum time between two inquiries. Rounded to
a multiple of 1.28, (3.84 <= d <= 83884.8)
@param timeout duration of the inquiry in seconds.
It will be rounded to the next multiple of 1.28 sec,
with a maximum of 61.44 sec.
@param numResponses Number of responses after which the inquiry