Click here to Skip to main content
15,886,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: another "everybody knows that " question on C++ : Preserved for posterity Pin
k505410-May-23 8:43
mvek505410-May-23 8:43 
AnswerRe: another "everybody knows that " question on C++ Pin
k505410-May-23 9:05
mvek505410-May-23 9:05 
GeneralMessage Closed Pin
10-May-23 9:54
Member 1496877110-May-23 9:54 
GeneralRe: another "everybody knows that " question on C++ Pin
k505410-May-23 10:31
mvek505410-May-23 10:31 
GeneralRe: another "everybody knows that " question on C++ Pin
jschell11-May-23 4:57
jschell11-May-23 4:57 
GeneralRe: another "everybody knows that " question on C++ Pin
harold aptroot10-May-23 10:39
harold aptroot10-May-23 10:39 
GeneralMessage Closed Pin
10-May-23 11:26
Member 1496877110-May-23 11:26 
GeneralRe: another "everybody knows that " question on C++ Pin
Richard MacCutchan10-May-23 21:46
mveRichard MacCutchan10-May-23 21:46 
This: QBluetoothAddress Class | Qt Bluetooth 5.15.13[^], the key detail being:
Quote:
This class holds a Bluetooth address in a platform- and protocol-independent manner.
.
But your function definition is incomplete, and would more likely be something like:
C++
void SettingsDialog::pairingDone(QBluetoothAddress& qbaddr, QBluetoothLocalDevice::Pairing& pair)

where qbaddr is a reference to (i.e. address of) a QBluetoothAddress object, and pair is a reference to a QBluetoothLocalDevice::Pairing object, see QBluetoothLocalDevice Class | Qt Bluetooth 6.5.0[^].

It seems to me the main issue you need to address is gaining a good understanding of C++ and its syntax. The same probably holds true for Qt and its Bluetooth classes.
AnswerRe: another "everybody knows that " question on C++ Pin
jschell11-May-23 5:10
jschell11-May-23 5:10 
GeneralMessage Closed Pin
11-May-23 6:32
Member 1496877111-May-23 6:32 
GeneralRe: another "everybody knows that " question on C++ Pin
Richard MacCutchan11-May-23 9:05
mveRichard MacCutchan11-May-23 9:05 
RantMessage Closed Pin
12-May-23 9:35
Member 1496877112-May-23 9:35 
GeneralRe: another "everybody knows that " question on C++ Pin
OriginalGriff12-May-23 23:32
mveOriginalGriff12-May-23 23:32 
GeneralRe: another "everybody knows that " question on C++ Pin
jschell12-May-23 9:36
jschell12-May-23 9:36 
QuestionMessage Closed Pin
8-May-23 6:28
Member 149687718-May-23 6:28 
AnswerRe: C++ for loop syntax ? Pin
CPallini8-May-23 8:02
mveCPallini8-May-23 8:02 
AnswerRe: C++ for loop syntax ? Pin
Richard MacCutchan8-May-23 21:46
mveRichard MacCutchan8-May-23 21:46 
GeneralMessage Closed Pin
9-May-23 7:13
Member 149687719-May-23 7:13 
GeneralRe: C++ for loop syntax ? Pin
Richard MacCutchan9-May-23 10:11
mveRichard MacCutchan9-May-23 10:11 
GeneralRe: C++ for loop syntax ? Pin
k50549-May-23 11:29
mvek50549-May-23 11:29 
AnswerRe: C++ for loop syntax ? Pin
Gerry Schmitz10-May-23 5:02
mveGerry Schmitz10-May-23 5:02 
AnswerRe: C++ for loop syntax ? Pin
jschell10-May-23 5:34
jschell10-May-23 5:34 
QuestionTitle bar display and closing problem Pin
Jeanjean Lesage5-May-23 22:46
Jeanjean Lesage5-May-23 22:46 
AnswerRe: Title bar display and closing problem Pin
Richard MacCutchan6-May-23 0:03
mveRichard MacCutchan6-May-23 0:03 
GeneralRe: Title bar display and closing problem Pin
Jeanjean Lesage6-May-23 1:57
Jeanjean Lesage6-May-23 1:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.