diff --git a/src/aboutdata.cpp b/src/aboutdata.cpp --- a/src/aboutdata.cpp +++ b/src/aboutdata.cpp @@ -35,7 +35,7 @@ VERSION, i18n(description), KAboutLicense::GPL_V2, i18n("Copyright © 2003–2007, Sébastien Laoût; Copyright © 2013–2019, Gleb Baryshev"), QString(), - "http://basket.kde.org/") + "https://basket.kde.org/") { //Pass basket.kde.org to constructor to be used as D-Bus domain name, but set the displayed address below setHomepage("https://launchpad.net/basket"); diff --git a/src/formatimporter.cpp b/src/formatimporter.cpp --- a/src/formatimporter.cpp +++ b/src/formatimporter.cpp @@ -130,7 +130,7 @@ // Move the folder to the new repository (normal basket) or copy the folder (mirrored folder): QString folderName = *it; if (folderName.startsWith('/')) { // It was a folder mirror: - KMessageBox::information(0, i18n("

Folder mirroring is not possible anymore (see basket-notepads.github.io for more information).

" + KMessageBox::information(0, i18n("

Folder mirroring is not possible anymore (see basket-notepads.github.io for more information).

" "

The folder %1 has been copied for the basket needs. You can either delete this folder or delete the basket, or use both. But remember that " "modifying one will not modify the other anymore as they are now separate entities.

", folderName), i18n("Folder Mirror Import"), "", KMessageBox::AllowLink); diff --git a/src/likeback.h b/src/likeback.h --- a/src/likeback.h +++ b/src/likeback.h @@ -67,7 +67,7 @@ * likeBack->sendACommentAction(actionCollection()); * @endcode * - * @see Visit http://basket.kde.org/likeback.php for more information, screenshots, a tutorial, hints, return of experiences, and to download the server-side developer interface... + * @see Visit https://basket.kde.org/likeback.php for more information, screenshots, a tutorial, hints, return of experiences, and to download the server-side developer interface... * @author Sebastien Laout */ class LikeBack : public QObject diff --git a/src/likeback.cpp b/src/likeback.cpp --- a/src/likeback.cpp +++ b/src/likeback.cpp @@ -758,7 +758,7 @@ // TODO: Replace the URL with a localized one: text += languagesMessage + ' ' + i18n("You may be able to use an online translation tool." - , "http://www.google.com/language_tools?hl=" + QLocale().language()) + ' '; + , "https://www.google.com/language_tools?hl=" + QLocale().language()) + ' '; // If both "I Like" and "I Dislike" buttons are shown and one is clicked: if ((m_likeBack->buttons() & LikeBack::Like) && (m_likeBack->buttons() & LikeBack::Dislike)) @@ -817,12 +817,12 @@ KIO::Integration::AccessManager *http = new KIO::Integration::AccessManager(this); QString urlString; - urlString = "http://" + m_likeBack->hostName() + ":" + m_likeBack->hostPort() + m_likeBack->remotePath(); + urlString = "https://" + m_likeBack->hostName() + ":" + m_likeBack->hostPort() + m_likeBack->remotePath(); QUrl url(urlString); QNetworkRequest request(url); request.setRawHeader("Content-Type", "application/x-www-form-urlencoded"); - qDebug() << "http://" << m_likeBack->hostName() << ":" << m_likeBack->hostPort() << m_likeBack->remotePath(); + qDebug() << "https://" << m_likeBack->hostName() << ":" << m_likeBack->hostPort() << m_likeBack->remotePath(); qDebug() << data; connect(http, SIGNAL(finished(QNetworkReply*)), this, SLOT(requestFinished(QNetworkReply*))); diff --git a/src/notedrag.cpp b/src/notedrag.cpp --- a/src/notedrag.cpp +++ b/src/notedrag.cpp @@ -239,7 +239,7 @@ // It's UTF16 (aka UCS2), but with the first two order bytes //stream.setEncoding(QTextStream::RawUnicode); // It's UTF16 (aka UCS2), but with the first two order bytes - //FIXME: find out if this is really equivalent, as http://doc.trolltech.com/4.5/qtextstream-qt3.html pretends + //FIXME: find out if this is really equivalent, as https://doc.qt.io/archives/3.3/qtextstream.html pretends stream.setCodec("UTF-16"); stream << xMozUrl; diff --git a/src/notefactory.cpp b/src/notefactory.cpp --- a/src/notefactory.cpp +++ b/src/notefactory.cpp @@ -898,8 +898,12 @@ title = title.remove(0, 5); // 5 == QString("file:").length() - 1 else if (title.startsWith(QLatin1String("http://www."))) title = title.remove(0, 11); // 11 == QString("http://www.").length() - 1 + else if (title.startsWith(QLatin1String("https://www."))) + title = title.remove(0, 12); // 12 == QString("https://www.").length() - 1 else if (title.startsWith(QLatin1String("http://"))) title = title.remove(0, 7); // 7 == QString("http://").length() - 1 + else if (title.startsWith(QLatin1String("https://"))) + title = title.remove(0, 8); // 8 == QString("https://").length() - 1 if (! url.isLocalFile()) { if (title.endsWith(QLatin1String("/index.html")) && title.length() > 11) diff --git a/src/settings.cpp b/src/settings.cpp --- a/src/settings.cpp +++ b/src/settings.cpp @@ -873,7 +873,7 @@ m_soundLook = new LinkLookEditWidget(this, i18n("Conference audio record"), "folder-sound", tabs); m_fileLook = new LinkLookEditWidget(this, i18n("Annual report"), "folder-documents", tabs); m_localLinkLook = new LinkLookEditWidget(this, i18n("Home folder"), "user-home", tabs); - m_networkLinkLook = new LinkLookEditWidget(this, "www.kde.org", KIO::iconNameForUrl(QUrl("http://www.kde.org")), tabs); + m_networkLinkLook = new LinkLookEditWidget(this, "kde.org", KIO::iconNameForUrl(QUrl("https://kde.org")), tabs); m_launcherLook = new LinkLookEditWidget(this, i18n("Launch %1", QGuiApplication::applicationDisplayName()), "basket", tabs); m_crossReferenceLook=new LinkLookEditWidget(this, i18n("Another basket"), "basket", tabs); @@ -996,7 +996,7 @@ "
  • Go to the \"Applications\" and then \"Default Applications\" section;
  • " "
  • Choose \"Web Browser\", check \"with the following command:\" and enter the name of your Web browser (like \"firefox\" or \"epiphany\").
  • " "" - "

    Now, when you click any link that start with \"http://...\", it will be opened in your Web browser (eg. Mozilla Firefox or Epiphany or...).

    " + "

    Now, when you click any link that start with \"https://...\", it will be opened in your Web browser (eg. Mozilla Firefox or Epiphany or...).

    " "

    For more fine-grained configuration (like opening only Web pages in your Web browser), read the second help link.

    "), this); hLay->addWidget(hl1); diff --git a/src/systemtray.cpp b/src/systemtray.cpp --- a/src/systemtray.cpp +++ b/src/systemtray.cpp @@ -113,7 +113,7 @@ setIconByName("basket"); else { // What pixmap size to use? For example, see how overlay icon is applied: - // http://api.kde.org/frameworks-api/frameworks5-apidocs/knotifications/html/kstatusnotifieritem_8cpp_source.html + // https://api.kde.org/frameworks-api/frameworks5-apidocs/knotifications/html/kstatusnotifieritem_8cpp_source.html // Code that comes from JuK: QPixmap bgPix = QIcon::fromTheme("basket").pixmap(22);