digiKam
mediawiki_generalinfo.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 Manuel Campomanes <campomanes dot manuel 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_MEDIAWIKI_GENERALINFO_H
25 #define DIGIKAM_MEDIAWIKI_GENERALINFO_H
26 
27 // Qt includes
28 
29 #include <QDateTime>
30 #include <QString>
31 #include <QUrl>
32 
33 namespace MediaWiki
34 {
35 
39 class Generalinfo
40 {
41 
42 public:
43 
47  Generalinfo();
48 
53  Generalinfo(const Generalinfo& other);
54 
58  ~Generalinfo();
59 
64  Generalinfo& operator=(const Generalinfo& other);
65 
71  bool operator==(const Generalinfo& other) const;
72 
77  QString mainPage() const;
78 
83  void setMainPage(const QString& mainPage);
84 
89  QUrl url() const;
90 
95  void setUrl(const QUrl& url);
96 
101  QString siteName() const;
102 
107  void setSiteName(const QString& siteName);
108 
113  QString generator() const;
114 
119  void setGenerator(const QString& generator);
120 
125  QString phpVersion() const;
126 
131  void setPhpVersion(const QString& phpVersion);
132 
137  QString phpApi() const;
138 
143  void setPhpApi(const QString& phpApi);
144 
149  QString dataBaseType() const;
150 
155  void setDataBaseType(const QString& dataBaseType);
156 
161  QString dataBaseVersion() const;
162 
167  void setDataBaseVersion(const QString& dataBaseVersion);
168 
173  QString rev() const;
174 
179  void setRev(const QString& rev);
180 
185  QString cas() const;
186 
191  void setCas(const QString& cas);
192 
197  QString license() const;
198 
203  void setLicense(const QString& license);
204 
209  QString language() const;
210 
215  void setLanguage(const QString& language);
216 
221  QString fallBack8bitEncoding() const;
222 
227  void setFallBack8bitEncoding(const QString& fallBack8bitEncoding);
228 
233  QString writeApi() const;
234 
239  void setWriteApi(const QString& writeApi);
240 
245  QString timeZone() const;
246 
251  void setTimeZone(const QString& timeZone);
252 
257  QString timeOffset() const;
258 
263  void setTimeOffset(const QString& timeOffset);
264 
269  QString articlePath() const;
270 
275  void setArticlePath(const QString& articlePath);
276 
281  QString scriptPath() const;
282 
287  void setScriptPath(const QString& scriptPath);
288 
293  QString script() const;
294 
299  void setScript(const QString& script);
300 
305  QString variantArticlePath() const;
306 
311  void setVariantArticlePath(const QString& variantArticlePath);
312 
317  QUrl serverUrl() const;
318 
323  void setServerUrl(const QUrl& serverUrl);
324 
329  QString wikiId() const;
330 
335  void setWikiId(const QString& wikiId);
336 
341  QDateTime time() const;
342 
347  void setTime(const QDateTime& time);
348 
349 private:
350 
351  class Private;
352  Private* const d;
353 };
354 
355 } // namespace MediaWiki
356 
357 #endif // DIGIKAM_MEDIAWIKI_GENERALINFO_H
bool operator==(const SearchTextSettings &a, const SearchTextSettings &b)
Definition: searchtextbar.cpp:49
pt_script script