Timesheets-Server
Timesheets server
Načítám...
Vyhledávám...
Nebylo nic nalezeno
Dokumentace souboru dbt.h
#include <QString>
#include <QDateTime>
#include <QCoreApplication>
#include <QVariantList>
#include <QVariant>
#include "version.h"

Zobrazit zdrojový text tohoto souboru.

Třídy

struct  Dbt::Users
 
struct  Dbt::ClientSettings
 
struct  Dbt::ServerInfo
 
struct  Dbt::Categories
 
struct  Dbt::UsersCategories
 
struct  Dbt::StatusOrder
 
struct  Dbt::Statuses
 
struct  Dbt::StatusTemplates
 
struct  Dbt::Mutable
 
struct  Dbt::TicketStatus
 
struct  Dbt::TicketTimesheets
 
struct  Dbt::TicketFiles
 
struct  Dbt::TicketValues
 
struct  Dbt::Tickets
 
struct  Dbt::TicketsVw
 
struct  Dbt::CategoriesOverview
 
struct  Dbt::AppendStatuses
 
struct  Dbt::OverviewList
 
struct  Dbt::Overview
 
struct  Dbt::Overview::Days
 
struct  Dbt::Overview::Sum
 
struct  Dbt::Overview::Tickets
 
struct  Dbt::Overview::TicketsSum
 
struct  Dbt::Overview::StatusSum
 
struct  Dbt::Overview::UserSum
 
struct  Dbt::Departments
 
struct  Dbt::Doors
 
struct  Dbt::Rfids
 
struct  Dbt::Employees
 
struct  Dbt::EventTypes
 
struct  Dbt::Events
 
struct  Dbt::DepartmentHasManager
 
struct  Dbt::DepartmentHasMember
 
struct  Dbt::EmployeeCanOpenDoor
 
struct  Dbt::EmployeeHasRfid
 

Jmenné prostory

namespace  Dbt
 Konvertuje null variant na invalid variant - QJsonDocument jinak konvertuje int null hodnoty špatně na nulu.
 

Funkce

template<typename T >
QVariantList toList (const QList< T > &input)
 

Detailní popis

Dokumentace funkcí

◆ toList()

template<typename T >
QVariantList toList ( const QList< T > & input)

Definice je uvedena na řádku 18 v souboru dbt.h.

18 {
19 QVariantList list;
20 QListIterator<T> iterator(input);
21 while (iterator.hasNext()) {
22 list << iterator.next().toMap();
23 }
24 return list;
25}