I'm trying to set up a class with a signal, but it fails to compile.
Qt Code:
#ifndef CONTROLDB_H #define CONTROLDB_H #include <QString> { public: ControlDB(); void ControlDB::makeControlDB(); signals: }; #endif // CONTROLDB_HTo copy to clipboard, switch view to plain text mode
Here is the error:
error: expected class-name before '{' token
What am I doing wrong here?
Bookmarks