aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/basic/oracle/qstring-traits.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-12-22 12:29:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-12-22 12:29:54 +0200
commitfff95e7274ecee374f7471866d1587298d168d6e (patch)
tree0e86f86eb249c9a71aa7cdaa72452f169103b8ac /odb/qt/basic/oracle/qstring-traits.hxx
parent2f56331738b407ded56a8930f94fc91072a16f07 (diff)
Rename *_chunk to chunk_* enumerators in Oracle for consistency
Diffstat (limited to 'odb/qt/basic/oracle/qstring-traits.hxx')
-rw-r--r--odb/qt/basic/oracle/qstring-traits.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/odb/qt/basic/oracle/qstring-traits.hxx b/odb/qt/basic/oracle/qstring-traits.hxx
index a0be38d..06c9c93 100644
--- a/odb/qt/basic/oracle/qstring-traits.hxx
+++ b/odb/qt/basic/oracle/qstring-traits.hxx
@@ -122,15 +122,15 @@ namespace odb
switch (p)
{
- case one_chunk:
- case first_chunk:
+ case chunk_one:
+ case chunk_first:
{
v.clear ();
// Falling through.
}
- case next_chunk:
- case last_chunk:
+ case chunk_next:
+ case chunk_last:
{
v += QString::fromUtf8(static_cast<char*> (b),
static_cast<int> (s));
@@ -157,11 +157,11 @@ namespace odb
if (*position_context == 0)
{
if (*s <= capacity)
- *p = one_chunk;
+ *p = chunk_one;
else
{
*s = capacity;
- *p = first_chunk;
+ *p = chunk_first;
}
}
else
@@ -169,11 +169,11 @@ namespace odb
*s -= *position_context;
if (*s <= capacity)
- *p = last_chunk;
+ *p = chunk_last;
else
{
*s = capacity;
- *p = next_chunk;
+ *p = chunk_next;
}
}