QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
src
core
qgsuserprofile.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsuserprofile.h
3
--------------------------------------
4
Date : Jul-2017
5
Copyright : (C) 2017 by Nathan Woodrow
6
Email : woodrow.nathan 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
#ifndef QGSUSERPROFILE_H
17
#define QGSUSERPROFILE_H
18
19
#include "qgis_core.h"
20
#include "
qgserror.h
"
21
#include <QIcon>
22
34
class
CORE_EXPORT
QgsUserProfile
35
{
36
public
:
37
43
QgsUserProfile
(
const
QString &folder );
44
48
const
QString folder()
const
;
49
53
QgsError
validate()
const
;
54
58
const
QString name()
const
;
59
63
void
initSettings()
const
;
64
69
const
QString alias()
const
;
70
76
QgsError
setAlias(
const
QString &alias )
const
;
77
82
const
QIcon icon()
const
;
83
84
private
:
85
QString qgisDB()
const
;
86
QString mProfileFolder;
87
};
88
89
#endif
QgsError
QgsError is container for error messages (report). It may contain chain (sort of traceback) of error ...
Definition:
qgserror.h:80
qgserror.h
QgsUserProfile
User profile contains information about the user profile folders on the machine. In QGIS 3 all settin...
Definition:
qgsuserprofile.h:34
Generated on Sun Sep 11 2022 00:03:17 for QGIS API Documentation by
1.8.17