digiKam
qdatastreamoverloads.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 16/08/2016
7  * Description : Serialization utilities to help making long
8  * serialization platform independent
9  *
10  * Copyright (C) 2016 by Omar Amin <Omar dot moh dot amin at gmail dot com>
11  * Copyright (C) 2016-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
12  *
13  * This program is free software; you can redistribute it
14  * and/or modify it under the terms of the GNU General
15  * Public License as published by the Free Software Foundation;
16  * either version 2, or (at your option)
17  * any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU General Public License for more details.
23  *
24  * ============================================================ */
25 
26 #ifndef DIGIKAM_QDATASTREAM_OVERLOADS_H
27 #define DIGIKAM_QDATASTREAM_OVERLOADS_H
28 
29 // Qt includes
30 
31 #include <QDataStream>
32 
33 // Local includes
34 
35 #include "digikam_export.h"
36 
37 DIGIKAM_EXPORT QDataStream& operator >> (QDataStream& dataStream,
38  unsigned long& in);
39 
40 DIGIKAM_EXPORT QDataStream& operator << (QDataStream& dataStream,
41  const unsigned long& in);
42 
43 #endif // DIGIKAM_QDATASTREAM_OVERLOADS_H
DIGIKAM_EXPORT QDataStream & operator<<(QDataStream &dataStream, const unsigned long &in)
Definition: qdatastreamoverloads.cpp:38
DIGIKAM_EXPORT QDataStream & operator>>(QDataStream &dataStream, unsigned long &in)
Definition: qdatastreamoverloads.cpp:28