[SOLVED] Is it possible to use QBitArray as signal's or slot's argument ?
-
So, here is the question: "Is it possible to use QBitArray as signal's or slot's argument ?". When I write signal no errors shown but when I write slot and make a connect connect(musWg, SIGNAL(stateChanged(QBitArray)), this, SIGNAL(onStateChanged(QBitArray))); I have this message in MSVC console: 1>Compiling...
1>moc_MusWidget.cpp
1>moc_MainWidget.cpp
1>.\GeneratedFiles\Debug\moc_MainWidget.cpp(54) : error C2664: 'MainWidget::onStateChanged' : cannot convert parameter 1 from 'QBitArray' to 'QBitArray'
1> Source or target has incomplete type
1>MainWidget.cpp
1>Generating Code...
1>Build log was saved at "file://C:\Documents and Settings\BuildLog.htm"
1>V3ImitationProgram - 1 error(s), 0 warning(s) -
Did you <code>#include <QBitArray></code>?
-
Oh, really forgot :) Thanks.
-
Hello Anticross,
using QBitArray as Signal/ Slot argument sounds interesting.
Can you show little more what for and how you are using this ?