alkimia
8.0.3
src
alkonlinequotesprofilemanager.h
Go to the documentation of this file.
1
/***************************************************************************
2
* Copyright 2018 Ralf Habacker <ralf.habacker@freenet.de> *
3
* *
4
* This file is part of libalkimia. *
5
* *
6
* libalkimia is free software; you can redistribute it and/or *
7
* modify it under the terms of the GNU Lesser General Public License *
8
* as published by the Free Software Foundation; either version 2.1 of *
9
* the License or (at your option) version 3 or any later version. *
10
* *
11
* libalkimia is distributed in the hope that it will be useful, *
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
* GNU General Public License for more details. *
15
* *
16
* You should have received a copy of the GNU General Public License *
17
* along with this program. If not, see <http://www.gnu.org/licenses/> *
18
***************************************************************************/
19
20
#ifndef ALKONLINEQUOTESPROFILEMANAGER_H
21
#define ALKONLINEQUOTESPROFILEMANAGER_H
22
23
#include <alkimia/alkonlinequotesprofile.h>
24
25
#include <QList>
26
#include <QStringList>
27
28
class
AlkWebPage
;
29
30
typedef
QList<AlkOnlineQuotesProfile *>
AlkOnlineQuotesProfileList
;
31
32
class
ALK_EXPORT
AlkOnlineQuotesProfileManager
33
{
34
public
:
35
AlkOnlineQuotesProfileManager
();
36
~
AlkOnlineQuotesProfileManager
();
37
38
void
addProfile(
AlkOnlineQuotesProfile
*profile);
39
AlkOnlineQuotesProfileList
profiles();
40
AlkOnlineQuotesProfile
*profile(
const
QString &name);
41
QStringList profileNames();
42
AlkWebPage
*webPage();
43
void
setWebPageEnabled(
bool
enable);
44
bool
webPageEnabled();
45
46
static
AlkOnlineQuotesProfileManager
&instance();
47
private
:
48
class
Private
;
49
Private
*
const
d
;
50
};
51
52
#endif // ALKONLINEQUOTESPROFILEMANAGER_H
AlkWebPage
Definition:
alkwebpage.h:70
AlkOnlineQuotesProfileManager
Definition:
alkonlinequotesprofilemanager.h:33
AlkOnlineQuotesProfile
Definition:
alkonlinequotesprofile.h:35
AlkOnlineQuotesProfileManager::Private
Definition:
alkonlinequotesprofilemanager.cpp:27
AlkOnlineQuotesProfileList
QList< AlkOnlineQuotesProfile * > AlkOnlineQuotesProfileList
Definition:
alkonlinequotesprofilemanager.h:28
AlkOnlineQuotesProfileManager::d
Private *const d
Definition:
alkonlinequotesprofilemanager.h:48
Generated by
1.8.18