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 35 of file catalogsdb.h.

Member Data Documentation

◆ author

QString CatalogsDB::Catalog::author = ""

The author of the catalog.

Definition at line 58 of file catalogsdb.h.

◆ color

QString CatalogsDB::Catalog::color = ""

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

Definition at line 90 of file catalogsdb.h.

◆ description

QString CatalogsDB::Catalog::description = ""

A (short) description for the catalog.

QT html is allowed.

Definition at line 69 of file catalogsdb.h.

◆ enabled

bool CatalogsDB::Catalog::enabled = false

Wether the catalog is enabled.

Definition at line 79 of file catalogsdb.h.

◆ id

int CatalogsDB::Catalog::id = -1

The catalog id.

Definition at line 40 of file catalogsdb.h.

◆ license

QString CatalogsDB::Catalog::license = ""

The catalog license.

Definition at line 95 of file catalogsdb.h.

◆ maintainer

QString CatalogsDB::Catalog::maintainer = ""

The catalog maintainer.

Definition at line 100 of file catalogsdb.h.

◆ mut

bool CatalogsDB::Catalog::mut = false

Wether the catalog is mutable.

Definition at line 74 of file catalogsdb.h.

◆ name

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

The catalog mame.

Definition at line 45 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 53 of file catalogsdb.h.

◆ source

QString CatalogsDB::Catalog::source = ""

The catalog source.

Definition at line 63 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 109 of file catalogsdb.h.

◆ version

int CatalogsDB::Catalog::version = -1

The catalog version.

Definition at line 84 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-2023 The KDE developers.
Generated on Fri Jun 9 2023 04:02:30 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.