OK, I did that and I finally got the btle class returning the data. I must say though, I am not at all convinced this is a great way of doing it, because now I'll have a couple of hundred routines in the main class that deal with decoding each message that's passed back. I can't pass a generic message back, because different BTLE messages contain different sorts of data that need to be dealt with in their own way. It seems to me a much nicer way to do this would be in the btle class and not clutter up the MainWindow.
I'm probably misunderstanding something or just going about this in totally the wrong way though. :~/ On 04/03/13 14:17, André Somers wrote: > I think you should read up on the signal-slot paradigm used all over Qt. > It seems like a great candidate for your BTLEDecoder class to provide > some signals that anyone, incluing your main window, can connect to. _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest