From 7acb0422b886af13fdeff608716e37797d57d8f4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 8 Feb 2013 12:10:59 +0200 Subject: Adjust function naming to follow Qt style --- odb/qt/containers/list.hxx | 8 ++++---- odb/qt/containers/list.ixx | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/odb/qt/containers/list.hxx b/odb/qt/containers/list.hxx index 9ba6ac4..f7b6e4f 100644 --- a/odb/qt/containers/list.hxx +++ b/odb/qt/containers/list.hxx @@ -122,10 +122,10 @@ public: int count() const {return l_.count ();} int length() const {return l_.length ();} //T& first(); - T& modify_first(); + T& modifyFirst(); const T& first() const {return l_.first ();} //T& last(); - T& modify_last(); + T& modifyLast(); const T& last() const {return l_.last ();} void removeFirst(); void removeLast(); @@ -140,10 +140,10 @@ public: void push_back(const T &t) {append(t);} void push_front(const T &t) {prepend(t);} //T& front(); - T& modify_front() {return modify_first ();} + T& modify_front() {return modifyFirst ();} const T& front() const {return l_.front ();} //T& back(); - T& modify_back() {return modify_last ();} + T& modify_back() {return modifyLast ();} const T& back() const {return l_.back ();} void pop_front() {removeFirst();} void pop_back() {removeLast();} diff --git a/odb/qt/containers/list.ixx b/odb/qt/containers/list.ixx index 90a10e6..f7f57b2 100644 --- a/odb/qt/containers/list.ixx +++ b/odb/qt/containers/list.ixx @@ -257,7 +257,7 @@ erase (iterator f, iterator l) template inline T& QOdbList:: -modify_first () +modifyFirst () { T& r (l_.first ()); if (_tracking ()) @@ -267,7 +267,7 @@ modify_first () template inline T& QOdbList:: -modify_last () +modifyLast () { T& r (l_.last ()); if (_tracking ()) -- cgit v1.1