/usr/include/libmediawiki/generalinfo.h is in libmediawiki-dev 1.0~digikam3.5.0-0ubuntu10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 | /** ===========================================================
* @file
*
* This file is a part of KDE project
* <a href="https://projects.kde.org/projects/extragear/libs/libmediawiki">libmediawiki</a>
*
* @date 2011-03-22
* @brief a MediaWiki C++ interface for KDE
*
* @author Copyright (C) 2011-2012 by Gilles Caulier
* <a href="mailto:caulier dot gilles at gmail dot com">caulier dot gilles at gmail dot com</a>
* @author Copyright (C) 2011 by Manuel Campomanes
* <a href="mailto:campomanes dot manuel at gmail dot com">campomanes dot manuel at gmail dot com</a>
*
* This program is free software; you can redistribute it
* and/or modify it under the terms of the GNU General
* Public License as published by the Free Software Foundation;
* either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* ============================================================ */
#ifndef GENERALINFO_H
#define GENERALINFO_H
// Qt includes
#include <QtCore/QDateTime>
#include <QtCore/QString>
#include <QtCore/QUrl>
// Local includes
#include "mediawiki_export.h"
namespace mediawiki
{
/**
* @brief A general info.
*/
class MEDIAWIKI_EXPORT Generalinfo
{
public:
/**
* @brief Constructs a general info.
*/
Generalinfo();
/**
* @brief Constructs a generalinfo from an other generalinfo.
* @param other an other generalinfo
*/
Generalinfo(const Generalinfo& other);
/**
* @brief Destructs a general info.
*/
~Generalinfo();
/**
* @brief Assingning an image from an other image.
* @param other an other image
*/
Generalinfo& operator=(const Generalinfo& other);
/**
* @brief Returns true if this instance and other are equal, else false.
* @param other instance to compare
* @return true if there are equal, else false
*/
bool operator==(const Generalinfo& other) const;
/**
* @brief Get the name of the main page.
* @return the name of the main page
*/
QString mainPage() const;
/**
* @brief Set the name of the main page.
* @param mainPage the name of the main page
*/
void setMainPage(const QString& mainPage);
/**
* @brief Get the url of the page.
* @return the url of the page
*/
QUrl url() const;
/**
* @brief Set the url of the page.
* @param url the url of the page
*/
void setUrl(const QUrl& url);
/**
* @brief Get the name of the web site.
* @return the name of the web site
*/
QString siteName() const;
/**
* @brief Set the name of the web site.
* @param siteName the name of the web site
*/
void setSiteName(const QString& siteName);
/**
* @brief Get the generator.
* @return the generator
*/
QString generator() const;
/**
* @brief Set the generator.
* @param generator
*/
void setGenerator(const QString& generator);
/**
* @brief Get the PHP version.
* @return the PHP version
*/
QString phpVersion() const;
/**
* @brief Set the PHP version.
* @param phpVersion the PHP version
*/
void setPhpVersion(const QString& phpVersion);
/**
* @brief Get the PHP API name.
* @return the PHP API name
*/
QString phpApi() const;
/**
* @brief Set the PHP API name.
* @param phpApi the PHP API name
*/
void setPhpApi(const QString& phpApi);
/**
* @brief Get the type of the database.
* @return the type of the database
*/
QString dataBaseType() const;
/**
* @brief Set the type of the database.
* @param dataBaseType the type of the database
*/
void setDataBaseType(const QString& dataBaseType);
/**
* @brief Get the version of the database.
* @return the version of the database
*/
QString dataBaseVersion() const;
/**
* @brief Set the version of the database.
* @param dataBaseVersion the version of the database
*/
void setDataBaseVersion(const QString& dataBaseVersion);
/**
* @brief Get the rev number.
* @return the rev number
*/
QString rev() const;
/**
* @brief Set the rev number.
* @param rev the rev number
*/
void setRev(const QString& rev);
/**
* @brief Get the case.
* @return the case
*/
QString cas() const;
/**
* @brief Set the case.
* @param cas the case
*/
void setCas(const QString& cas);
/**
* @brief Get the licence.
* @return the licence
*/
QString licence() const;
/**
* @brief Set the licence.
* @param licence the licence
*/
void setLicence(const QString& licence);
/**
* @brief Get the language.
* @return the language
*/
QString language() const;
/**
* @brief Set the language.
* @param language
*/
void setLanguage(const QString& language);
/**
* @brief Get the fallBack8bitEncoding.
* @return the fallBack8bitEncoding
*/
QString fallBack8bitEncoding() const;
/**
* @brief Set the fallBack8bitEncoding.
* @param fallBack8bitEncoding
*/
void setFallBack8bitEncoding(const QString& fallBack8bitEncoding);
/**
* @brief Get the writeApi.
* @return the writeApi
*/
QString writeApi() const;
/**
* @brief Set the writeApi.
* @param writeApi
*/
void setWriteApi(const QString& writeApi);
/**
* @brief Get the timeZone.
* @return the timeZone
*/
QString timeZone() const;
/**
* @brief Set the timeZone.
* @param timeZone
*/
void setTimeZone(const QString& timeZone);
/**
* @brief Get the timeOffset.
* @return the timeOffset
*/
QString timeOffset() const;
/**
* @brief Set the timeOffset.
* @param timeOffset
*/
void setTimeOffset(const QString& timeOffset);
/**
* @brief Get the path of the article.
* @return the path of the article
*/
QString articlePath() const;
/**
* @brief Set the path of the article.
* @param articlePath the path of the article
*/
void setArticlePath(const QString& articlePath);
/**
* @brief Get the path of the script.
* @return the path of the script
*/
QString scriptPath() const;
/**
* @brief Set the path of the script.
* @param scriptPath the path of the script
*/
void setScriptPath(const QString& scriptPath);
/**
* @brief Get the path of the script file.
* @return the path of the script file
*/
QString script() const;
/**
* @brief Set the path of the script file.
* @param script the path of the script file
*/
void setScript(const QString& script);
/**
* @brief Get the path of the variant article.
* @return the path of the variant article
*/
QString variantArticlePath() const;
/**
* @brief Set the path of the variant article.
* @param variantArticlePath the path of the variant article
*/
void setVariantArticlePath(const QString& variantArticlePath);
/**
* @brief Get the url of the server.
* @return the url of the server
*/
QUrl serverUrl() const;
/**
* @brief Set the url of the server.
* @param serverUrl the url of the server
*/
void setServerUrl(const QUrl& serverUrl);
/**
* @brief Get the id of the wiki.
* @return the id of the wiki
*/
QString wikiId() const;
/**
* @brief Set the id of the wiki.
* @param wikiId the id of the wiki
*/
void setWikiId(const QString& wikiId);
/**
* @brief Get the time.
* @return the time
*/
QDateTime time() const;
/**
* @brief Set the time.
* @param time
*/
void setTime(const QDateTime& time);
private:
class GeneralinfoPrivate;
GeneralinfoPrivate* const d;
};
} // namespace mediawiki
#endif // GENERALINFO_H
|