[glom] Remove declarations of unimplemented methods.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Remove declarations of unimplemented methods.
- Date: Tue, 15 Mar 2016 14:35:58 +0000 (UTC)
commit 74d2b54e3caec4015edcd567e2a92e74f6167c73
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Mar 15 13:41:10 2016 +0100
Remove declarations of unimplemented methods.
Found by IntelliJ CLion inspections.
glom/import_csv/csv_parser.h | 2 --
glom/libglom/data_structure/translatable_item.h | 5 -----
glom/mode_data/box_data.h | 7 -------
glom/mode_data/box_data_calendar_related.h | 2 --
glom/mode_data/box_data_list.h | 1 -
glom/mode_data/box_data_list_related.h | 1 -
glom/mode_data/box_data_manyrecords.h | 11 -----------
glom/mode_data/datawidget/combochoices.h | 3 ---
glom/mode_data/db_adddel/db_adddel.h | 2 --
glom/mode_data/notebook_data.h | 3 ---
.../layout/layout_item_dialogs/dialog_group_by.h | 1 -
11 files changed, 0 insertions(+), 38 deletions(-)
---
diff --git a/glom/import_csv/csv_parser.h b/glom/import_csv/csv_parser.h
index 116767f..ce42d9f 100644
--- a/glom/import_csv/csv_parser.h
+++ b/glom/import_csv/csv_parser.h
@@ -157,8 +157,6 @@ private:
// on chunk at a time in the idle handler.
bool on_idle_parse();
- void begin_parse();
-
static const gunichar DELIMITER = ',';
static const gunichar QUOTE = '\"';
diff --git a/glom/libglom/data_structure/translatable_item.h b/glom/libglom/data_structure/translatable_item.h
index 2620831..bf50f45 100644
--- a/glom/libglom/data_structure/translatable_item.h
+++ b/glom/libglom/data_structure/translatable_item.h
@@ -129,11 +129,6 @@ public:
private:
- /** Get the locale used as the source language.
- * This is the language of the title that is used when there are no translations.
- */
- static Glib::ustring get_original_locale() noexcept;
-
void set_title_translation(const Glib::ustring& locale, const Glib::ustring& translation) noexcept;
diff --git a/glom/mode_data/box_data.h b/glom/mode_data/box_data.h
index c13e1a0..779bddd 100644
--- a/glom/mode_data/box_data.h
+++ b/glom/mode_data/box_data.h
@@ -113,13 +113,6 @@ private:
//Signal handlers:
void on_Button_Find(); //only used by _Find sub-classes. Should be MI.
- //Signal handlers for the PyGlomUI callbacks:
- void on_python_requested_show_table_details(const Glib::ustring& table_name, const Gnome::Gda::Value&
primary_key_value);
- void on_python_requested_show_table_list(const Glib::ustring& table_name);
- void on_python_requested_print_report(const Glib::ustring& report_name);
- void on_python_requested_print_layout();
- void on_python_requested_start_new_record();
-
protected:
#ifndef GLOM_ENABLE_CLIENT_ONLY
diff --git a/glom/mode_data/box_data_calendar_related.h b/glom/mode_data/box_data_calendar_related.h
index 84aa7c8..d687d3b 100644
--- a/glom/mode_data/box_data_calendar_related.h
+++ b/glom/mode_data/box_data_calendar_related.h
@@ -83,8 +83,6 @@ private:
void on_calendar_button_press_event(GdkEventButton *event);
void on_MenuPopup_activate_Edit();
- void on_MenuPopup_activate_Add();
- void on_MenuPopup_activate_Delete();
#ifndef GLOM_ENABLE_CLIENT_ONLY
void on_MenuPopup_activate_layout();
diff --git a/glom/mode_data/box_data_list.h b/glom/mode_data/box_data_list.h
index 27dbd4c..454f083 100644
--- a/glom/mode_data/box_data_list.h
+++ b/glom/mode_data/box_data_list.h
@@ -90,7 +90,6 @@ protected:
//Signal handlers:
void on_adddel_user_requested_edit(const Gtk::TreeModel::iterator& row);
- void on_adddel_user_requested_delete(const Gtk::TreeModel::iterator& rowStart, const
Gtk::TreeModel::iterator& rowEnd);
void on_adddel_user_sort_clause_changed();
#ifndef GLOM_ENABLE_CLIENT_ONLY
diff --git a/glom/mode_data/box_data_list_related.h b/glom/mode_data/box_data_list_related.h
index 0ceb4ae..1bf1551 100644
--- a/glom/mode_data/box_data_list_related.h
+++ b/glom/mode_data/box_data_list_related.h
@@ -50,7 +50,6 @@ protected:
//Signal handlers:
void on_adddel_record_changed();
void on_adddel_user_requested_edit(const Gtk::TreeModel::iterator& row);
- void on_adddel_user_requested_delete(const Gtk::TreeModel::iterator& rowStart, const
Gtk::TreeModel::iterator& rowEnd);
void on_adddel_script_button_clicked(const std::shared_ptr<const LayoutItem_Button>& layout_item, const
Gtk::TreeModel::iterator& row);
bool on_script_button_idle(const std::shared_ptr<const LayoutItem_Button>& layout_item, const
Gnome::Gda::Value& primary_key);
diff --git a/glom/mode_data/box_data_manyrecords.h b/glom/mode_data/box_data_manyrecords.h
index b7ad307..d0bf6e4 100644
--- a/glom/mode_data/box_data_manyrecords.h
+++ b/glom/mode_data/box_data_manyrecords.h
@@ -36,11 +36,6 @@ public:
void refresh_data_from_database_blank();
- bool get_showing_multiple_records() const;
-
- //For instance, change "Open" to "Select" when used to select an ID.
- void set_open_button_title(const Glib::ustring& title);
-
///Highlight and scroll to the specified record, with primary key value @primary_key_value.
virtual void set_primary_key_value_selected(const Gnome::Gda::Value& primary_key_value);
@@ -50,13 +45,7 @@ public:
typedef sigc::signal<void> type_signal_record_selection_changed;
type_signal_record_selection_changed signal_record_selection_changed();
-
- void get_record_counts(gulong& total, gulong& found) const;
-
protected:
- //virtual Document::type_list_layout_groups create_layout_get_layout() ; //overriden in
Box_Data_ManyRecords_Related.
- void create_layout_add_group(const std::shared_ptr<LayoutGroup>& layout_group);
-
void print_layout() override;
void print_layout_group(xmlpp::Element* node_parent, const std::shared_ptr<const LayoutGroup>& group);
diff --git a/glom/mode_data/datawidget/combochoices.h b/glom/mode_data/datawidget/combochoices.h
index 503423b..35626c0 100644
--- a/glom/mode_data/datawidget/combochoices.h
+++ b/glom/mode_data/datawidget/combochoices.h
@@ -40,9 +40,6 @@ public:
///You must call set_layout_item() to specify the field type and formatting of the main column.
explicit ComboChoices();
- ///You must call set_layout_item() to specify the field type and formatting of the main column.
- explicit ComboChoices(const std::shared_ptr<LayoutItem_Field>& field_second);
-
/** Set a list of choice values, for instance for a list of custom choices.
* You should first call set_layout_item() to provide formatting details.
*/
diff --git a/glom/mode_data/db_adddel/db_adddel.h b/glom/mode_data/db_adddel/db_adddel.h
index 3861ba5..ebe93da 100644
--- a/glom/mode_data/db_adddel/db_adddel.h
+++ b/glom/mode_data/db_adddel/db_adddel.h
@@ -378,8 +378,6 @@ private:
void refresh_cell_choices_data_from_database_with_foreign_key(guint model_index, const Gnome::Gda::Value&
foreign_key_value);
- static void apply_formatting(Gtk::CellRenderer* renderer, const std::shared_ptr<const
LayoutItem_WithFormatting>& layout_item);
-
typedef Gtk::Box type_base;
//Member widgets:
diff --git a/glom/mode_data/notebook_data.h b/glom/mode_data/notebook_data.h
index a7b714e..51c6347 100644
--- a/glom/mode_data/notebook_data.h
+++ b/glom/mode_data/notebook_data.h
@@ -87,9 +87,6 @@ public:
protected:
- ///Show the counts of all records and found records.
- void update_records_count();
-
//Signal handlers:
void on_list_user_requested_details(const Gnome::Gda::Value& primary_key_value);
diff --git a/glom/mode_design/layout/layout_item_dialogs/dialog_group_by.h
b/glom/mode_design/layout/layout_item_dialogs/dialog_group_by.h
index 897f3d0..5e922cf 100644
--- a/glom/mode_design/layout/layout_item_dialogs/dialog_group_by.h
+++ b/glom/mode_design/layout/layout_item_dialogs/dialog_group_by.h
@@ -61,7 +61,6 @@ private:
void on_button_formatting_group_by();
void on_button_field_sort_by();
void on_button_secondary_fields();
- void on_dialog_secondary_fields_hide();
void update_labels();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]