Huggle
build:^490^dce1e5c
|
Site. More...
#include <wikisite.hpp>
Public Member Functions | |
WikiSite (WikiSite *w) | |
WikiSite (const WikiSite &w) | |
WikiSite (QString name, QString url) | |
WikiSite (QString name, QString url, QString path, QString script, bool https, bool oauth, QString channel, QString wl) | |
This will create a new instance of wikisite with most of configuration. More... | |
Public Attributes | |
QString | IRCChannel |
IRC channel of this site, if it doesn't have a channel leave it empty. | |
QString | LongPath |
long article path (wiki/ for example on english wp) | |
QString | Name |
Name of wiki, used by huggle only. | |
QString | OAuthURL |
URL of oauth handler for this site. | |
QString | ScriptPath |
short path | |
bool | SupportHttps |
Whether the site supports the ssl. | |
bool | SupportOAuth |
QString | URL |
URL of wiki, no http prefix must be present. | |
QString | WhiteList |
Site.
Definition at line 19 of file wikisite.hpp.
WikiSite::WikiSite | ( | QString | name, |
QString | url, | ||
QString | path, | ||
QString | script, | ||
bool | https, | ||
bool | oauth, | ||
QString | channel, | ||
QString | wl | ||
) |
This will create a new instance of wikisite with most of configuration.
name | is a name of wiki for internal purposes |
url | is relative url to wiki (no http prefix) which must be terminated with slash |
path | is long path for articles, like wiki/ |
script | is short path w/ |
https | set this true if your wiki support https |
oauth | set this true if your wiki support oauth |
channel | irc |
wl | whitelist |
Definition at line 53 of file wikisite.cpp.
References IRCChannel, LongPath, Name, OAuthURL, ScriptPath, SupportHttps, URL, and WhiteList.
QString Huggle::WikiSite::WhiteList |
URL of whitelist, every site needs to have some, if your site doesn't have it leave it as test
Definition at line 36 of file wikisite.hpp.
Referenced by WikiSite().