├── CMakeLists.txt ├── COPYING ├── COPYING.DOC ├── COPYING.LIB ├── CTestConfig.cmake ├── Mainpage.dox ├── README ├── kdepasswd ├── CMakeLists.txt ├── Messages.sh ├── README ├── kdepasswd.cpp ├── kdepassword_debug.cpp ├── kdepassword_debug.h ├── org.kde.kdepasswd.desktop ├── passwd.cpp ├── passwd.h ├── passwddlg.cpp └── passwddlg.h ├── kdialog ├── CMakeLists.txt ├── COPYING ├── COPYING.DOC ├── Messages.sh ├── README ├── config-kdialog.h.cmake ├── dialog-compat.txt ├── kdialog.cpp ├── klistboxdialog.cpp ├── klistboxdialog.h ├── org.kde.kdialog.ProgressDialog.xml ├── progresscanceldemo ├── progressdemo ├── progressdialog.cpp ├── progressdialog.h ├── test ├── widgets.cpp └── widgets.h ├── keditbookmarks ├── CMakeLists.txt ├── DESIGN ├── Messages.sh ├── TODO ├── actionsimpl.cpp ├── actionsimpl.h ├── bookmarkinfowidget.cpp ├── bookmarkinfowidget.h ├── bookmarkiterator.cpp ├── bookmarkiterator.h ├── bookmarklistview.cpp ├── bookmarklistview.h ├── exporters.cpp ├── exporters.h ├── favicons.cpp ├── favicons.h ├── faviconupdater.cpp ├── faviconupdater.h ├── globalbookmarkmanager.cpp ├── globalbookmarkmanager.h ├── importers.cpp ├── importers.h ├── kbookmarkmerger.cpp ├── kbookmarkmodel │ ├── CMakeLists.txt │ ├── commandhistory.cpp │ ├── commandhistory.h │ ├── commands.cpp │ ├── commands.h │ ├── commands_p.h │ ├── kinsertionsort_p.h │ ├── model.cpp │ ├── model.h │ ├── tests │ │ ├── CMakeLists.txt │ │ ├── kbookmarkmodeltest.cpp │ │ └── kde-bug-258505-bookmarks.xml │ ├── treeitem.cpp │ ├── treeitem_p.h │ ├── view.cpp │ └── view.h ├── kebsearchline.cpp ├── kebsearchline.h ├── keditbookmarks-genui.rc ├── keditbookmarks.kcfg ├── keditbookmarksui.rc ├── main.cpp ├── org.kde.keditbookmarks.desktop ├── settings.kcfgc ├── testlink.cpp ├── testlink.h ├── toplevel.cpp └── toplevel.h ├── kfind ├── CMakeLists.txt ├── COPYING ├── COPYING.DOC ├── Messages.sh ├── docs │ ├── CMakeLists.txt │ ├── index.docbook │ └── man-kfind.1.docbook ├── icons │ ├── 16-apps-kfind.png │ ├── 22-apps-kfind.png │ ├── 32-apps-kfind.png │ ├── 48-apps-kfind.png │ ├── 64-apps-kfind.png │ └── CMakeLists.txt ├── kdatecombo.cpp ├── kdatecombo.h ├── kfinddlg.cpp ├── kfinddlg.h ├── kfindtreeview.cpp ├── kfindtreeview.h ├── kftabdlg.cpp ├── kftabdlg.h ├── kquery.cpp ├── kquery.h ├── main.cpp ├── org.kde.kfind.appdata.xml └── org.kde.kfind.desktop └── konqueror ├── AUTHORS ├── CMakeLists.txt ├── ChangeLog ├── DESIGN ├── DESIGN_config ├── Messages.sh ├── about ├── CMakeLists.txt ├── box-centre-konqueror.png ├── intro.html ├── konq.css ├── konq_aboutpage.cpp ├── konq_aboutpage.desktop ├── konq_aboutpage.h ├── konqaboutpage.desktop ├── launch.html ├── lightning.png ├── plugins.html ├── plugins_rtl.html ├── specs.html ├── tips.html └── top-left-konqueror.png ├── autotests ├── CMakeLists.txt ├── historymanagertest.cpp ├── konqhtmltest.cpp ├── konqviewmgrtest.cpp ├── konqviewmgrtest.h ├── konqviewtest.cpp ├── undomanagertest.cpp └── util.h ├── client ├── CMakeLists.txt ├── ChangeLog ├── Messages.sh ├── kfmclient.cpp └── kfmclient.h ├── config-konqueror.h.cmake ├── doc ├── CMakeLists.txt ├── cmndline.png ├── dirtree.png ├── dragdrop.png ├── folders.png ├── format-font-size-less.png ├── format-font-size-more.png ├── go-jump.png ├── grouping-view.png ├── index.docbook ├── konqorg.png ├── look.png ├── man-kbookmarkmerger.1.docbook ├── parts.png ├── reset.png ├── thumbnails.png └── viewproperties-dialog.png ├── kfmclient.desktop ├── kfmclient_html.desktop ├── kfmclient_war.desktop ├── konqbrowser.desktop ├── konqy_preload.desktop ├── libkonq ├── AUTHORS ├── CMakeLists.txt ├── COPYING ├── COPYING.LIB ├── DESIGN ├── KF5KonqConfig.cmake.in ├── Mainpage.dox ├── Messages.sh ├── SERVICEMENUS ├── autotests │ ├── CMakeLists.txt │ ├── konqpopupmenutest.cpp │ └── konqpopupmenutest.h └── src │ ├── CMakeLists.txt │ ├── directory_bookmarkbar.desktop │ ├── konq_events.cpp │ ├── konq_events.h │ ├── konq_historyentry.cpp │ ├── konq_historyentry.h │ ├── konq_historyloader.cpp │ ├── konq_historyloader_p.h │ ├── konq_historyprovider.cpp │ ├── konq_historyprovider.h │ ├── konq_popupmenu.cpp │ └── konq_popupmenu.h ├── org.kde.konqueror.appdata.xml ├── org.kde.konqueror.desktop ├── pics ├── 128-apps-konqueror.png ├── 16-apps-konqueror.png ├── 22-apps-konqueror.png ├── 32-apps-konqueror.png ├── 48-apps-konqueror.png ├── 64-apps-konqueror.png ├── CMakeLists.txt ├── hisc-app-konqueror.svgz └── indicators │ ├── CMakeLists.txt │ ├── indicator_connect.png │ ├── indicator_empty.png │ ├── indicator_noconnect.png │ └── indicator_viewactive.png ├── plugins ├── CMakeLists.txt ├── COPYING ├── COPYING.DOC ├── COPYING.LIB ├── README ├── adblock │ ├── CMakeLists.txt │ ├── Messages.sh │ ├── adblock.cpp │ ├── adblock.h │ ├── adblockdialog.cpp │ ├── adblockdialog.h │ ├── plugin_adblock.desktop │ └── plugin_adblock.rc ├── akregator │ ├── CMakeLists.txt │ ├── Messages.sh │ ├── akregator_konqfeedicon.desktop │ ├── akregator_konqfeedicon.rc │ ├── akregator_konqplugin.desktop │ ├── akregatorplugin.cpp │ ├── akregatorplugin.h │ ├── feed.png │ ├── feed.svg │ ├── feeddetector.cpp │ ├── feeddetector.h │ ├── konqfeedicon.cpp │ ├── konqfeedicon.h │ ├── pluginbase.cpp │ └── pluginbase.h ├── autorefresh │ ├── CMakeLists.txt │ ├── Messages.sh │ ├── autorefresh.cpp │ ├── autorefresh.desktop │ ├── autorefresh.h │ └── autorefresh.rc ├── babelfish │ ├── 16-actions-babelfish.png │ ├── 22-actions-babelfish.png │ ├── CMakeLists.txt │ ├── Messages.sh │ ├── plugin_babelfish.cpp │ ├── plugin_babelfish.h │ ├── plugin_babelfish.rc │ ├── plugin_translator.desktop │ └── translaterc ├── dirfilter │ ├── CMakeLists.txt │ ├── Messages.sh │ ├── dirfilterplugin.cpp │ ├── dirfilterplugin.desktop │ ├── dirfilterplugin.h │ └── dirfilterplugin.rc ├── domtreeviewer │ ├── CMakeLists.txt │ ├── Messages.sh │ ├── attributeeditwidget.ui │ ├── domlistviewitem.cpp │ ├── domlistviewitem.h │ ├── domtreecommands.cpp │ ├── domtreecommands.h │ ├── domtreeview.cpp │ ├── domtreeview.h │ ├── domtreeviewbase.ui │ ├── domtreeviewerui.rc │ ├── domtreewindow.cpp │ ├── domtreewindow.h │ ├── elementeditwidget.ui │ ├── messagedialog.ui │ ├── plugin_domtreeviewer.cpp │ ├── plugin_domtreeviewer.desktop │ ├── plugin_domtreeviewer.h │ ├── plugin_domtreeviewer.rc │ ├── signalreceiver.cpp │ ├── signalreceiver.h │ └── texteditwidget.ui ├── fsview │ ├── 22-apps-fsview.png │ ├── 32-apps-fsview.png │ ├── CMakeLists.txt │ ├── Messages.sh │ ├── README │ ├── fsview.cpp │ ├── fsview.desktop │ ├── fsview.h │ ├── fsview_part.cpp │ ├── fsview_part.desktop │ ├── fsview_part.h │ ├── fsview_part.rc │ ├── inode.cpp │ ├── inode.h │ ├── main.cpp │ ├── scan.cpp │ ├── scan.h │ ├── tests │ │ ├── CMakeLists.txt │ │ └── scantest.cpp │ ├── treemap.cpp │ └── treemap.h ├── imagerotation │ ├── CMakeLists.txt │ ├── exif.py │ ├── imageconverter.desktop │ ├── jpegorient │ ├── jpegorient.desktop │ └── orient.py ├── khtmlsettingsplugin │ ├── CMakeLists.txt │ ├── Messages.sh │ ├── khtmlsettingsplugin.desktop │ ├── khtmlsettingsplugin.rc │ ├── settingsplugin.cpp │ └── settingsplugin.h ├── kimgalleryplugin │ ├── 16-actions-imagegallery.png │ ├── 22-actions-imagegallery.png │ ├── CMakeLists.txt │ ├── Messages.sh │ ├── imgallerydialog.cpp │ ├── imgallerydialog.h │ ├── imgalleryplugin.cpp │ ├── imgalleryplugin.h │ ├── kimgalleryplugin.desktop │ └── kimgalleryplugin.rc ├── microformat │ ├── CMakeLists.txt │ ├── Messages.sh │ ├── README │ ├── konqmficon.cpp │ ├── konqmficon.h │ ├── mf_konqmficon.desktop │ ├── mf_konqmficon.rc │ ├── microformat.png │ ├── microformat.svgz │ ├── pluginbase.cpp │ └── pluginbase.h ├── minitools │ ├── CMakeLists.txt │ ├── Messages.sh │ ├── minitoolsplugin.cpp │ ├── minitoolsplugin.desktop │ ├── minitoolsplugin.h │ └── minitoolsplugin.rc ├── rellinks │ ├── AUTHORS │ ├── CMakeLists.txt │ ├── ChangeLog │ ├── Messages.sh │ ├── README │ ├── TODO │ ├── plugin_rellinks.cpp │ ├── plugin_rellinks.desktop │ ├── plugin_rellinks.h │ ├── plugin_rellinks.rc │ ├── rellinks.kdevelop │ └── rellinks.lsm ├── searchbar │ ├── CMakeLists.txt │ ├── Messages.sh │ ├── OpenSearchManager.cpp │ ├── OpenSearchManager.h │ ├── SuggestionEngine.cpp │ ├── SuggestionEngine.h │ ├── WebShortcutWidget.cpp │ ├── WebShortcutWidget.h │ ├── icons │ │ ├── 16-actions-google.png │ │ ├── 22-actions-google.png │ │ ├── 32-actions-google.png │ │ ├── 48-actions-google.png │ │ ├── 64-actions-google.png │ │ ├── CMakeLists.txt │ │ └── oxsc-actions-google.svgz │ ├── opensearch │ │ ├── CMakeLists.txt │ │ ├── OpenSearchEngine.cpp │ │ ├── OpenSearchEngine.h │ │ ├── OpenSearchReader.cpp │ │ ├── OpenSearchReader.h │ │ ├── OpenSearchWriter.cpp │ │ ├── OpenSearchWriter.h │ │ └── engines │ │ │ ├── CMakeLists.txt │ │ │ └── google.xml │ ├── searchbar.cpp │ ├── searchbar.desktop │ ├── searchbar.h │ └── searchbar.rc ├── shellcmdplugin │ ├── CMakeLists.txt │ ├── Messages.sh │ ├── kshellcmddialog.cpp │ ├── kshellcmddialog.h │ ├── kshellcmdexecutor.cpp │ ├── kshellcmdexecutor.h │ ├── kshellcmdplugin.cpp │ ├── kshellcmdplugin.desktop │ ├── kshellcmdplugin.h │ └── kshellcmdplugin.rc ├── ttsplugin │ ├── CMakeLists.txt │ ├── Messages.sh │ ├── khtmltts.cpp │ ├── khtmltts.desktop │ ├── khtmltts.h │ └── khtmltts.rc ├── uachanger │ ├── CMakeLists.txt │ ├── Messages.sh │ ├── uachangerplugin.cpp │ ├── uachangerplugin.desktop │ ├── uachangerplugin.h │ └── uachangerplugin.rc ├── uninstall.desktop ├── validators │ ├── CMakeLists.txt │ ├── FindLibTidy.cmake │ ├── Messages.sh │ ├── clickiconlabel.cpp │ ├── clickiconlabel.h │ ├── config-konq-validator.h.cmake │ ├── internalvalidator.ui │ ├── pics │ │ ├── 16-actions-cssvalidator.png │ │ ├── 16-actions-htmlvalidator.png │ │ ├── 16-actions-validators.png │ │ ├── 22-actions-cssvalidator.png │ │ ├── 22-actions-htmlvalidator.png │ │ ├── 22-actions-validators.png │ │ ├── 32-actions-htmlvalidator.png │ │ ├── 32-actions-validators.png │ │ ├── 48-actions-htmlvalidator.png │ │ ├── 48-actions-validators.png │ │ ├── 64-actions-htmlvalidator.png │ │ ├── 64-actions-validators.png │ │ ├── CMakeLists.txt │ │ ├── sc-actions-htmlvalidator.svgz │ │ └── sc-actions-validators.svgz │ ├── plugin_validators.cpp │ ├── plugin_validators.desktop │ ├── plugin_validators.h │ ├── plugin_validators.rc │ ├── remotevalidators.ui │ ├── reportdialog.cpp │ ├── reportdialog.h │ ├── reportwidget.ui │ ├── settings.kcfgc │ ├── tidy_validator.cpp │ ├── tidy_validator.h │ ├── validators.kcfg │ ├── validatorsdialog.cpp │ └── validatorsdialog.h └── webarchiver │ ├── CMakeLists.txt │ ├── Messages.sh │ ├── archivedialog.cpp │ ├── archivedialog.h │ ├── archiveviewbase.ui │ ├── hi16-actions-webarchiver.png │ ├── hi22-actions-webarchiver.png │ ├── plugin_webarchiver.cpp │ ├── plugin_webarchiver.desktop │ ├── plugin_webarchiver.h │ ├── plugin_webarchiver.rc │ ├── webarchivecreator.cpp │ ├── webarchivecreator.h │ └── webarchivethumbnail.desktop ├── settings ├── CMakeLists.txt ├── bookmarks │ ├── CMakeLists.txt │ ├── Messages.sh │ ├── bookmarks.cpp │ ├── bookmarks.desktop │ ├── bookmarks.h │ ├── bookmarks.ui │ └── main.cpp ├── konq │ ├── CMakeLists.txt │ ├── Messages.sh │ ├── README │ ├── behaviour.cpp │ ├── behaviour.h │ ├── fileappearance.desktop │ ├── filebehavior.desktop │ ├── kcustommenueditor.cpp │ ├── kcustommenueditor.h │ ├── konqkcmfactory.cpp │ ├── konqkcmfactory.h │ ├── onlyone.png │ ├── overlapping.png │ ├── tests │ │ └── kcustommenueditortest.cpp │ ├── webappearance.desktop │ └── webbehavior.desktop ├── konqhtml │ ├── CMakeLists.txt │ ├── Messages.sh │ ├── advancedTabOptions.ui │ ├── appearance.cpp │ ├── appearance.h │ ├── css │ │ ├── cssconfig.ui │ │ ├── csscustom.ui │ │ ├── kcmcss.cpp │ │ ├── kcmcss.desktop │ │ ├── kcmcss.h │ │ ├── template.cpp │ │ ├── template.css │ │ └── template.h │ ├── domainlistview.cpp │ ├── domainlistview.h │ ├── filteropts.cpp │ ├── filteropts.h │ ├── generalopts.cpp │ ├── generalopts.h │ ├── htmlopts.cpp │ ├── htmlopts.h │ ├── javaopts.cpp │ ├── javaopts.h │ ├── jsopts.cpp │ ├── jsopts.h │ ├── jspolicies.cpp │ ├── jspolicies.h │ ├── khtml_appearance.desktop │ ├── khtml_behavior.desktop │ ├── khtml_filter.desktop │ ├── khtml_general.desktop │ ├── khtml_java_js.desktop │ ├── khttpoptdlg.cpp │ ├── khttpoptdlg.h │ ├── main.cpp │ ├── main.h │ ├── nsconfigwidget.ui │ ├── pluginopts.cpp │ ├── pluginopts.h │ ├── policies.cpp │ ├── policies.h │ ├── policydlg.cpp │ └── policydlg.h └── performance │ ├── CMakeLists.txt │ ├── Messages.sh │ ├── kcmkonqyperformance.desktop │ ├── kcmperformance.cpp │ ├── kcmperformance.desktop │ ├── kcmperformance.h │ ├── konqueror.cpp │ ├── konqueror.h │ ├── konqueror_ui.ui │ ├── system.cpp │ ├── system.h │ └── system_ui.ui ├── sidebar ├── CMakeLists.txt ├── default_entries │ ├── CMakeLists.txt │ ├── bookmarks.desktop │ ├── history.desktop │ ├── home.desktop │ ├── places.desktop │ ├── remote.desktop │ ├── root.desktop │ └── services.desktop ├── history_module │ ├── CMakeLists.txt │ ├── history_dlg.ui │ ├── history_module.cpp │ ├── history_module.h │ ├── kcmhistory.cpp │ ├── kcmhistory.desktop │ ├── kcmhistory.h │ └── konqsidebar_history.desktop ├── konq_sidebartng.desktop ├── konqmultitabbar.cpp ├── konqmultitabbar.h ├── konqsidebarplugin.cpp ├── konqsidebarplugin.h ├── konqsidebartngrc ├── module_manager.cpp ├── module_manager.h ├── places_module │ ├── CMakeLists.txt │ ├── konqsidebar_places.desktop │ ├── places_module.cpp │ └── places_module.h ├── sidebar_part.cpp ├── sidebar_part.h ├── sidebar_widget.cpp ├── sidebar_widget.h ├── test │ ├── CMakeLists.txt │ ├── konqsidebartest.cpp │ ├── konqsidebartest.h │ ├── modulemanagertest.cpp │ └── test.desktop ├── trees │ ├── CMakeLists.txt │ ├── bookmark_module │ │ ├── CMakeLists.txt │ │ ├── bookmark_item.cpp │ │ ├── bookmark_item.h │ │ ├── bookmark_module.cpp │ │ └── bookmark_module.h │ ├── dirtree_module │ │ ├── CMakeLists.txt │ │ ├── dirtree_item.cpp │ │ ├── dirtree_item.h │ │ ├── dirtree_module.cpp │ │ └── dirtree_module.h │ ├── init │ │ ├── CMakeLists.txt │ │ ├── README │ │ ├── bookmarks_module.desktop │ │ ├── dirtree_module.desktop │ │ ├── remote │ │ │ ├── .directory │ │ │ ├── CMakeLists.txt │ │ │ ├── ftp │ │ │ │ ├── .directory │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── kde_ftp.desktop │ │ │ └── web │ │ │ │ ├── .directory │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── apps_web.desktop │ │ │ │ ├── dot_web.desktop │ │ │ │ ├── kde_web.desktop │ │ │ │ └── look_web.desktop │ │ └── services │ │ │ ├── .directory │ │ │ ├── CMakeLists.txt │ │ │ ├── applications.desktop │ │ │ ├── printsystem.desktop │ │ │ └── settings.desktop │ ├── konq_sidebartree.cpp │ ├── konq_sidebartree.h │ ├── konq_sidebartreeitem.cpp │ ├── konq_sidebartreeitem.h │ ├── konq_sidebartreemodule.h │ ├── konq_sidebartreetoplevelitem.cpp │ ├── konq_sidebartreetoplevelitem.h │ ├── konqsidebar_oldtreemodule.cpp │ ├── konqsidebar_oldtreemodule.h │ └── konqsidebar_tree.desktop └── web_module │ ├── CMakeLists.txt │ ├── TODO │ ├── konqsidebar_web.desktop │ ├── test_websidebar.html │ ├── web_module.cpp │ └── web_module.h ├── src ├── CMakeLists.txt ├── KonqMainWindowAdaptor.cpp ├── KonqMainWindowAdaptor.h ├── KonqViewAdaptor.cpp ├── KonqViewAdaptor.h ├── KonquerorAdaptor.cpp ├── KonquerorAdaptor.h ├── config-konqueror.h.cmake ├── delayedinitializer.cpp ├── delayedinitializer.h ├── konq_statusbarmessagelabel.cpp ├── konq_statusbarmessagelabel.h ├── konqactions.cpp ├── konqactions.h ├── konqanimatedlogo.cpp ├── konqanimatedlogo_p.h ├── konqapplication.cpp ├── konqapplication.h ├── konqbookmarkbar.cpp ├── konqbookmarkbar.h ├── konqbrowseriface.cpp ├── konqbrowseriface.h ├── konqcloseditem.cpp ├── konqcloseditem.h ├── konqclosedwindowsmanager.cpp ├── konqclosedwindowsmanager.h ├── konqcombo.cpp ├── konqcombo.h ├── konqdraggablelabel.cpp ├── konqdraggablelabel.h ├── konqextendedbookmarkowner.h ├── konqextensionmanager.cpp ├── konqextensionmanager.h ├── konqfactory.cpp ├── konqfactory.h ├── konqframe.cpp ├── konqframe.h ├── konqframecontainer.cpp ├── konqframecontainer.h ├── konqframestatusbar.cpp ├── konqframestatusbar.h ├── konqframevisitor.cpp ├── konqframevisitor.h ├── konqguiclients.cpp ├── konqguiclients.h ├── konqhistory.h ├── konqhistorydialog.cpp ├── konqhistorydialog.h ├── konqhistorymanager.cpp ├── konqhistorymanager.h ├── konqhistorymodel.cpp ├── konqhistorymodel.h ├── konqhistoryproxymodel.cpp ├── konqhistoryproxymodel.h ├── konqhistorysettings.cpp ├── konqhistorysettings.h ├── konqhistoryview.cpp ├── konqhistoryview.h ├── konqmain.cpp ├── konqmainwindow.cpp ├── konqmainwindow.h ├── konqmainwindowfactory.cpp ├── konqmainwindowfactory.h ├── konqmisc.cpp ├── konqmisc.h ├── konqmouseeventfilter.cpp ├── konqmouseeventfilter.h ├── konqnewsessiondlg_base.ui ├── konqopenurlrequest.h ├── konqpixmapprovider.cpp ├── konqpixmapprovider.h ├── konqpreloadinghandler.cpp ├── konqpreloadinghandler.h ├── konqprivate_export.h ├── konqrun.cpp ├── konqrun.h ├── konqsessiondlg.cpp ├── konqsessiondlg.h ├── konqsessiondlg_base.ui ├── konqsessionmanager.cpp ├── konqsessionmanager.h ├── konqsettings.cpp ├── konqsettings.h ├── konqsettingsxt.kcfgc ├── konqtabs.cpp ├── konqtabs.h ├── konqueror.kcfg ├── konqueror.rc ├── konqundomanager.cpp ├── konqundomanager.h ├── konqview.cpp ├── konqview.h ├── konqviewmanager.cpp ├── konqviewmanager.h ├── ksortfilterproxymodel.cpp ├── ksortfilterproxymodel.h ├── org.kde.Konqueror.HistoryManager.xml ├── org.kde.Konqueror.Main.xml ├── org.kde.Konqueror.MainWindow.xml ├── org.kde.Konqueror.SessionManager.xml ├── org.kde.Konqueror.UndoManager.xml └── tests │ ├── CMakeLists.txt │ ├── centralwidget.cpp │ └── centralwidget.h └── webenginepart ├── CMakeLists.txt ├── COPYING.LIB ├── Mainpage.dox ├── Messages.sh ├── README ├── TODO ├── icons ├── CMakeLists.txt ├── hi128-apps-webengine.png ├── hi16-apps-webengine.png ├── hi22-apps-webengine.png ├── hi32-apps-webengine.png ├── hi48-apps-webengine.png ├── hi64-apps-webengine.png └── webengine.svg ├── scripts ├── codingstyle.sh └── create_release_package.sh ├── src ├── CMakeLists.txt ├── settings │ ├── webengine_filter.cpp │ ├── webengine_filter.h │ ├── webenginesettings.cpp │ └── webenginesettings.h ├── ui │ ├── featurepermissionbar.cpp │ ├── featurepermissionbar.h │ ├── passwordbar.cpp │ ├── passwordbar.h │ ├── searchbar.cpp │ ├── searchbar.h │ └── searchbar.ui ├── utils.h ├── webenginepage.cpp ├── webenginepage.h ├── webenginepart.cpp ├── webenginepart.desktop ├── webenginepart.h ├── webenginepart.rc ├── webenginepart_ext.cpp ├── webenginepart_ext.h ├── webenginepartfactory.cpp ├── webenginepartfactory.h ├── webengineview.cpp ├── webengineview.h ├── webhistoryinterface.cpp ├── webhistoryinterface.h ├── websslinfo.cpp └── websslinfo.h ├── testfiles ├── embed_tag_test.html ├── form_save_restore_test.html ├── frameset_test.html ├── frametest │ ├── frame_a.html │ ├── frame_b.html │ ├── frame_c.html │ └── frame_navigation.html ├── js.html ├── link_tests.html └── meta_tag_refresh_test.html ├── tests ├── CMakeLists.txt └── webenginepart_tester.cpp └── webenginepart.lsm /CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) 2 | 3 | project(KDE_BASEAPPS) 4 | 5 | set(QT_MIN_VERSION "5.4.0") 6 | set(KF5_MIN_VERSION "5.24.0") 7 | 8 | include(FeatureSummary) 9 | 10 | add_subdirectory(kdialog) 11 | if(NOT WIN32) 12 | add_subdirectory(kdepasswd) 13 | endif() 14 | add_subdirectory(kfind) 15 | 16 | add_subdirectory(keditbookmarks) 17 | add_subdirectory(konqueror) 18 | 19 | feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) 20 | -------------------------------------------------------------------------------- /CTestConfig.cmake: -------------------------------------------------------------------------------- 1 | ## This file should be placed in the root directory of your project. 2 | ## Then modify the CMakeLists.txt file in the root directory of your 3 | ## project to incorporate the testing dashboard. 4 | ## # The following are required to uses Dart and the Cdash dashboard 5 | ## ENABLE_TESTING() 6 | ## INCLUDE(CTest) 7 | set(CTEST_PROJECT_NAME "kdebase-apps") 8 | set(CTEST_NIGHTLY_START_TIME "20:00:00 CET") 9 | 10 | set(CTEST_DROP_METHOD "http") 11 | set(CTEST_DROP_SITE "my.cdash.org") 12 | set(CTEST_DROP_LOCATION "/submit.php?project=kdebase-apps") 13 | set(CTEST_DROP_SITE_CDASH TRUE) 14 | -------------------------------------------------------------------------------- /Mainpage.dox: -------------------------------------------------------------------------------- 1 | /** @mainpage KDE Base Applications 2 | 3 | These are the basic KDE applications. Included are: 4 | - Dolphin, a file manager 5 | - Konqueror, a web browser 6 | and general frame for embedding KParts 7 | - Konsole, a terminal emulator 8 | - KWrite, a text editor 9 | with several advanced features, including syntax highlighting and 10 | spell-checking 11 | - KAppFinder, a utility to search for non-KDE applications and create 12 | menu items for them 13 | - KDEPasswd, a utility for changing your password (on UNIX systems) 14 | - KDialog, a utility for displaying dialog boxes from shell scripts 15 | - KEditBookmarks, a utility for editing the KDE bookmark store 16 | - KFind, a utility for searching for files and directories 17 | 18 | Also provided are libkonq, 19 | which provides file management services at a higher level than 20 | KIO, 21 | and nsplugins, which provides a 22 | KPart 23 | for viewing Netscape/Mozilla browser plugins in KDE applications. 24 | 25 | @licenses 26 | @gpl 27 | 28 | */ 29 | 30 | // DOXYGEN_SET_PROJECT_NAME = Applications 31 | // vim:ts=4:sw=4:expandtab:filetype=doxygen 32 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | KDE Base Applications consists of what runs on the desktop. 2 | 3 | This module isn't a complete collection of essential applications that a 4 | user would expect on a desktop (such as e-mail and 5 | calculator). These packages is the basic set of applications 6 | beyond the workspace that KDE applications can assume are installed. 7 | 8 | These applications should have no problem running on Windows, OS 9 | X, Gnome, etc as stand alone applications if the user wanted to use them 10 | there. 11 | -------------------------------------------------------------------------------- /kdepasswd/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 2.8.12) 2 | 3 | project(Kdepasswd) 4 | 5 | # ECM setup 6 | find_package(ECM 1.7.0 CONFIG REQUIRED) 7 | set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) 8 | 9 | include(ECMSetupVersion) 10 | include(FeatureSummary) 11 | include(ECMAddAppIcon) 12 | include(KDEInstallDirs) 13 | include(KDECMakeSettings) 14 | include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) 15 | 16 | set(KDEPASSWD_VERSION "4.70.0") 17 | 18 | ecm_setup_version(${KDEPASSWD_VERSION} VARIABLE_PREFIX KDEPASSWD 19 | VERSION_HEADER "${Kdepasswd_BINARY_DIR}/kdepasswd_version.h" 20 | ) 21 | 22 | # Build dependencies 23 | find_package(KF5 REQUIRED COMPONENTS DocTools KIO Su DBusAddons I18n) 24 | 25 | add_definitions(-DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_URL_CAST_FROM_STRING) 26 | 27 | set(kdepasswd_SRCS 28 | kdepasswd.cpp 29 | passwd.cpp 30 | passwddlg.cpp 31 | kdepassword_debug.cpp 32 | ) 33 | 34 | add_executable(kdepasswd ${kdepasswd_SRCS}) 35 | 36 | target_link_libraries(kdepasswd 37 | KF5::KIOWidgets 38 | KF5::Su 39 | KF5::DBusAddons 40 | KF5::I18n 41 | ) 42 | 43 | install(TARGETS kdepasswd ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) 44 | install(PROGRAMS org.kde.kdepasswd.desktop DESTINATION ${KDE_INSTALL_APPDIR}) 45 | 46 | if("${CMAKE_SOURCE_DIR}" STREQUAL "${Kdepasswd_SOURCE_DIR}") 47 | feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) 48 | endif() 49 | 50 | -------------------------------------------------------------------------------- /kdepasswd/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env bash 2 | $XGETTEXT *.cpp -o $podir/kdepasswd.pot 3 | -------------------------------------------------------------------------------- /kdepasswd/README: -------------------------------------------------------------------------------- 1 | kdepasswd: A KDE front end to the Unix passwd command. 2 | 3 | Please report bugs to Geert Jansen 4 | -------------------------------------------------------------------------------- /kdepasswd/kdepassword_debug.cpp: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | Copyright (C) 2014 Laurent Montel 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Library General Public 6 | License as published by the Free Software Foundation; either 7 | version 2 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | Library General Public License for more details. 13 | 14 | You should have received a copy of the GNU Library General Public License 15 | along with this library; see the file COPYING.LIB. If not, write to 16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 | Boston, MA 02110-1301, USA. 18 | */ 19 | 20 | #include "kdepassword_debug.h" 21 | Q_LOGGING_CATEGORY(KDEPASSWORD_LOG, "log_kdepassword") 22 | 23 | 24 | -------------------------------------------------------------------------------- /kdepasswd/kdepassword_debug.h: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | Copyright (C) 2014 Laurent Montel 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Library General Public 6 | License as published by the Free Software Foundation; either 7 | version 2 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | Library General Public License for more details. 13 | 14 | You should have received a copy of the GNU Library General Public License 15 | along with this library; see the file COPYING.LIB. If not, write to 16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 | Boston, MA 02110-1301, USA. 18 | */ 19 | 20 | #ifndef KDEPASSWORD_DEBUG_H 21 | #define KDEPASSWORD_DEBUG_H 22 | 23 | #include 24 | Q_DECLARE_LOGGING_CATEGORY(KDEPASSWORD_LOG) 25 | 26 | #endif 27 | 28 | -------------------------------------------------------------------------------- /kdialog/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 2.8.12) 2 | 3 | project(KDialog) 4 | 5 | # ECM setup 6 | find_package(ECM 1.7.0 CONFIG REQUIRED) 7 | set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) 8 | 9 | include(FeatureSummary) 10 | include(KDEInstallDirs) 11 | include(KDECMakeSettings) 12 | include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) 13 | 14 | # Build dependencies 15 | find_package(KF5 REQUIRED COMPONENTS KDELibs4Support KIO) 16 | find_package(Qt5DBus CONFIG) 17 | 18 | find_package(X11) 19 | if(X11_FOUND) 20 | set(HAVE_X11 1) 21 | endif() 22 | 23 | configure_file(config-kdialog.h.cmake ${KDialog_BINARY_DIR}/config-kdialog.h) 24 | 25 | add_definitions(-DQT_NO_URL_CAST_FROM_STRING) 26 | 27 | set(kdialog_SRCS 28 | kdialog.cpp 29 | widgets.cpp 30 | klistboxdialog.cpp 31 | progressdialog.cpp) 32 | 33 | qt5_add_dbus_adaptor( kdialog_SRCS org.kde.kdialog.ProgressDialog.xml progressdialog.h KProgressDialog ) 34 | 35 | add_executable(kdialog ${kdialog_SRCS}) 36 | 37 | # Need libkfile due to the code that adjusts the geometry of the KDirSelectDialog 38 | target_link_libraries(kdialog 39 | KF5::KIOWidgets 40 | KF5::KDELibs4Support 41 | ) 42 | 43 | if(Qt5DBus_FOUND) 44 | target_link_libraries(kdialog Qt5::DBus) 45 | endif() 46 | 47 | if (HAVE_X11) 48 | target_link_libraries(kdialog ${X11_X11_LIB}) 49 | endif() 50 | 51 | install(TARGETS kdialog ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) 52 | install(FILES org.kde.kdialog.ProgressDialog.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR}) 53 | 54 | if("${CMAKE_SOURCE_DIR}" STREQUAL "${KDialog_SOURCE_DIR}") 55 | feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) 56 | endif() 57 | -------------------------------------------------------------------------------- /kdialog/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env bash 2 | $XGETTEXT *.cpp -o $podir/kdialog.pot 3 | -------------------------------------------------------------------------------- /kdialog/README: -------------------------------------------------------------------------------- 1 | kdialog allows you to display dialog boxes from shell scripts. 2 | The syntax is very much inspired from the "dialog" command 3 | (which shows text mode dialogs). 4 | 5 | However the width and height attributes have been removed for 6 | most dialogs - Qt/KDE have layouts ;) 7 | 8 | A tutorial on using kdialog is available at 9 | http://techbase.kde.org/Development/Tutorials/Shell_Scripting_with_KDE_Dialogs 10 | If you change or add any functionality, please contact Brad 11 | Hards to ensure it is reflected in the 12 | tutorial. 13 | 14 | Current maintainer: David Faure 15 | -------------------------------------------------------------------------------- /kdialog/config-kdialog.h.cmake: -------------------------------------------------------------------------------- 1 | /* Define to 1 if the QtDBus module is present. */ 2 | #cmakedefine Qt5DBus_FOUND 1 3 | #cmakedefine HAVE_X11 ${HAVE_X11} 4 | -------------------------------------------------------------------------------- /kdialog/klistboxdialog.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (C) 1998-2005 Matthias Hoelzer 3 | // email: hoelzer@physik.uni-wuerzburg.de 4 | // 5 | // This program is free software; you can redistribute it and/or modify 6 | // it under the terms of the GNU General Public License as published by 7 | // the Free Software Foundation; either version 2 of the License, or 8 | // (at your option) any later version. 9 | // 10 | // This program is distributed in the hope that it will be useful, 11 | // but WITHOUT ANY WARRANTY; without even the7 implied warranty of 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | // GNU General Public License for more details. 14 | // 15 | // You should have received a copy of the GNU General Public License 16 | // along with this program; if not, write to the Free Software 17 | // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 | // 19 | 20 | 21 | #ifndef KLISTBOXDIALOG_H 22 | #define KLISTBOXDIALOG_H 23 | 24 | #include 25 | 26 | #include 27 | 28 | class QLabel; 29 | 30 | class KListBoxDialog : public KDialog 31 | { 32 | Q_OBJECT 33 | 34 | public: 35 | 36 | explicit KListBoxDialog(const QString &text, QWidget *parent=0); 37 | ~KListBoxDialog() {} 38 | 39 | QListWidget &getTable() { return *table; } 40 | 41 | void insertItem( const QString& text ); 42 | void setCurrentItem ( const QString& text ); 43 | int currentItem() const; 44 | 45 | protected: 46 | 47 | QListWidget *table; 48 | QLabel *label; 49 | 50 | }; 51 | 52 | #endif 53 | -------------------------------------------------------------------------------- /kdialog/org.kde.kdialog.ProgressDialog.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /kdialog/progresscanceldemo: -------------------------------------------------------------------------------- 1 | dbusRef=`kdialog --progressbar "Press Cancel at Any time" 10` 2 | qdbus $dbusRef org.kde.kdialog.ProgressDialog.showCancelButton true 3 | 4 | until test "true" = `qdbus $dbusRef org.kde.kdialog.ProgressDialog.wasCancelled`; do 5 | sleep 1 6 | inc=$((`qdbus $dbusRef org.freedesktop.DBus.Properties.Get org.kde.kdialog.ProgressDialog value` + 1)) 7 | qdbus $dbusRef org.freedesktop.DBus.Properties.Set org.kde.kdialog.ProgressDialog value $inc; 8 | done 9 | 10 | qdbus $dbusRef org.kde.kdialog.ProgressDialog.close 11 | -------------------------------------------------------------------------------- /kdialog/progressdemo: -------------------------------------------------------------------------------- 1 | dbusRef=`kdialog --geometry 300x200+100-100 --progressbar "Initialising" 6` 2 | qdbus $dbusRef Set org.kde.kdialog.ProgressDialog value 1 3 | qdbus $dbusRef setLabelText "Thinking really hard" 4 | sleep 2 5 | qdbus $dbusRef Set org.kde.kdialog.ProgressDialog value 2 6 | sleep 2 7 | qdbus $dbusRef setLabelText "Thinking some more" 8 | qdbus $dbusRef Set org.kde.kdialog.ProgressDialog value 3 9 | sleep 2 10 | qdbus $dbusRef Set org.kde.kdialog.ProgressDialog value 4 11 | sleep 2 12 | qdbus $dbusRef setLabelText "Finishing up" 13 | qdbus $dbusRef Set org.kde.kdialog.ProgressDialog value 5 14 | sleep 1 15 | qdbus $dbusRef Set org.kde.kdialog.ProgressDialog value 6 16 | sleep 1 17 | qdbus $dbusRef org.kde.kdialog.ProgressDialog.close 18 | -------------------------------------------------------------------------------- /keditbookmarks/DESIGN: -------------------------------------------------------------------------------- 1 | four main layers: 2 | toplevel : startup, initialisation 3 | listview : listview, selection, action forwarding 4 | commands : bookmark undo/redo mechanism implementation 5 | actionsimpl : the actual slots, almost all of 'em 6 | 7 | various other thingies: 8 | search : incremental search implementation 9 | favicons : iterating action implementation using bookmarkiterator 10 | importers : forwarders to kio/bookmarks code 11 | exporters : forwarders to kio/bookmarks code, and html export code 12 | dcop : dcop handling, internal interface 13 | bookmarkiterator : is a baseclass for iterating actions, of sorts... 14 | updater : favicon updating base stuff - kio/khtml crap 15 | testlink : link testing stuff 16 | 17 | 3 different selection styles: 18 | bookmark iterators (ITR_ACTION) 19 | single bookmark (ITEM_ACTION) 20 | normal selection (SELC_ACTION) 21 | -------------------------------------------------------------------------------- /keditbookmarks/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env bash 2 | $EXTRACTRC `find . -name \*.rc` >> rc.cpp || exit 11 3 | $XGETTEXT -kaliasLocal `find . -name \*.cc -o -name \*.cpp -o -name \*.h` -o $podir/keditbookmarks.pot 4 | rm -f rc.cpp 5 | -------------------------------------------------------------------------------- /keditbookmarks/exporters.h: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | Copyright (C) 2003 Alexander Kellett 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License as 6 | published by the Free Software Foundation; either version 2 of 7 | the License, or (at your option) version 3. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program. If not, see 16 | */ 17 | 18 | #ifndef __exporters_h 19 | #define __exporters_h 20 | 21 | #include 22 | //Added by qt3to4: 23 | #include 24 | 25 | class HTMLExporter : private KBookmarkGroupTraverser { 26 | public: 27 | HTMLExporter(); 28 | virtual ~HTMLExporter(){} 29 | QString toString(const KBookmarkGroup &, bool showAddress = false); 30 | void write(const KBookmarkGroup &, const QString &, bool showAddress = false); 31 | private: 32 | void visit(const KBookmark &) Q_DECL_OVERRIDE; 33 | void visitEnter(const KBookmarkGroup &) Q_DECL_OVERRIDE; 34 | void visitLeave(const KBookmarkGroup &) Q_DECL_OVERRIDE; 35 | private: 36 | QString m_string; 37 | QTextStream m_out; 38 | bool m_showAddress; 39 | }; 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /keditbookmarks/kbookmarkmodel/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(tests) 2 | 3 | set(kbookmarkmodel_SRCS 4 | commandhistory.cpp 5 | commands.cpp 6 | model.cpp 7 | treeitem.cpp 8 | view.cpp 9 | ) 10 | 11 | add_library(kbookmarkmodel_private SHARED ${kbookmarkmodel_SRCS}) 12 | target_link_libraries(kbookmarkmodel_private 13 | PUBLIC 14 | Qt5::Widgets 15 | KF5::XmlGui # KActionCollection 16 | PRIVATE 17 | KF5::Bookmarks 18 | KF5::I18n 19 | ) 20 | 21 | include(GenerateExportHeader) 22 | generate_export_header(kbookmarkmodel_private BASE_NAME kbookmarkmodel EXPORT_FILE_NAME kbookmarkmodel_export.h) 23 | 24 | set_target_properties(kbookmarkmodel_private PROPERTIES 25 | VERSION ${KEDITBOOKMARKS_VERSION} 26 | SOVERSION "6" 27 | ) 28 | 29 | 30 | install(TARGETS kbookmarkmodel_private ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) 31 | -------------------------------------------------------------------------------- /keditbookmarks/kbookmarkmodel/commands_p.h: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | Copyright (C) 2000, 2010 David Faure 3 | Copyright (C) 2002-2003 Alexander Kellett 4 | 5 | This program is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU General Public License as 7 | published by the Free Software Foundation; either version 2 of 8 | the License, or (at your option) version 3. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see 17 | */ 18 | 19 | #ifndef KBOOKMARKMODEL_COMMANDS_P_H 20 | #define KBOOKMARKMODEL_COMMANDS_P_H 21 | 22 | // Used internally by the "sort" command 23 | class MoveCommand : public QUndoCommand, public IKEBCommand 24 | { 25 | public: 26 | MoveCommand(KBookmarkModel* model, const QString &from, const QString &to, const QString &name = QString(), QUndoCommand* parent = 0); 27 | QString finalAddress() const; 28 | virtual ~MoveCommand() {} 29 | void redo() Q_DECL_OVERRIDE; 30 | void undo() Q_DECL_OVERRIDE; 31 | QString affectedBookmarks() const Q_DECL_OVERRIDE; 32 | private: 33 | KBookmarkModel* m_model; 34 | QString m_from; 35 | QString m_to; 36 | CreateCommand * m_cc; 37 | DeleteCommand * m_dc; 38 | }; 39 | 40 | #endif /* KBOOKMARKMODEL_COMMANDS_P_H */ 41 | -------------------------------------------------------------------------------- /keditbookmarks/kbookmarkmodel/tests/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | include(ECMAddTests) 2 | 3 | set(QT_REQUIRED_VERSION "5.2.0") 4 | find_package(Qt5Test ${QT_REQUIRED_VERSION} CONFIG REQUIRED) 5 | 6 | set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} ) 7 | 8 | ###### kbookmarkmodeltest ###### 9 | 10 | set(kbookmarkmodeltest_SRCS kbookmarkmodeltest.cpp) 11 | add_executable(kbookmarkmodeltest ${kbookmarkmodeltest_SRCS}) 12 | add_test(kbookmarkmodeltest kbookmarkmodeltest) 13 | ecm_mark_as_test(kbookmarkmodeltest) 14 | target_link_libraries(kbookmarkmodeltest kbookmarkmodel_private 15 | KF5::Bookmarks 16 | Qt5::Test 17 | ) 18 | -------------------------------------------------------------------------------- /keditbookmarks/kbookmarkmodel/treeitem_p.h: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | Copyright (C) 2005 Daniel Teske 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License as 6 | published by the Free Software Foundation; either version 2 of 7 | the License, or (at your option) version 3. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program. If not, see 16 | */ 17 | 18 | #ifndef TREEITEM_P_H 19 | #define TREEITEM_P_H 20 | 21 | #include 22 | #include 23 | 24 | class TreeItem 25 | { 26 | public: 27 | TreeItem(const KBookmark& bk, TreeItem * parent); 28 | ~TreeItem(); 29 | TreeItem * child(int row); 30 | TreeItem * parent() const; 31 | 32 | void insertChildren(int first, int last); 33 | void deleteChildren(int first, int last); 34 | void moveChildren(int first, int last, TreeItem * newParent, int position); 35 | KBookmark bookmark() const; 36 | int childCount(); 37 | TreeItem * treeItemForBookmark(const KBookmark& bk); 38 | private: 39 | void initChildren(); 40 | 41 | QList children; 42 | TreeItem * mParent; 43 | KBookmark mBookmark; 44 | bool mInitDone; 45 | }; 46 | #endif 47 | -------------------------------------------------------------------------------- /keditbookmarks/kbookmarkmodel/view.h: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | Copyright (C) 2005 Daniel Teske 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public 6 | License version 2 as published by the Free Software Foundation. 7 | 8 | This program is distributed in the hope that it will be useful, 9 | but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11 | General Public License for more details. 12 | 13 | You should have received a copy of the GNU General Public License 14 | along with this program; see the file COPYING. If not, write to 15 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 16 | Boston, MA 02110-1301, USA. 17 | */ 18 | 19 | #ifndef BOOKMARKMODEL_BOOKMARKVIEW_H 20 | #define BOOKMARKMODEL_BOOKMARKVIEW_H 21 | 22 | #include 23 | 24 | #include "kbookmarkmodel_export.h" 25 | 26 | class KBookmark; 27 | 28 | class KBOOKMARKMODEL_EXPORT KBookmarkView : public QTreeView 29 | { 30 | Q_OBJECT 31 | public: 32 | explicit KBookmarkView(QWidget *parent = 0); 33 | virtual ~KBookmarkView(); 34 | virtual KBookmark bookmarkForIndex(const QModelIndex & idx) const = 0; 35 | void loadFoldedState(); 36 | 37 | private Q_SLOTS: 38 | void slotExpanded(const QModelIndex& index); 39 | void slotCollapsed(const QModelIndex& index); 40 | 41 | private: 42 | void loadFoldedState(const QModelIndex& parentIndex); 43 | bool m_loadingState; 44 | }; 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /keditbookmarks/keditbookmarks.kcfg: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 300 11 | 12 | 13 | 14 | 15 | 300 16 | 17 | 18 | 19 | 20 | 300 21 | 22 | 23 | 24 | 25 | 300 26 | 27 | 28 | 29 | 30 | 300 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /keditbookmarks/settings.kcfgc: -------------------------------------------------------------------------------- 1 | File=keditbookmarks.kcfg 2 | ClassName=KEBSettings 3 | Singleton=true 4 | Mutators=true 5 | -------------------------------------------------------------------------------- /kfind/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 2.8.12) 2 | 3 | project(Kfind) 4 | 5 | # ECM setup 6 | find_package(ECM 1.7.0 CONFIG REQUIRED) 7 | set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) 8 | 9 | include(ECMSetupVersion) 10 | include(ECMInstallIcons) 11 | include(FeatureSummary) 12 | include(KDEInstallDirs) 13 | include(KDECMakeSettings) 14 | include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) 15 | include(ECMAddAppIcon) 16 | set(KFIND_VERSION "2.0.0") 17 | 18 | ecm_setup_version(${KFIND_VERSION} VARIABLE_PREFIX KFIND 19 | VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kfind_version.h" 20 | ) 21 | 22 | # Build dependencies 23 | find_package(KF5 REQUIRED COMPONENTS KDELibs4Support Archive DocTools) 24 | 25 | add_definitions(-DQT_NO_URL_CAST_FROM_STRING) 26 | 27 | set(kfind_SRCS main.cpp 28 | kfinddlg.cpp 29 | kftabdlg.cpp 30 | kquery.cpp 31 | kdatecombo.cpp 32 | kfindtreeview.cpp) 33 | 34 | file(GLOB ICONS_SRCS "icons/*-apps-kfind.png") 35 | ecm_add_app_icon(kfind_SRCS ICONS ${ICONS_SRCS}) 36 | 37 | add_executable(kfind ${kfind_SRCS}) 38 | 39 | target_link_libraries(kfind 40 | KF5::Archive 41 | KF5::KDELibs4Support 42 | ) 43 | 44 | install(TARGETS kfind ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) 45 | 46 | ########### install files ############### 47 | 48 | install(PROGRAMS org.kde.kfind.desktop DESTINATION ${KDE_INSTALL_APPDIR}) 49 | install(FILES org.kde.kfind.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) 50 | 51 | add_subdirectory(icons) 52 | add_subdirectory(docs) 53 | 54 | if("${CMAKE_SOURCE_DIR}" STREQUAL "${Kfind_SOURCE_DIR}") 55 | feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) 56 | endif() 57 | -------------------------------------------------------------------------------- /kfind/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env bash 2 | $XGETTEXT *.cpp *.h -o $podir/kfind.pot 3 | -------------------------------------------------------------------------------- /kfind/docs/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/en SUBDIR kfind) 2 | kdoctools_create_manpage(man-kfind.1.docbook 1 INSTALL_DESTINATION ${KDE_INSTALL_MANDIR}) 3 | -------------------------------------------------------------------------------- /kfind/icons/16-apps-kfind.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/kfind/icons/16-apps-kfind.png -------------------------------------------------------------------------------- /kfind/icons/22-apps-kfind.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/kfind/icons/22-apps-kfind.png -------------------------------------------------------------------------------- /kfind/icons/32-apps-kfind.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/kfind/icons/32-apps-kfind.png -------------------------------------------------------------------------------- /kfind/icons/48-apps-kfind.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/kfind/icons/48-apps-kfind.png -------------------------------------------------------------------------------- /kfind/icons/64-apps-kfind.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/kfind/icons/64-apps-kfind.png -------------------------------------------------------------------------------- /kfind/icons/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | ecm_install_icons(ICONS 3 | 16-apps-kfind.png 4 | 22-apps-kfind.png 5 | 32-apps-kfind.png 6 | 48-apps-kfind.png 7 | 64-apps-kfind.png 8 | DESTINATION ${KDE_INSTALL_ICONDIR} 9 | THEME hicolor 10 | ) 11 | -------------------------------------------------------------------------------- /konqueror/AUTHORS: -------------------------------------------------------------------------------- 1 | Started by Torben Weis 2 | Maintained by David Faure 3 | Current team : 4 | Simon Hausmann 5 | Matthias Welk 6 | Michael Reiher 7 | Alexander Neundorf (List views) 8 | Michael Brade (List Views, I/O lib) 9 | Lars Knoll (HTML rendering engine) 10 | Antti Koivisto (HTML rendering engine) 11 | Waldo Bastian (HTML rendering engine) 12 | Matt Koss (I/O lib) 13 | Stephan Kulow (I/O lib) 14 | Richard Moore (Java applet support) 15 | Dina Rogozin (Java applet support) 16 | 17 | -------------------------------------------------------------------------------- /konqueror/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env bash 2 | subdirs="src about" 3 | $EXTRACTRC `find $subdirs -name \*.rc` >> rc.cpp || exit 11 4 | $EXTRACTRC `find $subdirs -name \*.ui` >> rc.cpp || exit 12 5 | $EXTRACTRC `find $subdirs -name \*.kcfg` >> rc.cpp 6 | $XGETTEXT -kaliasLocal `find $subdirs -name \*.cc -o -name \*.cpp -o -name \*.h` rc.cpp -o $podir/konqueror.pot 7 | rm -f rc.cpp 8 | -------------------------------------------------------------------------------- /konqueror/about/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | find_package(KF5 REQUIRED COMPONENTS KHtml) 2 | 3 | add_library(konq_aboutpage MODULE konq_aboutpage.cpp) 4 | 5 | target_link_libraries(konq_aboutpage 6 | KF5::KHtml 7 | KF5::IconThemes 8 | Qt5::Widgets 9 | ) 10 | 11 | install(TARGETS konq_aboutpage DESTINATION ${KDE_INSTALL_PLUGINDIR}) 12 | 13 | install(FILES 14 | box-centre-konqueror.png 15 | top-left-konqueror.png 16 | lightning.png 17 | launch.html 18 | intro.html 19 | specs.html 20 | tips.html 21 | plugins.html 22 | plugins_rtl.html 23 | konq.css 24 | DESTINATION ${KDE_INSTALL_DATADIR}/konqueror/about) 25 | install(FILES konqaboutpage.desktop DESTINATION ${KDE_INSTALL_KSERVICETYPES5DIR}) 26 | install(FILES konq_aboutpage.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) 27 | -------------------------------------------------------------------------------- /konqueror/about/box-centre-konqueror.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/about/box-centre-konqueror.png -------------------------------------------------------------------------------- /konqueror/about/konq.css: -------------------------------------------------------------------------------- 1 | #headerL { 2 | background-image: url(top-left-konqueror.png); 3 | } 4 | 5 | #boxCenter { 6 | padding: 1em; 7 | } 8 | 9 | .sepTable { 10 | border: 1px solid #BDBDBD; 11 | } 12 | 13 | .specTableTitle { 14 | background-color: #909090; 15 | } 16 | 17 | .specTableSubTitle { 18 | background-color: #444444; 19 | } 20 | -------------------------------------------------------------------------------- /konqueror/about/konq_aboutpage.h: -------------------------------------------------------------------------------- 1 | #ifndef __konq_aboutpage_h__ 2 | #define __konq_aboutpage_h__ 3 | 4 | #include 5 | 6 | class QUrl; 7 | 8 | class KonqAboutPageSingleton 9 | { 10 | public: 11 | KonqAboutPageSingleton(); 12 | ~KonqAboutPageSingleton(); 13 | 14 | QString launch(); 15 | QString intro(); 16 | QString specs(); 17 | QString tips(); 18 | QString plugins(); 19 | 20 | private: 21 | static QString loadFile(const QString &file); 22 | 23 | QString m_launch_html, m_intro_html, m_specs_html, m_tips_html, m_plugins_html; 24 | }; 25 | 26 | class KonqAboutPage : public KHTMLPart 27 | { 28 | Q_OBJECT 29 | public: 30 | KonqAboutPage(QWidget *parentWidget, QObject *parent, const QVariantList &args); 31 | ~KonqAboutPage(); 32 | 33 | bool openUrl(const QUrl &url) Q_DECL_OVERRIDE; 34 | 35 | bool openFile() Q_DECL_OVERRIDE; 36 | 37 | void saveState(QDataStream &stream) Q_DECL_OVERRIDE; 38 | void restoreState(QDataStream &stream) Q_DECL_OVERRIDE; 39 | 40 | protected: 41 | bool urlSelected(const QString &url, int button, int state, const QString &target, 42 | const KParts::OpenUrlArguments &args = KParts::OpenUrlArguments(), 43 | const KParts::BrowserArguments &browserArgs = KParts::BrowserArguments()) Q_DECL_OVERRIDE; 44 | 45 | private: 46 | void serve(const QString &, const QString &); 47 | 48 | KHTMLPart *m_doc; 49 | QString m_htmlDoc; 50 | QString m_what; 51 | }; 52 | 53 | #endif 54 | -------------------------------------------------------------------------------- /konqueror/about/konqaboutpage.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Type=ServiceType 3 | X-KDE-ServiceType=KonqAboutPage 4 | # No real need for a comment 5 | -------------------------------------------------------------------------------- /konqueror/about/lightning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/about/lightning.png -------------------------------------------------------------------------------- /konqueror/about/plugins.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | %1 4 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /konqueror/about/top-left-konqueror.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/about/top-left-konqueror.png -------------------------------------------------------------------------------- /konqueror/client/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ########### kfmclient ############### 2 | include(ECMMarkNonGuiExecutable) 3 | find_package(KF5 REQUIRED Init) 4 | 5 | set(kfmclient_SRCS kfmclient.cpp ) 6 | 7 | qt5_add_dbus_interface( kfmclient_SRCS ../src/org.kde.Konqueror.Main.xml konq_main_interface ) 8 | qt5_add_dbus_interface( kfmclient_SRCS ../src/org.kde.Konqueror.MainWindow.xml konq_mainwindow_interface ) 9 | 10 | 11 | add_definitions(-DQT_NO_CAST_ASCII) 12 | 13 | kde4_add_app_icon(kfmclient_SRCS "${KDE4_ICON_INSTALL_DIR}/oxygen/*/apps/system-file-manager.png") 14 | 15 | if (WIN32) 16 | add_definitions(-Dkdemain=main) 17 | add_executable(kfmclient ${kfmclient_SRCS}) 18 | target_link_libraries(kfmclient KF5::KIOCore ) 19 | else (WIN32) 20 | kf5_add_kdeinit_executable( kfmclient NOGUI ${kfmclient_SRCS}) 21 | target_link_libraries(kdeinit_kfmclient KF5::KIOCore KF5::KDELibs4Support) 22 | if(X11_FOUND) 23 | target_link_libraries(kdeinit_kfmclient Qt5::X11Extras) 24 | endif(X11_FOUND) 25 | install(TARGETS kdeinit_kfmclient ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} ) 26 | endif (WIN32) 27 | 28 | install(TARGETS kfmclient ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) 29 | 30 | -------------------------------------------------------------------------------- /konqueror/client/ChangeLog: -------------------------------------------------------------------------------- 1 | 1999-11-08 Kurt Granroth 2 | * if 'exec' has no parameters, popup the Execute Command 3 | dialog from kdesktop 4 | 5 | 1999-05-28 Simon Hausmann 6 | 7 | * use kded instead of the ior file 8 | * use KOMApplication instead of OPApplication (no need for 9 | OpenParts at all) 10 | 11 | 1999-04-28 Christophe Prud'homme 12 | 13 | * Makefile.am: $(top_srcdir) to $(top_builddir) 14 | 15 | -------------------------------------------------------------------------------- /konqueror/client/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env bash 2 | $XGETTEXT -kaliasLocal *.h *.cpp -o $podir/kfmclient.pot 3 | -------------------------------------------------------------------------------- /konqueror/config-konqueror.h.cmake: -------------------------------------------------------------------------------- 1 | /* config-konqueror.h. Generated by cmake from config-konqueror.h.cmake */ 2 | 3 | /* Define to 1 if you have the KActivities library. */ 4 | #cmakedefine KActivities_FOUND 1 5 | -------------------------------------------------------------------------------- /konqueror/doc/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ########### install files ############### 2 | 3 | find_package(KF5 REQUIRED DocTools) 4 | 5 | kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/en SUBDIR konqueror) 6 | kdoctools_create_manpage(man-kbookmarkmerger.1.docbook 1 INSTALL_DESTINATION ${KDE_INSTALL_MANDIR}) 7 | -------------------------------------------------------------------------------- /konqueror/doc/cmndline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/doc/cmndline.png -------------------------------------------------------------------------------- /konqueror/doc/dirtree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/doc/dirtree.png -------------------------------------------------------------------------------- /konqueror/doc/dragdrop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/doc/dragdrop.png -------------------------------------------------------------------------------- /konqueror/doc/folders.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/doc/folders.png -------------------------------------------------------------------------------- /konqueror/doc/format-font-size-less.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/doc/format-font-size-less.png -------------------------------------------------------------------------------- /konqueror/doc/format-font-size-more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/doc/format-font-size-more.png -------------------------------------------------------------------------------- /konqueror/doc/go-jump.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/doc/go-jump.png -------------------------------------------------------------------------------- /konqueror/doc/grouping-view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/doc/grouping-view.png -------------------------------------------------------------------------------- /konqueror/doc/konqorg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/doc/konqorg.png -------------------------------------------------------------------------------- /konqueror/doc/look.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/doc/look.png -------------------------------------------------------------------------------- /konqueror/doc/parts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/doc/parts.png -------------------------------------------------------------------------------- /konqueror/doc/reset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/doc/reset.png -------------------------------------------------------------------------------- /konqueror/doc/thumbnails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/doc/thumbnails.png -------------------------------------------------------------------------------- /konqueror/doc/viewproperties-dialog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/doc/viewproperties-dialog.png -------------------------------------------------------------------------------- /konqueror/libkonq/AUTHORS: -------------------------------------------------------------------------------- 1 | The classes in this library were written by: 2 | Torben Weis 3 | David Faure 4 | Simon Hausmann 5 | Holger Freyther 6 | and are all available under the LGPL license. 7 | See the individual files for more. 8 | -------------------------------------------------------------------------------- /konqueror/libkonq/KF5KonqConfig.cmake.in: -------------------------------------------------------------------------------- 1 | @PACKAGE_INIT@ 2 | 3 | find_dependency(KF5XmlGui) 4 | find_dependency(KF5Config) 5 | find_dependency(KF5KIO) 6 | find_dependency(KF5CoreAddons) 7 | find_dependency(KF5Service) 8 | find_dependency(KF5Parts) 9 | 10 | include("${CMAKE_CURRENT_LIST_DIR}/KF5KonqTargets.cmake") 11 | -------------------------------------------------------------------------------- /konqueror/libkonq/Mainpage.dox: -------------------------------------------------------------------------------- 1 | /** @mainpage libkonq 2 | 3 | Provides high-level file management functions, such as history, 4 | bookmarks, popup menus and undo functionality. 5 |

6 | See the class list for more information. 7 | 8 | See also the 9 | kfm-devel 10 | mailing list. 11 | 12 | @authors 13 | Torben Weis \
14 | David Faure \
15 | Simon Hausmann \
16 | Holger Freyther \ 17 | 18 | @maintainers 19 | [Unknown/None] 20 | 21 | @licenses 22 | @gpl
23 | Some files: @lgpl 24 | 25 | */ 26 | 27 | // DOXYGEN_SET_PROJECT_NAME = libkonq 28 | // vim:ts=4:sw=4:expandtab:filetype=doxygen 29 | -------------------------------------------------------------------------------- /konqueror/libkonq/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env bash 2 | $XGETTEXT src/*.cpp src/*.h -o $podir/libkonq.pot 3 | -------------------------------------------------------------------------------- /konqueror/libkonq/autotests/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} ) 2 | 3 | find_package(Qt5Test CONFIG REQUIRED) 4 | 5 | include(ECMAddTests) 6 | 7 | ########### konqpopupmenutest ############### 8 | 9 | ecm_add_tests( 10 | konqpopupmenutest.cpp 11 | LINK_LIBRARIES KF5Konq Qt5::Test 12 | ) 13 | 14 | ############################################ 15 | -------------------------------------------------------------------------------- /konqueror/pics/128-apps-konqueror.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/pics/128-apps-konqueror.png -------------------------------------------------------------------------------- /konqueror/pics/16-apps-konqueror.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/pics/16-apps-konqueror.png -------------------------------------------------------------------------------- /konqueror/pics/22-apps-konqueror.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/pics/22-apps-konqueror.png -------------------------------------------------------------------------------- /konqueror/pics/32-apps-konqueror.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/pics/32-apps-konqueror.png -------------------------------------------------------------------------------- /konqueror/pics/48-apps-konqueror.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/pics/48-apps-konqueror.png -------------------------------------------------------------------------------- /konqueror/pics/64-apps-konqueror.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/pics/64-apps-konqueror.png -------------------------------------------------------------------------------- /konqueror/pics/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory( indicators ) 2 | 3 | ecm_install_icons(ICONS 128-apps-konqueror.png 16-apps-konqueror.png 22-apps-konqueror.png 32-apps-konqueror.png 48-apps-konqueror.png 64-apps-konqueror.png DESTINATION ${KDE_INSTALL_ICONDIR} THEME hicolor ) 4 | -------------------------------------------------------------------------------- /konqueror/pics/hisc-app-konqueror.svgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/pics/hisc-app-konqueror.svgz -------------------------------------------------------------------------------- /konqueror/pics/indicators/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | install( FILES indicator_connect.png indicator_noconnect.png indicator_empty.png indicator_viewactive.png DESTINATION ${KDE_INSTALL_DATADIR}/konqueror/pics ) 3 | 4 | -------------------------------------------------------------------------------- /konqueror/pics/indicators/indicator_connect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/pics/indicators/indicator_connect.png -------------------------------------------------------------------------------- /konqueror/pics/indicators/indicator_empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/pics/indicators/indicator_empty.png -------------------------------------------------------------------------------- /konqueror/pics/indicators/indicator_noconnect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/pics/indicators/indicator_noconnect.png -------------------------------------------------------------------------------- /konqueror/pics/indicators/indicator_viewactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/pics/indicators/indicator_viewactive.png -------------------------------------------------------------------------------- /konqueror/plugins/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) 2 | project(konq-plugins) 3 | 4 | find_package(ECM 5.27.0 CONFIG REQUIRED) 5 | 6 | include(FeatureSummary) 7 | 8 | set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_MODULE_PATH}) 9 | 10 | include(KDEInstallDirs) 11 | include(KDECMakeSettings) 12 | include(KDECompilerSettings NO_POLICY_SCOPE) 13 | include(ECMInstallIcons) 14 | include(ECMMarkAsTest) 15 | 16 | find_package(Qt5 REQUIRED COMPONENTS Core Widgets) 17 | find_package(Qt5TextToSpeech ${QT_REQUIRED_VERSION} QUIET) 18 | set_package_properties(Qt5TextToSpeech PROPERTIES 19 | PURPOSE "Gives Konqueror a plugin to speak portions or all of a website") 20 | find_package(KF5 REQUIRED COMPONENTS KDELibs4Support Crash) 21 | 22 | add_subdirectory( khtmlsettingsplugin ) 23 | add_subdirectory( kimgalleryplugin ) 24 | add_subdirectory( dirfilter ) 25 | # TODO add_subdirectory( uachanger ) 26 | add_subdirectory( babelfish ) 27 | add_subdirectory( validators ) 28 | add_subdirectory( domtreeviewer ) 29 | add_subdirectory( webarchiver ) 30 | 31 | if (Qt5TextToSpeech_FOUND) 32 | add_subdirectory(ttsplugin) 33 | endif() 34 | 35 | if(UNIX) 36 | add_subdirectory( shellcmdplugin ) 37 | endif(UNIX) 38 | 39 | # TODO add_subdirectory( imagerotation ) 40 | add_subdirectory( minitools ) 41 | #add_subdirectory( microformat ) 42 | add_subdirectory( autorefresh ) 43 | add_subdirectory( fsview ) 44 | add_subdirectory( searchbar ) 45 | add_subdirectory( rellinks ) 46 | 47 | # TODO add_subdirectory( adblock ) 48 | 49 | add_subdirectory( akregator ) 50 | 51 | -------------------------------------------------------------------------------- /konqueror/plugins/adblock/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | ########### next target ############### 4 | add_definitions(-DTRANSLATION_DOMAIN=\"adblock\") 5 | set(adblock_PART_SRCS adblock.cpp adblockdialog.cpp ) 6 | 7 | add_library(adblock MODULE ${adblock_PART_SRCS}) 8 | 9 | 10 | 11 | target_link_libraries(adblock KF5::Parts KF5::KHtml KF5::KCMUtils) 12 | 13 | install(TARGETS adblock DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 14 | 15 | 16 | ########### install files ############### 17 | 18 | install( FILES plugin_adblock.desktop plugin_adblock.rc DESTINATION ${KDE_INSTALL_DATADIR}/khtml/kpartplugins ) 19 | -------------------------------------------------------------------------------- /konqueror/plugins/adblock/Messages.sh: -------------------------------------------------------------------------------- 1 | $EXTRACTRC *.rc >> rc.cpp 2 | $XGETTEXT *.cpp -o $podir/adblock.pot 3 | 4 | -------------------------------------------------------------------------------- /konqueror/plugins/adblock/plugin_adblock.rc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |

&Tools 5 | 6 | 7 | 8 | Extra Toolbar 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /konqueror/plugins/akregator/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ########### next target ############### 2 | add_definitions(-DTRANSLATION_DOMAIN=\"akregator_konqplugin\") 3 | MESSAGE(STATUS "akregator popupmenu plugin disabled. Doable via servicemenu or should we re-introduce ServiceMenusPlugin?") 4 | 5 | #set(akregatorkonqplugin_PART_SRCS akregatorplugin.cpp pluginbase.cpp ) 6 | # 7 | #kde4_add_plugin(akregatorkonqplugin ${akregatorkonqplugin_PART_SRCS}) 8 | # 9 | #target_link_libraries(akregatorkonqplugin ${KDE4_KDE3SUPPORT_LIBS} Qt5::Xml konq 10 | # KF5::KHtml ) 11 | # 12 | #install(TARGETS akregatorkonqplugin DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 13 | 14 | 15 | ########### next target ############### 16 | 17 | set(akregatorkonqfeedicon_PART_SRCS konqfeedicon.cpp feeddetector.cpp pluginbase.cpp ) 18 | 19 | add_library(akregatorkonqfeedicon MODULE ${akregatorkonqfeedicon_PART_SRCS}) 20 | 21 | target_compile_definitions(akregatorkonqfeedicon PRIVATE TRANSLATION_DOMAIN="akregator_konqplugin") 22 | 23 | target_link_libraries(akregatorkonqfeedicon KF5::Parts KF5::KDELibs4Support) 24 | 25 | install(TARGETS akregatorkonqfeedicon DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 26 | 27 | 28 | ########### install files ############### 29 | 30 | #install( FILES akregator_konqplugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) 31 | install( FILES akregator_konqfeedicon.desktop akregator_konqfeedicon.rc DESTINATION ${KDE_INSTALL_DATADIR}/khtml/kpartplugins ) 32 | install( FILES akregator_konqfeedicon.desktop akregator_konqfeedicon.rc DESTINATION ${KDE_INSTALL_DATADIR}/kwebkitpart/kpartplugins ) 33 | 34 | install( FILES feed.png DESTINATION ${KDE_INSTALL_DATADIR}/akregator/pics ) 35 | -------------------------------------------------------------------------------- /konqueror/plugins/akregator/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | $EXTRACTRC *.rc >> rc.cpp 3 | $XGETTEXT *.cpp -o $podir/akregator_konqplugin.pot 4 | -------------------------------------------------------------------------------- /konqueror/plugins/akregator/akregator_konqfeedicon.rc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /konqueror/plugins/akregator/akregatorplugin.h: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | 3 | Copyright (C) 2004 Gary Cramblitt 4 | 5 | This program is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU General Public License as 7 | published by the Free Software Foundation; either version 2 of 8 | the License, or (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see . 17 | */ 18 | 19 | #ifndef _AKREGATORPLUGIN_H_ 20 | #define _AKREGATORPLUGIN_H_ 21 | 22 | #include 23 | #include 24 | #include 25 | 26 | #include "pluginbase.h" 27 | 28 | class KHTMLPart; 29 | 30 | namespace Akregator 31 | { 32 | 33 | class AkregatorMenu : public KonqPopupMenuPlugin, PluginBase 34 | { 35 | Q_OBJECT 36 | public: 37 | AkregatorMenu(KonqPopupMenu *, const QStringList &list); 38 | virtual ~AkregatorMenu(); 39 | 40 | public slots: 41 | void slotAddFeed(); 42 | 43 | protected: 44 | bool isFeedUrl(const QString &s); 45 | bool isFeedUrl(const KFileItem &item); 46 | 47 | private: 48 | QStringList m_feedMimeTypes; 49 | // KConfig *m_conf; 50 | KHTMLPart *m_part; 51 | QString m_feedURL; 52 | }; 53 | 54 | } 55 | 56 | #endif 57 | 58 | -------------------------------------------------------------------------------- /konqueror/plugins/akregator/feed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/akregator/feed.png -------------------------------------------------------------------------------- /konqueror/plugins/autorefresh/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ########### next target ############### 6 | add_definitions(-DTRANSLATION_DOMAIN=\"autorefresh\") 7 | 8 | set(autorefresh_PART_SRCS autorefresh.cpp ) 9 | 10 | add_library(autorefresh MODULE ${autorefresh_PART_SRCS}) 11 | 12 | 13 | 14 | target_link_libraries(autorefresh KF5::Parts KF5::KDELibs4Support ) 15 | 16 | install(TARGETS autorefresh DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 17 | 18 | 19 | ########### install files ############### 20 | 21 | install( FILES autorefresh.rc autorefresh.desktop DESTINATION ${KDE_INSTALL_DATADIR}/khtml/kpartplugins ) 22 | install( FILES autorefresh.rc autorefresh.desktop DESTINATION ${KDE_INSTALL_DATADIR}/kwebkitpart/kpartplugins ) 23 | -------------------------------------------------------------------------------- /konqueror/plugins/autorefresh/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | $EXTRACTRC *.rc >> rc.cpp 3 | $XGETTEXT *.cpp -o $podir/autorefresh.pot 4 | -------------------------------------------------------------------------------- /konqueror/plugins/autorefresh/autorefresh.rc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | &Tools 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /konqueror/plugins/babelfish/16-actions-babelfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/babelfish/16-actions-babelfish.png -------------------------------------------------------------------------------- /konqueror/plugins/babelfish/22-actions-babelfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/babelfish/22-actions-babelfish.png -------------------------------------------------------------------------------- /konqueror/plugins/babelfish/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(babelfish) 2 | add_definitions(-DTRANSLATION_DOMAIN=\"babelfish\") 3 | ########### babelfishplugin ############### 4 | 5 | set(babelfishplugin_PART_SRCS plugin_babelfish.cpp ) 6 | 7 | add_library(babelfishplugin MODULE ${babelfishplugin_PART_SRCS}) 8 | 9 | target_link_libraries(babelfishplugin KF5::Parts KF5::KDELibs4Support) 10 | 11 | install(TARGETS babelfishplugin DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 12 | 13 | 14 | ########### install files ############### 15 | 16 | install( FILES plugin_babelfish.rc plugin_translator.desktop DESTINATION ${KDE_INSTALL_DATADIR}/khtml/kpartplugins ) 17 | install( FILES translaterc DESTINATION ${KDE_INSTALL_CONFDIR} ) 18 | install( FILES plugin_babelfish.rc plugin_translator.desktop DESTINATION ${KDE_INSTALL_DATADIR}/kwebkitpart/kpartplugins ) 19 | 20 | set(babelfish_ICONS 16-actions-babelfish.png 22-actions-babelfish.png) 21 | 22 | ecm_install_icons(ICONS ${babelfish_ICONS} DESTINATION ${KDE_INSTALL_ICONDIR} THEME hicolor) 23 | -------------------------------------------------------------------------------- /konqueror/plugins/babelfish/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | $EXTRACTRC *.rc >> rc.cpp 3 | $XGETTEXT *.cpp -o $podir/babelfish.pot 4 | -------------------------------------------------------------------------------- /konqueror/plugins/babelfish/plugin_babelfish.h: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE Project 2 | Copyright (C) 2001 Kurt Granroth 3 | Copyright (C) 2003 Rand2342 4 | 5 | This library is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU Library General Public 7 | License version 2 as published by the Free Software Foundation. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | Library General Public License for more details. 13 | 14 | You should have received a copy of the GNU Library General Public License 15 | along with this library; see the file COPYING.LIB. If not, write to 16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 | Boston, MA 02110-1301, USA. 18 | */ 19 | #ifndef __plugin_babelfish_h 20 | #define __plugin_babelfish_h 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | class PluginBabelFish : public KParts::Plugin 28 | { 29 | Q_OBJECT 30 | public: 31 | explicit PluginBabelFish(QObject *parent, 32 | const QVariantList &); 33 | virtual ~PluginBabelFish(); 34 | 35 | private slots: 36 | void translateURL(QAction *); 37 | void slotAboutToShow(); 38 | void slotEnableMenu(); 39 | 40 | private: 41 | void addTopLevelAction(const QString &name, const QString &text); 42 | 43 | private: 44 | QActionGroup m_actionGroup; 45 | KActionMenu *m_menu; 46 | }; 47 | 48 | #endif 49 | -------------------------------------------------------------------------------- /konqueror/plugins/babelfish/plugin_babelfish.rc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | &Tools 5 | 6 | 7 | 8 | Extra Toolbar 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /konqueror/plugins/babelfish/translaterc: -------------------------------------------------------------------------------- 1 | en_no=freetranslation 2 | en_th=parsit 3 | #fr_es=reverso 4 | fr_ru=voila 5 | ru_fr=voila 6 | fr_ar=google 7 | -------------------------------------------------------------------------------- /konqueror/plugins/dirfilter/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ############### next target ############### 2 | add_definitions(-DTRANSLATION_DOMAIN=\"dirfilterplugin\") 3 | set(dirfilterplugin_PART_SRCS dirfilterplugin.cpp ) 4 | 5 | add_library(dirfilterplugin MODULE ${dirfilterplugin_PART_SRCS}) 6 | 7 | target_link_libraries(dirfilterplugin KF5::Parts KF5::KDELibs4Support) 8 | 9 | install(TARGETS dirfilterplugin DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 10 | 11 | 12 | ########### install files ############### 13 | 14 | install( FILES dirfilterplugin.rc dirfilterplugin.desktop DESTINATION ${KDE_INSTALL_DATADIR}/dolphinpart/kpartplugins ) 15 | -------------------------------------------------------------------------------- /konqueror/plugins/dirfilter/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | $EXTRACTRC *.rc >> rc.cpp 3 | $XGETTEXT *.cpp -o $podir/dirfilterplugin.pot 4 | -------------------------------------------------------------------------------- /konqueror/plugins/dirfilter/dirfilterplugin.rc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | &Tools 5 | 6 | 7 | 8 | Extra Toolbar 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /konqueror/plugins/domtreeviewer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | find_package(KF5 REQUIRED KHtml) 2 | add_definitions(-DTRANSLATION_DOMAIN=\"domtreeviewer\") 3 | set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}") 4 | ########### next target ############### 5 | 6 | set(domtreeviewerplugin_PART_SRCS 7 | plugin_domtreeviewer.cpp 8 | domtreeview.cpp 9 | domlistviewitem.cpp 10 | domtreewindow.cpp 11 | domtreecommands.cpp 12 | signalreceiver.cpp ) 13 | 14 | ki18n_wrap_ui(domtreeviewerplugin_PART_SRCS domtreeviewbase.ui texteditwidget.ui elementeditwidget.ui attributeeditwidget.ui messagedialog.ui) 15 | 16 | add_library(domtreeviewerplugin MODULE ${domtreeviewerplugin_PART_SRCS}) 17 | 18 | 19 | 20 | target_link_libraries(domtreeviewerplugin KF5::KHtml KF5::KDELibs4Support) 21 | 22 | install(TARGETS domtreeviewerplugin DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 23 | 24 | 25 | ########### install files ############### 26 | 27 | install( FILES plugin_domtreeviewer.rc plugin_domtreeviewer.desktop DESTINATION ${KDE_INSTALL_DATADIR}/khtml/kpartplugins ) 28 | install( FILES domtreeviewerui.rc DESTINATION ${KDE_INSTALL_DATADIR}/domtreeviewer ) 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /konqueror/plugins/domtreeviewer/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | $EXTRACTRC *.rc *.ui >> rc.cpp 3 | $XGETTEXT *.cpp -o $podir/domtreeviewer.pot 4 | -------------------------------------------------------------------------------- /konqueror/plugins/domtreeviewer/domtreeviewerui.rc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | &File 5 | 6 | &Edit 7 | 8 | &View 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | &Go 20 | 21 | 22 | 23 | Main Toolbar 24 | 25 | Tree Toolbar 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 | -------------------------------------------------------------------------------- /konqueror/plugins/domtreeviewer/messagedialog.ui: -------------------------------------------------------------------------------- 1 | 2 | MessageDialog 3 | 4 | 5 | 6 | 0 7 | 0 8 | 511 9 | 282 10 | 11 | 12 | 13 | 14 | 0 15 | 16 | 17 | 18 | 19 | false 20 | 21 | 22 | true 23 | 24 | 25 | false 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | KTextEdit 35 | QTextEdit 36 |
ktextedit.h
37 |
38 |
39 | 40 | ktextedit.h 41 | 42 | 43 | 44 |
45 | -------------------------------------------------------------------------------- /konqueror/plugins/domtreeviewer/plugin_domtreeviewer.cpp: -------------------------------------------------------------------------------- 1 | #include "plugin_domtreeviewer.h" 2 | #include "domtreewindow.h" 3 | #include "domtreeview.h" 4 | 5 | 6 | #include 7 | 8 | #include 9 | #include 10 | #include 11 | #include 12 | #include 13 | 14 | //KDELibs4Support 15 | 16 | 17 | K_PLUGIN_FACTORY(DomtreeviewerFactory, registerPlugin();) 18 | 19 | PluginDomtreeviewer::PluginDomtreeviewer(QObject *parent, 20 | const QVariantList &) 21 | : Plugin(parent), m_dialog(0) 22 | { 23 | QAction *a = actionCollection()->addAction(QStringLiteral("viewdomtree")); 24 | 25 | a->setText(i18n("Show &DOM Tree")); 26 | a->setIcon(QIcon::fromTheme(QStringLiteral("view-web-browser-dom-tree"))); 27 | connect(a, SIGNAL(triggered()), this, SLOT(slotShowDOMTree())); 28 | } 29 | 30 | PluginDomtreeviewer::~PluginDomtreeviewer() 31 | { 32 | kDebug(90180); 33 | delete m_dialog; 34 | } 35 | 36 | void PluginDomtreeviewer::slotShowDOMTree() 37 | { 38 | if (m_dialog) { 39 | delete m_dialog; 40 | Q_ASSERT((DOMTreeWindow *)m_dialog == (DOMTreeWindow *)0); 41 | } 42 | if (KHTMLPart *part = qobject_cast(parent())) { 43 | m_dialog = new DOMTreeWindow(this); 44 | connect(m_dialog, SIGNAL(destroyed()), this, SLOT(slotDestroyed())); 45 | m_dialog->view()->setHtmlPart(part); 46 | m_dialog->show(); 47 | } 48 | } 49 | 50 | void PluginDomtreeviewer::slotDestroyed() 51 | { 52 | kDebug(90180); 53 | m_dialog = 0; 54 | } 55 | 56 | #include 57 | -------------------------------------------------------------------------------- /konqueror/plugins/domtreeviewer/plugin_domtreeviewer.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __plugin_domtreeviewer_h 3 | #define __plugin_domtreeviewer_h 4 | 5 | #include 6 | 7 | class DOMTreeWindow; 8 | 9 | class PluginDomtreeviewer : public KParts::Plugin 10 | { 11 | Q_OBJECT 12 | public: 13 | PluginDomtreeviewer(QObject *parent, 14 | const QVariantList &); 15 | virtual ~PluginDomtreeviewer(); 16 | 17 | public slots: 18 | void slotShowDOMTree(); 19 | void slotDestroyed(); 20 | private: 21 | DOMTreeWindow *m_dialog; 22 | }; 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /konqueror/plugins/domtreeviewer/plugin_domtreeviewer.rc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | &Tools 5 | 6 | 7 | 8 | Extra Toolbar 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /konqueror/plugins/domtreeviewer/signalreceiver.cpp: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | * 3 | * Copyright (C) 2005 Leo Savernik 4 | * 5 | * This library is free software; you can redistribute it and/or 6 | * modify it under the terms of the GNU Library General Public 7 | * License as published by the Free Software Foundation; either 8 | * version 2 of the License, or (at your option) any later version. 9 | * 10 | * This library is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | * Library General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Library General Public License 16 | * along with this library; see the file COPYING.LIB. If not, write to 17 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 | * Boston, MA 02110-1301, USA. 19 | */ 20 | 21 | #include "signalreceiver.h" 22 | 23 | SignalReceiver::SignalReceiver(QObject *parent) 24 | : QObject(parent), rcvd(false) 25 | { 26 | } 27 | 28 | SignalReceiver::~SignalReceiver() 29 | { 30 | } 31 | 32 | void SignalReceiver::slot() 33 | { 34 | rcvd = true; 35 | } 36 | 37 | -------------------------------------------------------------------------------- /konqueror/plugins/domtreeviewer/texteditwidget.ui: -------------------------------------------------------------------------------- 1 | 2 | TextEditWidget 3 | 4 | 5 | 6 | 0 7 | 0 8 | 469 9 | 117 10 | 11 | 12 | 13 | 14 | 0 15 | 16 | 17 | 18 | 19 | Edit &text for text node: 20 | 21 | 22 | false 23 | 24 | 25 | textPane 26 | 27 | 28 | 29 | 30 | 31 | 32 | true 33 | 34 | 35 | true 36 | 37 | 38 | false 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | KTextEdit 48 | QTextEdit 49 |
ktextedit.h
50 |
51 |
52 | 53 | ktextedit.h 54 | 55 | 56 | 57 |
58 | -------------------------------------------------------------------------------- /konqueror/plugins/fsview/22-apps-fsview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/fsview/22-apps-fsview.png -------------------------------------------------------------------------------- /konqueror/plugins/fsview/32-apps-fsview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/fsview/32-apps-fsview.png -------------------------------------------------------------------------------- /konqueror/plugins/fsview/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_definitions(-DTRANSLATION_DOMAIN=\"fsview\") 2 | add_subdirectory(tests) 3 | 4 | ########### next target ############### 5 | 6 | set(libfsview_SRCS 7 | treemap.cpp 8 | fsview.cpp 9 | scan.cpp 10 | inode.cpp 11 | ) 12 | 13 | 14 | ########### next target ############### 15 | 16 | set(fsview_SRCS main.cpp ${libfsview_SRCS} ) 17 | 18 | add_executable(fsview ${fsview_SRCS}) 19 | 20 | target_link_libraries(fsview KF5::KIOWidgets KF5::KDELibs4Support) 21 | 22 | install(TARGETS fsview ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) 23 | 24 | 25 | ########### next target ############### 26 | 27 | set(fsviewpart_PART_SRCS fsview_part.cpp ${libfsview_SRCS}) 28 | 29 | add_library(fsviewpart MODULE ${fsviewpart_PART_SRCS}) 30 | 31 | target_link_libraries(fsviewpart KF5::Parts KF5::KDELibs4Support) 32 | 33 | install(TARGETS fsviewpart DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 34 | 35 | 36 | ########### install files ############### 37 | 38 | install( FILES fsview_part.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) 39 | install( FILES fsview_part.rc DESTINATION ${KDE_INSTALL_DATADIR}/fsview ) 40 | 41 | ecm_install_icons( ICONS 22-apps-fsview.png 32-apps-fsview.png DESTINATION ${KDE_INSTALL_ICONDIR} THEME hicolor ) 42 | 43 | -------------------------------------------------------------------------------- /konqueror/plugins/fsview/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | $EXTRACTRC *.rc >> rc.cpp 3 | $XGETTEXT *.cpp -o $podir/fsview.pot 4 | -------------------------------------------------------------------------------- /konqueror/plugins/fsview/README: -------------------------------------------------------------------------------- 1 | What's this? 2 | ============ 3 | 4 | Josef Weidendorfer 5 | Josef.Weidendorfer@gmx.de 6 | 7 | FSView is a tool for showing disc utilization in a graphical form, much 8 | like the UNIX command 'du'. The visualisation type choosen is a treemap. 9 | Treemaps allow for showing metrics of objects in nested structures, like 10 | sizes of files and directories on your hard disc, where the the size of 11 | directories is defined to be the sum of the size of its children. 12 | Each object is represented by a rectangle which area is proportional to 13 | its metric. The metric must have the property that the sum of the 14 | children's metric of some object is equal or smaller than the objects 15 | metric. This holds true for the file/directory sizes in the use case of 16 | FSView. 17 | 18 | It's provided both as a Konqueror KPart plugin for the mime type 19 | inode/directory, and a standalone executable. 20 | 21 | This was meant as a small test application and usage tutorial for 22 | the TreeMap widget developed within KCachegrind. As it's quite cool 23 | and small, it is now provided as a Konqueror addon in KDE. 24 | 25 | For a full featured graphical 'du', see KDirStat. It's quite similar 26 | to FSView, but allows for lot of cleanup actions. 27 | 28 | Happy space hunting, 29 | Josef 30 | -------------------------------------------------------------------------------- /konqueror/plugins/fsview/fsview_part.rc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | &Edit 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | &View 14 | 15 | 16 | 17 | 18 | 19 | 20 | &Help 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /konqueror/plugins/fsview/tests/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} ) 2 | 3 | 4 | include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. ) 5 | 6 | ########### next target ############### 7 | 8 | set(libfsview_SRCS 9 | ${CMAKE_CURRENT_SOURCE_DIR}/../treemap.cpp 10 | ${CMAKE_CURRENT_SOURCE_DIR}/../fsview.cpp 11 | ${CMAKE_CURRENT_SOURCE_DIR}/../scan.cpp 12 | ${CMAKE_CURRENT_SOURCE_DIR}/../inode.cpp 13 | ) 14 | 15 | 16 | set(scantest_SRCS scantest.cpp ${libfsview_SRCS}) 17 | 18 | add_executable(scantest ${scantest_SRCS}) 19 | ecm_mark_as_test(scantest) 20 | 21 | target_link_libraries(scantest KF5::KIOCore KF5::KDELibs4Support Qt5::Widgets) 22 | 23 | 24 | -------------------------------------------------------------------------------- /konqueror/plugins/imagerotation/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | #if(NOT WIN32) 3 | # install( FILES jpegorient.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/ServiceMenus ) 4 | # install( PROGRAMS exif.py jpegorient orient.py DESTINATION ${KDE_INSTALL_BINDIR} ) 5 | #endif(NOT WIN32) 6 | 7 | install( FILES imageconverter.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/ServiceMenus ) 8 | 9 | 10 | -------------------------------------------------------------------------------- /konqueror/plugins/khtmlsettingsplugin/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ########### next target ############### 6 | add_definitions(-DTRANSLATION_DOMAIN=\"khtmlsettingsplugin\") 7 | 8 | find_package(KF5 REQUIRED KHtml) 9 | 10 | set(khtmlsettingsplugin_PART_SRCS settingsplugin.cpp ) 11 | 12 | add_library(khtmlsettingsplugin MODULE ${khtmlsettingsplugin_PART_SRCS}) 13 | 14 | 15 | 16 | target_link_libraries(khtmlsettingsplugin KF5::Parts KF5::KHtml KF5::KDELibs4Support) 17 | 18 | install(TARGETS khtmlsettingsplugin DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 19 | 20 | 21 | ########### install files ############### 22 | 23 | install( FILES khtmlsettingsplugin.rc khtmlsettingsplugin.desktop DESTINATION ${KDE_INSTALL_DATADIR}/khtml/kpartplugins ) 24 | install( FILES khtmlsettingsplugin.rc khtmlsettingsplugin.desktop DESTINATION ${KDE_INSTALL_DATADIR}/kwebkitpart/kpartplugins ) 25 | 26 | -------------------------------------------------------------------------------- /konqueror/plugins/khtmlsettingsplugin/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | $EXTRACTRC *.rc >> rc.cpp 3 | $XGETTEXT *.cpp -o $podir/khtmlsettingsplugin.pot 4 | -------------------------------------------------------------------------------- /konqueror/plugins/khtmlsettingsplugin/khtmlsettingsplugin.rc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | &Tools 5 | 6 | 7 | 8 | Extra Toolbar 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /konqueror/plugins/kimgalleryplugin/16-actions-imagegallery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/kimgalleryplugin/16-actions-imagegallery.png -------------------------------------------------------------------------------- /konqueror/plugins/kimgalleryplugin/22-actions-imagegallery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/kimgalleryplugin/22-actions-imagegallery.png -------------------------------------------------------------------------------- /konqueror/plugins/kimgalleryplugin/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ########### next target ############### 2 | add_definitions(-DTRANSLATION_DOMAIN=\"imgalleryplugin\") 3 | set(kimgallery_PART_SRCS imgalleryplugin.cpp imgallerydialog.cpp ) 4 | 5 | add_library(kimgallery MODULE ${kimgallery_PART_SRCS}) 6 | 7 | 8 | 9 | target_link_libraries(kimgallery KF5::Parts KF5::KDELibs4Support) 10 | 11 | install(TARGETS kimgallery DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 12 | 13 | 14 | ########### install files ############### 15 | 16 | install( FILES kimgalleryplugin.rc kimgalleryplugin.desktop DESTINATION ${KDE_INSTALL_DATADIR}/dolphinpart/kpartplugins ) 17 | 18 | set(kimagegallery_ICONS 16-actions-imagegallery.png 22-actions-imagegallery.png) 19 | 20 | ecm_install_icons(ICONS ${kimagegallery_ICONS} DESTINATION ${KDE_INSTALL_ICONDIR} THEME hicolor) 21 | 22 | 23 | -------------------------------------------------------------------------------- /konqueror/plugins/kimgalleryplugin/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | $EXTRACTRC *.rc >> rc.cpp 3 | $XGETTEXT *.cpp -o $podir/imgalleryplugin.pot 4 | -------------------------------------------------------------------------------- /konqueror/plugins/kimgalleryplugin/kimgalleryplugin.rc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | &Tools 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /konqueror/plugins/microformat/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ########### next target ############### 6 | 7 | set(mfkonqmficon_PART_SRCS konqmficon.cpp pluginbase.cpp ) 8 | 9 | add_library(mfkonqmficon MODULE ${mfkonqmficon_PART_SRCS}) 10 | 11 | 12 | 13 | target_link_libraries(mfkonqmficon KF5::KHtml) 14 | 15 | install(TARGETS mfkonqmficon DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 16 | 17 | 18 | ########### install files ############### 19 | 20 | install( FILES microformat.png DESTINATION ${KDE_INSTALL_DATADIR}/microformat/pics ) 21 | install( FILES mf_konqmficon.desktop mf_konqmficon.rc DESTINATION ${KDE_INSTALL_DATADIR}/khtml/kpartplugins ) 22 | 23 | -------------------------------------------------------------------------------- /konqueror/plugins/microformat/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | $EXTRACTRC *.rc >> rc.cpp 3 | $XGETTEXT *.cpp -o $podir/mf_konqplugin.pot 4 | -------------------------------------------------------------------------------- /konqueror/plugins/microformat/README: -------------------------------------------------------------------------------- 1 | Microformats 2 | ------------ 3 | 4 | Please see: 5 | 6 | http://developers.technorati.com/wiki/hCard 7 | http://developers.technorati.com/wiki/hCalendar 8 | http://developers.technorati.com/wiki/MicroFormat 9 | 10 | 11 | Also try: 12 | http://tantek.com/microformats/hcard-creator.html 13 | http://theryanking.com/microformats/hcalendar-creator.html 14 | 15 | -------------------------------------------------------------------------------- /konqueror/plugins/microformat/mf_konqmficon.rc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /konqueror/plugins/microformat/microformat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/microformat/microformat.png -------------------------------------------------------------------------------- /konqueror/plugins/microformat/microformat.svgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/microformat/microformat.svgz -------------------------------------------------------------------------------- /konqueror/plugins/microformat/pluginbase.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2004 Teemu Rytilahti 3 | Copyright (C) 2005 George Staikos 4 | 5 | This program is free software; you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation; either version 2 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program; if not, write to the Free Software 17 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 | 19 | As a special exception, permission is given to link this program 20 | with any edition of Qt, and distribute the resulting executable, 21 | without including the source code for Qt in the source distribution. 22 | */ 23 | #include 24 | #include 25 | 26 | #include "pluginbase.h" 27 | 28 | #include 29 | 30 | PluginBase::PluginBase() 31 | { 32 | } 33 | 34 | PluginBase::~PluginBase() 35 | { 36 | } 37 | 38 | void PluginBase::addVCardViaDCOP(const QString &card) 39 | { 40 | QDBusInterface kaddressbook("org.kde.kaddressbook", "/AddressBookService", "org.kde.adressbook.service"); 41 | kaddressbook.call("importVCardFromData", card); 42 | } 43 | 44 | -------------------------------------------------------------------------------- /konqueror/plugins/microformat/pluginbase.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2004 Teemu Rytilahti 3 | Copyright (C) 2005 George Staikos 4 | 5 | This program is free software; you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation; either version 2 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program; if not, write to the Free Software 17 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 | 19 | As a special exception, permission is given to link this program 20 | with any edition of Qt, and distribute the resulting executable, 21 | without including the source code for Qt in the source distribution. 22 | */ 23 | 24 | #ifndef PLUGINBASE_H 25 | #define PLUGINBASE_H 26 | 27 | class QString; 28 | 29 | class PluginBase 30 | { 31 | public: 32 | PluginBase(); 33 | ~PluginBase(); 34 | 35 | public: 36 | void addVCardViaDCOP(const QString &vcard); 37 | }; 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /konqueror/plugins/minitools/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ########### next target ############### 6 | add_definitions(-DTRANSLATION_DOMAIN=\"minitoolsplugin\") 7 | 8 | find_package(KF5 REQUIRED KHtml) 9 | 10 | set(minitoolsplugin_PART_SRCS minitoolsplugin.cpp ) 11 | 12 | add_library(minitoolsplugin MODULE ${minitoolsplugin_PART_SRCS}) 13 | 14 | 15 | 16 | target_link_libraries(minitoolsplugin KF5::KHtml KF5::KDELibs4Support) 17 | 18 | install(TARGETS minitoolsplugin DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 19 | 20 | 21 | ########### install files ############### 22 | 23 | install( FILES minitoolsplugin.rc minitoolsplugin.desktop DESTINATION ${KDE_INSTALL_DATADIR}/khtml/kpartplugins ) 24 | 25 | -------------------------------------------------------------------------------- /konqueror/plugins/minitools/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | $EXTRACTRC *.rc >> rc.cpp 3 | $XGETTEXT *.cpp -o $podir/minitoolsplugin.pot 4 | -------------------------------------------------------------------------------- /konqueror/plugins/minitools/minitoolsplugin.rc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | &Tools 5 | 6 | 7 | 8 | Extra Toolbar 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /konqueror/plugins/rellinks/AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/rellinks/AUTHORS -------------------------------------------------------------------------------- /konqueror/plugins/rellinks/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ########### next target ############### 5 | add_definitions(-DTRANSLATION_DOMAIN=\"rellinks\") 6 | find_package(KF5 REQUIRED KHtml) 7 | 8 | set(rellinksplugin_PART_SRCS plugin_rellinks.cpp ) 9 | 10 | add_library(rellinksplugin MODULE ${rellinksplugin_PART_SRCS}) 11 | 12 | 13 | 14 | target_link_libraries(rellinksplugin KF5::KHtml KF5::KDELibs4Support) 15 | 16 | install(TARGETS rellinksplugin DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 17 | 18 | 19 | ########### install files ############### 20 | 21 | install( FILES plugin_rellinks.rc plugin_rellinks.desktop DESTINATION ${KDE_INSTALL_DATADIR}/khtml/kpartplugins ) 22 | 23 | 24 | -------------------------------------------------------------------------------- /konqueror/plugins/rellinks/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/rellinks/ChangeLog -------------------------------------------------------------------------------- /konqueror/plugins/rellinks/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | $EXTRACTRC *.rc >> rc.cpp 3 | $XGETTEXT *.cpp -o $podir/rellinks.pot 4 | -------------------------------------------------------------------------------- /konqueror/plugins/rellinks/README: -------------------------------------------------------------------------------- 1 | What is Konq Rellinks ? 2 | ======================= 3 | 4 | Konq Rellinks is an add-on for Konqueror, the official KDE browser. 5 | 6 | It allows you to access the relations defined in the header of the document. These relations can be links to other versions of the document, RSS backend, search page, copyright informations,.... For more informations about this, see "The 'link'-Element in (X)HTML" at http://www.subotnik.net/html/link. 7 | 8 | The look of the Rellinks add-on is similar to the "Site Navigation Toolbar" of the Mozilla browser (not Mozilla Firebird). 9 | 10 | More Info 11 | ========= 12 | 13 | See http://shift.freezope.org/konq_rellinks -------------------------------------------------------------------------------- /konqueror/plugins/rellinks/TODO: -------------------------------------------------------------------------------- 1 | Rellinks : 2 | ========= 3 | 4 | * Support multiple same relations for all relations in a beautiful way 5 | (as FireFox Link Toolbar Extension do) : 6 | by transfoming buttons (KAction) in menus (KActionMenu) if more than one item is found for a relation ? 7 | * Possibility to configure keyboard shortcuts 8 | * Manage "rel" and "rev" differently 9 | * Manage "media" 10 | * Respect the specifications : A LinkTypes value refers to a space-separated list of link types. White space characters are not permitted within link types. 11 | * Send the referer when going to a link 12 | * Support target attribut ? (Cf. Mozilla link toolbar bug : http://mozdev.org/bugs/show_bug.cgi?id=5259) 13 | 14 | 15 | Rellinks website (http://shift.freezope.org/konq_rellinks) : 16 | ============================================================ 17 | 18 | * Add more testcasess 19 | * Add more documentation 20 | * Compare implementation with other browsers -------------------------------------------------------------------------------- /konqueror/plugins/rellinks/plugin_rellinks.rc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | &Tools 5 | Document Relations 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /konqueror/plugins/rellinks/rellinks.lsm: -------------------------------------------------------------------------------- 1 | Begin3 2 | Title: RelLinks -- Some description 3 | Version: 0.3 4 | Entered-date: 5 | Description: 6 | Keywords: KDE Qt 7 | Author: Franck Quélain 8 | Maintained-by: Franck Quélain 9 | Home-page: 10 | Alternate-site: 11 | Primary-site: ftp://ftp.kde.org/pub/kde/unstable/apps/utils 12 | xxxxxx rellinks-0.3.tar.gz 13 | xxx rellinks-0.3.lsm 14 | Platform: Linux. Needs KDE 15 | Copying-policy: GPL 16 | End 17 | -------------------------------------------------------------------------------- /konqueror/plugins/searchbar/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project (searchbar) 2 | add_definitions(-DTRANSLATION_DOMAIN=\"searchbarplugin\") 3 | find_package(Qt5 REQUIRED Script) 4 | 5 | add_subdirectory( icons ) 6 | add_subdirectory( opensearch ) 7 | 8 | ########### next target ############### 9 | 10 | set(searchbarplugin_PART_SRCS 11 | searchbar.cpp 12 | OpenSearchManager.cpp 13 | SuggestionEngine.cpp 14 | WebShortcutWidget.cpp 15 | opensearch/OpenSearchEngine.cpp 16 | opensearch/OpenSearchReader.cpp 17 | opensearch/OpenSearchWriter.cpp) 18 | 19 | add_library(searchbarplugin MODULE ${searchbarplugin_PART_SRCS}) 20 | 21 | target_link_libraries(searchbarplugin KF5::Parts Qt5::Script KF5::KDELibs4Support) 22 | 23 | install(TARGETS searchbarplugin DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 24 | 25 | ########### install files ############### 26 | 27 | install( FILES searchbar.rc searchbar.desktop DESTINATION ${KDE_INSTALL_DATADIR}/konqueror/kpartplugins ) 28 | 29 | -------------------------------------------------------------------------------- /konqueror/plugins/searchbar/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | $EXTRACTRC *.rc >> rc.cpp 3 | $XGETTEXT *.cpp -o $podir/searchbarplugin.pot 4 | -------------------------------------------------------------------------------- /konqueror/plugins/searchbar/icons/16-actions-google.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/searchbar/icons/16-actions-google.png -------------------------------------------------------------------------------- /konqueror/plugins/searchbar/icons/22-actions-google.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/searchbar/icons/22-actions-google.png -------------------------------------------------------------------------------- /konqueror/plugins/searchbar/icons/32-actions-google.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/searchbar/icons/32-actions-google.png -------------------------------------------------------------------------------- /konqueror/plugins/searchbar/icons/48-actions-google.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/searchbar/icons/48-actions-google.png -------------------------------------------------------------------------------- /konqueror/plugins/searchbar/icons/64-actions-google.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/searchbar/icons/64-actions-google.png -------------------------------------------------------------------------------- /konqueror/plugins/searchbar/icons/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(searchbar_ICONS 2 | 16-actions-google.png 3 | 22-actions-google.png 4 | 32-actions-google.png 5 | 48-actions-google.png 6 | 64-actions-google.png 7 | ) 8 | set(searchbar_ox_ICONS oxsc-actions-google.svgz) 9 | ecm_install_icons(ICONS ${searchbar_ICONS} DESTINATION ${DATA_INSTALL_DIR}/konqueror/icons/ THEME hicolor ) 10 | ecm_install_icons(ICONS ${searchbar_ox_ICONS} DESTINATION ${DATA_INSTALL_DIR}/konqueror/icons/ THEME oxygen ) 11 | -------------------------------------------------------------------------------- /konqueror/plugins/searchbar/icons/oxsc-actions-google.svgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/searchbar/icons/oxsc-actions-google.svgz -------------------------------------------------------------------------------- /konqueror/plugins/searchbar/opensearch/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory( engines ) 2 | 3 | -------------------------------------------------------------------------------- /konqueror/plugins/searchbar/opensearch/OpenSearchReader.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 Jakub Wieczorek 3 | * 4 | * This program is free software; you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation; either version 2 of the License, or 7 | * (at your option) any later version. 8 | * 9 | * This program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 | * Boston, MA 02110-1301 USA 18 | */ 19 | 20 | #ifndef OPENSEARCHREADER_H 21 | #define OPENSEARCHREADER_H 22 | 23 | #include 24 | 25 | class OpenSearchEngine; 26 | 27 | class OpenSearchReader : public QXmlStreamReader 28 | { 29 | public: 30 | OpenSearchReader(); 31 | 32 | OpenSearchEngine *read(const QByteArray &data); 33 | OpenSearchEngine *read(QIODevice *device); 34 | 35 | private: 36 | OpenSearchEngine *read(); 37 | }; 38 | 39 | #endif // OPENSEARCHREADER_H 40 | -------------------------------------------------------------------------------- /konqueror/plugins/searchbar/opensearch/OpenSearchWriter.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 Jakub Wieczorek 3 | * 4 | * This program is free software; you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation; either version 2 of the License, or 7 | * (at your option) any later version. 8 | * 9 | * This program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 | * Boston, MA 02110-1301 USA 18 | */ 19 | 20 | #ifndef OPENSEARCHWRITER_H 21 | #define OPENSEARCHWRITER_H 22 | 23 | #include 24 | 25 | class QIODevice; 26 | 27 | class OpenSearchEngine; 28 | 29 | class OpenSearchWriter : public QXmlStreamWriter 30 | { 31 | public: 32 | OpenSearchWriter(); 33 | 34 | bool write(QIODevice *device, OpenSearchEngine *engine); 35 | 36 | private: 37 | void write(OpenSearchEngine *engine); 38 | }; 39 | 40 | #endif 41 | 42 | -------------------------------------------------------------------------------- /konqueror/plugins/searchbar/opensearch/engines/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | install( FILES google.xml DESTINATION ${KDE_INSTALL_DATADIR}/konqueror/opensearch ) 2 | 3 | -------------------------------------------------------------------------------- /konqueror/plugins/searchbar/opensearch/engines/google.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Google 4 | Google Web Search 5 | 6 | 7 | http://www.google.com/favicon.ico 8 | 9 | 10 | -------------------------------------------------------------------------------- /konqueror/plugins/searchbar/searchbar.rc: -------------------------------------------------------------------------------- 1 | 2 | 3 | Search Toolbar 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /konqueror/plugins/shellcmdplugin/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | ########### next target ############### 3 | find_package(KF5 REQUIRED Su) 4 | add_definitions(-DTRANSLATION_DOMAIN=\"kshellcmdplugin\") 5 | set(konq_shellcmdplugin_PART_SRCS kshellcmdexecutor.cpp kshellcmddialog.cpp kshellcmdplugin.cpp ) 6 | 7 | 8 | add_library(konq_shellcmdplugin MODULE ${konq_shellcmdplugin_PART_SRCS}) 9 | 10 | 11 | target_link_libraries(konq_shellcmdplugin KF5::Parts KF5::Su KF5::KDELibs4Support) 12 | 13 | install(TARGETS konq_shellcmdplugin DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 14 | 15 | 16 | ########### install files ############### 17 | install( FILES kshellcmdplugin.rc kshellcmdplugin.desktop DESTINATION ${KDE_INSTALL_DATADIR}/dolphinpart/kpartplugins ) 18 | -------------------------------------------------------------------------------- /konqueror/plugins/shellcmdplugin/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | $EXTRACTRC *.rc *.ui *.kcfg >> rc.cpp 3 | $XGETTEXT *.cpp -o $podir/kshellcmdplugin.pot 4 | -------------------------------------------------------------------------------- /konqueror/plugins/shellcmdplugin/kshellcmddialog.h: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | Copyright (C) 2000 Alexander Neundorf 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Library General Public 6 | License as published by the Free Software Foundation; either 7 | version 2 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | Library General Public License for more details. 13 | 14 | You should have received a copy of the GNU Library General Public License 15 | along with this library; see the file COPYING.LIB. If not, write to 16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 | Boston, MA 02110-1301, USA. 18 | */ 19 | 20 | #ifndef KSHELLCMDDIALOG_H 21 | #define KSHELLCMDDIALOG_H 22 | 23 | #include 24 | 25 | class KShellCommandExecutor; 26 | class QPushButton; 27 | 28 | class KShellCommandDialog: public KDialog 29 | { 30 | Q_OBJECT 31 | public: 32 | KShellCommandDialog(const QString &title, const QString &command, QWidget *parent = Q_NULLPTR, bool modal = false); 33 | virtual ~KShellCommandDialog(); 34 | //blocking 35 | int executeCommand(); 36 | protected: 37 | 38 | KShellCommandExecutor *m_shell; 39 | QPushButton *cancelButton; 40 | QPushButton *closeButton; 41 | protected Q_SLOTS: 42 | void disableStopButton(); 43 | void slotClose(); 44 | }; 45 | 46 | #endif // KSHELLCMDDIALOG_H 47 | -------------------------------------------------------------------------------- /konqueror/plugins/shellcmdplugin/kshellcmdplugin.h: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | Copyright (C) 2000 David Faure 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Library General Public 6 | License version 2 as published by the Free Software Foundation. 7 | 8 | This library is distributed in the hope that it will be useful, 9 | but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11 | Library General Public License for more details. 12 | 13 | You should have received a copy of the GNU Library General Public License 14 | along with this library; see the file COPYING.LIB. If not, write to 15 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 16 | Boston, MA 02110-1301, USA. 17 | */ 18 | 19 | #ifndef kshellcmdplugin_h 20 | #define kshellcmdplugin_h 21 | 22 | #include 23 | 24 | class KShellCmdPlugin : public KParts::Plugin 25 | { 26 | Q_OBJECT 27 | public: 28 | KShellCmdPlugin(QObject *parent, const QVariantList &); 29 | ~KShellCmdPlugin() {} 30 | 31 | public Q_SLOTS: 32 | void slotExecuteShellCommand(); 33 | }; 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /konqueror/plugins/shellcmdplugin/kshellcmdplugin.rc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | &Tools 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /konqueror/plugins/ttsplugin/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ########### khtmlttsplugin ############### 2 | add_definitions(-DTRANSLATION_DOMAIN=\"khtmltts\") 3 | set(khtmlttsplugin_PART_SRCS khtmltts.cpp ) 4 | 5 | add_library(khtmlttsplugin MODULE ${khtmlttsplugin_PART_SRCS}) 6 | 7 | target_link_libraries(khtmlttsplugin KF5::Parts Qt5::TextToSpeech) 8 | 9 | install(TARGETS khtmlttsplugin DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 10 | 11 | 12 | ########### install files ############### 13 | 14 | install( FILES khtmltts.rc khtmltts.desktop DESTINATION ${KDE_INSTALL_DATADIR}/khtml/kpartplugins ) 15 | install( FILES khtmltts.rc khtmltts.desktop DESTINATION ${KDE_INSTALL_DATADIR}/kwebkitpart/kpartplugins ) 16 | 17 | -------------------------------------------------------------------------------- /konqueror/plugins/ttsplugin/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env bash 2 | $EXTRACTRC *.rc >> rc.cpp 3 | $XGETTEXT *.cpp -o $podir/khtmltts.pot 4 | -------------------------------------------------------------------------------- /konqueror/plugins/ttsplugin/khtmltts.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | Copyright (C) 2002 by George Russell 3 | Copyright (C) 2003-2004 by Olaf Schmidt 4 | Copyright (C) 2015 by Jeremy Whiting 5 | ***************************************************************************/ 6 | 7 | /*************************************************************************** 8 | * * 9 | * This program is free software; you can redistribute it and/or modify * 10 | * it under the terms of the GNU General Public License as published by * 11 | * the Free Software Foundation; either version 2 of the License, or * 12 | * (at your option) any later version. * 13 | * * 14 | ***************************************************************************/ 15 | 16 | #ifndef KHTMLTTS_H 17 | #define KHTMLTTS_H 18 | 19 | #include 20 | 21 | /** 22 | * KHTML KParts Plugin 23 | */ 24 | class KHTMLPluginTTS : public KParts::Plugin 25 | { 26 | Q_OBJECT 27 | public: 28 | 29 | /** 30 | * Construct a new KParts plugin. 31 | */ 32 | KHTMLPluginTTS(QObject *parent, const QVariantList &); 33 | 34 | /** 35 | * Destructor. 36 | */ 37 | virtual ~KHTMLPluginTTS(); 38 | public Q_SLOTS: 39 | void slotReadOut(); 40 | }; 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /konqueror/plugins/ttsplugin/khtmltts.rc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | &Tools 6 | 7 | 8 | 9 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /konqueror/plugins/uachanger/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ########### next target ############### 2 | add_definitions(-DTRANSLATION_DOMAIN=\"uachangerplugin\") 3 | set(uachangerplugin_PART_SRCS uachangerplugin.cpp ) 4 | 5 | add_library(uachangerplugin MODULE ${uachangerplugin_PART_SRCS}) 6 | 7 | target_link_libraries(uachangerplugin KF5::Parts ) 8 | 9 | install(TARGETS uachangerplugin DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 10 | 11 | ########### install files ############### 12 | 13 | install( FILES uachangerplugin.rc uachangerplugin.desktop DESTINATION ${KDE_INSTALL_DATADIR}/khtml/kpartplugins ) 14 | install( FILES uachangerplugin.rc uachangerplugin.desktop DESTINATION ${KDE_INSTALL_DATADIR}/kwebkitpart/kpartplugins ) 15 | -------------------------------------------------------------------------------- /konqueror/plugins/uachanger/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | $EXTRACTRC *.rc >> rc.cpp 3 | $XGETTEXT *.cpp -o $podir/uachangerplugin.pot 4 | -------------------------------------------------------------------------------- /konqueror/plugins/uachanger/uachangerplugin.rc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | &Tools 5 | 6 | 7 | 8 | Extra Toolbar 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /konqueror/plugins/uninstall.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Encoding=UTF-8 3 | Hidden=true 4 | -------------------------------------------------------------------------------- /konqueror/plugins/validators/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | $EXTRACTRC *.rc *.ui *.kcfg >> rc.cpp 3 | $XGETTEXT *.cpp -o $podir/validatorsplugin.pot 4 | -------------------------------------------------------------------------------- /konqueror/plugins/validators/clickiconlabel.h: -------------------------------------------------------------------------------- 1 | /* This file is part of Validators 2 | * 3 | * Copyright (C) 2008 by Pino Toscano 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 | **/ 19 | 20 | #ifndef CLICKICONLABEL_H 21 | #define CLICKICONLABEL_H 22 | 23 | #include 24 | 25 | class QLabel; 26 | 27 | class ClickIconLabel : public QWidget 28 | { 29 | Q_OBJECT 30 | public: 31 | ClickIconLabel(QWidget *parent = Q_NULLPTR); 32 | 33 | void setText(const QString &text); 34 | void setPixmap(const QPixmap &pixmap); 35 | 36 | signals: 37 | void leftClicked(); 38 | void rightClicked(); 39 | void midClicked(); 40 | 41 | protected: 42 | void changeEvent(QEvent *event) Q_DECL_OVERRIDE; 43 | void mouseReleaseEvent(QMouseEvent *event) Q_DECL_OVERRIDE; 44 | 45 | private: 46 | QLabel *m_text; 47 | QLabel *m_pixmap; 48 | }; 49 | 50 | #endif 51 | -------------------------------------------------------------------------------- /konqueror/plugins/validators/config-konq-validator.h.cmake: -------------------------------------------------------------------------------- 1 | #cmakedefine HAVE_TIDY 1 2 | #cmakedefine HAVE_TIDY_ULONG_VERSION 1 3 | -------------------------------------------------------------------------------- /konqueror/plugins/validators/pics/16-actions-cssvalidator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/validators/pics/16-actions-cssvalidator.png -------------------------------------------------------------------------------- /konqueror/plugins/validators/pics/16-actions-htmlvalidator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/validators/pics/16-actions-htmlvalidator.png -------------------------------------------------------------------------------- /konqueror/plugins/validators/pics/16-actions-validators.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/validators/pics/16-actions-validators.png -------------------------------------------------------------------------------- /konqueror/plugins/validators/pics/22-actions-cssvalidator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/validators/pics/22-actions-cssvalidator.png -------------------------------------------------------------------------------- /konqueror/plugins/validators/pics/22-actions-htmlvalidator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/validators/pics/22-actions-htmlvalidator.png -------------------------------------------------------------------------------- /konqueror/plugins/validators/pics/22-actions-validators.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/validators/pics/22-actions-validators.png -------------------------------------------------------------------------------- /konqueror/plugins/validators/pics/32-actions-htmlvalidator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/validators/pics/32-actions-htmlvalidator.png -------------------------------------------------------------------------------- /konqueror/plugins/validators/pics/32-actions-validators.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/validators/pics/32-actions-validators.png -------------------------------------------------------------------------------- /konqueror/plugins/validators/pics/48-actions-htmlvalidator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/validators/pics/48-actions-htmlvalidator.png -------------------------------------------------------------------------------- /konqueror/plugins/validators/pics/48-actions-validators.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/validators/pics/48-actions-validators.png -------------------------------------------------------------------------------- /konqueror/plugins/validators/pics/64-actions-htmlvalidator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/validators/pics/64-actions-htmlvalidator.png -------------------------------------------------------------------------------- /konqueror/plugins/validators/pics/64-actions-validators.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/validators/pics/64-actions-validators.png -------------------------------------------------------------------------------- /konqueror/plugins/validators/pics/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(validators_hi_ICONS 2 | 16-actions-validators.png 3 | 22-actions-validators.png 4 | 48-actions-htmlvalidator.png 5 | 64-actions-validators.png 6 | 16-actions-cssvalidator.png 7 | 22-actions-cssvalidator.png 8 | 32-actions-htmlvalidator.png 9 | 48-actions-validators.png 10 | 16-actions-htmlvalidator.png 11 | 22-actions-htmlvalidator.png 12 | 32-actions-validators.png 13 | 64-actions-htmlvalidator.png 14 | ) 15 | set(validators_ox_ICONS 16 | sc-actions-htmlvalidator.svgz 17 | sc-actions-validators.svgz 18 | ) 19 | ecm_install_icons(ICONS ${validators_hi_ICONS} DESTINATION ${KDE_INSTALL_ICONDIR} THEME hicolor) 20 | ecm_install_icons(ICONS ${validators_ox_ICONS} DESTINATION ${KDE_INSTALL_ICONDIR} THEME oxygen) 21 | -------------------------------------------------------------------------------- /konqueror/plugins/validators/pics/sc-actions-htmlvalidator.svgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/validators/pics/sc-actions-htmlvalidator.svgz -------------------------------------------------------------------------------- /konqueror/plugins/validators/pics/sc-actions-validators.svgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/validators/pics/sc-actions-validators.svgz -------------------------------------------------------------------------------- /konqueror/plugins/validators/plugin_validators.rc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | &Tools 5 | 6 | 7 | 8 | Extra Toolbar 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /konqueror/plugins/validators/reportdialog.h: -------------------------------------------------------------------------------- 1 | /* This file is part of Validators 2 | * 3 | * Copyright (C) 2008 by Pino Toscano 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 | **/ 19 | 20 | #ifndef REPORTDIALOG_H 21 | #define REPORTDIALOG_H 22 | 23 | #include 24 | 25 | #include "ui_reportwidget.h" 26 | 27 | struct ValidationResult; 28 | 29 | class ReportDialog : public KDialog 30 | { 31 | Q_OBJECT 32 | public: 33 | ReportDialog(const QList &results, QWidget *parent); 34 | 35 | virtual QSize sizeHint() const; 36 | 37 | private: 38 | Ui::ReportWidget m_ui; 39 | }; 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /konqueror/plugins/validators/reportwidget.ui: -------------------------------------------------------------------------------- 1 | 2 | ReportWidget 3 | 4 | 5 | 6 | 0 7 | 0 8 | 400 9 | 300 10 | 11 | 12 | 13 | 14 | 15 | 16 | true 17 | 18 | 19 | false 20 | 21 | 22 | false 23 | 24 | 25 | false 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | Frame 35 | 36 | 37 | 38 | 39 | Row 40 | 41 | 42 | 43 | 44 | Column 45 | 46 | 47 | 48 | 49 | Message 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /konqueror/plugins/validators/settings.kcfgc: -------------------------------------------------------------------------------- 1 | ClassName=ValidatorsSettings 2 | File=validators.kcfg 3 | Mutators=true 4 | Singleton=true 5 | -------------------------------------------------------------------------------- /konqueror/plugins/webarchiver/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_definitions(-DTRANSLATION_DOMAIN=\"webarchiver\") 2 | find_package(KF5 REQUIRED COMPONENTS KIO Archive KHtml) 3 | 4 | set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}") 5 | ########### next target ############### 6 | 7 | set(webarchiverplugin_PART_SRCS plugin_webarchiver.cpp archivedialog.cpp ) 8 | 9 | ki18n_wrap_ui(webarchiverplugin_PART_SRCS archiveviewbase.ui ) 10 | 11 | add_library(webarchiverplugin MODULE ${webarchiverplugin_PART_SRCS}) 12 | 13 | target_link_libraries(webarchiverplugin KF5::KHtml KF5::KDELibs4Support KF5::KIOCore KF5::Archive) 14 | install(TARGETS webarchiverplugin DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 15 | 16 | 17 | ########### next target ############### 18 | 19 | set(webarchivethumbnail_PART_SRCS webarchivecreator.cpp ) 20 | 21 | add_library(webarchivethumbnail MODULE ${webarchivethumbnail_PART_SRCS}) 22 | 23 | target_link_libraries(webarchivethumbnail KF5::KHtml KF5::KDELibs4Support KF5::KIOCore) 24 | 25 | install(TARGETS webarchivethumbnail DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 26 | 27 | 28 | ########### install files ############### 29 | 30 | install( FILES plugin_webarchiver.rc plugin_webarchiver.desktop DESTINATION ${KDE_INSTALL_DATADIR}/khtml/kpartplugins ) 31 | install( FILES webarchivethumbnail.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) 32 | 33 | ecm_install_icons( ${KDE_INSTALL_ICONDIR} ) 34 | 35 | -------------------------------------------------------------------------------- /konqueror/plugins/webarchiver/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | $EXTRACTRC *.rc *.ui >> rc.cpp 3 | $XGETTEXT *.cpp -o $podir/webarchiver.pot 4 | -------------------------------------------------------------------------------- /konqueror/plugins/webarchiver/hi16-actions-webarchiver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/webarchiver/hi16-actions-webarchiver.png -------------------------------------------------------------------------------- /konqueror/plugins/webarchiver/hi22-actions-webarchiver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/plugins/webarchiver/hi22-actions-webarchiver.png -------------------------------------------------------------------------------- /konqueror/plugins/webarchiver/plugin_webarchiver.h: -------------------------------------------------------------------------------- 1 | /* This file is part of Webarchiver 2 | * Copyright (C) 2001 by Andreas Schlapbach 3 | * 4 | * This library is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Library General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2 of the License, or (at your option) any later version. 8 | * 9 | * This library is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Library General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Library General Public License 15 | * along with this library; see the file COPYING.LIB. If not, write to 16 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 | * Boston, MA 02110-1301, USA. 18 | **/ 19 | 20 | /* $Id$ */ 21 | 22 | #ifndef plugin_webarchiver_h 23 | #define plugin_webarchiver_h 24 | 25 | #include 26 | #include 27 | 28 | class PluginWebArchiver : public KParts::Plugin 29 | { 30 | Q_OBJECT 31 | 32 | public: 33 | PluginWebArchiver(QObject *parent, 34 | const QVariantList &); 35 | virtual ~PluginWebArchiver(); 36 | 37 | public slots: 38 | void slotSaveToArchive(); 39 | }; 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /konqueror/plugins/webarchiver/plugin_webarchiver.rc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | &Tools 5 | 6 | 7 | 8 | Extra Toolbar 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /konqueror/settings/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory( konq ) 2 | add_subdirectory( konqhtml ) 3 | add_subdirectory( performance ) 4 | add_subdirectory( bookmarks ) 5 | -------------------------------------------------------------------------------- /konqueror/settings/bookmarks/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | add_definitions(-DTRANSLATION_DOMAIN=\"kcmbookmarks\") 3 | 4 | ########### next target ############### 5 | 6 | set(kcm_bookmarks_PART_SRCS 7 | main.cpp 8 | bookmarks.cpp) 9 | 10 | ki18n_wrap_ui(kcm_bookmarks_PART_SRCS 11 | bookmarks.ui) 12 | 13 | add_library(kcm_bookmarks MODULE ${kcm_bookmarks_PART_SRCS}) 14 | 15 | target_link_libraries(kcm_bookmarks KF5::KCMUtils KF5::KIOCore KF5::I18n KF5::KDELibs4Support) 16 | 17 | install(TARGETS kcm_bookmarks DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 18 | 19 | ########### install files ############### 20 | 21 | install( FILES bookmarks.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) 22 | 23 | -------------------------------------------------------------------------------- /konqueror/settings/bookmarks/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env bash 2 | $EXTRACTRC *.ui *.kcfg >> rc.cpp 3 | $XGETTEXT *.cpp -o $podir/kcmbookmarks.pot 4 | -------------------------------------------------------------------------------- /konqueror/settings/bookmarks/bookmarks.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2008 Xavier Vello 3 | 4 | This program is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; if not, write to the Free Software 16 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 17 | */ 18 | 19 | #ifndef KCM_BOOKMARKS_H 20 | #define KCM_BOOKMARKS_H 21 | 22 | // KDE 23 | #include 24 | 25 | // Local 26 | #include "ui_bookmarks.h" 27 | 28 | class BookmarksConfigModule : public KCModule 29 | { 30 | Q_OBJECT 31 | 32 | public: 33 | BookmarksConfigModule(QWidget *parent, const QVariantList &args); 34 | ~BookmarksConfigModule(); 35 | 36 | void load() Q_DECL_OVERRIDE; 37 | void save() Q_DECL_OVERRIDE; 38 | void defaults() Q_DECL_OVERRIDE; 39 | QString quickHelp() const Q_DECL_OVERRIDE; 40 | 41 | private Q_SLOTS: 42 | void clearCache(); 43 | void configChanged(); 44 | 45 | private: 46 | Ui::BookmarksConfigUI ui; 47 | }; 48 | 49 | #endif // KCM_BOOKMARKS_H 50 | 51 | -------------------------------------------------------------------------------- /konqueror/settings/bookmarks/main.cpp: -------------------------------------------------------------------------------- 1 | // (c) Torben Weis 1998 2 | // (c) David Faure 1998 3 | /* 4 | * main.cpp for creating the konqueror kio kcm modules 5 | * 6 | * Copyright (C) 2000,2001,2009 Alexander Neundorf 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 2 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 21 | */ 22 | 23 | // Qt 24 | #include 25 | 26 | // KDE 27 | #include 28 | #include 29 | #include 30 | 31 | // Local 32 | #include "bookmarks.h" 33 | 34 | K_PLUGIN_FACTORY(KioConfigFactory, 35 | registerPlugin("bookmarks"); 36 | ) 37 | K_EXPORT_PLUGIN(KioConfigFactory("kcmbookmarks")) 38 | #include "main.moc" 39 | -------------------------------------------------------------------------------- /konqueror/settings/konq/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_definitions(-DTRANSLATION_DOMAIN=\"kcmkonq\") 2 | set(kcm_konq_PART_SRCS 3 | behaviour.cpp 4 | konqkcmfactory.cpp 5 | # kcustommenueditor.cpp 6 | ) 7 | 8 | add_library(kcm_konq MODULE ${kcm_konq_PART_SRCS}) 9 | 10 | 11 | target_link_libraries(kcm_konq KF5::KCMUtils KF5::KIOCore KF5::I18n KF5::KIOWidgets Qt5::DBus) 12 | 13 | install(TARGETS kcm_konq DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 14 | 15 | 16 | ########### install files ############### 17 | install( FILES 18 | filebehavior.desktop 19 | #fileappearance.desktop 20 | DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) 21 | install( FILES overlapping.png onlyone.png DESTINATION ${KDE_INSTALL_DATADIR}/kcontrol/pics ) 22 | 23 | -------------------------------------------------------------------------------- /konqueror/settings/konq/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env bash 2 | $XGETTEXT *.cpp -o $podir/kcmkonq.pot 3 | -------------------------------------------------------------------------------- /konqueror/settings/konq/README: -------------------------------------------------------------------------------- 1 | This module contains a combination of configuration items which at first 2 | sight seem to be a rather weird combination. 3 | 4 | It contains configuration for: 5 | * KDesktop 6 | * Konqueror 7 | * Number of virtual desktops. (Handled by KWin via NETWM) 8 | * Behaviour of desktop borders (Handled by KWin) 9 | 10 | The reason for this combination is that the configuration of KDesktop and 11 | Konqueror is very similar codewise. On the other hand, the number of virtual 12 | desktops, border behaviour and the other KDesktop options belongs together 13 | from a user interface point of view. The result is that all these options 14 | are now grouped together here. 15 | 16 | In total it provide 3 configuration modules: 17 | * desktop.desktop (Desktop configuration) 18 | * kcmkonq.desktop (File browser configuration) 19 | * virtualdesktops.desktop (Configuration of virtual desktops) 20 | -------------------------------------------------------------------------------- /konqueror/settings/konq/konqkcmfactory.cpp: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | Copyright (C) 2006-2007 Matthias Kretz 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Library General Public 6 | License version 2 as published by the Free Software Foundation. 7 | 8 | This library is distributed in the hope that it will be useful, 9 | but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11 | Library General Public License for more details. 12 | 13 | You should have received a copy of the GNU Library General Public License 14 | along with this library; see the file COPYING.LIB. If not, write to 15 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 16 | Boston, MA 02110-1301, USA. 17 | 18 | */ 19 | 20 | #include "konqkcmfactory.h" 21 | #include "behaviour.h" 22 | 23 | #include 24 | #include 25 | 26 | K_PLUGIN_FACTORY_DEFINITION(KonqKcmFactory, 27 | registerPlugin("behavior"); 28 | //registerPlugin("dbehavior"); 29 | //registerPlugin("appearance"); 30 | //registerPlugin("dappearance"); 31 | ) 32 | K_EXPORT_PLUGIN(KonqKcmFactory("kcmkonq")) 33 | #include "moc_konqkcmfactory.cpp" 34 | -------------------------------------------------------------------------------- /konqueror/settings/konq/konqkcmfactory.h: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | Copyright (C) 2006-2007 Matthias Kretz 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Library General Public 6 | License version 2 as published by the Free Software Foundation. 7 | 8 | This library is distributed in the hope that it will be useful, 9 | but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11 | Library General Public License for more details. 12 | 13 | You should have received a copy of the GNU Library General Public License 14 | along with this library; see the file COPYING.LIB. If not, write to 15 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 16 | Boston, MA 02110-1301, USA. 17 | 18 | */ 19 | 20 | #ifndef KONQKCMFACTORY_H 21 | #define KONQKCMFACTORY_H 22 | 23 | #include 24 | 25 | K_PLUGIN_FACTORY_DECLARATION(KonqKcmFactory) 26 | 27 | #endif // KONQKCMFACTORY_H 28 | -------------------------------------------------------------------------------- /konqueror/settings/konq/onlyone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/settings/konq/onlyone.png -------------------------------------------------------------------------------- /konqueror/settings/konq/overlapping.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/settings/konq/overlapping.png -------------------------------------------------------------------------------- /konqueror/settings/konq/tests/kcustommenueditortest.cpp: -------------------------------------------------------------------------------- 1 | #include "kcustommenueditor.h" 2 | #include 3 | #include 4 | #include 5 | #include 6 | 7 | int main(int argc, char **argv) 8 | { 9 | KCmdLineArgs::init(argc, argv, "kcustommenueditortest", "kdelibs4", ki18n("kcustommenueditortest"), "0", ki18n("test app")); 10 | KApplication app; 11 | app.setQuitOnLastWindowClosed(false); 12 | KCustomMenuEditor editor(0); 13 | KConfig *cfg = new KConfig("kdesktop_custom_menu2"); 14 | editor.load(cfg); 15 | if (editor.exec()) { 16 | editor.save(cfg); 17 | cfg->sync(); 18 | } 19 | delete cfg; 20 | } 21 | 22 | -------------------------------------------------------------------------------- /konqueror/settings/konqhtml/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_definitions(-DTRANSLATION_DOMAIN=\"kcmkonqhtml\") 2 | 3 | include_directories( 4 | ${CMAKE_CURRENT_SOURCE_DIR}/css 5 | ) 6 | 7 | 8 | set(kcm_konqhtml_PART_SRCS 9 | generalopts.cpp 10 | htmlopts.cpp 11 | jsopts.cpp 12 | javaopts.cpp 13 | pluginopts.cpp 14 | appearance.cpp 15 | khttpoptdlg.cpp 16 | policydlg.cpp 17 | main.cpp 18 | jspolicies.cpp 19 | policies.cpp 20 | domainlistview.cpp 21 | filteropts.cpp 22 | css/template.cpp 23 | css/kcmcss.cpp 24 | ) 25 | 26 | ki18n_wrap_ui(kcm_konqhtml_PART_SRCS 27 | nsconfigwidget.ui 28 | advancedTabOptions.ui 29 | css/csscustom.ui 30 | css/cssconfig.ui 31 | ) 32 | 33 | add_library(kcm_konqhtml MODULE ${kcm_konqhtml_PART_SRCS}) 34 | 35 | # For khtmldefaults.h. We don't need to link to khtml, just to include that header... 36 | get_target_property(khtml_include_dir KF5::KHtml INTERFACE_INCLUDE_DIRECTORIES) 37 | target_include_directories(kcm_konqhtml PRIVATE "${khtml_include_dir}") 38 | 39 | target_link_libraries(kcm_konqhtml 40 | KF5::Parts 41 | KF5::KDELibs4Support 42 | ) 43 | 44 | install(TARGETS kcm_konqhtml DESTINATION ${KDE_INSTALL_PLUGINDIR}) 45 | 46 | ########### install files ############### 47 | 48 | install( FILES khtml_general.desktop khtml_behavior.desktop khtml_java_js.desktop khtml_appearance.desktop khtml_filter.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) 49 | install( FILES css/template.css DESTINATION ${KDE_INSTALL_DATADIR}/kcmcss ) 50 | -------------------------------------------------------------------------------- /konqueror/settings/konqhtml/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env bash 2 | $EXTRACTRC `find . -name \*.ui` >> rc.cpp 3 | $XGETTEXT *.cpp css/*.cpp -o $podir/kcmkonqhtml.pot 4 | -------------------------------------------------------------------------------- /konqueror/settings/konqhtml/css/template.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Font sizes 3 | */ 4 | 5 | * { 6 | font-size : $fontsize-base$ ! important; 7 | } 8 | 9 | SMALL, SUB, SUP { 10 | font-size : $fontsize-small-1$ ! important; 11 | } 12 | 13 | BIG { 14 | font-size : $fontsize-large-1$ ! important; 15 | } 16 | 17 | H1, H1 A { 18 | font-size : $fontsize-large-5$ ! important; 19 | } 20 | 21 | H2, H2 A { 22 | font-size : $fontsize-large-4$ ! important; 23 | } 24 | 25 | H3, H3 A { 26 | font-size : $fontsize-large-3$ ! important; 27 | } 28 | 29 | H4, H4 A { 30 | font-size : $fontsize-large-2$ ! important; 31 | } 32 | 33 | H5, H5 A { 34 | font-size : $fontsize-large-1$ ! important; 35 | } 36 | 37 | 38 | /* 39 | * Colors 40 | */ 41 | 42 | * { 43 | background : $background-color$ ! important; 44 | color : $foreground-color$ 45 | $force-color$; 46 | } 47 | 48 | BODY { 49 | color : $foreground-color$ ! important; 50 | } 51 | 52 | TABLE, TD { 53 | border-color : $foreground-color$; 54 | } 55 | 56 | 57 | /* 58 | * Font family 59 | */ 60 | 61 | * { 62 | font-family : $font-family$ 63 | $force-font$; 64 | } 65 | 66 | 67 | /* 68 | * Images 69 | */ 70 | 71 | IMG { 72 | $display-images$; 73 | } 74 | 75 | BODY { 76 | $display-background$; 77 | } 78 | -------------------------------------------------------------------------------- /konqueror/settings/konqhtml/css/template.h: -------------------------------------------------------------------------------- 1 | #ifndef __TEMPLATE_H__ 2 | #define __TEMPLATE_H__ 3 | 4 | #include 5 | #include 6 | #include 7 | 8 | class CSSTemplate 9 | { 10 | public: 11 | 12 | CSSTemplate(const QString &templateFilename): m_templateFilename(templateFilename) {} 13 | bool expandToFile(const QString &outputFilename, const QMap &dict); 14 | QString expandToString(const QMap &dict); 15 | 16 | protected: 17 | void doExpand(QTextStream &is, QTextStream &os, const QMap &dict); 18 | 19 | QString m_templateFilename; 20 | }; 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /konqueror/settings/konqhtml/generalopts.h: -------------------------------------------------------------------------------- 1 | /* General options (for both fm and web modes) konqueror options 2 | * 3 | * Copyright (c) Sven Radej 1998 4 | * Copyright (c) David Faure 1998 5 | * Copyright (c) Nick Shaforostoff 2007 6 | * 7 | */ 8 | 9 | #ifndef GENERALOPTS_H 10 | #define GENERALOPTS_H 11 | 12 | #include 13 | 14 | #include 15 | #include 16 | 17 | class QComboBox; 18 | class QLineEdit; 19 | class Ui_advancedTabOptions; 20 | class QVBoxLayout; 21 | 22 | class KKonqGeneralOptions : public KCModule 23 | { 24 | Q_OBJECT 25 | 26 | public: 27 | KKonqGeneralOptions(QWidget *parent, const QVariantList &); 28 | ~KKonqGeneralOptions(); 29 | void load() Q_DECL_OVERRIDE; 30 | void save() Q_DECL_OVERRIDE; 31 | void defaults() Q_DECL_OVERRIDE; 32 | 33 | private Q_SLOTS: 34 | void slotChanged(); 35 | 36 | private: 37 | void addHomeUrlWidgets(QVBoxLayout *); 38 | 39 | KSharedConfig::Ptr m_pConfig; 40 | 41 | QComboBox *m_startCombo; 42 | QLineEdit *homeURL; 43 | QLineEdit *startURL; 44 | QComboBox *m_webEngineCombo; 45 | Ui_advancedTabOptions *tabOptions; 46 | }; 47 | 48 | #endif // GENERALOPTS_H 49 | -------------------------------------------------------------------------------- /konqueror/settings/konqhtml/htmlopts.h: -------------------------------------------------------------------------------- 1 | /* "Misc Options" Tab for KFM configuration 2 | * 3 | * Copyright (c) Sven Radej 1998 4 | * Copyright (c) David Faure 1998 5 | * 6 | */ 7 | 8 | #ifndef HTMLOPTS_H 9 | #define HTMLOPTS_H 10 | 11 | #include 12 | 13 | //----------------------------------------------------------------------------- 14 | // The "Misc Options" Tab for the HTML view contains : 15 | 16 | // Change cursor over links 17 | // Underline links 18 | // AutoLoad Images 19 | // ... there is room for others :)) 20 | 21 | #include 22 | #include 23 | class KIntNumInput; 24 | class QGroupBox; 25 | 26 | class KMiscHTMLOptions : public KCModule 27 | { 28 | Q_OBJECT 29 | 30 | public: 31 | KMiscHTMLOptions(QWidget *parent, const QVariantList &); 32 | ~KMiscHTMLOptions(); 33 | void load() Q_DECL_OVERRIDE; 34 | void save() Q_DECL_OVERRIDE; 35 | void defaults() Q_DECL_OVERRIDE; 36 | 37 | private: 38 | KSharedConfig::Ptr m_pConfig; 39 | QString m_groupname; 40 | 41 | QCheckBox *m_cbCursor; 42 | QCheckBox *m_pAutoRedirectCheckBox; 43 | QCheckBox *m_pOpenMiddleClick; 44 | QCheckBox *m_pBackRightClick; 45 | QGroupBox *m_pFormCompletionCheckBox; 46 | QCheckBox *m_pAdvancedAddBookmarkCheckBox; 47 | QCheckBox *m_pOnlyMarkedBookmarksCheckBox; 48 | QCheckBox *m_pAccessKeys; 49 | QCheckBox *m_pDoNotTrack; 50 | QCheckBox *m_pOfferToSaveWebsitePassword; 51 | KIntNumInput *m_pMaxFormCompletionItems; 52 | }; 53 | 54 | #endif // HTMLOPTS_H 55 | -------------------------------------------------------------------------------- /konqueror/settings/konqhtml/khttpoptdlg.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) Jacek Konieczy 3 | * extra HTTP configuration 4 | * 5 | */ 6 | 7 | #ifndef __KHTTPOPTDLG_H 8 | #define __KHTTPOPTDLG_H 9 | 10 | #include 11 | #include 12 | #include 13 | 14 | #include 15 | #include 16 | #include 17 | 18 | class KAboutData; 19 | 20 | /** 21 | * Dialog for configuring HTTP Options like charset and language negotiation 22 | * and assuming that file got from HTTP is HTML if no Content-Type is given 23 | */ 24 | class KHTTPOptions : public KCModule 25 | { 26 | Q_OBJECT 27 | public: 28 | KHTTPOptions(KSharedConfig::Ptr config, const QString &group, const KAboutData *aboutData, QWidget *parent); 29 | 30 | void load() Q_DECL_OVERRIDE; 31 | void save() Q_DECL_OVERRIDE; 32 | void defaults() Q_DECL_OVERRIDE; 33 | 34 | private: 35 | 36 | KSharedConfig::Ptr m_pConfig; 37 | QString m_groupname; 38 | 39 | // Acceptable languages "LANG" - locale selected languages 40 | QLabel *lb_languages; 41 | QLineEdit *le_languages; 42 | 43 | // Acceptable charsets "CHARSET" - locale selected charset 44 | QLabel *lb_charsets; 45 | QLineEdit *le_charsets; 46 | 47 | QString defaultCharsets; 48 | 49 | private Q_SLOTS: 50 | void slotChanged(); 51 | 52 | }; 53 | 54 | #endif // __KHTTPOPTDLG_H 55 | -------------------------------------------------------------------------------- /konqueror/settings/performance/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_definitions(-DTRANSLATION_DOMAIN=\"kcmperformance\") 2 | 3 | 4 | ########### next target ############### 5 | 6 | set(kcm_performance_PART_SRCS kcmperformance.cpp konqueror.cpp system.cpp ) 7 | 8 | 9 | ki18n_wrap_ui(kcm_performance_PART_SRCS konqueror_ui.ui system_ui.ui ) 10 | 11 | add_library(kcm_performance MODULE ${kcm_performance_PART_SRCS}) 12 | 13 | 14 | target_link_libraries(kcm_performance KF5::ConfigWidgets KF5::KIOWidgets KF5::I18n Qt5::DBus ) 15 | 16 | install(TARGETS kcm_performance DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 17 | 18 | 19 | ########### install files ############### 20 | 21 | install( FILES kcmkonqyperformance.desktop kcmperformance.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) 22 | 23 | -------------------------------------------------------------------------------- /konqueror/settings/performance/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env bash 2 | $EXTRACTRC *.ui >> rc.cpp 3 | $XGETTEXT *.cpp -o $podir/kcmperformance.pot 4 | -------------------------------------------------------------------------------- /konqueror/settings/performance/konqueror.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003 Lubos Lunak 3 | * 4 | * This program is free software; you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation; either version 2 of the License, or 7 | * (at your option) any later version. 8 | * 9 | * This program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 17 | */ 18 | 19 | #ifndef _KCM_PERF_KONQUEROR_H 20 | #define _KCM_PERF_KONQUEROR_H 21 | 22 | #include "ui_konqueror_ui.h" 23 | 24 | namespace KCMPerformance 25 | { 26 | 27 | class Konqueror_ui : public QWidget, public Ui::Konqueror_ui 28 | { 29 | public: 30 | Konqueror_ui(QWidget *parent) : QWidget(parent) 31 | { 32 | setupUi(this); 33 | layout()->setMargin(0); 34 | } 35 | }; 36 | 37 | class Konqueror 38 | : public Konqueror_ui 39 | { 40 | Q_OBJECT 41 | public: 42 | Konqueror(QWidget *parent_P = NULL); 43 | void load(); 44 | void save(); 45 | void defaults(); 46 | Q_SIGNALS: 47 | void changed(); 48 | }; 49 | 50 | } // namespace 51 | 52 | #endif 53 | -------------------------------------------------------------------------------- /konqueror/settings/performance/konqueror_ui.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | KCMPerformance::Konqueror_ui 4 | 5 | 6 | 7 | 0 8 | 0 9 | 600 10 | 480 11 | 12 | 13 | 14 | 15 | 16 | 17 | Preloading 18 | 19 | 20 | 21 | 22 | 23 | Preload an instance after KDE startup 24 | 25 | 26 | 27 | 28 | 29 | 30 | Always try to have one preloaded instance 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | Qt::Vertical 41 | 42 | 43 | QSizePolicy::Expanding 44 | 45 | 46 | 47 | 20 48 | 160 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /konqueror/settings/performance/system.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004 Lubos Lunak 3 | * 4 | * This program is free software; you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation; either version 2 of the License, or 7 | * (at your option) any later version. 8 | * 9 | * This program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 17 | */ 18 | 19 | #ifndef _KCM_PERF_SYSTEM_H 20 | #define _KCM_PERF_SYSTEM_H 21 | 22 | #include 23 | 24 | #include "ui_system_ui.h" 25 | 26 | class System_ui : public QWidget, public Ui::System_ui 27 | { 28 | public: 29 | System_ui(QWidget *parent) : QWidget(parent) 30 | { 31 | setupUi(this); 32 | } 33 | }; 34 | 35 | namespace KCMPerformance 36 | { 37 | 38 | class SystemWidget 39 | : public System_ui 40 | { 41 | Q_OBJECT 42 | public: 43 | SystemWidget(QWidget *parent_P = NULL); 44 | void load(); 45 | void save(); 46 | void defaults(); 47 | Q_SIGNALS: 48 | void changed(); 49 | }; 50 | 51 | } // namespace 52 | 53 | #endif 54 | -------------------------------------------------------------------------------- /konqueror/settings/performance/system_ui.ui: -------------------------------------------------------------------------------- 1 | 2 | System_ui 3 | 4 | 5 | 6 | 7 | 8 | System Configuration 9 | 10 | 11 | 12 | 13 | 14 | Disable &system configuration startup check 15 | 16 | 17 | 18 | 19 | 20 | 21 | This option may in rare cases lead to various problems. Consult the What's This (Shift+F1) help for details. 22 | 23 | 24 | true 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | Qt::Vertical 35 | 36 | 37 | QSizePolicy::Expanding 38 | 39 | 40 | 41 | 20 42 | 40 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /konqueror/sidebar/default_entries/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | install( FILES 2 | home.desktop 3 | root.desktop 4 | bookmarks.desktop 5 | services.desktop 6 | remote.desktop 7 | history.desktop 8 | places.desktop 9 | DESTINATION ${KDE_INSTALL_DATADIR}/konqsidebartng/entries ) 10 | -------------------------------------------------------------------------------- /konqueror/sidebar/history_module/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_definitions(-DTRANSLATION_DOMAIN=\"konqueror\") 2 | include_directories( 3 | ${CMAKE_CURRENT_SOURCE_DIR}/../../src # konqueror dir (for konqhistory*.h) 4 | ${CMAKE_CURRENT_SOURCE_DIR}/.. # sidebar dir 5 | ) 6 | 7 | ########### the sidebar module ############### 8 | 9 | add_library(konqsidebar_history MODULE history_module.cpp) 10 | target_link_libraries(konqsidebar_history konqsidebarplugin konquerorprivate KF5::Konq KF5::Parts) 11 | install(TARGETS konqsidebar_history DESTINATION ${KDE_INSTALL_PLUGINDIR}) 12 | install(FILES konqsidebar_history.desktop DESTINATION ${KDE_INSTALL_DATADIR}/konqsidebartng/plugins) 13 | 14 | ########### the KCM for the history ############### 15 | 16 | set(kcm_history_SRCS kcmhistory.cpp ../../src/konqhistorysettings.cpp) 17 | ki18n_wrap_ui(kcm_history_SRCS history_dlg.ui ) 18 | add_library(kcm_history MODULE ${kcm_history_SRCS}) 19 | 20 | # konquerorprivate is only needed for konqhistorysettings... 21 | target_link_libraries(kcm_history konquerorprivate KF5::Konq KF5::Parts ) 22 | 23 | install(TARGETS kcm_history DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 24 | install(FILES kcmhistory.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) 25 | 26 | -------------------------------------------------------------------------------- /konqueror/sidebar/konqmultitabbar.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2009 David Faure 3 | 4 | This library is free software; you can redistribute it and/or modify 5 | it under the terms of the GNU Lesser General Public License as published by 6 | the Free Software Foundation; either version 2 of the License or ( at 7 | your option ) version 3 or, at the discretion of KDE e.V. ( which shall 8 | act as a proxy as in section 14 of the GPLv3 ), any later version. 9 | 10 | This library is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | Library General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public License 16 | along with this library; see the file COPYING.LIB. If not, write to 17 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 | Boston, MA 02110-1301, USA. 19 | */ 20 | 21 | #ifndef KONQMULTITABBAR_H 22 | #define KONQMULTITABBAR_H 23 | 24 | #include 25 | #include 26 | 27 | class KonqMultiTabBar : public KMultiTabBar 28 | { 29 | Q_OBJECT 30 | 31 | public: 32 | explicit KonqMultiTabBar(QWidget *parent); 33 | 34 | Q_SIGNALS: 35 | void urlsDropped(const QList &urls); 36 | 37 | protected: 38 | virtual void dragEnterEvent(QDragEnterEvent *event); 39 | virtual void dragMoveEvent(QDragMoveEvent *event); 40 | virtual void dropEvent(QDropEvent *event); 41 | }; 42 | 43 | #endif /* KONQMULTITABBAR_H */ 44 | 45 | -------------------------------------------------------------------------------- /konqueror/sidebar/konqsidebartngrc: -------------------------------------------------------------------------------- 1 | [filemanagement] 2 | OpenViews=home.desktop 3 | SingleWidgetMode=true 4 | 5 | [webbrowsing] 6 | OpenViews=bookmarks.desktop 7 | SingleWidgetMode=true 8 | -------------------------------------------------------------------------------- /konqueror/sidebar/places_module/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ########### konqsidebar_places module ############### 2 | 3 | set(konqsidebar_places_SRCS 4 | places_module.cpp 5 | ) 6 | 7 | add_library(konqsidebar_places MODULE ${konqsidebar_places_SRCS}) 8 | 9 | target_link_libraries(konqsidebar_places KF5::Parts konqsidebarplugin) 10 | 11 | install(TARGETS konqsidebar_places DESTINATION ${KDE_INSTALL_PLUGINDIR}) 12 | 13 | ########### install files ############### 14 | 15 | install(FILES konqsidebar_places.desktop DESTINATION ${KDE_INSTALL_DATADIR}/konqsidebartng/plugins) 16 | -------------------------------------------------------------------------------- /konqueror/sidebar/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ########### A test module (not installed by default) ############### 2 | # TODO use it (uninstalled) from the unit test 3 | 4 | find_package(Qt5 REQUIRED COMPONENTS Test) 5 | include(ECMAddTests) 6 | 7 | set(konq_sidebartest_PART_SRCS konqsidebartest.cpp ) 8 | add_library(konq_sidebartest MODULE ${konq_sidebartest_PART_SRCS}) 9 | target_link_libraries(konq_sidebartest KF5::Parts konqsidebarplugin ) 10 | #install(TARGETS konq_sidebartest DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 11 | #install( FILES test.desktop DESTINATION ${KDE_INSTALL_DATADIR}/konqsidebartng/entries ) 12 | 13 | ########### Unit tests ############### 14 | 15 | add_executable(sidebar-modulemanagertest modulemanagertest.cpp ../module_manager.cpp) 16 | add_test(sidebar-modulemanagertest sidebar-modulemanagertest) 17 | ecm_mark_as_test(sidebar-modulemanagertest) 18 | target_link_libraries(sidebar-modulemanagertest KF5::KIOCore KF5::KDELibs4Support Qt5::Core Qt5::Test) 19 | 20 | -------------------------------------------------------------------------------- /konqueror/sidebar/test/konqsidebartest.cpp: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | konqsidebartest.cpp 3 | ------------------- 4 | begin : Sat June 2 16:25:27 CEST 2001 5 | copyright : (C) 2001 Joseph Wenninger 6 | email : jowenn@kde.org 7 | ***************************************************************************/ 8 | 9 | /*************************************************************************** 10 | * * 11 | * This program is free software; you can redistribute it and/or modify * 12 | * it under the terms of the GNU General Public License as published by * 13 | * the Free Software Foundation; either version 2 of the License, or * 14 | * (at your option) any later version. * 15 | * * 16 | ***************************************************************************/ 17 | #include 18 | #include "konqsidebartest.h" 19 | 20 | extern "C" 21 | { 22 | Q_DECL_EXPORT void *create_konq_sidebartest(QWidget *parent, const QString &desktopname, const KConfigGroup &configGroup) 23 | { 24 | return new SidebarTest(parent, desktopname, configGroup); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /konqueror/sidebar/trees/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # !?!?!? make a lib, or clean this up... 2 | set(libkonq_sidebar_tree_SRCS 3 | ${CMAKE_CURRENT_SOURCE_DIR}/konq_sidebartree.cpp 4 | ${CMAKE_CURRENT_SOURCE_DIR}/konq_sidebartreeitem.cpp 5 | ${CMAKE_CURRENT_SOURCE_DIR}/konq_sidebartreetoplevelitem.cpp 6 | ) 7 | 8 | add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS) 9 | 10 | add_subdirectory( init ) 11 | add_subdirectory( dirtree_module ) 12 | add_subdirectory( bookmark_module ) 13 | 14 | ########### next target ############### 15 | 16 | set(konqsidebar_tree_PART_SRCS konqsidebar_oldtreemodule.cpp ${libkonq_sidebar_tree_SRCS}) 17 | 18 | add_library(konqsidebar_tree MODULE ${konqsidebar_tree_PART_SRCS}) 19 | 20 | target_link_libraries(konqsidebar_tree ${KDE4_KDE3SUPPORT_LIBS} KF5::Parts KF5::Konq konqsidebarplugin ) 21 | 22 | install(TARGETS konqsidebar_tree DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 23 | 24 | ########### install desktop files ############### 25 | 26 | install( FILES konqsidebar_tree.desktop DESTINATION ${KDE_INSTALL_DATADIR}/konqsidebartng/plugins ) 27 | 28 | -------------------------------------------------------------------------------- /konqueror/sidebar/trees/bookmark_module/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | include_directories( 2 | ${CMAKE_CURRENT_SOURCE_DIR}/../../ # sidebar dir 3 | ${CMAKE_CURRENT_SOURCE_DIR}/../ # trees dir 4 | ${CMAKE_CURRENT_BINARY_DIR}/../ # trees dir 5 | ) 6 | 7 | set(konq_sidebartree_bookmarks_SRCS bookmark_module.cpp bookmark_item.cpp ${libkonq_sidebar_tree_SRCS}) 8 | 9 | add_library(konq_sidebartree_bookmarks MODULE ${konq_sidebartree_bookmarks_SRCS}) 10 | 11 | target_link_libraries(konq_sidebartree_bookmarks KF5::Parts konqsidebarplugin konq ${KDE4_KDE3SUPPORT_LIBS}) 12 | 13 | install(TARGETS konq_sidebartree_bookmarks DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 14 | 15 | -------------------------------------------------------------------------------- /konqueror/sidebar/trees/dirtree_module/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | include_directories( 2 | ${CMAKE_CURRENT_SOURCE_DIR}/../../ # sidebar dir 3 | ${CMAKE_CURRENT_SOURCE_DIR}/../ # trees dir 4 | ${CMAKE_CURRENT_BINARY_DIR}/../ # trees dir 5 | ) 6 | 7 | 8 | ########### next target ############### 9 | set(konq_sidebartree_dirtree_SRCS dirtree_module.cpp dirtree_item.cpp ${libkonq_sidebar_tree_SRCS} ) 10 | 11 | add_library(konq_sidebartree_dirtree MODULE ${konq_sidebartree_dirtree_SRCS}) 12 | 13 | target_link_libraries(konq_sidebartree_dirtree ${KDE4_KDE3SUPPORT_LIBS} KF5::Parts konq konqsidebarplugin ) 14 | 15 | install(TARGETS konq_sidebartree_dirtree DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 16 | 17 | 18 | -------------------------------------------------------------------------------- /konqueror/sidebar/trees/init/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory( remote ) 2 | add_subdirectory( services ) 3 | 4 | ########### install files ############### 5 | 6 | install( FILES dirtree_module.desktop bookmarks_module.desktop DESTINATION ${KDE_INSTALL_DATADIR}/konqsidebartng/dirtree ) 7 | 8 | -------------------------------------------------------------------------------- /konqueror/sidebar/trees/init/README: -------------------------------------------------------------------------------- 1 | Note: increase the version in konq_tree.cpp when you add 2 | new .desktop files, otherwise they won't get used 3 | when the user already has old versions. 4 | 5 | i.e. 6 | const int currentVersion = 5; <-- change this in konq_sidebartree.cpp 7 | -------------------------------------------------------------------------------- /konqueror/sidebar/trees/init/remote/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | add_subdirectory( ftp ) 3 | add_subdirectory( web ) 4 | 5 | 6 | install( FILES .directory DESTINATION ${KDE_INSTALL_DATADIR}/konqsidebartng/virtual_folders/remote ) 7 | -------------------------------------------------------------------------------- /konqueror/sidebar/trees/init/remote/ftp/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | install( FILES .directory kde_ftp.desktop DESTINATION ${KDE_INSTALL_DATADIR}/konqsidebartng/virtual_folders/remote/ftp ) 2 | -------------------------------------------------------------------------------- /konqueror/sidebar/trees/init/remote/web/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | install( FILES .directory apps_web.desktop dot_web.desktop kde_web.desktop look_web.desktop DESTINATION ${KDE_INSTALL_DATADIR}/konqsidebartng/virtual_folders/remote/web ) 2 | -------------------------------------------------------------------------------- /konqueror/sidebar/trees/init/services/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | install(FILES 3 | .directory 4 | # printsystem.desktop 5 | # settings.desktop 6 | applications.desktop 7 | DESTINATION ${KDE_INSTALL_DATADIR}/konqsidebartng/virtual_folders/services) 8 | 9 | -------------------------------------------------------------------------------- /konqueror/sidebar/trees/konqsidebar_oldtreemodule.h: -------------------------------------------------------------------------------- 1 | #ifndef KONQSIDEBAR_OLDTREEMODULE_H 2 | #define KONQSIDEBAR_OLDTREEMODULE_H 3 | 4 | #include 5 | 6 | class KonqSidebarTree; 7 | 8 | class KonqSidebarOldTreeModule : public KonqSidebarModule 9 | { 10 | Q_OBJECT 11 | public: 12 | KonqSidebarOldTreeModule(const KComponentData &componentData, QWidget *parent, 13 | const QString &desktopName_, const KConfigGroup &configGroup); 14 | ~KonqSidebarOldTreeModule(); 15 | virtual QWidget *getWidget(); 16 | 17 | public Q_SLOTS: 18 | void copy(); 19 | void cut(); 20 | void paste(); 21 | void pasteToSelection(); 22 | 23 | protected: 24 | QWidget *widget; 25 | KonqSidebarTree *tree; 26 | virtual void handleURL(const QUrl &url); 27 | }; 28 | 29 | #endif // KONQSIDEBAR_TREEMODULE_H 30 | -------------------------------------------------------------------------------- /konqueror/sidebar/web_module/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ########### konqsidebar_web module ############### 2 | 3 | set(konqsidebar_web_PART_SRCS web_module.cpp ) 4 | 5 | add_library(konqsidebar_web MODULE ${konqsidebar_web_PART_SRCS}) 6 | 7 | target_link_libraries(konqsidebar_web 8 | KF5::KHtml 9 | konqsidebarplugin 10 | KF5::Konq 11 | KF5::KIOGui) 12 | 13 | install(TARGETS konqsidebar_web DESTINATION ${KDE_INSTALL_PLUGINDIR} ) 14 | 15 | ########### install files ############### 16 | 17 | install( FILES konqsidebar_web.desktop DESTINATION ${KDE_INSTALL_DATADIR}/konqsidebartng/plugins ) 18 | -------------------------------------------------------------------------------- /konqueror/sidebar/web_module/TODO: -------------------------------------------------------------------------------- 1 | - Apparently _content works everywhere in Mozilla. Maybe this should go into 2 | KHTMLPart afterall. That would solve the form post problem too. 3 | - Forms don't work. I don't know if they will for a long time since we can't 4 | really filter them with KHTML. 5 | - Allow setting the useragent (only do this in a clean fashion!!) 6 | - Double check the KHTML extensions for security implications. 7 | -------------------------------------------------------------------------------- /konqueror/sidebar/web_module/test_websidebar.html: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /konqueror/src/config-konqueror.h.cmake: -------------------------------------------------------------------------------- 1 | /* Use mallinfo field hblkhd */ 2 | #define KDE_MALLINFO_FIELD_hblkhd 1 3 | 4 | /* Use mallinfo field uordblks */ 5 | #define KDE_MALLINFO_FIELD_uordblks 1 6 | 7 | /* Use mallinfo field usmblks */ 8 | /* #undef KDE_MALLINFO_FIELD_usmblks */ 9 | 10 | /* mallinfo() is available in */ 11 | #cmakedefine KDE_MALLINFO_MALLOC 1 12 | 13 | /* mallinfo() is available in */ 14 | #cmakedefine KDE_MALLINFO_STDLIB 1 15 | 16 | /* compiling for X11 */ 17 | #cmakedefine01 KONQ_HAVE_X11 18 | -------------------------------------------------------------------------------- /konqueror/src/delayedinitializer.h: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | Copyright (C) 2003 Simon Hausmann 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public 6 | License as published by the Free Software Foundation; either 7 | version 2 of the License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; see the file COPYING. If not, write to 16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 | Boston, MA 02110-1301, USA. 18 | */ 19 | 20 | #ifndef __delayedinitializer_h__ 21 | #define __delayedinitializer_h__ 22 | 23 | #include 24 | class QEvent; 25 | 26 | class DelayedInitializer : public QObject 27 | { 28 | Q_OBJECT 29 | public: 30 | DelayedInitializer(int eventType, QObject *parent); 31 | 32 | protected: 33 | bool eventFilter(QObject *receiver, QEvent *event) Q_DECL_OVERRIDE; 34 | 35 | Q_SIGNALS: 36 | void initialize(); 37 | 38 | private Q_SLOTS: 39 | void slotInitialize(); 40 | private: 41 | int m_eventType; 42 | bool m_signalEmitted; 43 | }; 44 | 45 | #endif 46 | -------------------------------------------------------------------------------- /konqueror/src/konqanimatedlogo_p.h: -------------------------------------------------------------------------------- 1 | /* 2 | This file is part of the KDE project 3 | Copyright (C) 2008 David Faure 4 | Copyright (C) 2009 Christoph Feck 5 | 6 | This program is free software; you can redistribute it and/or 7 | modify it under the terms of the GNU General Public 8 | License as published by the Free Software Foundation; either 9 | version 2 of the License, or (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program; see the file COPYING. If not, write to 18 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 19 | Boston, MA 02110-1301, USA. 20 | */ 21 | 22 | #ifndef KONQANIMATEDLOGO_P_H 23 | #define KONQANIMATEDLOGO_P_H 24 | 25 | #include 26 | 27 | class QToolBar; 28 | 29 | class KonqAnimatedLogo : public KAnimatedButton 30 | { 31 | Q_OBJECT 32 | 33 | public: 34 | /** 35 | * Creates an animated logo button which follows the toolbar icon size 36 | */ 37 | KonqAnimatedLogo(QWidget *parent = 0); 38 | 39 | protected: 40 | void changeEvent(QEvent *event) Q_DECL_OVERRIDE; 41 | 42 | private Q_SLOTS: 43 | void setAnimatedLogoSize(const QSize &); 44 | 45 | private: 46 | void connectToToolBar(QToolBar *); 47 | }; 48 | 49 | #endif // KONQANIMATEDLOGO_P_H 50 | -------------------------------------------------------------------------------- /konqueror/src/konqapplication.h: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | Copyright (C) 2006 David Faure 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public 6 | License as published by the Free Software Foundation; either 7 | version 2 of the License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; see the file COPYING. If not, write to 16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 | Boston, MA 02110-1301, USA. 18 | */ 19 | 20 | #ifndef KONQ_APPLICATION_H 21 | #define KONQ_APPLICATION_H 22 | 23 | #include "konqprivate_export.h" 24 | #include 25 | 26 | class QDBusMessage; 27 | 28 | class KONQ_TESTS_EXPORT KonquerorApplication : public QApplication 29 | { 30 | Q_OBJECT 31 | public: 32 | KonquerorApplication(int &argc, char **argv); 33 | 34 | public slots: 35 | void slotReparseConfiguration(); 36 | 37 | private slots: 38 | void slotAddToCombo(const QString &url, const QDBusMessage &msg); 39 | void slotRemoveFromCombo(const QString &url, const QDBusMessage &msg); 40 | void slotComboCleared(const QDBusMessage &msg); 41 | }; 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /konqueror/src/konqbrowseriface.cpp: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | Copyright (C) 2001 Simon Hausmann 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public 6 | License as published by the Free Software Foundation; either 7 | version 2 of the License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; see the file COPYING. If not, write to 16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 | Boston, MA 02110-1301, USA. 18 | */ 19 | 20 | #include "konqbrowseriface.h" 21 | #include "konqview.h" 22 | 23 | KonqBrowserInterface::KonqBrowserInterface(KonqView *view) 24 | : KParts::BrowserInterface(view) 25 | { 26 | m_view = view; 27 | } 28 | 29 | uint KonqBrowserInterface::historyLength() const 30 | { 31 | return m_view->historyLength(); 32 | } 33 | 34 | void KonqBrowserInterface::goHistory(int steps) 35 | { 36 | m_view->goHistory(steps); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /konqueror/src/konqbrowseriface.h: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | Copyright (C) 2001 Simon Hausmann 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public 6 | License as published by the Free Software Foundation; either 7 | version 2 of the License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; see the file COPYING. If not, write to 16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 | Boston, MA 02110-1301, USA. 18 | */ 19 | 20 | #ifndef __konq_browseriface_h__ 21 | #define __konq_browseriface_h__ 22 | 23 | #include 24 | 25 | class KonqView; 26 | 27 | class KonqBrowserInterface : public KParts::BrowserInterface 28 | { 29 | Q_OBJECT 30 | Q_PROPERTY(uint historyLength READ historyLength) 31 | public: 32 | explicit KonqBrowserInterface(KonqView *view); 33 | 34 | uint historyLength() const; 35 | 36 | public Q_SLOTS: 37 | void goHistory(int); 38 | 39 | private: 40 | KonqView *m_view; 41 | }; 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /konqueror/src/konqhistory.h: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | Copyright 2009 Pino Toscano 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public 6 | License as published by the Free Software Foundation; either 7 | version 2 of the License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; see the file COPYING. If not, write to 16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 | Boston, MA 02110-1301, USA. 18 | */ 19 | 20 | #ifndef KONQ_HISTORY_H 21 | #define KONQ_HISTORY_H 22 | 23 | #include 24 | 25 | namespace KonqHistory 26 | { 27 | 28 | enum ExtraData { 29 | TypeRole = Qt::UserRole + 0xaaff00, 30 | DetailedToolTipRole, 31 | UrlRole, 32 | LastVisitedRole 33 | }; 34 | 35 | enum EntryType { 36 | HistoryType = 1, 37 | GroupType = 2 38 | }; 39 | 40 | } 41 | 42 | #endif // KONQ_HISTORY_H 43 | -------------------------------------------------------------------------------- /konqueror/src/konqhistorydialog.h: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | Copyright 2009 Pino Toscano 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public 6 | License as published by the Free Software Foundation; either 7 | version 2 of the License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; see the file COPYING. If not, write to 16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 | Boston, MA 02110-1301, USA. 18 | */ 19 | 20 | #ifndef KONQ_HISTORYDIALOG_H 21 | #define KONQ_HISTORYDIALOG_H 22 | 23 | #include 24 | 25 | class KonqMainWindow; 26 | class KonqHistoryView; 27 | class QModelIndex; 28 | class QUrl; 29 | 30 | class KonqHistoryDialog : public KDialog 31 | { 32 | Q_OBJECT 33 | 34 | public: 35 | KonqHistoryDialog(KonqMainWindow *parent = Q_NULLPTR); 36 | ~KonqHistoryDialog(); 37 | 38 | QSize sizeHint() const Q_DECL_OVERRIDE; 39 | 40 | private Q_SLOTS: 41 | void slotOpenWindow(const QUrl &url); 42 | void slotOpenTab(const QUrl &url); 43 | void slotOpenWindowForIndex(const QModelIndex &index); 44 | 45 | private: 46 | KonqHistoryView *m_historyView; 47 | KonqMainWindow *m_mainWindow; 48 | }; 49 | 50 | #endif // KONQ_HISTORYDIALOG_H 51 | -------------------------------------------------------------------------------- /konqueror/src/konqmouseeventfilter.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2009 David Faure 3 | Copyright (c) 2016 Anthony Fieroni 4 | 5 | This library is free software; you can redistribute it and/or modify 6 | it under the terms of the GNU Lesser General Public License as published by 7 | the Free Software Foundation; either version 2 of the License or ( at 8 | your option ) version 3 or, at the discretion of KDE e.V. ( which shall 9 | act as a proxy as in section 14 of the GPLv3 ), any later version. 10 | 11 | This library is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | Library General Public License for more details. 15 | 16 | You should have received a copy of the GNU Lesser General Public License 17 | along with this library; see the file COPYING.LIB. If not, write to 18 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 19 | Boston, MA 02110-1301, USA. 20 | */ 21 | 22 | #ifndef KONQMOUSEEVENTFILTER_H 23 | #define KONQMOUSEEVENTFILTER_H 24 | 25 | #include 26 | 27 | class KonqMouseEventFilter : public QObject 28 | { 29 | Q_OBJECT 30 | 31 | public: 32 | static KonqMouseEventFilter *self(); 33 | 34 | void reparseConfiguration(); 35 | 36 | protected: 37 | bool eventFilter(QObject *obj, QEvent *e) Q_DECL_OVERRIDE; 38 | 39 | private: 40 | explicit KonqMouseEventFilter(); 41 | friend class KonqMouseEventFilterSingleton; 42 | 43 | bool m_bBackRightClick; 44 | }; 45 | 46 | #endif /* KONQMOUSEEVENTFILTER_H */ 47 | 48 | -------------------------------------------------------------------------------- /konqueror/src/konqpreloadinghandler.h: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | Copyright (C) 2000-2016 David Faure 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public 6 | License as published by the Free Software Foundation; either 7 | version 2 of the License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program; see the file COPYING. If not, write to 16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 | Boston, MA 02110-1301, USA. 18 | */ 19 | 20 | #ifndef KONQPRELOADINGHANDLER_H 21 | #define KONQPRELOADINGHANDLER_H 22 | 23 | class KonqMainWindow; 24 | 25 | class KonqPreloadingHandler 26 | { 27 | public: 28 | KonqPreloadingHandler(); 29 | 30 | static KonqPreloadingHandler *self(); 31 | 32 | bool registerAsPreloaded(); 33 | 34 | bool hasPreloadedWindow() const; 35 | 36 | KonqMainWindow *takePreloadedWindow(); 37 | 38 | void ensurePreloadedProcessExists(); 39 | 40 | private: 41 | void startNextPreloadedProcess(); 42 | void makePreloadedWindow(); 43 | 44 | KonqMainWindow *m_preloadedWindow = nullptr; 45 | }; 46 | 47 | #endif // KONQPRELOADINGHANDLER_H 48 | -------------------------------------------------------------------------------- /konqueror/src/konqprivate_export.h: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | Copyright (C) 2007 David Faure 3 | 4 | This library is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU Library General Public 6 | License as published by the Free Software Foundation; either 7 | version 2 of the License, or (at your option) any later version. 8 | 9 | This library is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | Library General Public License for more details. 13 | 14 | You should have received a copy of the GNU Library General Public License 15 | along with this library; see the file COPYING.LIB. If not, write to 16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 | Boston, MA 02110-1301, USA. 18 | */ 19 | 20 | #ifndef KONQPRIVATE_EXPORT_H 21 | #define KONQPRIVATE_EXPORT_H 22 | 23 | #include "konquerorprivate_export.h" 24 | 25 | /* Classes from the Konqueror application, which are exported only for unit tests */ 26 | #ifdef COMPILING_TESTS 27 | # ifndef KONQ_TESTS_EXPORT 28 | # define KONQ_TESTS_EXPORT KONQUERORPRIVATE_EXPORT 29 | # endif 30 | #else /* not compiling tests */ 31 | # define KONQ_TESTS_EXPORT 32 | #endif 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /konqueror/src/konqsettingsxt.kcfgc: -------------------------------------------------------------------------------- 1 | File=konqueror.kcfg 2 | ClassName=KonqSettings 3 | Singleton=true 4 | Mutators=true 5 | Visibility=KONQ_TESTS_EXPORT 6 | IncludeFiles=konqprivate_export.h 7 | SourceIncludeFiles=kcompletion.h 8 | -------------------------------------------------------------------------------- /konqueror/src/org.kde.Konqueror.HistoryManager.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /konqueror/src/org.kde.Konqueror.Main.xml: -------------------------------------------------------------------------------- 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 | -------------------------------------------------------------------------------- /konqueror/src/org.kde.Konqueror.MainWindow.xml: -------------------------------------------------------------------------------- 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 | -------------------------------------------------------------------------------- /konqueror/src/org.kde.Konqueror.SessionManager.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /konqueror/src/org.kde.Konqueror.UndoManager.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /konqueror/src/tests/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} ) 2 | include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. ) 3 | 4 | ########### centralwidget ############### 5 | 6 | include(ECMMarkAsTest) 7 | add_executable(centralwidget centralwidget.cpp) 8 | ecm_mark_as_test(centralwidget) 9 | target_link_libraries(centralwidget 10 | Qt5::Widgets 11 | ) 12 | 13 | -------------------------------------------------------------------------------- /konqueror/src/tests/centralwidget.cpp: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | Copyright (C) 2006 David Faure 3 | 4 | This program is free software: you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation, either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program. If not, see . 16 | */ 17 | 18 | #include "centralwidget.h" 19 | 20 | #include 21 | #include 22 | #include 23 | 24 | SCWMainWindow::SCWMainWindow(QWidget *parent) 25 | : QMainWindow(parent) 26 | { 27 | QLabel *widget1 = new QLabel(QStringLiteral("widget1")); 28 | setCentralWidget(widget1); 29 | QTimer::singleShot(10, this, SLOT(slotSwitchCentralWidget())); 30 | } 31 | 32 | void SCWMainWindow::slotSwitchCentralWidget() 33 | { 34 | QLabel *widget2 = new QLabel(QStringLiteral("widget2")); 35 | delete centralWidget(); // ## workaround for the crash 36 | setCentralWidget(widget2); 37 | } 38 | 39 | int main(int argc, char **argv) 40 | { 41 | QApplication app(argc, argv); 42 | 43 | SCWMainWindow *mw = new SCWMainWindow; 44 | mw->show(); 45 | 46 | return app.exec(); 47 | } 48 | 49 | -------------------------------------------------------------------------------- /konqueror/src/tests/centralwidget.h: -------------------------------------------------------------------------------- 1 | /* This file is part of the KDE project 2 | Copyright (C) 2006 David Faure 3 | 4 | This program is free software: you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation, either version 2 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program. If not, see . 16 | */ 17 | 18 | #ifndef CENTRALWIDGET_H 19 | #define CENTRALWIDGET_H 20 | 21 | #include 22 | 23 | // SCW == Switch (or Set) Central Widget 24 | class SCWMainWindow : public QMainWindow 25 | { 26 | Q_OBJECT 27 | public: 28 | SCWMainWindow(QWidget *parent = Q_NULLPTR); 29 | 30 | private slots: 31 | void slotSwitchCentralWidget(); 32 | }; 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /konqueror/webenginepart/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(icons) 2 | add_subdirectory(src) 3 | add_subdirectory(tests) 4 | -------------------------------------------------------------------------------- /konqueror/webenginepart/Mainpage.dox: -------------------------------------------------------------------------------- 1 | /** @mainpage 2 | * 3 | * Main Doxygen page for KWebKitPart. 4 | */ 5 | -------------------------------------------------------------------------------- /konqueror/webenginepart/Messages.sh: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env bash 2 | $EXTRACTRC `find . -name '*.rc' -or -name '*.ui'` >> rc.cpp || exit 11 3 | $XGETTEXT `find . -name '*.cpp' | grep -v '/tests/'` -o $podir/webenginepart.pot 4 | rm -f rc.cpp 5 | -------------------------------------------------------------------------------- /konqueror/webenginepart/TODO: -------------------------------------------------------------------------------- 1 | * Proper support for KWebKitPart in the following Konqueror plugins: 2 | - adblock This plugin's GUI needs to be changed to use the KPart plugin 3 | extensions so that it is not khtml specific. Other than that 4 | kwebkitpart supports the ad filtering functionalities supported 5 | by khtml. 6 | 7 | * Add KPartStatusBarExtension support for the following plugins/features: 8 | - Popup blocker (non-plugin) 9 | 10 | * Implement some means of showing information about the webkit rendering engine: 11 | - KWebKitPart's version # 12 | - QtWebKit's version # 13 | - UserAgent string ??? 14 | 15 | * Look through all of Konqueror's web configuration options and make sure we 16 | honor all those we possibly can. Here is a non-complete list of features 17 | that are either partially implemented or not implemented at all: 18 | - Change cursor over links (TODO, QtWebKit ???). 19 | - Smooth scrolling support (TODO, QtWebKit ???). 20 | - Underline links support (Partial, does not work as intended). 21 | - Enable access key navigation with Ctrl key (TODO, QtWebKit ???). 22 | - Animations (TODO, QtWebKit ???). 23 | - Draw frames around not completely loaded images (TODO, QtWebKit ???). 24 | -------------------------------------------------------------------------------- /konqueror/webenginepart/icons/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | include(ECMInstallIcons) 2 | ecm_install_icons(${ICON_INSTALL_DIR}) 3 | -------------------------------------------------------------------------------- /konqueror/webenginepart/icons/hi128-apps-webengine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/webenginepart/icons/hi128-apps-webengine.png -------------------------------------------------------------------------------- /konqueror/webenginepart/icons/hi16-apps-webengine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/webenginepart/icons/hi16-apps-webengine.png -------------------------------------------------------------------------------- /konqueror/webenginepart/icons/hi22-apps-webengine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/webenginepart/icons/hi22-apps-webengine.png -------------------------------------------------------------------------------- /konqueror/webenginepart/icons/hi32-apps-webengine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/webenginepart/icons/hi32-apps-webengine.png -------------------------------------------------------------------------------- /konqueror/webenginepart/icons/hi48-apps-webengine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/webenginepart/icons/hi48-apps-webengine.png -------------------------------------------------------------------------------- /konqueror/webenginepart/icons/hi64-apps-webengine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KDE/kde-baseapps/c5bd2d667b4baa4f241eef09870e3c1ba3159649/konqueror/webenginepart/icons/hi64-apps-webengine.png -------------------------------------------------------------------------------- /konqueror/webenginepart/scripts/codingstyle.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Kdelibs coding style is defined in http://techbase.kde.org/Policies/Kdelibs_Coding_Style 4 | # 5 | 6 | PWD=$(pwd) 7 | cd $PWD 8 | 9 | echo "Applying astyle rules..." 10 | astyle -v --indent=spaces=4 \ 11 | --brackets=linux \ 12 | --indent-labels \ 13 | --pad=oper --unpad=paren \ 14 | --one-line=keep-statements \ 15 | --convert-tabs --indent-preprocessor \ 16 | `find -type f -name '*.cpp' -or -name '*.h' -or -name '*.cc' | grep -Ev "\./.+/settings/"` 17 | 18 | echo "Done!" 19 | 20 | -------------------------------------------------------------------------------- /konqueror/webenginepart/scripts/create_release_package.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | VERSION=${1} 4 | GITREPO=${2} 5 | OUTPUTDIR=${3} 6 | 7 | if [ -z ${VERSION} ] || [ -z {GITREPO} ]; then 8 | echo "Usage: `basename ${0}` []" 9 | exit 1 10 | fi 11 | 12 | if [ -z $OUTPUTDIR ] || [ ! -d $OUTPUTDIR ]; then 13 | OUTPUTDIR="${PWD}" 14 | fi 15 | 16 | git archive --format=tar --prefix=kwebkitpart-${VERSION}/ ${GITREPO} | bzip2 -9 > ${OUTPUTDIR}/kwebkitpart-${VERSION}.tar.bz2 17 | -------------------------------------------------------------------------------- /konqueror/webenginepart/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_BINARY_DIR}) 2 | 3 | set(kwebenginepartlib_LIB_SRCS 4 | webenginepart.cpp 5 | webenginepart_ext.cpp 6 | webengineview.cpp 7 | webenginepage.cpp 8 | websslinfo.cpp 9 | webhistoryinterface.cpp 10 | settings/webenginesettings.cpp 11 | settings/webengine_filter.cpp 12 | ui/searchbar.cpp 13 | ui/passwordbar.cpp 14 | ui/featurepermissionbar.cpp 15 | ) 16 | 17 | qt5_wrap_ui(kwebenginepartlib_LIB_SRCS 18 | ui/searchbar.ui 19 | ) 20 | 21 | add_library(kwebenginepartlib ${kwebenginepartlib_LIB_SRCS}) 22 | 23 | generate_export_header(kwebenginepartlib) 24 | 25 | target_link_libraries(kwebenginepartlib Qt5::Core Qt5::DBus Qt5::Gui Qt5::Widgets Qt5::WebEngineWidgets Qt5::PrintSupport KF5::Parts KF5::SonnetCore) 26 | 27 | target_include_directories(kwebenginepartlib PUBLIC 28 | "$" 29 | ) 30 | 31 | install(TARGETS kwebenginepartlib ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) 32 | 33 | add_library(webenginepart MODULE webenginepartfactory.cpp) 34 | 35 | target_link_libraries(webenginepart kwebenginepartlib) 36 | 37 | install(TARGETS webenginepart DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/parts) 38 | 39 | install(FILES webenginepart.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) 40 | 41 | install(FILES webenginepart.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/webenginepart) 42 | -------------------------------------------------------------------------------- /konqueror/webenginepart/src/utils.h: -------------------------------------------------------------------------------- 1 | #ifndef WEBENGINEPART_UTILS_H 2 | #define WEBENGINEPART_UTILS_H 3 | 4 | namespace Utils 5 | { 6 | 7 | #define QL1S(x) QLatin1String(x) 8 | #define QL1C(x) QLatin1Char(x) 9 | 10 | inline bool isBlankUrl(const QUrl& url) 11 | { 12 | return (url.isEmpty() || url.url() == QL1S("about:blank")); 13 | } 14 | 15 | } 16 | #endif // WEBENGINEPART_UTILS_H 17 | -------------------------------------------------------------------------------- /konqueror/webenginepart/src/webenginepart.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Type=Service 3 | Comment=Embeddable HTML component 4 | Comment[ca]=Component HTML incrustable 5 | Comment[ca@valencia]=Component HTML incrustable 6 | Comment[cs]=Zapouzdřitelná HTML komponenta 7 | Comment[de]=Einbettungsfähige HTML-Komponente 8 | Comment[en_GB]=Embeddable HTML component 9 | Comment[es]=Componente HTML empotrable 10 | Comment[nb]=Innebyggbar HTML-komponent 11 | Comment[nl]=In te bedden HTML-component 12 | Comment[nn]=Innebyggbar HTML-komponent 13 | Comment[pl]=Osadzalny składnik HTML 14 | Comment[pt]=Componente incorporada de HTML 15 | Comment[sk]=Vložiteľný HTML komponent 16 | Comment[sl]=Vgradljiv sestavni del HTML 17 | Comment[sv]=Inbäddningsbar HTML-komponent 18 | Comment[uk]=Придатний до вбудовування компонент HTML 19 | Comment[x-test]=xxEmbeddable HTML componentxx 20 | Comment[zh_TW]=可內嵌的 HTML 元件 21 | Icon=webengine 22 | MimeType=text/html;application/xml;application/xhtml+xml; 23 | Name=WebEngine 24 | Name[ca]=WebEngine 25 | Name[ca@valencia]=WebEngine 26 | Name[cs]=WebEngine 27 | Name[de]=Webengine 28 | Name[en_GB]=WebEngine 29 | Name[es]=Motor Web 30 | Name[nl]=WebEngine 31 | Name[nn]=Vevmotor 32 | Name[pl]=SilnikSieciowy 33 | Name[pt]=Motor Web 34 | Name[sk]=WebEngine 35 | Name[sl]=Spletni pogon 36 | Name[sv]=Webbgränssnitt 37 | Name[uk]=Вебрушій 38 | Name[x-test]=xxWebEnginexx 39 | Name[zh_TW]=WebEngine 40 | X-KDE-Default-UserAgent=Mozilla/5.0 (%PLATFORM%; %SECURITY%; %OSNAME% %OSVERSION% %SYSTYPE%; %LANGUAGE%) AppleWebKit/534.34 (KHTML, like Gecko) %APPVERSION% Safari/534.34 41 | X-KDE-ServiceTypes=KParts/ReadOnlyPart,Browser/View 42 | X-KDE-Library=kf5/parts/webenginepart 43 | InitialPreference=12 44 | -------------------------------------------------------------------------------- /konqueror/webenginepart/src/webenginepart.rc: -------------------------------------------------------------------------------- 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 | 32 | 33 | -------------------------------------------------------------------------------- /konqueror/webenginepart/src/webenginepartfactory.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the KDE project. 3 | * 4 | * Copyright (C) 2008 Laurent Montel 5 | * 6 | * This library is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU Lesser General Public License as published by the 8 | * Free Software Foundation; either version 2.1 of the License, or (at your 9 | * option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 13 | * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 14 | * details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with this library. If not, see . 18 | * 19 | */ 20 | 21 | #ifndef WEBENGINEPARTFACTORY 22 | #define WEBENGINEPARTFACTORY 23 | 24 | #include 25 | 26 | #include 27 | 28 | class QWidget; 29 | 30 | class WebEngineFactory : public KPluginFactory 31 | { 32 | Q_OBJECT 33 | Q_PLUGIN_METADATA(IID "org.kde.KPluginFactory" FILE "") 34 | Q_INTERFACES(KPluginFactory) 35 | public: 36 | virtual ~WebEngineFactory(); 37 | QObject *create(const char* iface, QWidget *parentWidget, QObject *parent, const QVariantList& args, const QString &keyword) Q_DECL_OVERRIDE; 38 | 39 | private Q_SLOTS: 40 | void slotDestroyed(QObject* object); 41 | void slotSaveHistory(QObject* widget, const QByteArray&); 42 | 43 | private: 44 | QHash m_historyBufContainer; 45 | }; 46 | 47 | #endif // WEBENGINEPARTFACTORY 48 | -------------------------------------------------------------------------------- /konqueror/webenginepart/src/webhistoryinterface.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the KDE project. 3 | * 4 | * Copyright (C) 2011 Dawit Alemayehu 5 | * 6 | * This library is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU Lesser General Public License as published by the 8 | * Free Software Foundation; either version 2.1 of the License, or (at your 9 | * option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 13 | * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 14 | * details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with this library. If not, see . 18 | * 19 | */ 20 | 21 | #include "webhistoryinterface.h" 22 | 23 | #include 24 | 25 | 26 | WebHistoryInterface::WebHistoryInterface(QObject* parent) 27 | { 28 | } 29 | 30 | void WebHistoryInterface::addHistoryEntry(const QString& url) 31 | { 32 | KParts::HistoryProvider::self()->insert(url); 33 | } 34 | 35 | bool WebHistoryInterface::historyContains(const QString& url) const 36 | { 37 | return KParts::HistoryProvider::self()->contains(url); 38 | } 39 | -------------------------------------------------------------------------------- /konqueror/webenginepart/src/webhistoryinterface.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the KDE project. 3 | * 4 | * Copyright (C) 2011 Dawit Alemayehu 5 | * 6 | * This library is free software; you can redistribute it and/or modify it 7 | * under the terms of the GNU Lesser General Public License as published by the 8 | * Free Software Foundation; either version 2.1 of the License, or (at your 9 | * option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 13 | * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 14 | * details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with this library. If not, see . 18 | * 19 | */ 20 | #ifndef WEBHISTORYINTERFACE_H 21 | #define WEBHISTORYINTERFACE_H 22 | 23 | #include 24 | 25 | 26 | class WebHistoryInterface 27 | { 28 | public: 29 | WebHistoryInterface(QObject* parent = Q_NULLPTR); 30 | void addHistoryEntry (const QString & url); 31 | bool historyContains (const QString & url) const; 32 | }; 33 | 34 | #endif //WEBHISTORYINTERFACE_H 35 | -------------------------------------------------------------------------------- /konqueror/webenginepart/testfiles/embed_tag_test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | <EMBED> tests 4 | 5 | 6 |

KDE e.V. Report 2011 Q2

7 |
8 | 9 |
10 |

11 |

KDE e.V. Report 2011 Q1

12 |
13 | 14 |
15 |

16 |

17 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /konqueror/webenginepart/testfiles/frameset_test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | <FRAMESET> test 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /konqueror/webenginepart/testfiles/frametest/frame_a.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |

Frame A

5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /konqueror/webenginepart/testfiles/frametest/frame_b.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |

Frame B

5 | 6 | 7 | -------------------------------------------------------------------------------- /konqueror/webenginepart/testfiles/frametest/frame_c.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |

Frame C

5 | Go to KDE website 6 | 7 | -------------------------------------------------------------------------------- /konqueror/webenginepart/testfiles/frametest/frame_navigation.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Frame a
4 | Frame b
5 | Frame c
6 | Invalid frame
7 | bugs.kde.org 8 | 9 | -------------------------------------------------------------------------------- /konqueror/webenginepart/testfiles/js.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Javascript Link Tests 4 | 38 | 39 | 40 | 44 |

Javascript Link Tests

45 | resizeTo
46 | moveTo
47 | promptAndAlertMessage
48 | status
49 | JS open new window
50 | JS open new frameset
51 | 52 | 53 | -------------------------------------------------------------------------------- /konqueror/webenginepart/testfiles/meta_tag_refresh_test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Meta redirect test 4 | 5 | 6 | 7 | You will be redirected to kde.org in 10 seconds.
8 |

9 | If the stop button is active (not disabled) after the page has completely loaded, it 10 | means the rendering engine allows you to cancel <META> based redirect requests. 11 | Otherwise, you are not able to stop redirects or refresh requests set by web pages. 12 |

13 | 14 | -------------------------------------------------------------------------------- /konqueror/webenginepart/tests/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(webenginepart_tester webenginepart_tester.cpp) 2 | target_link_libraries(webenginepart_tester kwebenginepartlib Qt5::Core Qt5::Gui Qt5::Widgets Qt5::WebEngineWidgets KF5::I18n KF5::KDELibs4Support) 3 | -------------------------------------------------------------------------------- /konqueror/webenginepart/webenginepart.lsm: -------------------------------------------------------------------------------- 1 | Begin3 2 | Title: webenginepart 3 | Version: 1.2.0 4 | Entered-date: 06APR2011 5 | Description: A WebEngine browser component for KDE (KPart) 6 | Keywords: webengine, webenginepart 7 | Author: Trolltech ASA 8 | Urs Wolfer 9 | Laurent Montel 10 | Dawit Alemayehu 11 | Sune Vuorela 12 | Maintained-by: Sune Vuorela 13 | Primary-site: 14 | Home-Page: 15 | Original-site: None 16 | Platforms: KF5 and higher 17 | Copying-policy: LGPL 18 | End 19 | --------------------------------------------------------------------------------