I have a strange problem: there is a method "onprogress" in the class below. During link I am getting an error of it being already defined. When I remove "signals:" keyword it compiles OK. What might be the offence? (Windows, vs2008)

Qt Code:
  1. class btprogress : public QDialog
  2. {
  3. Q_OBJECT
  4.  
  5. public:
  6. btprogress (nbt& nt, boost::gregorian::date mindate, boost::gregorian::date maxdate,
  7. QWidget*parent = 0);
  8. ~btprogress();
  9.  
  10. signals:
  11. void onprogress(QString date);
  12.  
  13. private slots:
  14. void onbtcanceled();
  15. void oncancel();
  16. }
To copy to clipboard, switch view to plain text mode