Hey all,
I'm working through the book "GUI Programming with Qt3" and have
worked my way through Chapter 4, creating a small spreadsheet
application. I'm finally to a point where I can compile the program
and see how it looks, but I keep get some cryptic error that I don't
understand. Maybe you all can help me out here.
I've created many files and have all of them included properly in my
implementation files, so I know the problem is not there. The error
that I'm getting is as follows:
-----------------------------------------------------------------------------------------------------------------------------------
spreadsheet.h: In member function 'bool Spreadsheet::au toRecalculate()
const':
spreadsheet.h:1 9: error: argument of type 'bool (Spreadsheet::) ()'
does not match 'bool'
make: *** [mainwindow.o] Error 1
-----------------------------------------------------------------------------------------------------------------------------------
The file in question, spreadsheet.h, has the following on line 19:
bool autoRecalculate () const { return autoRecalc; }
Now, I don't understand what the compiler is trying to tell me with
the statement, "argument of type bool (SPreadsheet::) () does not
match bool". Any help with this is greatly appreciated. Thank you
all for your time.
Cheers,
Sean Carrick
PekinSOFT Systems
PekinSOFT at gmail dot com