alkimia  8.0.3
alkonlinequoteswidget.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright 2004 Thomas Baumgart tbaumgart@kde.org *
3  * Copyright 2018 Ralf Habacker <ralf.habacker@freenet.de> *
4  * *
5  * This file is part of libalkimia. *
6  * *
7  * libalkimia is free software; you can redistribute it and/or *
8  * modify it under the terms of the GNU General Public License *
9  * as published by the Free Software Foundation; either version 2.1 of *
10  * the License or (at your option) version 3 or any later version. *
11  * *
12  * libalkimia is distributed in the hope that it will be useful, *
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15  * GNU General Public License for more details. *
16  * *
17  * You should have received a copy of the GNU General Public License *
18  * along with this program. If not, see <http://www.gnu.org/licenses/> *
19  ***************************************************************************/
20 
21 #ifndef ALKONLINEQUOTESWIDGET_H
22 #define ALKONLINEQUOTESWIDGET_H
23 
24 #include <alkimia/alkonlinequote.h>
25 
26 #include <QWidget>
27 
28 class QListWidgetItem;
29 
30 class ALK_EXPORT AlkOnlineQuotesWidget : public QWidget
31 {
32  Q_OBJECT
33 public:
34  AlkOnlineQuotesWidget(bool showProfiles = false, bool showUpload = false, QWidget *parent = 0);
35  virtual ~AlkOnlineQuotesWidget();
36 
37  void writeConfig();
38  void readConfig();
39  void resetConfig();
40 
41  QWidget *profilesWidget();
42  QWidget *profileDetailsWidget();
43  QWidget *onlineQuotesWidget();
44  QWidget *quoteDetailsWidget();
45  QWidget *debugWidget();
46 
47  QString acceptLanguage() const;
48  void setAcceptLanguage(const QString &text);
49 
50 private:
51  class Private;
52  Private *const d;
53 };
54 
55 #endif
AlkOnlineQuotesWidget::Private
Definition: alkonlinequoteswidget.cpp:51
AlkOnlineQuotesWidget
Definition: alkonlinequoteswidget.h:30
AlkOnlineQuotesWidget::d
Private *const d
Definition: alkonlinequoteswidget.h:51