digiKam
dbmpform.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 : 2013-11-18
7  * Description : a tool to export images to Dropbox web service
8  *
9  * Copyright (C) 2013 by Pankaj Kumar <me at panks dot me>
10  * Copyright (C) 2013-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_DB_MPFORM_H
25 #define DIGIKAM_DB_MPFORM_H
26 
27 // Qt includes
28 
29 #include <QByteArray>
30 
32 {
33 
34 class DBMPForm
35 {
36 
37 public:
38 
39  explicit DBMPForm();
40  ~DBMPForm();
41 
42  bool addFile(const QString& imgPath);
43  QByteArray formData() const;
44 
45 private:
46 
47  QByteArray m_buffer;
48 };
49 
50 } // namespace DigikamGenericDropBoxPlugin
51 
52 #endif // DIGIKAM_DB_MPFORM_H
Definition: dbmpform.h:35
bool addFile(const QString &imgPath)
Definition: dbmpform.cpp:47
~DBMPForm()
Definition: dbmpform.cpp:43
DBMPForm()
Definition: dbmpform.cpp:39
QByteArray formData() const
Definition: dbmpform.cpp:62
Definition: dbitem.h:32