VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/src/dolphin_version.h"
)
-ecm_setup_version(${KDE_APPLICATIONS_VERSION} VARIABLE_PREFIX DOLPHINVCS
+ecm_setup_version("5.0.0" VARIABLE_PREFIX DOLPHINVCS
VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/dolphinvcs_version.h"
PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/DolphinVcsConfigVersion.cmake"
SOVERSION 5
)
-ecm_setup_version(${KDE_APPLICATIONS_VERSION} VARIABLE_PREFIX DOLPHINPRIVATE
+ecm_setup_version("5.0.0" VARIABLE_PREFIX DOLPHINPRIVATE
SOVERSION 5
)
Solid
IconThemes
Completion
- TextEditor
+ TextWidgets
WindowSystem
Notifications
)
${output_xml_file}
)
add_custom_target(
- ${output_xml_file}
+ ${output_xml_file}_target
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${output_xml_file}
)
install(
)
add_dependencies(
${main_project_target}
- ${output_xml_file}
+ ${output_xml_file}_target
)
endmacro ()
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN" "dtd/kdedbx45.dtd" [
<!ENTITY dolphin "<application>Dolphin</application>">
<!ENTITY kappname "&dolphin;">
- <!ENTITY package "kde-baseapps">
<!ENTITY % addindex "IGNORE">
<!ENTITY % English "INCLUDE"><!-- change language only here -->
]>
<legalnotice>&FDLNotice;</legalnotice>
-<date>2013-06-28</date>
-<releaseinfo>4.11 (&kde; 4.11)</releaseinfo>
+<date>2015-08-02</date>
+<releaseinfo>Applications 15.08</releaseinfo>
<abstract>
<para>
&dolphin;
</para>
<para>
-Program copyright 2006–2013 Peter Penz <email>peter.penz@gmx.at</email> and
-Frank Reininghaus <email>frank78ac@googlemail.com</email></para>
+Program copyright 2006–2014 Peter Penz <email>peter.penz@gmx.at</email>,
+Frank Reininghaus <email>frank78ac@googlemail.com</email> and Emmanuel Pescosta
+<email>emmanuelpescosta099@gmail.com</email> </para>
<para>
Contributors:
<itemizedlist>
<appendix id="installation">
<title>How to get &dolphin;</title>
-<para>&dolphin; is part of the &package; package which is an essential part of
-&kde;.</para>
+
+&install.intro.documentation;
<para>For instructions on acquiring &kde; please see <ulink
url="http://www.kde.org">http://www.kde.org</ulink> or read the chapter
in the &kde; Fundamentals.</para>
<para>For further information about &dolphin; you might want to visit
-<ulink url="http://dolphin.kde.org">http://dolphin.kde.org</ulink> or
<ulink url="http://userbase.kde.org/Dolphin">http://userbase.kde.org/Dolphin</ulink>.</para>
</appendix>
target_link_libraries(
dolphinvcs PUBLIC
Qt5::Widgets
- KF5::KIOCore
)
set_target_properties(dolphinvcs PROPERTIES
KF5::KIOWidgets
KF5::KIOFileWidgets
KF5::Completion
- KF5::TextEditor
+ KF5::TextWidgets
KF5::WindowSystem
KF5::ConfigCore
KF5::NewStuff
+ KF5::Parts
)
if(HAVE_BALOO)
settings/dolphin_versioncontrolsettings.kcfg
DESTINATION ${KDE_INSTALL_KCFGDIR} )
install( FILES dolphinui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/dolphin )
-install( FILES dolphin.appdata.xml DESTINATION ${KDE_INSTALL_DATAROOTDIR}/appdata )
+install( FILES org.kde.dolphin.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
install( FILES settings/kcm/kcmdolphinviewmodes.desktop DESTINATION
${KDE_INSTALL_KSERVICES5DIR} )
install( FILES settings/kcm/kcmdolphinnavigation.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
Q_ASSERT(!m_controlButton);
m_controlButton = new QToolButton(this);
- m_controlButton->setIcon(QIcon::fromTheme("applications-system"));
+ m_controlButton->setIcon(QIcon::fromTheme("application-menu"));
m_controlButton->setText(i18nc("@action", "Control"));
m_controlButton->setPopupMode(QToolButton::InstantPopup);
m_controlButton->setToolButtonStyle(toolBar()->toolButtonStyle());
Name[fi]=Dolphin-näkymä
Name[fr]=Vue de Dolphin
Name[gl]=Vista de Dolphin
+Name[hu]=Dolphin nézet
Name[ia]=Vista de Dolphin
Name[id]=Tampilan Dolphin
Name[it]=Vista di Dolphin
Name[fi]=Kuvakkeet
Name[fr]=Icônes
Name[gl]=Iconas
+Name[hu]=Ikonok
Name[ia]=Icones
Name[id]=Ikon
Name[it]=Icone
Name[fi]=Tiivis
Name[fr]=Concis
Name[gl]=Compacta
+Name[hu]=Kompakt
Name[ia]=Compacte
Name[id]=Sederhana
Name[it]=Compatta
Name[fi]=Yksityiskohdat
Name[fr]=Détails
Name[gl]=Detalles
+Name[hu]=Részletek
Name[ia]=Detalios
Name[id]=Detail
Name[it]=Dettagli
case QEvent::Wheel:
handleWheelEvent(static_cast<QWheelEvent*>(event));
- break;
+ return true; // eat event so that QScrollBar does not scroll one step more by itself
default:
break;
void KItemListSmoothScroller::handleWheelEvent(QWheelEvent* event)
{
- const int numDegrees = event->delta() / 8;
- const int numSteps = numDegrees / 15;
-
const bool previous = m_smoothScrolling;
m_smoothScrolling = true;
- const int value = m_scrollBar->value();
- const int pageStep = m_scrollBar->pageStep();
- m_scrollBar->setValue(value - numSteps * pageStep);
+ int numPixels;
+ if (!event->pixelDelta().isNull()) {
+ numPixels = event->pixelDelta().y();
+ } else {
+ const int numDegrees = event->angleDelta().y() / 8;
+ const int numSteps = numDegrees / 15;
+ numPixels = numSteps * m_scrollBar->pageStep() / 4;
+ }
+ int value = m_scrollBar->value();
+ if (event->modifiers().testFlag(Qt::ShiftModifier)) {
+ const int scrollingDirection = numPixels > 0 ? 1 : -1;
+ value -= m_scrollBar->pageStep() * scrollingDirection;
+ } else {
+ value -= numPixels;
+ }
+ m_scrollBar->setValue(value);
m_smoothScrolling = previous;
Name[fi]=Dolphin
Name[fr]=Dolphin
Name[gl]=Dolphin
+Name[hu]=Dolphin
Name[ia]=Dolphin
Name[id]=Dolphin
Name[it]=Dolphin
GenericName[fi]=Tiedostonhallinta
GenericName[fr]=Gestionnaire de fichiers
GenericName[gl]=Xestor de ficheiros
+GenericName[hu]=Fájlkezelő
GenericName[ia]=Gerente de file
GenericName[id]=Manajer Berkas
GenericName[it]=Gestore dei file
if (icon().isEmpty()) {
switch (type) {
case RecentlySavedType: setIcon("chronometer"); break;
- case SearchForType: setIcon("nepomuk"); break;
+ case SearchForType: setIcon("system-search"); break;
case PlacesType:
default: setIcon("folder");
}
Name[fi]=Dolphin – yleiset
Name[fr]=Dolphin général
Name[gl]=Xerais de Dolphin
+Name[hu]=Dolphin: Általános
Name[ia]=Dolphin General
Name[id]=Dolphin Umum
Name[it]=Impostazioni generali di Dolphin
Comment[fi]=Tällä palvelulla voi muokata Dolphinin yleisasetuksia.
Comment[fr]=Ce service permet de configurer les paramètres généraux de Dolphin.
Comment[gl]=Este servizo permite configurar opcións xerais de Dolphin.
+Comment[hu]=Ez a szolgáltatás lehetővé teszi a Dolphin általános beállításainak módosítását.
Comment[ia]=Iste servicio permitte configuration del preferentias general de Dolphin.
Comment[id]=Layanan ini memungkinkan konfigurasi pengaturan umum Dolphin.
Comment[it]=Questo servizio permette di configurare le impostazioni generali di Dolphin.
Name[fi]=Yleiset
Name[fr]=Général
Name[gl]=Xerais
+Name[hu]=Általános
Name[ia]=General
Name[id]=Umum
Name[it]=Generale
Comment[fi]=Tiedostonhallinnan yleisasetukset
Comment[fr]=Configuration des paramètres généraux du gestionnaire de fichiers
Comment[gl]=Configurar opcións xerais de xestores de ficheiros.
+Comment[hu]=A fájlkezelő általános beállításainak módosítása
Comment[ia]=Configura preferentias del gerente general de file
Comment[id]=Konfigurasi pengaturan manajer berkas umum
Comment[it]=Configura le impostazioni generali del gestore dei file
X-KDE-Keywords[fi]=tiedostonhallinta
X-KDE-Keywords[fr]=gestionnaire de fichiers
X-KDE-Keywords[gl]=xestor de ficheiros
+X-KDE-Keywords[hu]=fájlkezelő
X-KDE-Keywords[ia]=gerente de file
X-KDE-Keywords[id]=manajer berkas
X-KDE-Keywords[it]=gestore dei file
Name[fi]=Dolphin – selaus
Name[fr]=Navigation avec Dolphin
Name[gl]=Navegación de Dolphin
+Name[hu]=Dolphin: Navigáció
Name[ia]=Navigation de Dolphin
Name[id]=Navigasi Dolphin
Name[it]=Navigazione di Dolphin
Comment[fi]=Tällä palvelulla voi muokata Dolphinin selausasetuksia.
Comment[fr]=Ce service permet de configurer la navigation avec Dolphin.
Comment[gl]=Este servizo permite configurar a navegación de Dolphin.
+Comment[hu]=Ez a szolgáltatás lehetővé teszi a Dolphin navigálásának beállítását.
Comment[ia]=Iste servicio permitte le configuration del navigation de Dolphin.
Comment[id]=Layanan ini memungkinkan konfigurasi navigasi Dolphin.
Comment[it]=Questo servizio permette di configurare la navigazione con Dolphin.
Name[fi]=Selaus
Name[fr]=Navigation
Name[gl]=Navegación
+Name[hu]=Navigálás
Name[ia]=Navigation
Name[id]=Navigasi
Name[it]=Navigazione
Comment[fi]=Tiedostonhallinnan selausasetukset
Comment[fr]=Configuration la navigation avec le gestionnaire de fichiers
Comment[gl]=Configurar a navegación do xestor de ficheiros.
+Comment[hu]=A fájlkezelő navigálásának beállítása
Comment[ia]=Configura navigation del gerente de file
Comment[id]=Konfigurasi navigasi manajer berkas
Comment[it]=Configura la navigazione col gestore dei file
X-KDE-Keywords[fi]=tiedostonhallinta
X-KDE-Keywords[fr]=gestionnaire de fichiers
X-KDE-Keywords[gl]=xestor de ficheiros
+X-KDE-Keywords[hu]=fájlkezelő
X-KDE-Keywords[ia]=gerente de file
X-KDE-Keywords[id]=manajer berkas
X-KDE-Keywords[it]=gestore dei file
Name[fi]=Dolphin – palvelut
Name[fr]=Services de Dolphin
Name[gl]=Servizos de Dolphin
+Name[hu]=Dolphin szolgáltatások
Name[ia]=Servicios de Dolphin
Name[id]=Layanan Dolphin
Name[it]=Servizi di Dolphin
Name[fi]=Palvelut
Name[fr]=Services
Name[gl]=Servizos
+Name[hu]=Szolgáltatások
Name[ia]=Servicios
Name[id]=Layanan
Name[it]=Servizi
Comment[fi]=Tiedostonhallinnan palveluasetukset
Comment[fr]=Configuration des services du gestionnaire de fichiers
Comment[gl]=Configurar servizos de xestores de ficheiros.
+Comment[hu]=A fájlkezelő szolgáltatásainak beállítása
Comment[ia]=Configura servicios del gerente de file
Comment[id]=Konfigurasi layanan manajer berkas
Comment[it]=Configura i servizi del gestore dei file
X-KDE-Keywords[fi]=tiedostonhallinta
X-KDE-Keywords[fr]=gestionnaire de fichiers
X-KDE-Keywords[gl]=xestor de ficheiros
+X-KDE-Keywords[hu]=fájlkezelő
X-KDE-Keywords[ia]=gerente de file
X-KDE-Keywords[id]=manajer berkas
X-KDE-Keywords[it]=gestore dei file
Name[fi]=Dolphin – näkymät
Name[fr]=Modes d'affichage de Dolphin
Name[gl]=Modos de vista de Dolphin
+Name[hu]=Dolphin: Nézetmódok
Name[ia]=Modos de vista de Dolphin
Name[id]=Mode Tampilan Dolphin
Name[it]=Viste di Dolphin
Comment[fi]=Tällä palvelulla voi muokata Dolphinin katselutilojen asetuksia.
Comment[fr]=Ce service permet de configurer les modes d'affichage de Dolphin.
Comment[gl]=Este servizo permite configurar os modos de vista de Dolphin.
+Comment[hu]=Ez a szolgáltatás lehetővé teszi a Dolphin nézetmódjainak beállítását.
Comment[ia]=Iste servicio permitte configuration de le modos de vista de Dolphin
Comment[id]=Layanan ini memungkinkan konfigurasi mode tampilan Dolphin.
Comment[it]=Questo servizio permette di configurare le viste di Dolphin.
Name[fi]=Näkymät
Name[fr]=Modes d'affichage
Name[gl]=Modos de vista
+Name[hu]=Nézetmódok
Name[ia]=Modos de vista
Name[id]=Mode Tampilan
Name[it]=Viste
Comment[fi]=Tiedostonhallinnan katselutilojen asetukset
Comment[fr]=Configuration les modes d'affichage du gestionnaire de fichiers
Comment[gl]=Configurar os modos de vista do xestor de ficheiros.
+Comment[hu]=A fájlkezelő nézetmódjainak beállítása
Comment[ia]=Configura le modos de vista del gerente de file
Comment[id]=Konfigurasi mode tampilan manajer berkas
Comment[it]=Configura le viste del gestore dei file
X-KDE-Keywords[fi]=tiedostonhallinta
X-KDE-Keywords[fr]=gestionnaire de fichiers
X-KDE-Keywords[gl]=xestor de ficheiros
+X-KDE-Keywords[hu]=fájlkezelő
X-KDE-Keywords[ia]=gerente de file
X-KDE-Keywords[id]=manajer berkas
X-KDE-Keywords[it]=gestore dei file
bool m_activateItemOnSingleClick;
};
-Q_DECLARE_METATYPE(KFileItemListView::ItemLayout);
-Q_DECLARE_METATYPE(Qt::Orientation);
-Q_DECLARE_METATYPE(KItemListController::SelectionBehavior);
-Q_DECLARE_METATYPE(KItemSet);
+Q_DECLARE_METATYPE(KFileItemListView::ItemLayout)
+Q_DECLARE_METATYPE(Qt::Orientation)
+Q_DECLARE_METATYPE(KItemListController::SelectionBehavior)
+Q_DECLARE_METATYPE(KItemSet)
class KItemListControllerTest : public QObject
{
// We have to define a typedef for the pair in order to make the test compile.
typedef QPair<KeyPress, ViewState> keyPressViewStatePair;
-Q_DECLARE_METATYPE(QList<keyPressViewStatePair>);
+Q_DECLARE_METATYPE(QList<keyPressViewStatePair>)
/**
* This function provides the data for the actual test function
};
}
-Q_DECLARE_METATYPE(KItemSet);
-Q_DECLARE_METATYPE(ChangeType);
-Q_DECLARE_METATYPE(KItemRange);
-Q_DECLARE_METATYPE(KItemRangeList);
-Q_DECLARE_METATYPE(KItemListSelectionManager::SelectionMode);
-Q_DECLARE_METATYPE(QList<int>);
+Q_DECLARE_METATYPE(KItemSet)
+Q_DECLARE_METATYPE(ChangeType)
+Q_DECLARE_METATYPE(KItemRange)
+Q_DECLARE_METATYPE(KItemRangeList)
+Q_DECLARE_METATYPE(KItemListSelectionManager::SelectionMode)
+Q_DECLARE_METATYPE(QList<int>)
/**
* The following function provides a generic way to test the selection functionality.
#include <QTest>
#include <QVector>
-Q_DECLARE_METATYPE(QVector<int>);
-Q_DECLARE_METATYPE(KItemRangeList);
+Q_DECLARE_METATYPE(QVector<int>)
+Q_DECLARE_METATYPE(KItemRangeList)
class KItemRangeTest : public QObject
{
namespace {
const int MaxModeEnum = DolphinView::CompactView;
-};
+}
DolphinView::DolphinView(const QUrl& url, QWidget* parent) :
QWidget(parent),
Comment[fi]=Versionhallintaliitännäinen tiedostonäkymille
Comment[fr]=Module externe pour le contrôle de version applicable aux vues de fichiers
Comment[gl]=Complemento de control de versión para vistas de ficheiros.
+Comment[hu]=Verziókezelő bővítmény a fájlnézetekhez
Comment[ia]=Plugin de controlo de version pro vistas de file
Comment[id]=Plugin Kontrol Versi untuk Tampilan Berkas
Comment[it]=Estensione di controllo delle versioni per le viste dei file
#include <dolphin_export.h>
#include <QObject>
-#include <KFileItem>
#include <QAction>
-
+class KFileItemList;
+class KFileItem;
/**
* @brief Base class for version control plugins.
*