Commit graph

4909 commits

Author SHA1 Message Date
David Faure 2a561317c6 Remove unused libkonq includes 2014-12-25 10:16:12 +01:00
l10n daemon script 91c85939bf SVN_SILENT made messages (.desktop file) 2014-12-25 04:02:55 +00: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
Arjun AK 1d7b3b8df5 Fix KUrl -> QUrl porting error
Trailing slashes should be removed before calling QUrl::filename(),
else it will return an empty string.

BUG: 341411
REVIEW: 121293
2014-12-01 17:31:39 +05:30
Emmanuel Pescosta bffb4a25df Set version number to 14.11.97 for the KDE Applications 14.12 RC 2014-11-26 10:27:41 +01:00
l10n daemon script ec23dd449a SVN_SILENT made messages (after extraction) 2014-11-22 01:41:29 +00:00
Frank Reininghaus 5052b6b5bb Merge branch 'Applications/14.12' 2014-11-21 17:28:32 +01:00
Frank Reininghaus 87ee607bf3 Update Dolphin version to 4.14.98 for Release Candidate
Using KDE_VERSION_STRING as the Dolphin version was convenient, but it
does not make sense anymore because it is fixed at 4.14.3 now.

REVIEW: 121195
2014-11-21 17:25:19 +01:00
Montel Laurent de7eefeb7e Fix desktop name 2014-11-20 13:36:24 +01:00
Luca Beltrame 3e5f78a1cc Fix build after review 121078
RR 121078 fixed exports, but did not include the necessary
generate_export_header in the CMakeLists.txt.

Please, if you are testing for Windows, ensure you also test your build
in Linux (and with a clean build dir). The fact that kde-baseapps for
KF5 is still unreleased does not mean it should not be buildable.

CCMAIL: andriusmao@gmail.com
2014-11-20 09:28:11 +01:00
Andrius da Costa Ribas e1789b559e Fix Exports.
REVIEW: 121078
2014-11-20 01:06:58 -02:00
Lukáš Tinkl c79eb81a34 set the dolphin part's translation domain
see RR 121141 for details
2014-11-19 00:54:51 +01:00
l10n daemon script d783c0c663 SVN_SILENT made messages (after extraction) 2014-11-17 05:13:00 +00:00
Emmanuel Pescosta 17c7e2f469 Fixed build error which was introduced by commit 7ed7cd97d084364d8ee61b35f5ffa3630c5277a4
CCMAIL: bhush94@gmail.com
2014-11-11 08:02:29 +01:00
l10n daemon script caaadabbf3 SVN_SILENT made messages (after extraction) 2014-11-11 01:45:07 +00:00
Emmanuel Pescosta d389f50d85 Merge branch 'Applications/14.12' 2014-11-10 09:24:17 +01:00
Emmanuel Pescosta 424d20e435 KIntSpinBox to QSpinBox 2014-11-10 09:12:33 +01:00
Emmanuel Pescosta 02c0835148 KLineEdit to QLineEdit 2014-11-10 09:08:04 +01:00
Emmanuel Pescosta d0f0f1f2e2 make use of initializer lists 2014-11-10 08:45:38 +01:00
Emmanuel Pescosta 82f19ab470 get rid of unused warnings 2014-11-10 08:42:37 +01:00
Frank Reininghaus 7e58ee0133 Make sure that m_selectionToggle is not 0 before calling deleteLater()
Commit 1938ad54d4 replaced delete by
deleteLater(). However, the latter cannot be used safely with null
pointers. This commit adds a safety check in order to make sure that
we do not get a crash.

Thanks to Christoph Feck for pointing out this issue.
2014-11-09 21:57:40 +01:00
Frank Reininghaus b73ed8eba9 Use deleteLater() to delete the selection toggle in KItemListWidget
This patch should make a crash with a backtrace as provided in the bug
report impossible. I'm not sure if this would really prevent the crash
- it looks like the actual cause of the problem could be in
QGraphicsView or anywhere else, but it's hard to tell because the bug
was reported just once and does not seem reproducible. But I'm pretty
sure that this change doesn't make anything worse.

BUG: 334785
REVIEW: 121087
2014-11-09 18:08:29 +01:00
Arjun AK cbe1d6aca4 Ensure input is a valid regexp before enabling regexp filter mode
Checking whether the input contains '*', '?' or '[' alone will
not do since there can be files with '[' in their name.

REVIEW: 120986
BUG: 340470
FIXED-IN: 14.12
2014-11-09 19:36:20 +05:30
l10n daemon script 36f571a0ce SVN_SILENT made messages (after extraction) 2014-11-09 05:29:52 +00:00
l10n daemon script 6218ae80e5 SVN_SILENT made messages (after extraction) 2014-11-09 01:37:06 +00:00
l10n daemon script 4518f7f969 SVN_SILENT made messages (after extraction) 2014-11-07 01:38:12 +00:00
Frank Reininghaus cc299154f4 Fix more unit test failures
This commit is analogous to 5cf8941ac789e47da70fe466033f45df9af1a3fa,
but the problem existed since the frameworks port was started and was
not obvious because the QString -> KUrl/QUrl port was done implicitly
when calling KIO::rename(oldPath, newPath, KIO::HideProgressInfo).

REVIEW: 120941
2014-11-04 22:42:45 +01:00
Frank Reininghaus 66a1b33e5a Fix unit test failures
These were caused by 86e31084ced8ba4875a6128f91ec2ca3d6df7a31 - note
that the correct replacement for KUrl(fileName) is
QUrl::fromLocalFile(fileName), and that calling the const function
urlA.adjusted(QUrl::RemoveFilename) only has an effect if the return
value is taken.
2014-11-04 22:42:37 +01:00
l10n daemon script e19e00c52a SVN_SILENT made messages (after extraction) 2014-11-04 06:32:18 +00:00
Lukáš Tinkl a069d24d4b fix default tab prev/next shortcuts
take into accound the whole list, not just the first shortcut
2014-11-04 00:00:04 +01:00
Lukáš Tinkl 037d5db85b Q_DECL_OVERRIDE 2014-11-03 23:52:18 +01:00
Lukáš Tinkl b96def1856 use QUrl::fromLocalFile() on devices
fixes being unable to access eg. removable drives
2014-11-03 18:25:19 +01:00
Lukáš Tinkl 7a3310ce73 fix initializer list 2014-11-03 16:16:52 +01:00
David Faure 30175dcbde KonqOperations: KIO::pasteMimeData -> KIO::paste, update signal and simplify dolphin accordingly. 2014-11-02 17:17:24 +01:00
David Faure 3e14a97a0f Many cleanups in KonqOperations 2014-11-02 17:03:18 +01:00
David Faure 98880e4430 Update status of paste action once directory has finished loading.
Since 6a6cf1ab328e7600f0c2b375e43a1e3bd236a5a7, it depends on rootItem()
which is not available until the dirlister emits it.
2014-11-02 15:34:30 +01:00
David Faure 8b306b67bf Port from KonqOperations::doPaste to new job KIO::paste
Remove KonqOperations::doPaste.
2014-11-02 15:20:41 +01:00
Arjun AK e256daa569 Enable KRun's script execution prompt.
This commit enables KRun's script/desktop file execution prompts,
which is shown when the user launches an executable script or a
desktop file. This is done so as to prevent the user from accidentaly
executing programs. A checkbox to enable or disable the prompts is also
being added to the preferences window

REVIEW: 120171
BUG: 275405
2014-11-01 16:41:29 +05:30