]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Merge branch 'Applications/15.08'
authorMichael Palimaka <kensington@gentoo.org>
Fri, 25 Sep 2015 19:38:06 +0000 (05:38 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Fri, 25 Sep 2015 19:38:06 +0000 (05:38 +1000)
20 files changed:
CMakeLists.txt
cmake/DbusInterfaceMacros.cmake
doc/index.docbook
src/CMakeLists.txt
src/dolphinmainwindow.cpp
src/dolphinpart.desktop
src/kitemviews/private/kitemlistsmoothscroller.cpp
src/org.kde.dolphin.appdata.xml [moved from src/dolphin.appdata.xml with 100% similarity]
src/org.kde.dolphin.desktop
src/panels/places/placesitem.cpp
src/settings/kcm/kcmdolphingeneral.desktop
src/settings/kcm/kcmdolphinnavigation.desktop
src/settings/kcm/kcmdolphinservices.desktop
src/settings/kcm/kcmdolphinviewmodes.desktop
src/tests/kitemlistcontrollertest.cpp
src/tests/kitemlistselectionmanagertest.cpp
src/tests/kitemrangetest.cpp
src/views/dolphinview.cpp
src/views/versioncontrol/fileviewversioncontrolplugin.desktop
src/views/versioncontrol/kversioncontrolplugin.h

index d926e9f0ba898dcadc6eddd44544ee5923931d82..8f1e2835d3c6577bb3428f9d38de981600ccfef1 100644 (file)
@@ -29,13 +29,13 @@ ecm_setup_version(${KDE_APPLICATIONS_VERSION} VARIABLE_PREFIX DOLPHIN
                   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
 )
 
@@ -62,7 +62,7 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
     Solid
     IconThemes
     Completion
-    TextEditor
+    TextWidgets
     WindowSystem
     Notifications
 )
index 0fd2f4c1fb72ad3c87b5683f72cf7b52454fa883..71ad9067d992d1cb41bcdc0ea0f8dc3328729794 100644 (file)
@@ -4,7 +4,7 @@ macro (generate_and_install_dbus_interface main_project_target header_file outpu
         ${output_xml_file}
     )
     add_custom_target(
-        ${output_xml_file}
+        ${output_xml_file}_target
         SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${output_xml_file}
        )
     install(
@@ -13,6 +13,6 @@ macro (generate_and_install_dbus_interface main_project_target header_file outpu
     )
     add_dependencies(
         ${main_project_target}
-        ${output_xml_file}
+        ${output_xml_file}_target
     )
 endmacro ()
index fe3357c2f566bc9b9715606d9f0950cbbc4c7e59..3749831abe3ba169266bcb909a87434696c09a58 100644 (file)
@@ -2,7 +2,6 @@
 <!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 -->
 ]>
@@ -73,8 +72,8 @@
 
 <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>
@@ -2070,8 +2069,9 @@ tracking system. The &kde; bug tracker can be found at
 &dolphin;
 </para>
 <para>
-Program copyright 2006&ndash;2013 Peter Penz <email>peter.penz@gmx.at</email> and 
-Frank Reininghaus <email>frank78ac@googlemail.com</email></para>
+Program copyright 2006&ndash;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>
@@ -2104,8 +2104,8 @@ Documentation copyright 2009 Frank Reininghaus <email>frank78ac@googlemail.com</
 
 <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 
@@ -2113,7 +2113,6 @@ 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>
index 2a5e5a688f3083f800641f1d07707d1af8aef7dc..413260bd5cf1ffba4bfd5e395fe1ddcbcfa1684e 100644 (file)
@@ -29,7 +29,6 @@ generate_export_header(dolphinvcs BASE_NAME dolphin)
 target_link_libraries(
     dolphinvcs PUBLIC
     Qt5::Widgets
-    KF5::KIOCore
 )
 
 set_target_properties(dolphinvcs PROPERTIES
@@ -143,10 +142,11 @@ target_link_libraries(
     KF5::KIOWidgets
     KF5::KIOFileWidgets
     KF5::Completion
-    KF5::TextEditor
+    KF5::TextWidgets
     KF5::WindowSystem
     KF5::ConfigCore
     KF5::NewStuff
+    KF5::Parts
 )
 
 if(HAVE_BALOO)
@@ -380,7 +380,7 @@ install( FILES settings/dolphin_directoryviewpropertysettings.kcfg
                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} )
index f7a76130786d58900002c11a85cf33dc09da6faa..5a731512b9f71091b635d5e2cfb2771a79ff2e53 100644 (file)
@@ -1335,7 +1335,7 @@ void DolphinMainWindow::createControlButton()
     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());
index 64c01f13b569fca736209d977d5d317cdbac5ad0..335c87a807171642445060c1af5952ef7f642988 100644 (file)
@@ -9,6 +9,7 @@ Name[es]=Vista de Dolphin
 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
@@ -58,6 +59,7 @@ Name[es]=Iconos
 Name[fi]=Kuvakkeet
 Name[fr]=Icônes
 Name[gl]=Iconas
+Name[hu]=Ikonok
 Name[ia]=Icones
 Name[id]=Ikon
 Name[it]=Icone
@@ -98,6 +100,7 @@ Name[es]=Compacto
 Name[fi]=Tiivis
 Name[fr]=Concis
 Name[gl]=Compacta
+Name[hu]=Kompakt
 Name[ia]=Compacte
 Name[id]=Sederhana
 Name[it]=Compatta
@@ -135,6 +138,7 @@ Name[es]=Detalles
 Name[fi]=Yksityiskohdat
 Name[fr]=Détails
 Name[gl]=Detalles
+Name[hu]=Részletek
 Name[ia]=Detalios
 Name[id]=Detail
 Name[it]=Dettagli
index e70f478904dbb81619e67ac07287be48ca9f95bf..2bd467aa53833ea3d4e436dde4c7cc7597a56b01 100644 (file)
@@ -172,7 +172,7 @@ bool KItemListSmoothScroller::eventFilter(QObject* obj, QEvent* event)
 
     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;
@@ -192,15 +192,25 @@ void KItemListSmoothScroller::slotAnimationStateChanged(QAbstractAnimation::Stat
 
 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;
 
index 0d25c1750cb257e49145d67e5381b01059643740..9c9408341946b123eaa5822b95e42db3b60feeb0 100755 (executable)
@@ -8,6 +8,7 @@ Name[es]=Dolphin
 Name[fi]=Dolphin
 Name[fr]=Dolphin
 Name[gl]=Dolphin
+Name[hu]=Dolphin
 Name[ia]=Dolphin
 Name[id]=Dolphin
 Name[it]=Dolphin
@@ -48,6 +49,7 @@ GenericName[es]=Gestor de archivos
 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
index fad8c7fa529308313d4a950f3c34ae4bdf2c692a..2a9c88e4eaf1e5811c2421396afc8649858bd2df 100644 (file)
@@ -144,7 +144,7 @@ void PlacesItem::setBookmark(const KBookmark& bookmark)
     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");
         }
index b660399dc41de6e50c7d915fa00e89cfa87ef576..e9a309289381195cd34c5b6bb3d8121c84064ca4 100644 (file)
@@ -7,6 +7,7 @@ Name[es]=Preferencias generales de Dolphin
 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
@@ -42,6 +43,7 @@ Comment[es]=Este servicio permite configurar las preferencias generales de Dolph
 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.
@@ -87,6 +89,7 @@ Name[es]=General
 Name[fi]=Yleiset
 Name[fr]=Général
 Name[gl]=Xerais
+Name[hu]=Általános
 Name[ia]=General
 Name[id]=Umum
 Name[it]=Generale
@@ -121,6 +124,7 @@ Comment[es]=Configurar las preferencias generales del gestor de archivos
 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
@@ -154,6 +158,7 @@ X-KDE-Keywords[es]=gestor de archivos
 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
index fab72ef572fb206addcb59f50719d7292ffd1fe5..f2547264c33d566174524f597c57c844bf104ad7 100644 (file)
@@ -7,6 +7,7 @@ Name[es]=Navegación de Dolphin
 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
@@ -42,6 +43,7 @@ Comment[es]=Este servicio permite configurar la navegación de 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.
@@ -86,6 +88,7 @@ Name[es]=Navegación
 Name[fi]=Selaus
 Name[fr]=Navigation
 Name[gl]=Navegación
+Name[hu]=Navigálás
 Name[ia]=Navigation
 Name[id]=Navigasi
 Name[it]=Navigazione
@@ -121,6 +124,7 @@ Comment[es]=Configurar la navegación del gestor de archivos
 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
@@ -156,6 +160,7 @@ X-KDE-Keywords[es]=gestor de archivos
 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
index e70eeba2e15ac41f82dcb3c9a8b2b85bfabf7af2..840a273e282a8aaa69a30450ec4bd3316b585736 100644 (file)
@@ -7,6 +7,7 @@ Name[es]=Servicios de Dolphin
 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
@@ -51,6 +52,7 @@ Name[es]=Servicios
 Name[fi]=Palvelut
 Name[fr]=Services
 Name[gl]=Servizos
+Name[hu]=Szolgáltatások
 Name[ia]=Servicios
 Name[id]=Layanan
 Name[it]=Servizi
@@ -84,6 +86,7 @@ Comment[es]=Configurar los servicios del gestor de archivos
 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
@@ -118,6 +121,7 @@ X-KDE-Keywords[es]=gestor de archivos
 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
index 3bba12e1e95607477d8f664297a53c42d99e10a4..efb34c30f2eba831554e48f07c164d8fcdfa8578 100644 (file)
@@ -7,6 +7,7 @@ Name[es]=Modos de vistas de Dolphin
 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
@@ -42,6 +43,7 @@ Comment[es]=Este servicio permite configurar los modos de las vistas de 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.
@@ -86,6 +88,7 @@ Name[es]=Modos de vistas
 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
@@ -121,6 +124,7 @@ Comment[es]=Configura los modos de vistas del gestor de archivos
 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
@@ -156,6 +160,7 @@ X-KDE-Keywords[es]=gestor de archivos
 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
index e34731fa4b59c1f058bc8ec6bd3255fc4b142f07..e170e7b5b2b58b89a15bcdebbbe2b554158ba7c3 100644 (file)
@@ -71,10 +71,10 @@ private:
     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
 {
@@ -209,7 +209,7 @@ struct ViewState {
 
 // 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
index 7cf60df4228d3b23013c948678fdd0076957ce78..b183de3026924578cecd11fa9e45f596edaf6e34 100644 (file)
@@ -322,12 +322,12 @@ namespace {
     };
 }
 
-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.
index ce7b48012a98528a0ed429f387a7aeeb28a87012..5e4ea653f43aa74d2f4bca3f948935589921b3e2 100644 (file)
@@ -22,8 +22,8 @@
 #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
 {
index 07b40dceb039cca26fb815072571191921f37d5b..5023859df789bcfdd0a152d380a1aa931e1d762d 100644 (file)
@@ -77,7 +77,7 @@
 
 namespace {
     const int MaxModeEnum = DolphinView::CompactView;
-};
+}
 
 DolphinView::DolphinView(const QUrl& url, QWidget* parent) :
     QWidget(parent),
index 509fc2cc8b9c161ca68cc05fd96ab0a7f6b6bd14..1c673a5d59ad51e186af8cf1c66d56c8a47de6e4 100644 (file)
@@ -10,6 +10,7 @@ Comment[es]=Complemento de control de versiones para las vistas de archivos
 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
index e5a26784829b56eb46266b92603067a5c62670c3..85835e06232d602438d3ae8953c6f581dd70c2bc 100644 (file)
@@ -23,9 +23,9 @@
 #include <dolphin_export.h>
 
 #include <QObject>
-#include <KFileItem>
 #include <QAction>
-
+class KFileItemList;
+class KFileItem;
 /**
  * @brief Base class for version control plugins.
  *