QGIS API Documentation 4.3.0-Master (389d690bb77)
Loading...
Searching...
No Matches
qgsstaclink.cpp
Go to the documentation of this file.
1/***************************************************************************
2 qgsstaclink.cpp
3 ---------------------
4 begin : October 2024
5 copyright : (C) 2024 by Stefanos Natsis
6 email : uclaros at gmail dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#include "qgsstaclink.h"
17
18QgsStacLink::QgsStacLink( const QString &href, const QString &relation, const QString &mediaType, const QString &title )
19 : mHref( href )
20 , mRelation( relation )
21 , mMediaType( mediaType )
22 , mTitle( title )
23{}
24
25QString QgsStacLink::href() const
26{
27 return mHref;
28}
29
30QString QgsStacLink::relation() const
31{
32 return mRelation;
33}
34
35QString QgsStacLink::title() const
36{
37 return mTitle;
38}
39
41{
42 return mMediaType;
43}