rename all cxx_qt::bridge modules to qobject for clarity
This commit is contained in:
parent
8ae9911ee3
commit
b4ce082891
11 changed files with 38 additions and 40 deletions
|
@ -1,5 +1,5 @@
|
|||
#[cxx_qt::bridge]
|
||||
mod ytdl {
|
||||
mod qobject {
|
||||
unsafe extern "C++" {
|
||||
include!("cxx-qt-lib/qurl.h");
|
||||
type QUrl = cxx_qt_lib::QUrl;
|
||||
|
@ -40,7 +40,7 @@ pub struct YtdlRust {
|
|||
file: QUrl,
|
||||
}
|
||||
|
||||
impl ytdl::Ytdl {
|
||||
impl qobject::Ytdl {
|
||||
pub fn get_video(mut self: Pin<&mut Self>, url: QUrl) -> bool {
|
||||
if !url.is_valid() {
|
||||
false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue