[glom] Remove some virtual keywords



commit 81e4199a1c5752cac72d7455d4aa38e26ac4b6c5
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Mar 12 13:44:57 2012 +0100

    Remove some virtual keywords

 glom/mode_data/box_data_details.h |    3 ++-
 glom/mode_data/box_data_list.h    |   11 +++++------
 2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/glom/mode_data/box_data_details.h b/glom/mode_data/box_data_details.h
index 903a434..fc18384 100644
--- a/glom/mode_data/box_data_details.h
+++ b/glom/mode_data/box_data_details.h
@@ -119,8 +119,9 @@ protected:
   //Signal handler: The last arg is bind-ed.
   //virtual void on_related_user_requested_details(Gnome::Gda::Value key_value, Glib::ustring table_name);
 
-  //TODO: Does this need to be virtual?
+  //This is virtual so it can be overriden in Box_Data_Details_Find.
   virtual void on_flowtable_field_edited(const sharedptr<const LayoutItem_Field>& layout_field, const Gnome::Gda::Value& value);
+
   void on_flowtable_field_choices_changed(const sharedptr<const LayoutItem_Field>& layout_field);
   void on_flowtable_field_open_details_requested(const sharedptr<const LayoutItem_Field>& id, const Gnome::Gda::Value& value);
   void on_flowtable_related_record_changed(const Glib::ustring& relationship_name);
diff --git a/glom/mode_data/box_data_list.h b/glom/mode_data/box_data_list.h
index d091406..ab7987a 100644
--- a/glom/mode_data/box_data_list.h
+++ b/glom/mode_data/box_data_list.h
@@ -61,12 +61,11 @@ public:
 
 
   //Signal Handlers:
-  //TODO: Remove virtual?
-  virtual void on_details_nav_first();
-  virtual void on_details_nav_previous();
-  virtual void on_details_nav_next();
-  virtual void on_details_nav_last();
-  virtual void on_details_record_deleted(const Gnome::Gda::Value& primary_key_value);
+  void on_details_nav_first();
+  void on_details_nav_previous();
+  void on_details_nav_next();
+  void on_details_nav_last();
+  void on_details_record_deleted(const Gnome::Gda::Value& primary_key_value);
 
   void get_record_counts(gulong& total, gulong& found) const;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]