Create a public method in A that will emit the signal.

Qt Code:
  1. class A : public QObject {
  2. Q_OBJECT
  3. public:
  4. A(QObject *parent=0) : QObject(parent){}
  5. void emitSig(){ emit sig(); }
  6. signals:
  7. void sig();
  8. };
To copy to clipboard, switch view to plain text mode 

BTW. You should avoid emitting signals on account of other objects behind their back. If you do that, it's likely that your design is incorrect.