uppercase const names

This commit is contained in:
yggverse 2024-08-27 14:20:47 +03:00
parent c75744f777
commit 8ad13b2aa2
6 changed files with 28 additions and 28 deletions

View file

@ -31,10 +31,10 @@ Tab::~Tab() = default;
// Getters
Glib::ustring Tab::get_label_text(
const int & page_number
const int & PAGE_NUMBER
) {
auto pageWidget = get_nth_page(
page_number
PAGE_NUMBER
);
if (pageWidget != nullptr)
@ -79,10 +79,10 @@ void Tab::append(
};
void Tab::close(
const int & page_number
const int & PAGE_NUMBER
) {
remove_page(
page_number
PAGE_NUMBER
);
// @TODO memory cleanup
@ -106,10 +106,10 @@ void Tab::close_all()
}
void Tab::update(
const int & page_number
const int & PAGE_NUMBER
) {
auto pageWidget = get_nth_page(
page_number
PAGE_NUMBER
);
if (pageWidget != nullptr)
@ -122,10 +122,10 @@ void Tab::update(
} // @TODO
void Tab::refresh(
const int & page_number
const int & PAGE_NUMBER
) {
auto pageWidget = get_nth_page(
page_number
PAGE_NUMBER
);
if (pageWidget == nullptr)