C++ (Qt)class Emmiter : public QObject{ Q_OBJECT public: void setValue (int value) { emit changed (value); } Q_SIGNALS: void changed (int value);} ............void foo (Emmiter *emmiter) {.........emmiter->setValue(++Parametr);.......