QEverCloud
6.1.0
Unofficial Evernote Cloud API for Qt
QEverCloud
headers
Printable.h
Go to the documentation of this file.
1
8
#ifndef QEVERCLOUD_PRINTABLE_H
9
#define QEVERCLOUD_PRINTABLE_H
10
11
#include "
Export.h
"
12
13
#include <QTextStream>
14
#include <QDebug>
15
16
namespace
qevercloud
{
17
18
class
QEVERCLOUD_EXPORT
Printable
19
{
20
public
:
21
Printable
() =
default
;
22
virtual
~Printable
() =
default
;
23
24
virtual
void
print
(QTextStream & strm)
const
= 0;
25
26
virtual
QString
toString
()
const
;
27
28
friend
QEVERCLOUD_EXPORT
QTextStream &
operator <<
(
29
QTextStream & strm,
const
Printable
& printable);
30
31
friend
QEVERCLOUD_EXPORT
QDebug &
operator <<
(
32
QDebug & dbg,
const
Printable
& printable);
33
};
34
35
}
// namespace qevercloud
36
37
#endif // QEVERCLOUD_PRINTABLE_H
Export.h
qevercloud::Printable::~Printable
virtual ~Printable()=default
qevercloud::Printable::print
virtual void print(QTextStream &strm) const =0
qevercloud
Definition:
AsyncResult.h:21
QEVERCLOUD_EXPORT
#define QEVERCLOUD_EXPORT
Definition:
Export.h:19
qevercloud::Printable::toString
virtual QString toString() const
qevercloud::Printable
Definition:
Printable.h:19
qevercloud::operator<<
QEVERCLOUD_EXPORT QTextStream & operator<<(QTextStream &out, const EDAMErrorCode value)
qevercloud::Printable::Printable
Printable()=default
Generated on Wed Jul 29 2020 00:00:00 for QEverCloud by
1.8.18