Engauge Digitizer
2
Toggle main menu visibility
Loading...
Searching...
No Matches
util
Compatibility.h
Go to the documentation of this file.
1
/******************************************************************************************************
2
* (C) 2020 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3
* under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4
* LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5
******************************************************************************************************/
6
7
#ifndef COMPATIBILITY_H
8
#define COMPATIBILITY_H
9
10
#include <QString>
11
#include <QtGlobal>
12
13
class
QTextStream;
14
16
class
Compatibility
17
{
18
public
:
20
Compatibility
();
21
23
static
QTextStream &
endl
(QTextStream &stream);
24
26
static
QTextStream &
flush
(QTextStream &stream);
27
29
#if QT_VERSION < QT_VERSION_CHECK (5, 14, 0)
30
static
QString::SplitBehavior
SkipEmptyParts
();
31
#else
32
static
Qt::SplitBehavior
SkipEmptyParts
();
33
#endif
34
};
35
36
#endif
// COMPATIBILITY_H
Compatibility::Compatibility
Compatibility()
Single default constructor.
Definition
Compatibility.cpp:14
Compatibility::endl
static QTextStream & endl(QTextStream &stream)
End of line.
Definition
Compatibility.cpp:18
Compatibility::SkipEmptyParts
static Qt::SplitBehavior SkipEmptyParts()
SplitBehavior.
Definition
Compatibility.cpp:55
Compatibility::flush
static QTextStream & flush(QTextStream &stream)
Flush.
Definition
Compatibility.cpp:37
Generated on
for Engauge Digitizer by
1.17.0