alkimia
8.0.3
src
alkquotereceiver.h
Go to the documentation of this file.
1
/***************************************************************************
2
* Copyright 2004 Ace Jones <acejones@users.sourceforge.net> *
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 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 ALKQUOTERECEIVER_H
21
#define ALKQUOTERECEIVER_H
22
23
#include <alkimia/alkvalue.h>
24
25
#include <QDate>
26
#include <QObject>
27
#include <QStringList>
28
29
class
AlkOnlineQuote
;
30
31
namespace
convertertest
{
37
class
ALK_NO_EXPORT
AlkQuoteReceiver
:
public
QObject
38
{
39
Q_OBJECT
40
public
:
41
explicit
AlkQuoteReceiver
(
AlkOnlineQuote
*q, QObject *parent = 0);
42
~
AlkQuoteReceiver
();
43
void
setVerbose
(
bool
verbose)
44
{
45
m_verbose = verbose;
46
}
47
48
public
Q_SLOTS:
49
void
slotGetQuote(
const
QString &,
const
QString &,
const
QDate &,
const
double
&);
50
void
slotStatus(
const
QString &);
51
void
slotError(
const
QString &);
52
public
:
53
QStringList
m_statuses
;
54
QStringList
m_errors
;
55
AlkValue
m_price
;
56
QDate
m_date
;
57
protected
:
58
bool
m_verbose
;
59
};
60
}
// end namespace convertertest
61
62
#endif
// ALKQUOTERECEIVER_H
AlkOnlineQuote
Definition:
alkonlinequote.h:38
convertertest::AlkQuoteReceiver
Definition:
alkquotereceiver.h:38
convertertest::AlkQuoteReceiver::m_statuses
QStringList m_statuses
Definition:
alkquotereceiver.h:53
convertertest::AlkQuoteReceiver::m_verbose
bool m_verbose
Definition:
alkquotereceiver.h:58
convertertest::AlkQuoteReceiver::m_price
AlkValue m_price
Definition:
alkquotereceiver.h:55
convertertest::AlkQuoteReceiver::m_errors
QStringList m_errors
Definition:
alkquotereceiver.h:54
convertertest::AlkQuoteReceiver::setVerbose
void setVerbose(bool verbose)
Definition:
alkquotereceiver.h:43
convertertest::AlkQuoteReceiver::m_date
QDate m_date
Definition:
alkquotereceiver.h:56
convertertest
Definition:
alkquotereceiver.h:31
Generated by
1.9.1