]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Merge remote-tracking branch 'origin/master' into frameworks
authorFrank Reininghaus <frank78ac@googlemail.com>
Thu, 16 Oct 2014 18:36:49 +0000 (20:36 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Thu, 16 Oct 2014 18:36:49 +0000 (20:36 +0200)
Conflicts:
dolphin/src/main.cpp
kdepasswd/kcm/kcm_useraccount.desktop
plasma/applets/folderview/folderview.cpp

1  2 
src/main.cpp
src/org.kde.dolphin.desktop
src/settings/kcm/kcmdolphingeneral.desktop
src/settings/kcm/kcmdolphinnavigation.desktop
src/statusbar/dolphinstatusbar.cpp

diff --combined src/main.cpp
index c7c863e325ba9c64a783d7d215007db5e1c6b2b2,3ce3204e9b95909954f2b235a41e4fa82e52d7b0..ca047bd16c3be9122bde4035d77bbef4978d9fd6
  
  #include "dolphinmainwindow.h"
  
 -#include <KAboutData>
 +#include <k4aboutdata.h>
  #include <KCmdLineArgs>
  #include <KLocale>
  #include <kmainwindow.h>
 +#include <kdemacros.h>
 +#include <kdeversion.h>
  #include <KDebug>
  
  extern "C"
  KDE_EXPORT int kdemain(int argc, char **argv)
  {
 -    KAboutData about("dolphin", 0,
 +    K4AboutData about("dolphin", 0,
                       ki18nc("@title", "Dolphin"),
 -                     KDE_VERSION_STRING,
 +                     "4.60",
                       ki18nc("@title", "File Manager"),
 -                     KAboutData::License_GPL,
 +                     K4AboutData::License_GPL,
-                      ki18nc("@info:credit", "(C) 2006-2014 Peter Penz and Frank Reininghaus"));
+                      ki18nc("@info:credit", "(C) 2006-2014 Peter Penz, Frank Reininghaus, and Emmanuel Pescosta"));
      about.setHomepage("http://dolphin.kde.org");
+     about.addAuthor(ki18nc("@info:credit", "Emmanuel Pescosta"),
+                     ki18nc("@info:credit", "Maintainer (since 2014) and developer"),
+                     "emmanuelpescosta099@gmail.com");
      about.addAuthor(ki18nc("@info:credit", "Frank Reininghaus"),
-                     ki18nc("@info:credit", "Maintainer (since 2012) and developer"),
+                     ki18nc("@info:credit", "Maintainer (2012-2014) and developer"),
                      "frank78ac@googlemail.com");
      about.addAuthor(ki18nc("@info:credit", "Peter Penz"),
                      ki18nc("@info:credit", "Maintainer and developer (2006-2012)"),
@@@ -52,9 -53,6 +55,6 @@@
      about.addAuthor(ki18nc("@info:credit", "David Faure"),
                      ki18nc("@info:credit", "Developer"),
                      "faure@kde.org");
-     about.addAuthor(ki18nc("@info:credit", "Emmanuel Pescosta"),
-                     ki18nc("@info:credit", "Developer"),
-                     "emmanuelpescosta099@gmail.com");
      about.addAuthor(ki18nc("@info:credit", "Aaron J. Seigo"),
                      ki18nc("@info:credit", "Developer"),
                      "aseigo@kde.org");
index e15a65cc649008497385ded321026b067b2642e1,364bf79208bb2c31d93ebd074241446050370740..84325c87fbc7b4fd49f93d8171ba9679ea452503
@@@ -95,7 -95,7 +95,7 @@@ X-DocPath=dolphin/index.htm
  Categories=Qt;KDE;System;FileTools;FileManager;
  GenericName=File Manager
  GenericName[af]=Lêerbestuurder
- GenericName[ar]=مدير الملفات
+ GenericName[ar]=مدير ملفات
  GenericName[as]=নথিপত্ৰৰ পৰিচালক
  GenericName[ast]=Xestor de ficheros
  GenericName[be]=Кіраўнік файлаў
@@@ -186,4 -186,3 +186,4 @@@ GenericName[zh_TW]=æª\94æ¡\88管ç\90\86å\93
  Terminal=false
  MimeType=inode/directory;
  InitialPreference=10
 +X-DBUS-ServiceName=org.kde.dolphin
index a30b6b5908ff2d6e23206f1a93916bab747e65b9,3573b63a679c49ba77c6200dff55c95fb0f0b5ea..6a5927703d2edf2a707f43cf9a04d39edc4fad54
@@@ -1,5 -1,4 +1,4 @@@
  Name=Dolphin General
- Name[ar]=عام دولفين
  Name[ast]=Dolphin xeneral
  Name[bg]=Общо за програмата
  Name[bn]=ডলফিন সাধারণ
@@@ -71,7 -70,7 +70,7 @@@ Name[x-test]=xxDolphin Generalx
  Name[zh_CN]=Dolphin 常规
  Name[zh_TW]=Dolphin 一般
  Comment=This service allows configuration of general Dolphin settings.
- Comment[ar]=هذه الخدمة تتيح التحكم بإعدادات دولفين العامة.
+ Comment[ar]=تسمح هذه الخدمة بضبك إعدادات دولفين العامّة.
  Comment[ast]=Esti serviciu déxate facer la configuración xeneral de Dolphin.
  Comment[bg]=Това ви позволява да зададете общите настройки на програмата.
  Comment[bs]=Ovaj servis omogućava podešavanje opštih Delfinovih postavki.
@@@ -144,7 -143,7 +143,7 @@@ Comment[zh_TW]=此服務允許設定 Do
  Icon=system-run
  Type=Service
  X-KDE-ServiceTypes=KCModule
 -Exec=kcmshell4 kcmdolphingeneral
 +Exec=kcmshell5 kcmdolphingeneral
  
  X-KDE-Library=kcm_dolphingeneral
  X-KDE-PluginKeyword=dolphingeneral
@@@ -152,7 -151,7 +151,7 @@@ X-KDE-ParentApp=kcontro
  X-DocPath=dolphin/index.html#preferences-dialog-general
  # ctxt: Random file browsing settings.
  Name=General
- Name[ar]=عام
+ Name[ar]=عامّ
  Name[ast]=Xeneral
  Name[bg]=Общи
  Name[bn]=সাধারণ
@@@ -225,7 -224,7 +224,7 @@@ Name[x-test]=xxGeneralx
  Name[zh_CN]=常规
  Name[zh_TW]=一般
  Comment=Configure general file manager settings
- Comment[ar]=اضبط إعدادات مدير الملفات العامة
+ Comment[ar]=اضبط إعدادات مدير الملفات العامّة
  Comment[ast]=Configurar les preferencies del xestor de ficheros
  Comment[bg]=Общи настройки на файловия мениджър
  Comment[bn]=সাধারণ ফাইল ম্যানেজার সেটিংস কনফিগার করুন
index a9362a996de4475a8e8ae6c278f049aedc9bb0bd,372df9eefa6b17b0017e8765e525f80d30da8f1b..9c69c691a6a8dd04370714b5b64b19100ae84195
@@@ -1,5 -1,4 +1,4 @@@
  Name=Dolphin Navigation
- Name[ar]=تصفح دولفين
  Name[ast]=Navegación de Dolphin
  Name[bg]=Навигация в програмата
  Name[bn]=ডলফিন ন্যাভিগেশন
@@@ -145,7 -144,7 +144,7 @@@ Comment[zh_TW]=此服務允許設定 Do
  Icon=input-mouse
  Type=Service
  X-KDE-ServiceTypes=KCModule
 -Exec=kcmshell4 kcmdolphinnavigation
 +Exec=kcmshell5 kcmdolphinnavigation
  
  X-KDE-Library=kcm_dolphinnavigation
  X-KDE-PluginKeyword=dolphinnavigation
index fd5ecd1524cb0e3a7e2f2c0787aa3a9417520bbe,e0fdc8703b2043a160e75ac0bc7e836ea61fbddb..5feeaa361cbc003766563d894b858bd280ea3b1b
@@@ -22,9 -22,9 +22,9 @@@
  #include "dolphin_generalsettings.h"
  
  #include <KIconLoader>
 -#include <KIcon>
 +#include <QIcon>
  #include <KLocale>
 -#include <KMenu>
 +#include <QMenu>
  #include <KVBox>
  
  #include "statusbarspaceinfo.h"
@@@ -72,21 -72,21 +72,21 @@@ DolphinStatusBar::DolphinStatusBar(QWid
      m_zoomSlider->setPageStep(1);
      m_zoomSlider->setRange(ZoomLevelInfo::minimumLevel(), ZoomLevelInfo::maximumLevel());
  
 -    connect(m_zoomSlider, SIGNAL(valueChanged(int)), this, SIGNAL(zoomLevelChanged(int)));
 -    connect(m_zoomSlider, SIGNAL(valueChanged(int)), this, SLOT(updateZoomSliderToolTip(int)));
 -    connect(m_zoomSlider, SIGNAL(sliderMoved(int)), this, SLOT(showZoomSliderToolTip(int)));
 +    connect(m_zoomSlider, &QSlider::valueChanged, this, &DolphinStatusBar::zoomLevelChanged);
 +    connect(m_zoomSlider, &QSlider::valueChanged, this, &DolphinStatusBar::updateZoomSliderToolTip);
 +    connect(m_zoomSlider, &QSlider::sliderMoved, this, &DolphinStatusBar::showZoomSliderToolTip);
  
      // Initialize space information
      m_spaceInfo = new StatusBarSpaceInfo(this);
  
      // Initialize progress information
      m_stopButton = new QToolButton(this);
 -    m_stopButton->setIcon(KIcon("process-stop"));
 +    m_stopButton->setIcon(QIcon::fromTheme("process-stop"));
      m_stopButton->setAccessibleName(i18n("Stop"));
      m_stopButton->setAutoRaise(true);
      m_stopButton->setToolTip(i18nc("@tooltip", "Stop loading"));
      m_stopButton->hide();
 -    connect(m_stopButton, SIGNAL(clicked()), this, SIGNAL(stopPressed()));
 +    connect(m_stopButton, &QToolButton::clicked, this, &DolphinStatusBar::stopPressed);
  
      m_progressTextLabel = new QLabel(this);
      m_progressTextLabel->hide();
      m_showProgressBarTimer = new QTimer(this);
      m_showProgressBarTimer->setInterval(500);
      m_showProgressBarTimer->setSingleShot(true);
 -    connect(m_showProgressBarTimer, SIGNAL(timeout()), this, SLOT(updateProgressInfo()));
 +    connect(m_showProgressBarTimer, &QTimer::timeout, this, &DolphinStatusBar::updateProgressInfo);
  
      m_resetToDefaultTextTimer = new QTimer(this);
      m_resetToDefaultTextTimer->setInterval(ResetToDefaultTimeout);
      m_resetToDefaultTextTimer->setSingleShot(true);
 -    connect(m_resetToDefaultTextTimer, SIGNAL(timeout()), this, SLOT(slotResetToDefaultText()));
 +    connect(m_resetToDefaultTextTimer, &QTimer::timeout, this, &DolphinStatusBar::slotResetToDefaultText);
  
      // Initialize top layout and size policies
      const int fontHeight = QFontMetrics(m_label->font()).height();
      m_label->setFixedHeight(contentHeight);
      m_label->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
  
-     m_zoomSlider->setMaximumWidth(fontMetrics.averageCharWidth() * 15);
+     m_zoomSlider->setMaximumWidth(fontMetrics.averageCharWidth() * 25);
  
      m_spaceInfo->setFixedHeight(contentHeight);
-     m_spaceInfo->setMaximumWidth(fontMetrics.averageCharWidth() * 15);
+     m_spaceInfo->setMaximumWidth(fontMetrics.averageCharWidth() * 25);
      m_spaceInfo->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
  
      m_progressBar->setFixedHeight(contentHeight);
-     m_progressBar->setMaximumWidth(fontMetrics.averageCharWidth() * 15);
+     m_progressBar->setMaximumWidth(fontMetrics.averageCharWidth() * 25);
  
      QHBoxLayout* topLayout = new QHBoxLayout(this);
      topLayout->setMargin(0);
@@@ -259,7 -259,7 +259,7 @@@ void DolphinStatusBar::contextMenuEvent
  {
      Q_UNUSED(event);
  
 -    KMenu menu(this);
 +    QMenu menu(this);
  
      QAction* showZoomSliderAction = menu.addAction(i18nc("@action:inmenu", "Show Zoom Slider"));
      showZoomSliderAction->setCheckable(true);
@@@ -357,3 -357,4 +357,3 @@@ void DolphinStatusBar::setExtensionsVis
      m_zoomSlider->setVisible(showZoomSlider);
  }
  
 -#include "dolphinstatusbar.moc"