aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/date-time
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 /odb/qt/date-time
parent2d1104b1e3cfbf394981c39d8828598599dee5d6 (diff)
Get rid of image type argument in value traits template
Diffstat (limited to 'odb/qt/date-time')
-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
6 files changed, 10 insertions, 10 deletions
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;