aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-04-24 09:18:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-04-24 09:18:51 +0200
commit302ec6774a0dc0ab333462c9fbd0933f33c64e54 (patch)
treee517b0f0574412d0bb419ab5028483d8601fa21a
parent2d1104b1e3cfbf394981c39d8828598599dee5d6 (diff)
Get rid of image type argument in value traits template
-rw-r--r--odb/qt/basic/mysql/qbyte-array-traits.hxx2
-rw-r--r--odb/qt/basic/mysql/qstring-traits.hxx12
-rw-r--r--odb/qt/basic/sqlite/qbyte-array-traits.hxx2
-rw-r--r--odb/qt/basic/sqlite/qstring-traits.hxx2
-rw-r--r--odb/qt/date-time/mysql/qdate-time-traits.hxx4
-rw-r--r--odb/qt/date-time/mysql/qdate-traits.hxx2
-rw-r--r--odb/qt/date-time/mysql/qtime-traits.hxx2
-rw-r--r--odb/qt/date-time/sqlite/qdate-time-traits.hxx4
-rw-r--r--odb/qt/date-time/sqlite/qdate-traits.hxx4
-rw-r--r--odb/qt/date-time/sqlite/qtime-traits.hxx4
10 files changed, 17 insertions, 21 deletions
diff --git a/odb/qt/basic/mysql/qbyte-array-traits.hxx b/odb/qt/basic/mysql/qbyte-array-traits.hxx
index f0239fd..4477278 100644
--- a/odb/qt/basic/mysql/qbyte-array-traits.hxx
+++ b/odb/qt/basic/mysql/qbyte-array-traits.hxx
@@ -21,7 +21,7 @@ namespace odb
namespace mysql
{
template <>
- class default_value_traits<QByteArray, details::buffer, id_blob>
+ class default_value_traits<QByteArray, id_blob>
{
public:
typedef QByteArray value_type;
diff --git a/odb/qt/basic/mysql/qstring-traits.hxx b/odb/qt/basic/mysql/qstring-traits.hxx
index 0ea8e86..17f0946 100644
--- a/odb/qt/basic/mysql/qstring-traits.hxx
+++ b/odb/qt/basic/mysql/qstring-traits.hxx
@@ -58,26 +58,22 @@ namespace odb
};
template <>
- struct default_value_traits<
- QString, details::buffer, id_string>: qstring_value_traits
+ struct default_value_traits<QString, id_string>: qstring_value_traits
{
};
template <>
- struct default_value_traits<
- QString, details::buffer, id_decimal>: qstring_value_traits
+ struct default_value_traits<QString, id_decimal>: qstring_value_traits
{
};
template <>
- struct default_value_traits<
- QString, details::buffer, id_enum>: qstring_value_traits
+ struct default_value_traits<QString, id_enum>: qstring_value_traits
{
};
template <>
- struct default_value_traits<
- QString, details::buffer, id_set>: qstring_value_traits
+ struct default_value_traits<QString, id_set>: qstring_value_traits
{
};
diff --git a/odb/qt/basic/sqlite/qbyte-array-traits.hxx b/odb/qt/basic/sqlite/qbyte-array-traits.hxx
index 5f30222..3ec8a43 100644
--- a/odb/qt/basic/sqlite/qbyte-array-traits.hxx
+++ b/odb/qt/basic/sqlite/qbyte-array-traits.hxx
@@ -21,7 +21,7 @@ namespace odb
namespace sqlite
{
template <>
- class default_value_traits<QByteArray, details::buffer, id_blob>
+ class default_value_traits<QByteArray, id_blob>
{
public:
typedef QByteArray value_type;
diff --git a/odb/qt/basic/sqlite/qstring-traits.hxx b/odb/qt/basic/sqlite/qstring-traits.hxx
index 31a9c1f..53c4be4 100644
--- a/odb/qt/basic/sqlite/qstring-traits.hxx
+++ b/odb/qt/basic/sqlite/qstring-traits.hxx
@@ -21,7 +21,7 @@ namespace odb
namespace sqlite
{
template <>
- struct default_value_traits <QString, details::buffer, id_text>
+ struct default_value_traits <QString, id_text>
{
public:
typedef QString value_type;
diff --git a/odb/qt/date-time/mysql/qdate-time-traits.hxx b/odb/qt/date-time/mysql/qdate-time-traits.hxx
index 9d212a3..dfe9d9d 100644
--- a/odb/qt/date-time/mysql/qdate-time-traits.hxx
+++ b/odb/qt/date-time/mysql/qdate-time-traits.hxx
@@ -17,7 +17,7 @@ namespace odb
namespace mysql
{
template <>
- class default_value_traits<QDateTime, MYSQL_TIME, id_datetime>
+ class default_value_traits<QDateTime, id_datetime>
{
public:
typedef QDateTime value_type;
@@ -67,7 +67,7 @@ namespace odb
};
template <>
- class default_value_traits<QDateTime, MYSQL_TIME, id_timestamp>
+ class default_value_traits<QDateTime, id_timestamp>
{
public:
typedef QDateTime value_type;
diff --git a/odb/qt/date-time/mysql/qdate-traits.hxx b/odb/qt/date-time/mysql/qdate-traits.hxx
index 1034cbc..6f7bc88 100644
--- a/odb/qt/date-time/mysql/qdate-traits.hxx
+++ b/odb/qt/date-time/mysql/qdate-traits.hxx
@@ -18,7 +18,7 @@ namespace odb
namespace mysql
{
template <>
- class default_value_traits<QDate, MYSQL_TIME, id_date>
+ class default_value_traits<QDate, id_date>
{
public:
typedef QDate value_type;
diff --git a/odb/qt/date-time/mysql/qtime-traits.hxx b/odb/qt/date-time/mysql/qtime-traits.hxx
index 69cd49c..5470678 100644
--- a/odb/qt/date-time/mysql/qtime-traits.hxx
+++ b/odb/qt/date-time/mysql/qtime-traits.hxx
@@ -17,7 +17,7 @@ namespace odb
namespace mysql
{
template <>
- class default_value_traits<QTime, MYSQL_TIME, id_time>
+ class default_value_traits<QTime, id_time>
{
public:
typedef QTime value_type;
diff --git a/odb/qt/date-time/sqlite/qdate-time-traits.hxx b/odb/qt/date-time/sqlite/qdate-time-traits.hxx
index 85c4c1a..07c72c1 100644
--- a/odb/qt/date-time/sqlite/qdate-time-traits.hxx
+++ b/odb/qt/date-time/sqlite/qdate-time-traits.hxx
@@ -23,7 +23,7 @@ namespace odb
namespace sqlite
{
template <>
- class default_value_traits<QDateTime, details::buffer, id_text>
+ class default_value_traits<QDateTime, id_text>
{
public:
typedef QDateTime value_type;
@@ -74,7 +74,7 @@ namespace odb
// The integer value represents UNIX time.
//
template <>
- class default_value_traits<QDateTime, long long, id_integer>
+ class default_value_traits<QDateTime, id_integer>
{
public:
typedef QDateTime value_type;
diff --git a/odb/qt/date-time/sqlite/qdate-traits.hxx b/odb/qt/date-time/sqlite/qdate-traits.hxx
index 16940c3..f1967ce 100644
--- a/odb/qt/date-time/sqlite/qdate-traits.hxx
+++ b/odb/qt/date-time/sqlite/qdate-traits.hxx
@@ -23,7 +23,7 @@ namespace odb
namespace sqlite
{
template <>
- class default_value_traits<QDate, details::buffer, id_text>
+ class default_value_traits<QDate, id_text>
{
public:
typedef QDate value_type;
@@ -74,7 +74,7 @@ namespace odb
// integer value represents UNIX time.
//
template <>
- class default_value_traits<QDate, long long, id_integer>
+ class default_value_traits<QDate, id_integer>
{
public:
typedef QDate value_type;
diff --git a/odb/qt/date-time/sqlite/qtime-traits.hxx b/odb/qt/date-time/sqlite/qtime-traits.hxx
index 84721ee..cf139b0 100644
--- a/odb/qt/date-time/sqlite/qtime-traits.hxx
+++ b/odb/qt/date-time/sqlite/qtime-traits.hxx
@@ -22,7 +22,7 @@ namespace odb
namespace sqlite
{
template <>
- class default_value_traits<QTime, details::buffer, id_text>
+ class default_value_traits<QTime, id_text>
{
public:
typedef QTime value_type;
@@ -74,7 +74,7 @@ namespace odb
// integer value represents seconds since midnight.
//
template <>
- class default_value_traits<QTime, long long, id_integer>
+ class default_value_traits<QTime, id_integer>
{
public:
typedef QTime value_type;