1. 12 Aug, 2020 1 commit
    • Nicolas Fella's avatar
      Fix opening kwallet manager · 0123b144
      Nicolas Fella authored
      We were trying to launch a service (kwalletmanager_open) that doesn't exist.
      kwalletmanager5_open exists though.
      
      We don't need to do special handling for the manager being open already given that kwalletmanager is a KDBusService.
      
      This has the nice sideeffect of getting rid of QDBusInterface and KToolInvokation
      0123b144
  2. 07 Aug, 2020 1 commit
    • Stefano Crocco's avatar
      Allow the user to choose how to open an URL from history when activating it · 48a0e965
      Stefano Crocco authored
      Previously, when the user double clicked an entry in the history dialog,
      the URL was opened in a new window, with no way to change this
      behaviour.
      
      Now the user can configure what to do when activating an entry
      choosing from:
      - always open the URL in the current tab
      - always open the URL in a new tab
      - always open the URL in a new window
      - open the URL in a new tab unless the current tab has a konq: URL or an
        empty URL, in which cases open the URL in the current tab.
      
      This also changes the behaviour of the history dialog so that the entry
      is opened when it is activated, not double clicked.
      
      The user's choice is also honoured from the history sidebar module,
      except that the last option can't be used because (as far as I can see),
      the module can't access the current URL. In the sidebar module, this
      option is considered as if it were "always open in a new tab".
      48a0e965
  3. 06 Aug, 2020 4 commits
  4. 05 Aug, 2020 1 commit
  5. 03 Aug, 2020 2 commits
  6. 01 Aug, 2020 2 commits
  7. 31 Jul, 2020 1 commit
  8. 28 Jul, 2020 2 commits
  9. 25 Jul, 2020 4 commits
  10. 23 Jul, 2020 4 commits
  11. 20 Jul, 2020 1 commit
  12. 19 Jul, 2020 3 commits
    • Stefano Crocco's avatar
      Mark the file downloaded from a blob as temporary · e6ee46cd
      Stefano Crocco authored
      When emitting the BrowserExtension::openUrlRequest for the file a blob
      URL was downloaded to, add an entry to
      KParts::OpenArgumentRequest::metaData. This entry is taken into account
      by KonqMainWindow::openUrlRequestHelper which will set the tempFile flag
      of the KonqOpenUrlRequest it creates to true.
      
      This way, if the file is opened in Konqueror, it's deleted when the
      corresponding tab does. It doesn't have any effect if the file is opened
      in an external application.
      e6ee46cd
    • Stefano Crocco's avatar
      Use KJobTrackerInterface · affaab82
      Stefano Crocco authored
      affaab82
    • Stefano Crocco's avatar
      Add support for full screen web pages · bc3a0717
      Stefano Crocco authored
      Konqueror already has a full screen mode where the menu bar and the
      title bar are hidden and the window takes all the space in the screen.
      However, this isn't enough as some web pages (for example when those
      playing a video) now expect a full screen mode (which I call complete
      full screen) where an element of the page, and not just the window,
      takes all the screen.
      
      To achieve this kind of full screen, it's necessary to hide not only the
      menu bar and the title bar, but also the status bar, the tab bar and the
      tool bars. In theory, also the side bar and the terminal emulator should
      be hidden, but this commit doesn't to that.
      
      When switching to a different tab, the complete full screen mode is
      automatically exited (because it's strictly related to the contents
      of the page). Complete full screen mode is NOT entered again
      automatically when switching back to the previous page. This is
      consistent with the behavior of other browsers such as Chrome or
      FireFox.
      
      If Konqueror is exited while in complete full screen mode, its main
      window settings are not saved.
      bc3a0717
  13. 18 Jul, 2020 4 commits
  14. 17 Jul, 2020 3 commits
    • Jonathan Marten's avatar
      Port and update the Sidebar · 43d36acc
      Jonathan Marten authored
      No need to link with KDELibs4Support
      Use Qt5 signal connection syntax
      kDebug(), qDebug() -> qCDebug() with logging category
      Use 'override' as identified by GCC 9.3.0
      No need for KonqPlacesCustomPlacesView
      KInputDialog -> QInputDialog
      SmallIcon() -> QIcon::fromTheme()
      KMenu -> QMenu
      Correct icon names for Bookmarks and History
      Correct use of QStandardPaths::locateAll() in ModuleManager::availablePlugins()
      
      Ignoring for the moment subdirectories 'trees' (which needs Qt3Support)
      and 'web_module' (which depends on KHTML).
      43d36acc
    • Stefano Crocco's avatar
      4f02e435
    • Jonathan Marten's avatar
      Port and update the Konqueror settings · 818eb665
      Jonathan Marten authored
      kDebug(), qDebug() -> qCDebug() with logging category
      No need to link with KDELibs4Support
      Use Qt5 signal connection syntax
      Remove konq/kcustommenueditor.*, no longer used and needs Qt3Support
      Convert deprecated What's This -> tool tips
      Remove konqhtml/pluginopts.* and associated, Netscape plugins not supported since KDE3
      Remove konqhtml/khttpoptdlg.*, no longer supported or accessible from GUI
      KDialog -> QDialog
      QObject::blockSignals() -> QSignalBlocker
      KCModule::changed() -> markAsChanged()
      Make the adblock import/export help appear again
      KFileDialog -> QFileDialog
      KIntSpinBox -> QSpinBox
      818eb665
  15. 15 Jul, 2020 7 commits
    • Jonathan Marten's avatar
      Port and update the Shell Command plugin · 42a4e4db
      Jonathan Marten authored
      kDebug(), qDebug() -> qCDebug() with logging category
      No need to link with KDELibs4Support
      Use Qt5 signal connection syntax
      KDialog -> QDialog
      KInputDialog -> QInputDialog
      KIO::NetAccess::mostLocalUrl() -> KIO::mostLocalUrl()
      42a4e4db
    • Jonathan Marten's avatar
      Port and update the WebEnginePart · 1b6ba1e8
      Jonathan Marten authored
      kDebug(), qDebug() -> qCDebug() with logging category
      Use Qt5 signal connection syntax
      KSslInfoDialog::errorsFromString() -> certificatErrorsFromString()
      Comment out unused KParts::SelectorInterface functions
      QHostAddress::operator=(QString) -> QHostAddress(QString)
      1b6ba1e8
    • Jonathan Marten's avatar
      Port and update the Search Bar plugin · 7830a5a0
      Jonathan Marten authored
      kDebug(), qDebug() -> qCDebug() with logging category
      Use Qt5 signal connection syntax
      No need to link with KDELibs4Support
      KLocale -> QLocale
      QUrl::addQueryItem() -> QUrlQuery
      QWeakPointer -> QPointer
      QFontMetrics::width() -> horizontalAdvance()
      Warning regarding deprecated QScriptEngine
      
      Using a QWeakPointer as a tracked pointer to a QObject is now
      deprecated as obsolete, so the most appropriate type to use for
      maintaining a reference to the associated KPart would seem to
      be a QPointer.
      7830a5a0
    • Jonathan Marten's avatar
      Port and update the Image Gallery plugin · f4137b33
      Jonathan Marten authored
      kDebug(), qDebug() -> qCDebug() with logging category
      No need to link with KDELibs4Support
      Convert layouts to use QFormLayout
      KIntNumInput -> QSpinBox
      Use Qt5 signal connection syntax
      Replace deprecated "What's This" with tool tips
      KToolInvocation::invokeBrowser() -> QDesktopServices::openUrl()
      KLocale::formatDate() -> QLocale
      KImageIO::pattern() -> QImageReader/QMimeDatabase
      KIO::NetAccess::file_copy() -> QFile::copy() - files are known to be local
      f4137b33
    • Stefano Crocco's avatar
      Remove signal emission · e66e1d6b
      Stefano Crocco authored
      e66e1d6b
    • Stefano Crocco's avatar
    • Stefano Crocco's avatar