mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-30 13:04:13 +00:00
use linked page_number arguments
This commit is contained in:
parent
bb343d5f59
commit
8b55faef35
@ -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
|
||||
|
@ -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
|
||||
);
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user