Commit 96eac179 authored by Mathieu Faverge's avatar Mathieu Faverge

Code factorization

parent 9b08933a
This diff is collapsed.
......@@ -85,7 +85,7 @@ private:
* \brief Fill a new row to the state table.
* row is incremented at the end of the function.
void add_state_line(int &row, std::string st_name, Color *c, bool checked = true);
void add_state_line(QTableWidget *table, int &row, std::string st_name, Color *c, bool checked = true);
* \brief Reload the general tab.
......@@ -105,7 +105,7 @@ private:
* \brief add an event type to the table
void add_event_type_line(int&, std::string, Color*, bool);
void add_event_type_line(QTableWidget *table, int&, std::string, Color*, bool);
* \brief Fill the link types table
......@@ -115,7 +115,7 @@ private:
* \brief add a link type to the table
void add_link_type_line(int&, std::string, Color*, bool);
void add_link_type_line(QTableWidget *table, int&, std::string, Color*, bool);
* \brief add a palette to the list, for a given type
......@@ -132,6 +132,8 @@ private:
QString copy_palette(QTableWidget* table, QComboBox* list, const std::string type);
void color_changed(std::string name, QTableWidget *table, const QColor &qc);
* Default constructor
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment