Kstars

SkyObjectUserdata::Data Struct Reference

#include <skyobjectuserdata.h>

Public Member Functions

void addLink (QString title, QUrl url, Type type)
 
auto findLinkByTitle (const QString &title, const Type type)
 
auto findLinkByTitle (const QString &title, const Type type) const
 
LinkList & images ()
 
const LinkList & images () const
 
LinkList & websites ()
 
const LinkList & websites () const
 

Public Attributes

std::map< LinkData::Type, LinkList > links
 
QString userLog
 

Detailed Description

Stores Users' Logs, Pictures and Websites regarding an object in the sky.

Auxiliary information associated with a SkyObject.

Author
Akarsh Simha, Valentin Boettcher
Version
2.0

Definition at line 45 of file skyobjectuserdata.h.

Member Function Documentation

◆ addLink()

void SkyObjectUserdata::Data::addLink ( QString title,
QUrl url,
Type type )
inline

Definition at line 69 of file skyobjectuserdata.h.

◆ findLinkByTitle() [1/2]

auto SkyObjectUserdata::Data::findLinkByTitle ( const QString & title,
const Type type )
inline

Definition at line 63 of file skyobjectuserdata.h.

◆ findLinkByTitle() [2/2]

auto SkyObjectUserdata::Data::findLinkByTitle ( const QString & title,
const Type type ) const
inline

Definition at line 57 of file skyobjectuserdata.h.

◆ images() [1/2]

LinkList & SkyObjectUserdata::Data::images ( )
inline

Definition at line 51 of file skyobjectuserdata.h.

◆ images() [2/2]

const LinkList & SkyObjectUserdata::Data::images ( ) const
inline

Definition at line 52 of file skyobjectuserdata.h.

◆ websites() [1/2]

LinkList & SkyObjectUserdata::Data::websites ( )
inline

Definition at line 54 of file skyobjectuserdata.h.

◆ websites() [2/2]

const LinkList & SkyObjectUserdata::Data::websites ( ) const
inline

Definition at line 55 of file skyobjectuserdata.h.

Member Data Documentation

◆ links

std::map<LinkData::Type, LinkList> SkyObjectUserdata::Data::links
Initial value:
{ { Type::website, {} },
{ Type::image, {} } }

Definition at line 47 of file skyobjectuserdata.h.

◆ userLog

QString SkyObjectUserdata::Data::userLog

Definition at line 49 of file skyobjectuserdata.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 Sat Dec 21 2024 17:04:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.