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)
{
Q_OBJECT
public:
btprogress (nbt& nt, boost::gregorian::date mindate, boost::gregorian::date maxdate,
~btprogress();
signals:
private slots:
void onbtcanceled();
void oncancel();
}
class btprogress : public QDialog
{
Q_OBJECT
public:
btprogress (nbt& nt, boost::gregorian::date mindate, boost::gregorian::date maxdate,
QWidget*parent = 0);
~btprogress();
signals:
void onprogress(QString date);
private slots:
void onbtcanceled();
void oncancel();
}
To copy to clipboard, switch view to plain text mode
Bookmarks