]> Some of my projects - localmylist.git/commitdiff
Fix SqlQuery.
authorAPTX <marek321@gmail.com>
Tue, 19 Mar 2013 22:22:35 +0000 (23:22 +0100)
committerAPTX <marek321@gmail.com>
Tue, 19 Mar 2013 22:22:35 +0000 (23:22 +0100)
localmylist/include/LocalMyList/SqlQuery [new file with mode: 0644]
localmylist/sqlquery.cpp
localmylist/sqlquery.h

diff --git a/localmylist/include/LocalMyList/SqlQuery b/localmylist/include/LocalMyList/SqlQuery
new file mode 100644 (file)
index 0000000..43f11d5
--- /dev/null
@@ -0,0 +1 @@
+#include "../../sqlquery.h"
index 82868a81ee1c8c7761571cb3b042b26bde4677cd..84843a0fdd053df0a804b4fd6af88294004de29f 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <QSqlRecord>
 #include <QSqlError>
+#include <QVariant>
 
 namespace LocalMyList {
 
@@ -28,6 +29,9 @@ public:
        QSqlQuery q;
 };
 
+SqlQueryInternal::SqlQueryInternal()
+{
+}
 
 bool SqlQueryInternal::prepare(const QString &query)
 {
index c11cc24ba690845a66cbf9fcb8573b700210c143..4812b2233c5ddd0be057a580031aa0a5dedf3bd1 100644 (file)
@@ -30,9 +30,7 @@ public:
        QString executedQuery() const;
        QString lastError() const;
 
-signals:
-
-public slots:
+private:
        SqlQueryInternal *d;
 };