glom r1699 - in trunk: . glom/mode_design/print_layouts
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: glom r1699 - in trunk: . glom/mode_design/print_layouts
- Date: Wed, 8 Oct 2008 16:42:16 +0000 (UTC)
Author: murrayc
Date: Wed Oct 8 16:42:16 2008
New Revision: 1699
URL: http://svn.gnome.org/viewvc/glom?rev=1699&view=rev
Log:
2008-10-07 Murray Cumming <murrayc murrayc com>
* glom/mode_design/print_layouts/box_print_layouts.[h|cc]:
Rename signal handler to make them clearer.
Modified:
trunk/ChangeLog
trunk/glom/mode_design/print_layouts/box_print_layouts.cc
trunk/glom/mode_design/print_layouts/box_print_layouts.h
Modified: trunk/glom/mode_design/print_layouts/box_print_layouts.cc
==============================================================================
--- trunk/glom/mode_design/print_layouts/box_print_layouts.cc (original)
+++ trunk/glom/mode_design/print_layouts/box_print_layouts.cc Wed Oct 8 16:42:16 2008
@@ -42,10 +42,10 @@
//refGlade->get_widget("label_frame_title", m_pLabelFrameTitle);
- m_AddDel.signal_user_added().connect(sigc::mem_fun(*this, &Box_Print_Layouts::on_adddel_Add));
- m_AddDel.signal_user_requested_delete().connect(sigc::mem_fun(*this, &Box_Print_Layouts::on_adddel_Delete));
- m_AddDel.signal_user_requested_edit().connect(sigc::mem_fun(*this, &Box_Print_Layouts::on_adddel_Edit));
- m_AddDel.signal_user_changed().connect(sigc::mem_fun(*this, &Box_Print_Layouts::on_adddel_changed));
+ m_AddDel.signal_user_added().connect(sigc::mem_fun(*this, &Box_Print_Layouts::on_adddel_user_added));
+ m_AddDel.signal_user_requested_delete().connect(sigc::mem_fun(*this, &Box_Print_Layouts::on_adddel_user_requested_delete));
+ m_AddDel.signal_user_requested_edit().connect(sigc::mem_fun(*this, &Box_Print_Layouts::on_adddel_user_requested_edit));
+ m_AddDel.signal_user_changed().connect(sigc::mem_fun(*this, &Box_Print_Layouts::on_adddel_user_changed));
show_all_children();
}
@@ -123,7 +123,7 @@
return result;
}
-void Box_Print_Layouts::on_adddel_Add(const Gtk::TreeModel::iterator& row)
+void Box_Print_Layouts::on_adddel_user_added(const Gtk::TreeModel::iterator& row)
{
sharedptr<PrintLayout> item = sharedptr<PrintLayout>::create();
@@ -137,7 +137,7 @@
}
}
-void Box_Print_Layouts::on_adddel_Delete(const Gtk::TreeModel::iterator& rowStart, const Gtk::TreeModel::iterator& /* TODO: rowEnd */)
+void Box_Print_Layouts::on_adddel_user_requested_delete(const Gtk::TreeModel::iterator& rowStart, const Gtk::TreeModel::iterator& /* TODO: rowEnd */)
{
const Glib::ustring name = m_AddDel.get_value_key(rowStart);
if(!name.empty())
@@ -147,7 +147,7 @@
}
}
-void Box_Print_Layouts::on_adddel_Edit(const Gtk::TreeModel::iterator& row)
+void Box_Print_Layouts::on_adddel_user_requested_edit(const Gtk::TreeModel::iterator& row)
{
Glib::ustring name = m_AddDel.get_value_key(row);
@@ -190,7 +190,7 @@
}
}
-void Box_Print_Layouts::on_adddel_changed(const Gtk::TreeModel::iterator& row, guint column)
+void Box_Print_Layouts::on_adddel_user_changed(const Gtk::TreeModel::iterator& row, guint column)
{
if(get_userlevel() == AppState::USERLEVEL_DEVELOPER)
{
Modified: trunk/glom/mode_design/print_layouts/box_print_layouts.h
==============================================================================
--- trunk/glom/mode_design/print_layouts/box_print_layouts.h (original)
+++ trunk/glom/mode_design/print_layouts/box_print_layouts.h Wed Oct 8 16:42:16 2008
@@ -42,10 +42,10 @@
virtual void save_to_document();
//Signal handlers:
- void on_adddel_Add(const Gtk::TreeModel::iterator& row);
- void on_adddel_Delete(const Gtk::TreeModel::iterator& rowStart, const Gtk::TreeModel::iterator& rowEnd);
- void on_adddel_Edit(const Gtk::TreeModel::iterator& row);
- void on_adddel_changed(const Gtk::TreeModel::iterator& row, guint column);
+ void on_adddel_user_added(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_requested_edit(const Gtk::TreeModel::iterator& row);
+ void on_adddel_user_changed(const Gtk::TreeModel::iterator& row, guint column);
virtual void on_userlevel_changed(AppState::userlevels userlevel);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]