commit 4061b346da6a482a4f0258c9d6344d87f55d7d3c
Author: Christian Ehringfeld <c.ehringfeld@t-online.de>
Date:   Mon Oct 12 00:28:59 2015 +0200

    samples again

diff --git a/samples/example/models/contact.h b/samples/example/models/contact.h
index 8578611..8a89830 100644
--- a/samples/example/models/contact.h
+++ b/samples/example/models/contact.h
@@ -20,7 +20,6 @@ class Contact: public CuteEntityManager::Entity {
 
   public:
     enum Category {EMAIL, MOBILE, LANDLINE, MESSENGER, EXTRA} ;
-    Q_ENUM(Category)
     Q_INVOKABLE Contact() {}
     Contact(QString label, Category category, QString content);
     const QHash<QString, CuteEntityManager::Relation> getRelations() const
diff --git a/samples/example/models/person.h b/samples/example/models/person.h
index d9e867f..e5c4cd4 100644
--- a/samples/example/models/person.h
+++ b/samples/example/models/person.h
@@ -34,9 +34,7 @@ class Person: public Entity {
 
   public:
     enum class Gender {MALE, FEMALE, UNKNOWNGENDER};
-    Q_ENUM(Gender)
     enum class NameOrder {FIRST_FAMILY_NAME_ORDER, FAMILY_FIRST_NAME_ORDER};
-    Q_ENUM(NameOrder)
     Q_INVOKABLE explicit Person(QObject *parent = 0);
     Person(QString firstName, QString familyName,
            Gender gender = Gender::UNKNOWNGENDER,
diff --git a/samples/simple/article.cpp b/samples/simple/article.cpp
index 7c3c91f..5bccba8 100644
--- a/samples/simple/article.cpp
+++ b/samples/simple/article.cpp
@@ -28,7 +28,6 @@ void Article::setName(const QString &value) {
 }
 
 Article::~Article() {
-
 }
 
 Article::Article() : Entity() {
@@ -41,12 +40,10 @@ Article::Article(double preis, QString name) : Entity() {
     this->name = name;
 }
 
-double Article::getPrice() const
-{
+double Article::getPrice() const {
     return price;
 }
 
-void Article::setPrice(double value)
-{
+void Article::setPrice(double value) {
     price = value;
 }
diff --git a/tests/tables/tst_tables.cpp b/tests/tables/tst_tables.cpp
index d19a2c0..49634bb 100644
--- a/tests/tables/tst_tables.cpp
+++ b/tests/tables/tst_tables.cpp
@@ -32,10 +32,10 @@ void Tables::initTestCase() {
 }
 
 void Tables::cleanupTestCase() {
-//    if (this->e) {
-//        delete this->e;
-//        this->e = nullptr;
-//    }
+    if (this->e) {
+        delete this->e;
+        this->e = nullptr;
+    }
 }
 
 void Tables::testStartup() {
