Renamed refresh to refreshView to avoid base class overrides

This commit is contained in:
emeric
2018-04-10 13:45:56 +02:00
parent 2f7697d278
commit f604541812
4 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -183,14 +183,14 @@ UserView::UserView(Wt::WContainerWidget* parent)
{ {
wApp->internalPathChanged().connect(std::bind([=] wApp->internalPathChanged().connect(std::bind([=]
{ {
refresh(); refreshView();
})); }));
refresh(); refreshView();
} }
void void
UserView::refresh() UserView::refreshView()
{ {
if (!wApp->internalPathMatches("/admin/user")) if (!wApp->internalPathMatches("/admin/user"))
return; return;
+1 -1
View File
@@ -29,7 +29,7 @@ class UserView : public Wt::WContainerWidget
UserView(Wt::WContainerWidget *parent = 0); UserView(Wt::WContainerWidget *parent = 0);
private: private:
void refresh(); void refreshView();
}; };
} // namespace UserInterface } // namespace UserInterface
+3 -3
View File
@@ -47,14 +47,14 @@ UsersView::UsersView(Wt::WContainerWidget *parent)
wApp->internalPathChanged().connect(std::bind([=] wApp->internalPathChanged().connect(std::bind([=]
{ {
refresh(); refreshView();
})); }));
refresh(); refreshView();
} }
void void
UsersView::refresh() UsersView::refreshView()
{ {
if (!wApp->internalPathMatches("/admin/users")) if (!wApp->internalPathMatches("/admin/users"))
return; return;
+1 -1
View File
@@ -29,7 +29,7 @@ class UsersView : public Wt::WContainerWidget
UsersView(Wt::WContainerWidget *parent = 0); UsersView(Wt::WContainerWidget *parent = 0);
private: private:
void refresh(); void refreshView();
Wt::WContainerWidget* _container; Wt::WContainerWidget* _container;
}; };