use linked page_number arguments

This commit is contained in:
yggverse 2024-08-27 13:53:41 +03:00
parent bb343d5f59
commit 8b55faef35
2 changed files with 8 additions and 8 deletions

View File

@ -31,7 +31,7 @@ Tab::~Tab() = default;
// Getters
Glib::ustring Tab::get_label_text(
int page_number
const int & page_number
) {
auto pageWidget = get_nth_page(
page_number
@ -75,7 +75,7 @@ void Tab::append(
};
void Tab::close(
int page_number
const int & page_number
) {
remove_page(
page_number
@ -102,7 +102,7 @@ void Tab::close_all()
}
void Tab::update(
int page_number
const int & page_number
) {
auto pageWidget = get_nth_page(
page_number
@ -118,7 +118,7 @@ void Tab::update(
} // @TODO
void Tab::refresh(
int page_number
const int & page_number
) {
auto pageWidget = get_nth_page(
page_number

View File

@ -19,7 +19,7 @@ namespace app::browser::main
~Tab();
Glib::ustring get_label_text(
int page_number
const int & page_number
);
void append(
@ -28,7 +28,7 @@ namespace app::browser::main
);
void close(
int page_number
const int & page_number
);
void close_left();
@ -36,11 +36,11 @@ namespace app::browser::main
void close_all();
void refresh(
int page_number
const int & page_number
);
void update(
int page_number
const int & page_number
);
};
}