On Wednesday 16 March 2011 18:37:58 David C. Rankin wrote:
Tim, Serghei,
I ran into another constructor error on kpowersave in
countdown_Dialog.cpp. This one isn't quite the same as the normal
class::class problem (the error looks the same, but the code doesn't)
Here is the error:
[...]
/home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialo
g.h:23:7: error: forward declaration of ‘struct KProgress’
/home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialo
g.cpp:174:73: error: no matching function for call to
‘QGridLayout::addMultiCellWidget(KProgress*&, int, int, int, int)’
/opt/qt/include/qlayout.h:332:10: note: candidate is: void
QGridLayout::addMultiCellWidget(QWidget*, int, int, int, int, int)
make[2]: ***
[...]
Attach here "countdown_Dialog.cpp" and "countdown_Dialog.h"
--
Serghei