I have following code:
{
Q_OBJECT
public:
{
}
public slots:
void ButtonPress2()
{
emit SIGNAL(Change());
}
void Changed()
{
}
signals:
void Change();
};
class MyProxy : public QObject
{
Q_OBJECT
public:
MyProxy() : QObject()
{
}
public slots:
void ButtonPress2()
{
emit SIGNAL(Change());
}
void Changed()
{
QMessageBox::information(0, "Changed","Changed");
}
signals:
void Change();
};
To copy to clipboard, switch view to plain text mode
ButtonPress2() is being called from button's clicked() signal, however Changed() slot is never called.
Sorry, I'm absolutely newbie in QT...
Bookmarks