mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
uppercase const names
This commit is contained in:
parent
c75744f777
commit
8ad13b2aa2
6 changed files with 28 additions and 28 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue