diff --git a/src/controls/TopLevelMenu.qml b/src/controls/TopLevelMenu.qml index 7fd202d..72ebc37 100644 --- a/src/controls/TopLevelMenu.qml +++ b/src/controls/TopLevelMenu.qml @@ -39,4 +39,8 @@ Meui.PopupWindow { function open() { control.show() } + + function popup() { + control.show() + } } diff --git a/src/popupwindow.cpp b/src/popupwindow.cpp index d1aeba8..61ade50 100644 --- a/src/popupwindow.cpp +++ b/src/popupwindow.cpp @@ -1,3 +1,22 @@ +/* + * Copyright (C) 2021 CutefishOS Team. + * + * Author: cutefish + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include "popupwindow.h" #include #include diff --git a/src/popupwindow.h b/src/popupwindow.h index 6f2cf54..e545f59 100644 --- a/src/popupwindow.h +++ b/src/popupwindow.h @@ -1,3 +1,22 @@ +/* + * Copyright (C) 2021 CutefishOS Team. + * + * Author: cutefish + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #ifndef TOPLEVELMENU_H #define TOPLEVELMENU_H