From: APTX Date: Tue, 19 Mar 2013 22:22:35 +0000 (+0100) Subject: Fix SqlQuery. X-Git-Url: https://gitweb.tyo.aptx.org/?a=commitdiff_plain;h=f8ce547b6fbf39085bc2ce07d06bd06609367029;p=localmylist.git Fix SqlQuery. --- diff --git a/localmylist/include/LocalMyList/SqlQuery b/localmylist/include/LocalMyList/SqlQuery new file mode 100644 index 0000000..43f11d5 --- /dev/null +++ b/localmylist/include/LocalMyList/SqlQuery @@ -0,0 +1 @@ +#include "../../sqlquery.h" diff --git a/localmylist/sqlquery.cpp b/localmylist/sqlquery.cpp index 82868a8..84843a0 100644 --- a/localmylist/sqlquery.cpp +++ b/localmylist/sqlquery.cpp @@ -2,6 +2,7 @@ #include #include +#include namespace LocalMyList { @@ -28,6 +29,9 @@ public: QSqlQuery q; }; +SqlQueryInternal::SqlQueryInternal() +{ +} bool SqlQueryInternal::prepare(const QString &query) { diff --git a/localmylist/sqlquery.h b/localmylist/sqlquery.h index c11cc24..4812b22 100644 --- a/localmylist/sqlquery.h +++ b/localmylist/sqlquery.h @@ -30,9 +30,7 @@ public: QString executedQuery() const; QString lastError() const; -signals: - -public slots: +private: SqlQueryInternal *d; };