CatalogsDB::Catalog Struct Reference

#include <catalogsdb.h>

Public Attributes

QString author = ""
QString color = ""
QString description = ""
bool enabled = false
int id = -1
QString license = ""
QString maintainer = ""
bool mut = false
QString name = "Unknown"
double precedence = 0
QString source = ""
QDateTime timestamp {}
int version = -1

Detailed Description

A simple struct to hold information about catalogs.

Definition at line 36 of file catalogsdb.h.

Member Data Documentation

◆ author

QString CatalogsDB::Catalog::author = ""

The author of the catalog.

Definition at line 59 of file catalogsdb.h.

◆ color

QString CatalogsDB::Catalog::color = ""

The catalog color in the form [default color];[scheme file name];[color]....

Definition at line 91 of file catalogsdb.h.

◆ description

QString CatalogsDB::Catalog::description = ""

A (short) description for the catalog.

QT html is allowed.

Definition at line 70 of file catalogsdb.h.

◆ enabled

bool CatalogsDB::Catalog::enabled = false

Wether the catalog is enabled.

Definition at line 80 of file catalogsdb.h.

◆ id

int CatalogsDB::Catalog::id = -1

The catalog id.

Definition at line 41 of file catalogsdb.h.

◆ license

QString CatalogsDB::Catalog::license = ""

The catalog license.

Definition at line 96 of file catalogsdb.h.

◆ maintainer

QString CatalogsDB::Catalog::maintainer = ""

The catalog maintainer.

Definition at line 101 of file catalogsdb.h.

◆ mut

bool CatalogsDB::Catalog::mut = false

Wether the catalog is mutable.

Definition at line 75 of file catalogsdb.h.

◆ name

QString CatalogsDB::Catalog::name = "Unknown"

The catalog mame.

Definition at line 46 of file catalogsdb.h.

◆ precedence

double CatalogsDB::Catalog::precedence = 0

The precedence level of a catalog.

If doublicate objects exist in the database, the one from the catalog with the highest precedence winns.

Definition at line 54 of file catalogsdb.h.

◆ source

QString CatalogsDB::Catalog::source = ""

The catalog source.

Definition at line 64 of file catalogsdb.h.

◆ timestamp

QDateTime CatalogsDB::Catalog::timestamp {}

Build time of the catalog.

Usually only catalogs with the same timestamp can be considered dedublicated.

A null timestamp indicates that the catalog has not been built by the catalog repository.

Definition at line 110 of file catalogsdb.h.

◆ version

int CatalogsDB::Catalog::version = -1

The catalog version.

Definition at line 85 of file catalogsdb.h.

The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:48:28 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.