~smspillaz/unity/untiy.less-paint-insanity

« back to all changes in this revision

Viewing changes to UnityCore/Categories.cpp

  • Committer: Daniel van Vugt
  • Date: 2012-03-14 06:24:18 UTC
  • mfrom: (2108 unity)
  • mto: This revision was merged to the branch mainline in revision 2146.
  • Revision ID: daniel.van.vugt@canonical.com-20120314062418-nprucpbr0m7qky5e
MergedĀ latestĀ lp:unity

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
  row_removed.connect(sigc::mem_fun(this, &Categories::OnRowRemoved));
32
32
}
33
33
 
 
34
Categories::Categories(ModelType model_type)
 
35
 : Model<Category>::Model(model_type)
 
36
{
 
37
  row_added.connect(sigc::mem_fun(this, &Categories::OnRowAdded));
 
38
  row_changed.connect(sigc::mem_fun(this, &Categories::OnRowChanged));
 
39
  row_removed.connect(sigc::mem_fun(this, &Categories::OnRowRemoved));
 
40
}
 
41
 
34
42
void Categories::OnRowAdded(Category& category)
35
43
{
36
44
  category_added.emit(category);