digiKam
mediawiki_image.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 : 2011-03-22
7  * Description : a Iface C++ interface
8  *
9  * Copyright (C) 2011-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  * Copyright (C) 2011 by Ludovic Delfau <ludovicdelfau at gmail dot com>
11  * Copyright (C) 2011 by Paolo de Vathaire <paolo dot devathaire 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) any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * ============================================================ */
24 
25 #ifndef DIGIKAM_MEDIAWIKI_IMAGE_H
26 #define DIGIKAM_MEDIAWIKI_IMAGE_H
27 
28 // Qt includes
29 
30 #include <QString>
31 
32 namespace MediaWiki
33 {
34 
38 class Image
39 {
40 public:
41 
45  Image();
46 
51  Image(const Image& other);
52 
56  ~Image();
57 
62  Image& operator=(const Image& other);
63 
69  bool operator==(const Image& other) const;
70 
75  qint64 namespaceId() const;
76 
81  void setNamespaceId(qint64 namespaceId);
82 
87  QString title() const;
88 
93  void setTitle(const QString& title);
94 
95 private:
96 
97  class Private;
98  Private* const d;
99 };
100 
101 } // namespace MediaWiki
102 
103 #endif // DIGIKAM_MEDIAWIKI_IMAGE_H
@ Image
Definition: coredbconstants.h:98
bool operator==(const SearchTextSettings &a, const SearchTextSettings &b)
Definition: searchtextbar.cpp:49