Commit 4d951b5f authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix minor EBN issues

parent 6ec4dc50
......@@ -30,9 +30,9 @@ class KJob;
/**
* This class provides the image for APOD
* "Astronomy Picture Of the Day"
* located at http://antwrp.gsfc.nasa.gov/apod.
* located at https://antwrp.gsfc.nasa.gov/apod.
* Direct link to the picture of the day page is
* http://antwrp.gsfc.nasa.gov/apod/apYYMMDD.html
* https://antwrp.gsfc.nasa.gov/apod/apYYMMDD.html
* where YY is the year last 2 digits,
* MM is the month and DD the day, in 2 digits.
*/
......
......@@ -28,7 +28,7 @@ class KJob;
/**
* This class provides the image for the Bing's homepage
* url is obtained from http://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1
* url is obtained from https://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1
*/
class BingProvider : public PotdProvider
{
......
......@@ -29,7 +29,7 @@
EpodProvider::EpodProvider( QObject *parent, const QVariantList &args )
: PotdProvider(parent, args)
{
const QUrl url(QStringLiteral("http://epod.usra.edu/blog/"));
const QUrl url(QStringLiteral("https://epod.usra.edu/blog/"));
KIO::StoredTransferJob *job = KIO::storedGet(url, KIO::NoReload, KIO::HideProgressInfo);
connect(job, &KIO::StoredTransferJob::finished, this, &EpodProvider::pageRequestFinished);
......@@ -58,7 +58,7 @@ void EpodProvider::pageRequestFinished(KJob *_job)
int pos = exp.indexIn( data ) + pattern.length();
const QString sub = data.mid( pos-4, pattern.length()+10);
const QUrl url(QStringLiteral("http://epod.usra.edu/.a/%1-pi").arg(sub));
const QUrl url(QStringLiteral("https://epod.usra.edu/.a/%1-pi").arg(sub));
KIO::StoredTransferJob *imageJob = KIO::storedGet( url, KIO::NoReload, KIO::HideProgressInfo );
connect(imageJob, &KIO::StoredTransferJob::finished, this, &EpodProvider::imageRequestFinished);
}
......
......@@ -30,7 +30,7 @@ class KJob;
/**
* This class provides the image for EPOD
* "Earth Science Picture Of the Day"
* located at http://epod.usra.edu/.
* located at https://epod.usra.edu/.
*/
class EpodProvider : public PotdProvider
{
......
......@@ -30,7 +30,7 @@
NatGeoProvider::NatGeoProvider(QObject *parent, const QVariantList &args)
: PotdProvider(parent, args)
{
const QUrl url(QStringLiteral("http://www.nationalgeographic.com/photography/photo-of-the-day/"));
const QUrl url(QStringLiteral("https://www.nationalgeographic.com/photography/photo-of-the-day/"));
KIO::StoredTransferJob *job = KIO::storedGet(url, KIO::NoReload, KIO::HideProgressInfo);
connect(job, &KIO::StoredTransferJob::finished, this, &NatGeoProvider::pageRequestFinished);
......
......@@ -31,7 +31,7 @@ class KJob;
/**
* This class provides the image for NOAA Environmental Visualization Laboratory
* Image Of the Day
* located at http://www.nesdis.noaa.gov/content/imagery-and-data.
* located at https://www.nesdis.noaa.gov/content/imagery-and-data.
*/
class NOAAProvider : public PotdProvider
{
......
......@@ -149,7 +149,7 @@ void MediaWiki::search( const QString &searchTerm )
void MediaWiki::findBase()
{
// http://en.wikipedia.org/w/api.php?action=query&meta=siteinfo
// https://en.wikipedia.org/w/api.php?action=query&meta=siteinfo
QUrl url = d->apiUrl;
QUrlQuery urlQuery(url);
urlQuery.addQueryItem(QStringLiteral("action"), QStringLiteral("query"));
......
......@@ -67,7 +67,7 @@ public:
/**
* Create a media wiki querying object with the specified parent. The querying
* object can be used for multple queries, though only one can be performed at
* object can be used for multiple queries, though only one can be performed at
* a time.
* @param parent The parent object
*/
......@@ -84,7 +84,7 @@ public:
/** Sets the maximum number of results to return.
*
* @param limit Maximumber number of results to retrieve
* @param limit Maximum number number of results to retrieve
*/
void setMaxItems( int limit );
......@@ -93,9 +93,9 @@ public:
/**
* Sets the URL at which the wikis API page can be found. For example, wikipedia
* has the API file at http://en.wikipedia.org/w/api.php whilst techbase has the
* has the API file at https://en.wikipedia.org/w/api.php whilst techbase has the
*
* @param url The URL of the api.php file, for example http://techbase.kde.org/api.php
* @param url The URL of the api.php file, for example https://techbase.kde.org/api.php
*/
void setApiUrl( const QUrl &url );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment