Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Toggle main menu visibility
Loading...
Searching...
No Matches
modelstatus.h
Go to the documentation of this file.
1
/*
2
* Sailfin: a Jellyfin client written using Qt
3
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
4
*
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Lesser General Public
7
* License as published by the Free Software Foundation; either
8
* version 2.1 of the License, or (at your option) any later version.
9
*
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Lesser General Public License for more details.
14
*
15
* You should have received a copy of the GNU Lesser General Public
16
* License along with this library; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
*/
19
#ifndef JELLYFIN_VIEWMODEL_MODELSTATUS_H
20
#define JELLYFIN_VIEWMODEL_MODELSTATUS_H
21
22
#include <QtGlobal>
23
#include <QObject>
24
#include <QTimer>
25
26
namespace
Jellyfin
{
27
namespace
ViewModel
{
28
29
class
ModelStatusClass {
30
Q_GADGET
31
public
:
32
enum
Value
{
33
Uninitialised
,
34
Loading
,
35
Ready
,
36
Error
,
37
LoadingMore
38
};
39
Q_ENUM(
Value
)
40
private
:
41
explicit
ModelStatusClass
();
42
};
43
44
using
ModelStatus
=
ModelStatusClass::Value
;
45
}
46
}
// NS Jellyfin
47
48
#endif
// JELLYFIN_VIEWMODEL_MODELSTATUS_H
Jellyfin::ViewModel::ModelStatusClass
Definition
modelstatus.h:29
Jellyfin::ViewModel::ModelStatusClass::Value
Value
Definition
modelstatus.h:32
Jellyfin::ViewModel::ModelStatusClass::LoadingMore
@ LoadingMore
Definition
modelstatus.h:37
Jellyfin::ViewModel::ModelStatusClass::Error
@ Error
Definition
modelstatus.h:36
Jellyfin::ViewModel::ModelStatusClass::Uninitialised
@ Uninitialised
Definition
modelstatus.h:33
Jellyfin::ViewModel::ModelStatusClass::Loading
@ Loading
Definition
modelstatus.h:34
Jellyfin::ViewModel::ModelStatusClass::Ready
@ Ready
Definition
modelstatus.h:35
Jellyfin::ViewModel
Contains all types exposed to QML.
Jellyfin::ViewModel::ModelStatus
ModelStatusClass::Value ModelStatus
Definition
modelstatus.h:44
Jellyfin
core
include
JellyfinQt
viewmodel
modelstatus.h
Generated by
1.17.0