On 03/16/2011 12:01 PM, Serghei Amelian wrote: > 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: *** > > [...] > > Attach here "countdown_Dialog.cpp" and "countdown_Dialog.h" > > Thanks Serghei, It must just be on this one box. I'll try deleting the files and having them pulled back in on svn up. I just tried it on another box and everything worked fine, so I suspect this is just something strange with my copy of kpowersave. I'll report back. (box is at home and I'm at the office right now :) -- David C. Rankin, J.D.,P.E.