Using qDebug() instead of iostream::cout(). And formatted files with clangformat.

This commit is contained in:
2025-10-02 16:22:01 +02:00
parent b3718c211f
commit 0bbac662f4
2 changed files with 11 additions and 20 deletions

View File

@ -1,19 +1,11 @@
#include "genericcore.h"
#include <iostream>
#include <QDebug>
using namespace std;
GenericCore::GenericCore()
{
cout << "Creating core..." << endl;
}
GenericCore::GenericCore() { qDebug() << "Creating core..."; }
GenericCore::~GenericCore()
{
cout << "Destroying core..." << endl;
}
GenericCore::~GenericCore() { qDebug() << "Destroying core..."; }
void GenericCore::sayHello() const
{
cout << "Hello from the core!" << endl;
}
void GenericCore::sayHello() const { qDebug() << "Hello from the core!"; }