mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
rename method
This commit is contained in:
parent
47c68deb7a
commit
7fbf9f07b5
2 changed files with 4 additions and 4 deletions
|
|
@ -29,13 +29,13 @@ Tab::~Tab() = default;
|
||||||
Glib::ustring Tab::get_page_title(
|
Glib::ustring Tab::get_page_title(
|
||||||
const int & PAGE_NUMBER
|
const int & PAGE_NUMBER
|
||||||
) {
|
) {
|
||||||
return get_tab_page(PAGE_NUMBER)->get_title();
|
return get_tab_page_ptr(PAGE_NUMBER)->get_title();
|
||||||
};
|
};
|
||||||
|
|
||||||
Glib::ustring Tab::get_page_subtitle(
|
Glib::ustring Tab::get_page_subtitle(
|
||||||
const int & PAGE_NUMBER
|
const int & PAGE_NUMBER
|
||||||
) {
|
) {
|
||||||
return get_tab_page(PAGE_NUMBER)->get_subtitle();
|
return get_tab_page_ptr(PAGE_NUMBER)->get_subtitle();
|
||||||
};
|
};
|
||||||
|
|
||||||
// Actions
|
// Actions
|
||||||
|
|
@ -148,7 +148,7 @@ void Tab::update(
|
||||||
} // @TODO
|
} // @TODO
|
||||||
|
|
||||||
// Private helpers
|
// Private helpers
|
||||||
tab::Page * Tab::get_tab_page(
|
tab::Page * Tab::get_tab_page_ptr(
|
||||||
const int & PAGE_NUMBER
|
const int & PAGE_NUMBER
|
||||||
) {
|
) {
|
||||||
auto pageWidget = get_nth_page(
|
auto pageWidget = get_nth_page(
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ namespace app::browser::main
|
||||||
const bool REORDERABLE = true;
|
const bool REORDERABLE = true;
|
||||||
const bool SCROLLABLE = true;
|
const bool SCROLLABLE = true;
|
||||||
|
|
||||||
tab::Page * get_tab_page(
|
tab::Page * get_tab_page_ptr(
|
||||||
const int & PAGE_NUMBER
|
const int & PAGE_NUMBER
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue