mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
reorder methods
This commit is contained in:
parent
293fe791ce
commit
946211167b
6 changed files with 56 additions and 56 deletions
|
|
@ -23,19 +23,6 @@ Tab::Tab()
|
|||
);
|
||||
}
|
||||
|
||||
// Getters
|
||||
Glib::ustring Tab::get_page_title(
|
||||
const int & PAGE_NUMBER
|
||||
) {
|
||||
return get_tabPage(PAGE_NUMBER)->get_title();
|
||||
};
|
||||
|
||||
Glib::ustring Tab::get_page_subtitle(
|
||||
const int & PAGE_NUMBER
|
||||
) {
|
||||
return get_tabPage(PAGE_NUMBER)->get_subtitle();
|
||||
};
|
||||
|
||||
// Actions
|
||||
void Tab::refresh(
|
||||
const int & PAGE_NUMBER
|
||||
|
|
@ -134,6 +121,19 @@ void Tab::page_navigation_history_forward(
|
|||
)->navigation_history_forward();
|
||||
}
|
||||
|
||||
// Getters
|
||||
Glib::ustring Tab::get_page_title(
|
||||
const int & PAGE_NUMBER
|
||||
) {
|
||||
return get_tabPage(PAGE_NUMBER)->get_title();
|
||||
};
|
||||
|
||||
Glib::ustring Tab::get_page_subtitle(
|
||||
const int & PAGE_NUMBER
|
||||
) {
|
||||
return get_tabPage(PAGE_NUMBER)->get_subtitle();
|
||||
};
|
||||
|
||||
// Private helpers
|
||||
tab::Label * Tab::get_tabLabel(
|
||||
const int & PAGE_NUMBER
|
||||
|
|
|
|||
|
|
@ -30,15 +30,6 @@ namespace app::browser::main
|
|||
|
||||
Tab();
|
||||
|
||||
// Getters
|
||||
Glib::ustring get_page_title(
|
||||
const int & PAGE_NUMBER
|
||||
);
|
||||
|
||||
Glib::ustring get_page_subtitle(
|
||||
const int & PAGE_NUMBER
|
||||
);
|
||||
|
||||
// Actions
|
||||
void refresh(
|
||||
const int & PAGE_NUMBER // @TODO
|
||||
|
|
@ -70,6 +61,15 @@ namespace app::browser::main
|
|||
void page_navigation_history_forward(
|
||||
const int & PAGE_NUMBER
|
||||
);
|
||||
|
||||
// Getters
|
||||
Glib::ustring get_page_title(
|
||||
const int & PAGE_NUMBER
|
||||
);
|
||||
|
||||
Glib::ustring get_page_subtitle(
|
||||
const int & PAGE_NUMBER
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -44,17 +44,6 @@ Page::Page(
|
|||
);
|
||||
}
|
||||
|
||||
// Getters
|
||||
Glib::ustring Page::get_title()
|
||||
{
|
||||
return title;
|
||||
}
|
||||
|
||||
Glib::ustring Page::get_subtitle()
|
||||
{
|
||||
return subtitle;
|
||||
}
|
||||
|
||||
// Actions
|
||||
void Page::refresh(
|
||||
const Glib::ustring & TITLE,
|
||||
|
|
@ -273,4 +262,15 @@ void Page::navigation_history_forward()
|
|||
false
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// Getters
|
||||
Glib::ustring Page::get_title()
|
||||
{
|
||||
return title;
|
||||
}
|
||||
|
||||
Glib::ustring Page::get_subtitle()
|
||||
{
|
||||
return subtitle;
|
||||
}
|
||||
|
|
@ -48,10 +48,6 @@ namespace app::browser::main::tab
|
|||
const Glib::ustring & REQUEST = ""
|
||||
);
|
||||
|
||||
// Getters
|
||||
Glib::ustring get_title();
|
||||
Glib::ustring get_subtitle();
|
||||
|
||||
// Actions
|
||||
void refresh(
|
||||
const Glib::ustring & TITLE,
|
||||
|
|
@ -65,6 +61,10 @@ namespace app::browser::main::tab
|
|||
|
||||
void navigation_history_back();
|
||||
void navigation_history_forward();
|
||||
|
||||
// Getters
|
||||
Glib::ustring get_title();
|
||||
Glib::ustring get_subtitle();
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue