[glom] DbAddDel: Cleanup: Rename glom_db_treemodel.[h|cc] to treemodel_db.[h|cc].
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] DbAddDel: Cleanup: Rename glom_db_treemodel.[h|cc] to treemodel_db.[h|cc].
- Date: Sat, 11 Sep 2010 12:04:21 +0000 (UTC)
commit 4a5a75f0cca7421a696ed89aed7aa7368459f937
Author: Murray Cumming <murrayc murrayc com>
Date: Sat Sep 11 13:54:14 2010 +0200
DbAddDel: Cleanup: Rename glom_db_treemodel.[h|cc] to treemodel_db.[h|cc].
* glom/mode_data/db_adddel/glom_db_treemodel.[h|cc]:
* glom/mode_data/db_adddel/treemodel_db.[h|cc]: Also rename the class from
DbTreeModel to TreeModelDb to match.
ChangeLog | 8 ++++++++
Makefile_glom.am | 4 ++--
glom/mode_data/box_data_list.cc | 2 +-
glom/mode_data/db_adddel/db_adddel.h | 2 +-
.../{glom_db_treemodel.cc => treemodel_db.cc} | 2 +-
.../{glom_db_treemodel.h => treemodel_db.h} | 0
6 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index b206a94..9518834 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2010-09-11 Murray Cumming <murrayc murrayc com>
+ DbAddDel: Cleanup: Rename glom_db_treemodel.[h|cc] to treemodel_db.[h|cc].
+
+ * glom/mode_data/db_adddel/glom_db_treemodel.[h|cc]:
+ * glom/mode_data/db_adddel/treemodel_db.[h|cc]: Also rename the class from
+ DbTreeModel to TreeModelDb to match.
+
+2010-09-11 Murray Cumming <murrayc murrayc com>
+
Choices combo widgets: Improve the API.
* glom/mode_data/datawidget/combochoiceswithtreemodel.[h|cc]:
diff --git a/Makefile_glom.am b/Makefile_glom.am
index 77f395d..6a35d31 100644
--- a/Makefile_glom.am
+++ b/Makefile_glom.am
@@ -105,8 +105,8 @@ glom_source_files = \
glom/mode_data/db_adddel/cellrenderer_dblist.h \
glom/mode_data/db_adddel/db_treeviewcolumn_glom.cc \
glom/mode_data/db_adddel/db_treeviewcolumn_glom.h \
- glom/mode_data/db_adddel/glom_db_treemodel.cc \
- glom/mode_data/db_adddel/glom_db_treemodel.h \
+ glom/mode_data/db_adddel/treemodel_db.cc \
+ glom/mode_data/db_adddel/treemodel_db.h \
glom/mode_data/flowtablewithfields.cc \
glom/mode_data/flowtablewithfields.h \
glom/mode_data/notebook_data.cc \
diff --git a/glom/mode_data/box_data_list.cc b/glom/mode_data/box_data_list.cc
index b9230db..c3c88e9 100644
--- a/glom/mode_data/box_data_list.cc
+++ b/glom/mode_data/box_data_list.cc
@@ -26,7 +26,7 @@
#include <libglom/privs.h>
#include <libglom/db_utils.h>
#include <libglom/utils.h> //For bold_message()).
-//#include <../utility_widgets/db_adddel/glom_db_treemodel.h> //For DbTreeModel.
+//#include <../utility_widgets/db_adddel/treemodel_db.h> //For DbTreeModel.
#include <sstream> //For stringstream
#include <glibmm/i18n.h>
diff --git a/glom/mode_data/db_adddel/db_adddel.h b/glom/mode_data/db_adddel/db_adddel.h
index 1e7677d..faeebee 100644
--- a/glom/mode_data/db_adddel/db_adddel.h
+++ b/glom/mode_data/db_adddel/db_adddel.h
@@ -24,7 +24,7 @@
#include <gtkmm.h>
#include <libglom/data_structure/layout/layoutitem_field.h>
#include <libgdamm.h>
-#include <glom/mode_data/db_adddel/glom_db_treemodel.h>
+#include <glom/mode_data/db_adddel/treemodel_db.h>
#include <libglom/document/document.h>
#include <glom/base_db_table_data.h>
diff --git a/glom/mode_data/db_adddel/glom_db_treemodel.cc b/glom/mode_data/db_adddel/treemodel_db.cc
similarity index 99%
rename from glom/mode_data/db_adddel/glom_db_treemodel.cc
rename to glom/mode_data/db_adddel/treemodel_db.cc
index 5c9e15e..14806bf 100644
--- a/glom/mode_data/db_adddel/glom_db_treemodel.cc
+++ b/glom/mode_data/db_adddel/treemodel_db.cc
@@ -19,7 +19,7 @@
*/
#include <iostream>
-#include "glom_db_treemodel.h"
+#include "treemodel_db.h"
#include <libglom/connectionpool.h>
#include <libglom/data_structure/glomconversions.h> //For util_build_sql
diff --git a/glom/mode_data/db_adddel/glom_db_treemodel.h b/glom/mode_data/db_adddel/treemodel_db.h
similarity index 100%
rename from glom/mode_data/db_adddel/glom_db_treemodel.h
rename to glom/mode_data/db_adddel/treemodel_db.h
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]