diff --git a/genericcore.cpp b/genericcore.cpp index 86bd5c0..d347ac4 100644 --- a/genericcore.cpp +++ b/genericcore.cpp @@ -1,19 +1,11 @@ #include "genericcore.h" -#include +#include + 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!"; } diff --git a/genericcore.h b/genericcore.h index ba48812..f4bcf88 100644 --- a/genericcore.h +++ b/genericcore.h @@ -1,13 +1,12 @@ #ifndef GENERICCORE_H #define GENERICCORE_H -class GenericCore -{ -public: - GenericCore(); - ~GenericCore(); +class GenericCore { + public: + GenericCore(); + ~GenericCore(); - void sayHello() const; + void sayHello() const; }; -#endif // GENERICCORE_H +#endif // GENERICCORE_H