Commit graph

4788 commits

Author SHA1 Message Date
Arjun AK 2305e34cc3 Assume links passed via cmdline args are local files
If not, when the user types 'dolphin nonexistantfile' he will be
taken to 'http://nonexistantfile'

BUG: 343906
2015-02-10 11:21:53 +05:30
Arjun AK b86d0def39 Construct URLs passed via cmdline args using QUrl::fromUserInput()
Otherwise user will have to type "dolphin file:///tmp" instead of
"dolphin /tmp"

REVIEW: 122475
BUG: 343906
2015-02-09 18:15:37 +05:30
Montel Laurent f67bdd0fb7 kdelibs4support-- 2015-02-06 13:21:27 +01:00
Montel Laurent 3dbee30c1a Clean up includes 2015-02-06 09:37:24 +01:00
Montel Laurent 159234944c Fix includes 2015-02-06 09:35:26 +01:00
Montel Laurent 85cc0e78c7 Migrate settings 2015-02-06 09:32:39 +01:00
Montel Laurent c61cfc9860 Fix includes 2015-02-06 09:22:34 +01:00
Hrvoje Senjan db0cc8d548 Try to fix the build 2015-02-04 12:56:29 +01:00
Bhushan Shah 3a390a0580 add debug message to check CI failure 2015-02-04 16:57:20 +05:30
Emmanuel Pescosta 1b3ea64abb Add dolphin dbus service 2015-02-04 10:29:33 +01:00
Mathieu Tarral c725848709 Port Dolphin away from KApplication, KCmdLineArgs and K4AboutData 2015-02-04 10:22:03 +01:00
Emmanuel Pescosta b15ee4cf70 Port away from KGlobal::mainComponent() 2015-02-04 09:39:40 +01:00
Emmanuel Pescosta 900b523d2b Solved TODO: KWindowConfig::saveWindowSize/restoreWindowSize in DolphinSettingsDialog 2015-02-04 09:10:23 +01:00
Emmanuel Pescosta 50c0aa3b07 Port KonqCopyToMenu to KFileCopyToMenu 2015-02-04 08:56:17 +01:00
Emmanuel Pescosta 3515582495 Ported Dolphin from KDialog to QDialog and save/restoreDialogSize to KWindowConfig::save/restoreWindowSize with the help of the porting scripts.
REVIEW: 122305
2015-02-03 09:25:33 +01:00
Emmanuel Pescosta 122e1c6288 Port away from KGlobalSettings::completionMode()
REVIEW: 122347
2015-02-03 09:13:11 +01:00
Emmanuel Pescosta 5100c20c0d Port away from KGlobalSettings::singleClick() and use the mouse kcm module instead of implementing the single/double click settings on our one.
REVIEW: 122311
2015-02-01 16:16:13 +01:00
Emmanuel Pescosta fdb5c0d33e Port away from KGlobalSettings::naturalSorting() by moving it to Dolphin's GeneralSettings
REVIEW: 122310
2015-01-31 21:05:28 +01:00
Emmanuel Pescosta 6d0f2554cb Port KGlobalSettings::smallestReadableFont() to QFontDatabase::systemFont(QFontDatabase::SmallestReadableFont)
REVIEW: 122308
2015-01-30 09:04:11 +01:00
Emmanuel Pescosta 08252ffc69 Port away from KGlobalSettings::graphicEffectsLevel()
REVIEW: 122309
2015-01-30 09:02:08 +01:00
Emmanuel Pescosta f8187b982a Revert commit 0c6c76b038e868e225f7816fae39635d472bce0a and make the
QWeakPointer a QPointer (+comment) to make it clear, that we must track the lifetime of the context menu instead of doing "only" out of scope deleting.

Thanks to Frank for pointing out this problem!

CCMAIL: frank78ac@googlemail.com
2015-01-29 13:45:14 +01:00
Emmanuel Pescosta a06ee3399b Merge branch 'Applications/14.12' into frameworks
Conflicts:
	dolphin/src/main.cpp
	kdepasswd/kcm/kcm_useraccount.desktop
	konqueror/settings/ebrowsing/ebrowsing.desktop
	konqueror/settings/kio/cache.desktop
	konqueror/settings/kio/cookies.desktop
	konqueror/settings/kio/netpref.desktop
	konqueror/settings/kio/proxy.desktop
	konqueror/settings/kio/smb.desktop
	konqueror/settings/kio/uasproviders/firefox30oncurrent.desktop
	konqueror/settings/kio/uasproviders/ie90onwinnt71.desktop
	konqueror/settings/kio/useragent.desktop
	lib/konq/konq_operations.cpp
2015-01-28 17:13:59 +01:00
Emmanuel Pescosta 7745a93547 Make the QWeakPointer<DolphinContextMenu> a QScopedPointer<DolphinContextMenu> 2015-01-28 16:25:41 +01:00
Emmanuel Pescosta ee879cf353 use addActions instead of doing addAction in a loop 2015-01-28 15:25:09 +01:00
Emmanuel Pescosta 297a67aad8 forward requestItemInfo signal 2015-01-28 15:10:28 +01:00
Emmanuel Pescosta 7a7e8ee819 undo should be disabled by default 2015-01-28 15:04:32 +01:00
Emmanuel Pescosta 7e03c99ebb use DolphinMainWindow::showErrorMessage instead of DolphinMainWindow::slotPanelErrorMessage because the implementation is exactly the same 2015-01-28 14:54:47 +01:00
Emmanuel Pescosta 9cdbd1eb09 Removed old (<= 4.6) settings upgrading code (jpegrotatedthumbnail to jpegthumbnail) from PreviewsSettingsPage 2015-01-24 23:11:02 +01:00
Emmanuel Pescosta 617e1b378b Port ConfigurePreviewPluginDialog away from KLibrary, KIO::NetAccess::del and ThumbCreatorV2 2015-01-24 23:07:30 +01:00
l10n daemon script cf6bb7bdb8 SVN_SILENT made messages (.desktop file) 2015-01-24 07:14:40 +00:00
l10n daemon script ac944bab8d SVN_SILENT made messages (.desktop file) 2015-01-21 06:55:27 +00:00
Gregor Mi 088b516057 Add disk usage statistics menu to SpaceInfo widget in the status bar:
the menu has the following entries:

1. Filelight location
2. Filelight device
3. Filelight
4. KDiskFree

KService is used to find the applications and display proper
translations.
KRun is used to run the applications.

REVIEW: 121478
CHANGELOG: Add a menu on left-click on the SpaceInfo widget in the status bar to show Disk Usage statistics.
2015-01-12 16:18:50 +01:00
Emmanuel Pescosta 39b77e9861 Always connect the drop job result with DolphinView::slotPasteJobResult
to receive the error message in case of an error also when the destUrl
is not equal to the current url in the view.

CCMAIL: faure@kde.org
2015-01-05 12:50:53 +01:00
David Faure 7bd5bec219 Dolphin: port from KonqOperations::doDrop to the new KIO::DropJob
REVIEW: 121678
2015-01-05 09:07:10 +01:00
Emmanuel Pescosta 119f7a3fce Fix for crash which was introduced by commit
c2a0d3e889666539669562a6c1f7a080a0f29b11
(use QCollator instead of KStringHandler)

REVIEW: 121817
BUG: 342316
2015-01-04 21:45:30 +01:00
Montel Laurent 48788f71cf Fix docbook 2015-01-01 12:55:16 +01:00
David Faure 2a561317c6 Remove unused libkonq includes 2014-12-25 10:16:12 +01:00
David Faure 7c695cd709 Fix compilation with Qt 5.2 and 5.3; QSignalSpy can't take a function pointer yet 2014-12-24 08:49:47 +01:00
Gregor Mi 70dc3d06d9 Statusbar SpaceInfo widget: set visible by default
REVIEW: 121474
2014-12-18 22:18:17 +01:00
Emmanuel Pescosta d19d94e60a Ported tests away from KRandomSequence, QTest::kWaitForSignal and KTempDir.
All tests passed!
2014-12-18 14:56:46 +01:00
Emmanuel Pescosta 95220eebae Port from KStringHandler naturalCompare to QCollator compare.
Make use of the QCollator instance (m_collator) in nameRoleGroups instead of using QString::localeAwareCompare (uses QCollator internally)

We don't need the m_caseSensitivity anymore, because the QCollator instance also holds this information.

(This patch doesn't make use of QCollatorSortKey)

Reviewed by Kai

REVIEW: 121480
2014-12-17 17:48:10 +01:00
Emmanuel Pescosta b5fc036999 use save() instead of writeConfig() 2014-12-14 19:11:39 +01:00
Emmanuel Pescosta 8d7c1a6678 Port KInputDialog to QInputDialog 2014-12-14 19:05:53 +01:00
Emmanuel Pescosta 6202dbcf4a Remove K_EXPORT_PLUGIN 2014-12-14 18:58:57 +01:00
Emmanuel Pescosta 20f6234005 port from KTabWidget to QTabWidget 2014-12-14 18:42:54 +01:00
Emmanuel Pescosta 192f00e32f get rid of KFileItemActionPlugin 2014-12-14 18:39:08 +01:00
Emmanuel Pescosta 5e91504d4b port away from VBox/HBox 2014-12-14 18:32:48 +01:00
Emmanuel Pescosta 68df2a725e show warnings about deprecated declarations 2014-12-14 17:47:58 +01:00
Emmanuel Pescosta a07d63d419 port away from deprecated KFileItem(mode_t mode, mode_t permissions, const QUrl &url, bool delayedMimeTypes = false); 2014-12-14 17:46:58 +01:00
Arjun AK 895a7c941b Fix Terminal-View navigation sync issue
The URL needs to be constructed from 'QUrl::fromLocalFile()' instead of
a QString so that the scheme is set properly.

REVIEW: 121409
BUG: 341678
2014-12-10 23:13:23 +05:30