#include "player.h" Player::Player(QObject *parent) : QObject(parent) { qDebug("Player::Player(): Constructed"); } Player::~Player() { qDebug("Player::~Player(): Destructed"); } void Player::startPlaying(int index) { qDebug("Player::startPlaying(): Success, I can call between both environments!"); } void Player::stopPlaying() { qDebug("Player::stopPlaying(): Success, I can even tell C++ to stop!"); }