[glom] Prevent implicit generation of some move contructors.



commit 8e7578d8fcbb8948b96b300e97dc6c71acc15611
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Jul 1 09:31:17 2015 +0200

    Prevent implicit generation of some move contructors.
    
    By using C++11's "= delete". These move constructors are not needed
    now, so this will hopefully tell us when they are needed.

 glom/libglom/data_structure/choicevalue.h          |    2 ++
 glom/libglom/data_structure/database_title.h       |    2 ++
 glom/libglom/data_structure/field.h                |    2 ++
 glom/libglom/data_structure/has_title_singular.h   |    2 ++
 glom/libglom/data_structure/layout/custom_title.h  |    2 ++
 glom/libglom/data_structure/layout/formatting.h    |    2 ++
 glom/libglom/data_structure/layout/layoutgroup.h   |    2 ++
 glom/libglom/data_structure/layout/layoutitem.h    |    4 ++++
 .../data_structure/layout/layoutitem_button.h      |    2 ++
 .../layout/layoutitem_calendarportal.h             |    2 ++
 .../data_structure/layout/layoutitem_field.h       |    2 ++
 .../data_structure/layout/layoutitem_image.h       |    2 ++
 .../data_structure/layout/layoutitem_line.h        |    2 ++
 .../data_structure/layout/layoutitem_notebook.h    |    2 ++
 .../data_structure/layout/layoutitem_placeholder.h |    3 +++
 .../data_structure/layout/layoutitem_portal.h      |    2 ++
 .../data_structure/layout/layoutitem_text.h        |    2 ++
 .../layout/layoutitem_withformatting.h             |    2 ++
 .../layout/report_parts/layoutitem_fieldsummary.h  |    2 ++
 .../layout/report_parts/layoutitem_footer.h        |    2 ++
 .../layout/report_parts/layoutitem_groupby.h       |    2 ++
 .../layout/report_parts/layoutitem_header.h        |    2 ++
 .../layout/report_parts/layoutitem_summary.h       |    2 ++
 .../layout/report_parts/layoutitem_verticalgroup.h |    2 ++
 glom/libglom/data_structure/layout/static_text.h   |    2 ++
 .../data_structure/layout/usesrelationship.h       |    2 ++
 glom/libglom/data_structure/numeric_format.h       |    2 ++
 glom/libglom/data_structure/print_layout.h         |    2 ++
 glom/libglom/data_structure/relationship.h         |    2 ++
 glom/libglom/data_structure/report.h               |    2 ++
 glom/libglom/data_structure/tableinfo.h            |    2 ++
 glom/utility_widgets/adddel/adddel.h               |    2 ++
 32 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/glom/libglom/data_structure/choicevalue.h b/glom/libglom/data_structure/choicevalue.h
index 0f1f3c4..f1de8d2 100644
--- a/glom/libglom/data_structure/choicevalue.h
+++ b/glom/libglom/data_structure/choicevalue.h
@@ -39,9 +39,11 @@ public:
 
   ChoiceValue();
   ChoiceValue(const ChoiceValue& src);
+  ChoiceValue(ChoiceValue&& src) = delete;
   ~ChoiceValue();
 
   ChoiceValue& operator=(const ChoiceValue& src);
+  ChoiceValue& operator=(ChoiceValue&& src) = delete;
 
   bool operator==(const ChoiceValue& src) const;
   bool operator!=(const ChoiceValue& src) const;
diff --git a/glom/libglom/data_structure/database_title.h b/glom/libglom/data_structure/database_title.h
index 46175b2..5fec97f 100644
--- a/glom/libglom/data_structure/database_title.h
+++ b/glom/libglom/data_structure/database_title.h
@@ -35,7 +35,9 @@ class DatabaseTitle
 public:
   DatabaseTitle();
   DatabaseTitle(const DatabaseTitle& src);
+  DatabaseTitle(DatabaseTitle&& src) = delete;
   DatabaseTitle& operator=(const DatabaseTitle& src);
+  DatabaseTitle& operator=(DatabaseTitle&& src) = delete;
 };
 
 } //namespace Glom
diff --git a/glom/libglom/data_structure/field.h b/glom/libglom/data_structure/field.h
index 62e120b..077bea2 100644
--- a/glom/libglom/data_structure/field.h
+++ b/glom/libglom/data_structure/field.h
@@ -95,9 +95,11 @@ public:
 
   Field();
   Field(const Field& src);
+  Field(Field&& src) = delete;
   ~Field();
 
   Field& operator=(const Field& src);
+  Field& operator=(Field&& src) = delete;
 
   bool operator==(const Field& src) const;
   bool operator!=(const Field& src) const;
diff --git a/glom/libglom/data_structure/has_title_singular.h 
b/glom/libglom/data_structure/has_title_singular.h
index a9f722b..9209121 100644
--- a/glom/libglom/data_structure/has_title_singular.h
+++ b/glom/libglom/data_structure/has_title_singular.h
@@ -35,9 +35,11 @@ class HasTitleSingular
 public:
   HasTitleSingular();
   HasTitleSingular(const HasTitleSingular& src);
+  HasTitleSingular(HasTitleSingular&& src) = delete;
   virtual ~HasTitleSingular();
 
   HasTitleSingular& operator=(const HasTitleSingular& src);
+  HasTitleSingular& operator=(HasTitleSingular&& src) = delete;
 
   bool operator==(const HasTitleSingular& src) const;
   bool operator!=(const HasTitleSingular& src) const;
diff --git a/glom/libglom/data_structure/layout/custom_title.h 
b/glom/libglom/data_structure/layout/custom_title.h
index ecf7802..ab28ba8 100644
--- a/glom/libglom/data_structure/layout/custom_title.h
+++ b/glom/libglom/data_structure/layout/custom_title.h
@@ -33,7 +33,9 @@ public:
 
   CustomTitle();
   CustomTitle(const CustomTitle& src);
+  CustomTitle(CustomTitle&& src) = delete;
   CustomTitle& operator=(const CustomTitle& src);
+  CustomTitle& operator=(CustomTitle&& src) = delete;
   virtual ~CustomTitle();
 
   bool operator==(const CustomTitle& src) const;
diff --git a/glom/libglom/data_structure/layout/formatting.h b/glom/libglom/data_structure/layout/formatting.h
index e0e805a..342ce41 100644
--- a/glom/libglom/data_structure/layout/formatting.h
+++ b/glom/libglom/data_structure/layout/formatting.h
@@ -42,7 +42,9 @@ public:
 
   Formatting();
   Formatting(const Formatting& src);
+  Formatting(Formatting&& src) = delete;
   Formatting& operator=(const Formatting& src);
+  Formatting& operator=(Formatting&& src) = delete;
   virtual ~Formatting();
 
   bool operator==(const Formatting& src) const;
diff --git a/glom/libglom/data_structure/layout/layoutgroup.h 
b/glom/libglom/data_structure/layout/layoutgroup.h
index 35ec332..3deb5c2 100644
--- a/glom/libglom/data_structure/layout/layoutgroup.h
+++ b/glom/libglom/data_structure/layout/layoutgroup.h
@@ -35,7 +35,9 @@ public:
 
   LayoutGroup();
   LayoutGroup(const LayoutGroup& src);
+  LayoutGroup(LayoutGroup&& src) = delete;
   LayoutGroup& operator=(const LayoutGroup& src);
+  LayoutGroup& operator=(LayoutGroup&& src) = delete;
   virtual ~LayoutGroup();
 
   virtual LayoutItem* clone() const;
diff --git a/glom/libglom/data_structure/layout/layoutitem.h b/glom/libglom/data_structure/layout/layoutitem.h
index e25d6a5..98311aa 100644
--- a/glom/libglom/data_structure/layout/layoutitem.h
+++ b/glom/libglom/data_structure/layout/layoutitem.h
@@ -33,7 +33,9 @@ public:
 
   LayoutItem();
   LayoutItem(const LayoutItem& src);
+  LayoutItem(LayoutItem&& src) = delete;
   LayoutItem& operator=(const LayoutItem& src);
+  LayoutItem& operator=(LayoutItem&& src) = delete;
   virtual ~LayoutItem();
 
   /** Create a new copied instance.
@@ -91,7 +93,9 @@ private:
   public:
     PrintLayoutPosition();
     PrintLayoutPosition(const PrintLayoutPosition& src);
+    PrintLayoutPosition(PrintLayoutPosition&& src) = delete;
     PrintLayoutPosition& operator=(const PrintLayoutPosition& src);
+    PrintLayoutPosition& operator=(PrintLayoutPosition&& src) = delete;
 
     bool operator==(const PrintLayoutPosition& src) const;
 
diff --git a/glom/libglom/data_structure/layout/layoutitem_button.h 
b/glom/libglom/data_structure/layout/layoutitem_button.h
index 7d6e706..6c4693b 100644
--- a/glom/libglom/data_structure/layout/layoutitem_button.h
+++ b/glom/libglom/data_structure/layout/layoutitem_button.h
@@ -33,7 +33,9 @@ public:
 
   LayoutItem_Button();
   LayoutItem_Button(const LayoutItem_Button& src);
+  LayoutItem_Button(LayoutItem_Button&& src) = delete;
   LayoutItem_Button& operator=(const LayoutItem_Button& src);
+  LayoutItem_Button& operator=(LayoutItem_Button&& src) = delete;
   virtual ~LayoutItem_Button();
 
   virtual LayoutItem* clone() const;
diff --git a/glom/libglom/data_structure/layout/layoutitem_calendarportal.h 
b/glom/libglom/data_structure/layout/layoutitem_calendarportal.h
index 766636d..4d1348b 100644
--- a/glom/libglom/data_structure/layout/layoutitem_calendarportal.h
+++ b/glom/libglom/data_structure/layout/layoutitem_calendarportal.h
@@ -32,7 +32,9 @@ public:
 
   LayoutItem_CalendarPortal();
   LayoutItem_CalendarPortal(const LayoutItem_CalendarPortal& src);
+  LayoutItem_CalendarPortal(LayoutItem_CalendarPortal&& src) = delete;
   LayoutItem_CalendarPortal& operator=(const LayoutItem_CalendarPortal& src);
+  LayoutItem_CalendarPortal& operator=(LayoutItem_CalendarPortal&& src) = delete;
   virtual ~LayoutItem_CalendarPortal();
 
   virtual LayoutItem* clone() const;
diff --git a/glom/libglom/data_structure/layout/layoutitem_field.h 
b/glom/libglom/data_structure/layout/layoutitem_field.h
index 2d0a5ee..a8f5ea3 100644
--- a/glom/libglom/data_structure/layout/layoutitem_field.h
+++ b/glom/libglom/data_structure/layout/layoutitem_field.h
@@ -78,7 +78,9 @@ public:
 
   LayoutItem_Field();
   LayoutItem_Field(const LayoutItem_Field& src);
+  LayoutItem_Field(LayoutItem_Field&& src) = delete;
   LayoutItem_Field& operator=(const LayoutItem_Field& src);
+  LayoutItem_Field& operator=(LayoutItem_Field&& src) = delete;
   virtual ~LayoutItem_Field();
 
   virtual LayoutItem* clone() const;
diff --git a/glom/libglom/data_structure/layout/layoutitem_image.h 
b/glom/libglom/data_structure/layout/layoutitem_image.h
index a7f5ada..b359d1a 100644
--- a/glom/libglom/data_structure/layout/layoutitem_image.h
+++ b/glom/libglom/data_structure/layout/layoutitem_image.h
@@ -39,7 +39,9 @@ class LayoutItem_Image
 public:
   LayoutItem_Image();
   LayoutItem_Image(const LayoutItem_Image& src);
+  LayoutItem_Image(LayoutItem_Image&& src) = delete;
   LayoutItem_Image& operator=(const LayoutItem_Image& src);
+  LayoutItem_Image& operator=(LayoutItem_Image&& src) = delete;
   virtual ~LayoutItem_Image();
 
   virtual LayoutItem* clone() const;
diff --git a/glom/libglom/data_structure/layout/layoutitem_line.h 
b/glom/libglom/data_structure/layout/layoutitem_line.h
index 65eee2b..de0e3fc 100644
--- a/glom/libglom/data_structure/layout/layoutitem_line.h
+++ b/glom/libglom/data_structure/layout/layoutitem_line.h
@@ -34,7 +34,9 @@ class LayoutItem_Line
 public:
   LayoutItem_Line();
   LayoutItem_Line(const LayoutItem_Line& src);
+  LayoutItem_Line(LayoutItem_Line&& src) = delete;
   LayoutItem_Line& operator=(const LayoutItem_Line& src);
+  LayoutItem_Line& operator=(LayoutItem_Line&& src) = delete;
   virtual ~LayoutItem_Line();
 
   virtual LayoutItem* clone() const;
diff --git a/glom/libglom/data_structure/layout/layoutitem_notebook.h 
b/glom/libglom/data_structure/layout/layoutitem_notebook.h
index 270408f..8033466 100644
--- a/glom/libglom/data_structure/layout/layoutitem_notebook.h
+++ b/glom/libglom/data_structure/layout/layoutitem_notebook.h
@@ -37,7 +37,9 @@ public:
 
   LayoutItem_Notebook();
   LayoutItem_Notebook(const LayoutItem_Notebook& src);
+  LayoutItem_Notebook(LayoutItem_Notebook&& src) = delete;
   LayoutItem_Notebook& operator=(const LayoutItem_Notebook& src);
+  LayoutItem_Notebook& operator=(LayoutItem_Notebook&& src) = delete;
   virtual ~LayoutItem_Notebook();
 
   virtual LayoutItem* clone() const;
diff --git a/glom/libglom/data_structure/layout/layoutitem_placeholder.h 
b/glom/libglom/data_structure/layout/layoutitem_placeholder.h
index db79444..2116f35 100644
--- a/glom/libglom/data_structure/layout/layoutitem_placeholder.h
+++ b/glom/libglom/data_structure/layout/layoutitem_placeholder.h
@@ -37,6 +37,9 @@ public:
   ~LayoutItem_Placeholder();
   
   LayoutItem_Placeholder(const LayoutItem_Placeholder& src);
+  LayoutItem_Placeholder(LayoutItem_Placeholder&& src) = delete;
+
+  //TODO: Add operator=().
   
   /** Create a new copied instance.
   * This allows us to deep-copy a list of LayoutItems.
diff --git a/glom/libglom/data_structure/layout/layoutitem_portal.h 
b/glom/libglom/data_structure/layout/layoutitem_portal.h
index fcb936c..1ecc5e4 100644
--- a/glom/libglom/data_structure/layout/layoutitem_portal.h
+++ b/glom/libglom/data_structure/layout/layoutitem_portal.h
@@ -47,7 +47,9 @@ public:
 
   LayoutItem_Portal();
   LayoutItem_Portal(const LayoutItem_Portal& src);
+  LayoutItem_Portal(LayoutItem_Portal&& src) = delete;
   LayoutItem_Portal& operator=(const LayoutItem_Portal& src);
+  LayoutItem_Portal& operator=(LayoutItem_Portal&& src) = delete;
   virtual ~LayoutItem_Portal();
 
   virtual LayoutItem* clone() const;
diff --git a/glom/libglom/data_structure/layout/layoutitem_text.h 
b/glom/libglom/data_structure/layout/layoutitem_text.h
index 7479f62..354dadf 100644
--- a/glom/libglom/data_structure/layout/layoutitem_text.h
+++ b/glom/libglom/data_structure/layout/layoutitem_text.h
@@ -39,7 +39,9 @@ public:
 
   LayoutItem_Text();
   LayoutItem_Text(const LayoutItem_Text& src);
+  LayoutItem_Text(LayoutItem_Text&& src) = delete;
   LayoutItem_Text& operator=(const LayoutItem_Text& src);
+  LayoutItem_Text& operator=(LayoutItem_Text&& src) = delete;
   virtual ~LayoutItem_Text();
 
   virtual LayoutItem* clone() const;
diff --git a/glom/libglom/data_structure/layout/layoutitem_withformatting.h 
b/glom/libglom/data_structure/layout/layoutitem_withformatting.h
index 8c98945..0d2d92e 100644
--- a/glom/libglom/data_structure/layout/layoutitem_withformatting.h
+++ b/glom/libglom/data_structure/layout/layoutitem_withformatting.h
@@ -37,7 +37,9 @@ public:
 
   LayoutItem_WithFormatting();
   LayoutItem_WithFormatting(const LayoutItem_WithFormatting& src);
+  LayoutItem_WithFormatting(LayoutItem_WithFormatting&& src) = delete;
   LayoutItem_WithFormatting& operator=(const LayoutItem_WithFormatting& src);
+  LayoutItem_WithFormatting& operator=(LayoutItem_WithFormatting&& src) = delete;
   virtual ~LayoutItem_WithFormatting();
 
   bool operator==(const LayoutItem_WithFormatting& src) const;
diff --git a/glom/libglom/data_structure/layout/report_parts/layoutitem_fieldsummary.h 
b/glom/libglom/data_structure/layout/report_parts/layoutitem_fieldsummary.h
index fc304a6..856cb61 100644
--- a/glom/libglom/data_structure/layout/report_parts/layoutitem_fieldsummary.h
+++ b/glom/libglom/data_structure/layout/report_parts/layoutitem_fieldsummary.h
@@ -32,7 +32,9 @@ public:
 
   LayoutItem_FieldSummary();
   LayoutItem_FieldSummary(const LayoutItem_FieldSummary& src);
+  LayoutItem_FieldSummary(LayoutItem_FieldSummary&& src) = delete;
   LayoutItem_FieldSummary& operator=(const LayoutItem_FieldSummary& src);
+  LayoutItem_FieldSummary& operator=(LayoutItem_FieldSummary&& src) = delete;
   virtual ~LayoutItem_FieldSummary();
 
   virtual LayoutItem* clone() const;
diff --git a/glom/libglom/data_structure/layout/report_parts/layoutitem_footer.h 
b/glom/libglom/data_structure/layout/report_parts/layoutitem_footer.h
index cbfc06a..228542f 100644
--- a/glom/libglom/data_structure/layout/report_parts/layoutitem_footer.h
+++ b/glom/libglom/data_structure/layout/report_parts/layoutitem_footer.h
@@ -36,7 +36,9 @@ public:
 
   LayoutItem_Footer();
   LayoutItem_Footer(const LayoutItem_Footer& src);
+  LayoutItem_Footer(LayoutItem_Footer&& src) = delete;
   LayoutItem_Footer& operator=(const LayoutItem_Footer& src);
+  LayoutItem_Footer& operator=(LayoutItem_Footer&& src) = delete;
   virtual ~LayoutItem_Footer();
 
   virtual LayoutItem* clone() const;
diff --git a/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.h 
b/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.h
index 62a5829..b356a2f 100644
--- a/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.h
+++ b/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.h
@@ -40,7 +40,9 @@ public:
 
   LayoutItem_GroupBy();
   LayoutItem_GroupBy(const LayoutItem_GroupBy& src);
+  LayoutItem_GroupBy(LayoutItem_GroupBy&& src) = delete;
   LayoutItem_GroupBy& operator=(const LayoutItem_GroupBy& src);
+  LayoutItem_GroupBy& operator=(LayoutItem_GroupBy&& src) = delete;
   virtual ~LayoutItem_GroupBy();
 
   virtual LayoutItem* clone() const;
diff --git a/glom/libglom/data_structure/layout/report_parts/layoutitem_header.h 
b/glom/libglom/data_structure/layout/report_parts/layoutitem_header.h
index d96c3b3..f55fc1a 100644
--- a/glom/libglom/data_structure/layout/report_parts/layoutitem_header.h
+++ b/glom/libglom/data_structure/layout/report_parts/layoutitem_header.h
@@ -36,7 +36,9 @@ public:
 
   LayoutItem_Header();
   LayoutItem_Header(const LayoutItem_Header& src);
+  LayoutItem_Header(LayoutItem_Header&& src) = delete;
   LayoutItem_Header& operator=(const LayoutItem_Header& src);
+  LayoutItem_Header& operator=(LayoutItem_Header&& src) = delete;
   virtual ~LayoutItem_Header();
 
   virtual LayoutItem* clone() const;
diff --git a/glom/libglom/data_structure/layout/report_parts/layoutitem_summary.h 
b/glom/libglom/data_structure/layout/report_parts/layoutitem_summary.h
index 312d4f3..8021c12 100644
--- a/glom/libglom/data_structure/layout/report_parts/layoutitem_summary.h
+++ b/glom/libglom/data_structure/layout/report_parts/layoutitem_summary.h
@@ -34,7 +34,9 @@ public:
 
   LayoutItem_Summary();
   LayoutItem_Summary(const LayoutItem_Summary& src);
+  LayoutItem_Summary(const LayoutItem_Summary&& src) = delete;
   LayoutItem_Summary& operator=(const LayoutItem_Summary& src);
+  LayoutItem_Summary& operator=(LayoutItem_Summary&& src) = delete;
   virtual ~LayoutItem_Summary();
 
   virtual LayoutItem* clone() const;
diff --git a/glom/libglom/data_structure/layout/report_parts/layoutitem_verticalgroup.h 
b/glom/libglom/data_structure/layout/report_parts/layoutitem_verticalgroup.h
index bfc8968..e91c9a1 100644
--- a/glom/libglom/data_structure/layout/report_parts/layoutitem_verticalgroup.h
+++ b/glom/libglom/data_structure/layout/report_parts/layoutitem_verticalgroup.h
@@ -36,7 +36,9 @@ public:
 
   LayoutItem_VerticalGroup();
   LayoutItem_VerticalGroup(const LayoutItem_VerticalGroup& src);
+  LayoutItem_VerticalGroup(LayoutItem_VerticalGroup&& src) = delete;
   LayoutItem_VerticalGroup& operator=(const LayoutItem_VerticalGroup& src);
+  LayoutItem_VerticalGroup& operator=(LayoutItem_VerticalGroup&& src) = delete;
   virtual ~LayoutItem_VerticalGroup();
 
   virtual LayoutItem* clone() const;
diff --git a/glom/libglom/data_structure/layout/static_text.h 
b/glom/libglom/data_structure/layout/static_text.h
index 564550d..d301e37 100644
--- a/glom/libglom/data_structure/layout/static_text.h
+++ b/glom/libglom/data_structure/layout/static_text.h
@@ -35,7 +35,9 @@ public:
 
   StaticText();
   StaticText(const StaticText& src);
+  StaticText(StaticText&& src) = delete;
   StaticText& operator=(const StaticText& src);
+  StaticText& operator=(StaticText&& src) = delete;
   virtual ~StaticText();
 
   bool operator==(const StaticText& src) const;
diff --git a/glom/libglom/data_structure/layout/usesrelationship.h 
b/glom/libglom/data_structure/layout/usesrelationship.h
index 5382d4f..5b16fd3 100644
--- a/glom/libglom/data_structure/layout/usesrelationship.h
+++ b/glom/libglom/data_structure/layout/usesrelationship.h
@@ -39,7 +39,9 @@ public:
 
   UsesRelationship();
   UsesRelationship(const UsesRelationship& src);
+  UsesRelationship(UsesRelationship&& src) = delete;
   UsesRelationship& operator=(const UsesRelationship& src);
+  UsesRelationship& operator=(UsesRelationship&& src) = delete;
   virtual ~UsesRelationship();
 
   bool operator==(const UsesRelationship& src) const;
diff --git a/glom/libglom/data_structure/numeric_format.h b/glom/libglom/data_structure/numeric_format.h
index 9d40bca..eb23cef 100644
--- a/glom/libglom/data_structure/numeric_format.h
+++ b/glom/libglom/data_structure/numeric_format.h
@@ -31,9 +31,11 @@ class NumericFormat
 public:
   NumericFormat();
   NumericFormat(const NumericFormat& src);
+  NumericFormat(NumericFormat&& src) = delete;
   ~NumericFormat();
 
   NumericFormat& operator=(const NumericFormat& src);
+  NumericFormat& operator=(NumericFormat&& src) = delete;
 
   bool operator==(const NumericFormat& src) const;
   bool operator!=(const NumericFormat& src) const;
diff --git a/glom/libglom/data_structure/print_layout.h b/glom/libglom/data_structure/print_layout.h
index 75acc97..79e6257 100644
--- a/glom/libglom/data_structure/print_layout.h
+++ b/glom/libglom/data_structure/print_layout.h
@@ -33,7 +33,9 @@ class PrintLayout : public TranslatableItem
 public:
   PrintLayout();
   PrintLayout(const PrintLayout& src);
+  PrintLayout(PrintLayout&& src) = delete;
   PrintLayout& operator=(const PrintLayout& src);
+  PrintLayout& operator=(PrintLayout&& src) = delete;
 
   bool get_show_table_title() const;
   void set_show_table_title(bool show_table_title = true);
diff --git a/glom/libglom/data_structure/relationship.h b/glom/libglom/data_structure/relationship.h
index 1ec8c50..a842638 100644
--- a/glom/libglom/data_structure/relationship.h
+++ b/glom/libglom/data_structure/relationship.h
@@ -35,9 +35,11 @@ class Relationship
 public: 
   Relationship();
   Relationship(const Relationship& src);
+  Relationship(Relationship&& src) = delete;
   ~Relationship();
 
   Relationship& operator=(const Relationship& src);
+  Relationship& operator=(Relationship&& src) = delete;
 
   bool operator==(const Relationship& src) const;
 
diff --git a/glom/libglom/data_structure/report.h b/glom/libglom/data_structure/report.h
index e40317f..8d092d3 100644
--- a/glom/libglom/data_structure/report.h
+++ b/glom/libglom/data_structure/report.h
@@ -33,7 +33,9 @@ class Report : public TranslatableItem
 public:
   Report();
   Report(const Report& src);
+  Report(Report&& src) = delete;
   Report& operator=(const Report& src);
+  Report& operator=(Report&& src) = delete;
 
   bool get_show_table_title() const;
   void set_show_table_title(bool show_table_title = true);
diff --git a/glom/libglom/data_structure/tableinfo.h b/glom/libglom/data_structure/tableinfo.h
index fcff322..a3043f1 100644
--- a/glom/libglom/data_structure/tableinfo.h
+++ b/glom/libglom/data_structure/tableinfo.h
@@ -34,7 +34,9 @@ class TableInfo
 public:
   TableInfo();
   TableInfo(const TableInfo& src);
+  TableInfo(TableInfo&& src) = delete;
   TableInfo& operator=(const TableInfo& src);
+  TableInfo& operator=(TableInfo&& src) = delete;
 
   bool operator==(const TableInfo& src) const;
   bool operator!=(const TableInfo& src) const;
diff --git a/glom/utility_widgets/adddel/adddel.h b/glom/utility_widgets/adddel/adddel.h
index b5454b8..fd5d2ea 100644
--- a/glom/utility_widgets/adddel/adddel.h
+++ b/glom/utility_widgets/adddel/adddel.h
@@ -41,7 +41,9 @@ class AddDelColumnInfo
 public:
   AddDelColumnInfo();
   AddDelColumnInfo(const AddDelColumnInfo& src);
+  AddDelColumnInfo(AddDelColumnInfo&& src) = delete;
   AddDelColumnInfo& operator=(const AddDelColumnInfo& src);
+  AddDelColumnInfo& operator=(AddDelColumnInfo&& src) = delete;
 
   //If we need any more complicated style (e.g. number of decimal digits) then we will need a separate 
AddDelStyle class.
   enum enumStyles


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