Commit graph

715 commits

Author SHA1 Message Date
Aleix Pol
128241c95c Don't call the QString copy constructor without need 2015-03-14 02:20:25 +01:00
Aleix Pol
4c195e1a16 No need to set up the timeout every time 2015-03-14 00:39:13 +01:00
Aleix Pol
5d8cf9544c Fix how the plasmoid status is specified
No need to show the FullRepresentation to figure out the status of the
plasmoid.
Moves the code back to the main.qml file so that we're always tracking if
there's actually paired devices.

REVIEW: 122912
2015-03-13 00:56:25 +01:00
Jonathan Riddell
ce2bb1e433 don't install library dev files until there is an API/ABI policy 2015-03-12 12:42:10 +01:00
Aleix Pol
ede7dd0e84 Drop KIOWidgets dependency from KDEConnectCore
Removes the usage of RenameDialog by moving the functionality away. In
fact, what it does is make the share dialog try to come up with a different
name rather than asking the user. It's a quite common procedure as makes
the interaction simpler (for example, Chromium and Kamoso work like that).

REVIEW: 122813
2015-03-09 13:22:10 +01:00
Albert Vaca
0a1128ae86 Actually, why are we compiling the modeltest as part of the regular build? 2015-03-08 19:16:06 -07:00
Albert Vaca
a8df2558e4 Fixed annoying warning in modeltest.cpp 2015-03-08 19:13:34 -07:00
Aleix Pol
72411fc504 Simplify weird code
Don't assume destination is local, also don't use setPath, which is quite
broken as it still keeps the scheme.
This way, destination can be any valid URL.
Don't add a trailing slash if we're going to remove it afterwards anyway.
Remove some back-and-forth conversions between QUrl and QString.
2015-03-04 23:20:28 +01:00
Aleix Pol
b06038e60e Prefer the usage of QUrl::toLocalFile to QUrl::path
QUrl::toLocalFile is portable.
2015-03-04 22:33:54 +01:00
Aleix Pol
463aa0cbf9 Prefer using QCoreApplication to using QApplication
Just checking if we can get rid of QtWidgets dependency on core,
eventually
2015-03-04 22:29:04 +01:00
Aleix Pol
2c612479fe Drop unneeded dependency in the daemon 2015-03-04 22:26:34 +01:00
Aleix Pol
2a70fabaf0 Remove unneeded dependency 2015-03-04 22:20:44 +01:00
Albert Vaca
d8a2aac952 Merge branch 'master' into frameworks 2015-03-01 21:33:47 -08:00
Albert Vaca
b0cc45b52a You can now change your name (the one seen by other devices on the network) 2015-03-01 21:23:05 -08:00
Albert Vaca
c7c91c1289 Added KdeConnectConfig class that aims to be a KConfig abstraction
Benefits:
- We had config files in different paths, now they will be centralized.
- Daemon, LanLinkProvider and NetworkPackage depend only on Qt now.
- KConfig is accessed with strings as keys, where a typo can go unnoticed.
- Daemon is now thinner, as it doesn't need to initialize config values.
- QCA::Initializer is in a single place now (was in Daemon and Plugin).
2015-03-01 20:16:07 -08:00
Albert Vaca
7591e783ca Implemented sizeHint for KCM, so it doesn't open in a super small window 2015-03-01 16:09:42 -08:00
Albert Vaca
567796231b Connecting to clicked instead of pressed on KCM's buttons 2015-03-01 16:09:42 -08:00
Aleix Pol
ef70772f70 Clean up generation of the host's private key
Only look for it in the writable path, as it won't ever be installed in a
common place.
Don't look for the path in the config file either.
Don't make it depend on the application name.

REVIEW: 122744
2015-03-02 00:49:44 +01:00
l10n daemon script
d2e973b351 SVN_SILENT made messages (.desktop file) 2015-02-28 04:22:03 +00:00
Albert Vaca
0cb24acbc0 Improved kdeconnect-cli, adding parameters to ease scripting.
Also:
Added some missing i18n calls.
Using QTextStream(stderr) instead of qCritical() to avoid "quoted output".
2015-02-24 22:17:44 -08:00
Albert Vaca
7e3338bae5 Removed kded directory 2015-02-24 22:17:44 -08:00
l10n daemon script
ffe8a0c2d6 SVN_SILENT made messages (.desktop file) 2015-02-25 04:21:00 +00:00
Albert Vaca
aaa034b9d6 Removed reference to KDED 2015-02-23 22:14:22 -08:00
Albert Vaca
18ba161f17 Fully replaced KDED for autostart + dbus activation, so we work outside KDE 2015-02-23 22:12:45 -08:00
Albert Vaca
15745b2425 Fixed deprecation warning 2015-02-23 22:07:28 -08:00
Albert Vaca
205df05219 Changed share and pausemusic icons 2015-02-23 21:44:08 -08:00
Albert Vaca
c50f1a22ae Fixed rejectPairing being always called 2015-02-23 21:43:46 -08:00
l10n daemon script
5f0811dff8 SVN_SILENT made messages (.desktop file) 2015-02-21 04:46:14 +00:00
Aleix Pol
da9ffd6887 Fix building, missing include 2015-02-06 13:24:46 +01:00
Albert Vaca
c013966f4b Version number is now set in a single place 2015-02-04 23:52:07 -08:00
Albert Vaca
dcfec8c593 Merge branch 'master' into frameworks 2015-02-03 19:05:12 -08:00
l10n daemon script
93ceecf1bd SVN_SILENT made messages (.desktop file) 2015-02-01 04:01:24 +00:00
Albert Vaca
438f9a1846 Added a menu entry for the KCM in non-kde desktops 2015-01-30 22:22:37 -08:00
Lamarque V. Souza
00ef52227e Fixes file transfer for Samsung Galaxy S2 with Jelly Bean 4.1.2
by setting destination QUrl's scheme if it lacks one.

REVIEW: 122221
2015-01-23 14:11:48 -02:00
Albert Vaca
cd62979f3c Merge branch 'master' into frameworks 2015-01-20 22:57:10 -08:00
Albert Vaca
77dd964b02 Added "silent" param that makes new notifications not popup
Should replace requestAnswer eventually, for now both are here for compat.
2015-01-20 22:56:47 -08:00
Albert Vaca
6cc6d287fc Merge branch 'master' into frameworks
Conflicts:
	cli/kdeconnect-cli.cpp
	core/filetransferjob.cpp
	core/filetransferjob.h
	interfaces/notificationsmodel.cpp
	plasmoid/declarativeplugin/kdeconnectdeclarativeplugin.h
	plugins/sftp/sftpplugin.cpp
2015-01-20 22:44:31 -08:00
Albert Vaca
da1cb4c354 Coding style 2015-01-20 22:22:14 -08:00
Albert Vaca
91d4a03258 Made notification id accessible from QML 2015-01-20 22:17:01 -08:00
Albert Vaca
86bfbf1a4c Trying to fix a crash when exiting KDE Connect. 2015-01-20 20:58:32 -08:00
l10n daemon script
c805f91411 SVN_SILENT made messages (.desktop file) 2015-01-21 03:54:34 +00:00
Kai Uwe Broulik
930c107f7b Cleanup notifications
Use iconName instead of sending a fixed-size pixmap around, fix wording and use title
capitalization, more meaningful names in notifyrc, QStringLiteral and new style connect.

REVIEW: 122121
2015-01-18 01:53:20 +01:00
Albert Vaca
a73575eaa5 Fixed bug when using the cli tool to transfer UTF8-named files
BUG: 342968
2015-01-17 14:01:37 -08:00
Heiko Becker
260301155f Use co-installable qca-qt5 version
If both qt4 and qt5 versions of qca are present the build of the
frameworks branch tries to find Qt4 pulled in by qca and thus fails.

REVIEW: 122054
2015-01-15 21:35:30 -08:00
l10n daemon script
381c5a3181 SVN_SILENT made messages (.desktop file) 2015-01-13 04:48:51 +00:00
Albert Vaca
c7c1974ea9 Merge branch 'master' into frameworks
Conflicts:
	core/backends/lan/lanlinkprovider.cpp
	plugins/ping/pingplugin.h
	plugins/telephony/telephonyplugin.cpp
2015-01-10 20:14:01 -08:00
l10n daemon script
d4382eec31 SVN_SILENT made messages (.desktop file) 2015-01-09 04:19:56 +00:00
Albert Vaca
4b6aa135e3 Fixing memory leaks in LanDeviceLinkProvider and LanDeviceLink 2015-01-06 21:48:25 -08:00
Albert Vaca
127a117c62 Added support for Ctrl, Alt and Shift combinations and F keys to keyboard. 2015-01-06 00:11:58 -08:00
Mikhail Ivchenko
f6e7b04514 Added a button to incoming call notifications to mute the phone ringing.
REVIEW: 121854
2015-01-05 21:58:23 -08:00