Commit graph

4338 commits

Author SHA1 Message Date
Alexandr Akulich
ebc035474a NotificationsModel: isAnyDimissable() marked as invokable method. 2014-06-14 14:32:31 +02:00
Alexandr Akulich
af70979095 Added some more const declaration.
Conflicts:
	libkdeconnect/devicesmodel.cpp
	libkdeconnect/devicesmodel.h
	libkdeconnect/notificationsmodel.cpp
	libkdeconnect/notificationsmodel.h
2014-06-14 14:32:30 +02:00
Alexandr Akulich
6fff30fc8f DevicesModel: Updated StatusReachable value. 2014-06-14 14:32:29 +02:00
Alexandr Akulich
bb310e3db3 libkdeconnect: CMake files reworked to follow packaging guilde recommendations. 2014-06-14 14:32:29 +02:00
Alexandr Akulich
42ecb8a93b libkdeconnect: Implemented CMake package configuration files.
Conflicts:
	libkdeconnect/CMakeLists.txt
2014-06-14 14:32:29 +02:00
Aleix Pol
5c9d3a9d42 Make a new kdeconnectcore library
Solves the need of compiling device.cpp against all plugins. Also
networkpackage and others don't need to either.

REVIEW: 118742
2014-06-14 14:31:31 +02:00
Albert Vaca
8777cc9d76 libkdeconnect: Fixed some style issues.
Conflicts:
	libkdeconnect/devicesmodel.cpp
	libkdeconnect/devicesmodel.h
	libkdeconnect/notificationsmodel.cpp
	libkdeconnect/notificationsmodel.h
2014-06-14 13:31:02 +02:00
Aleix Pol
1bda8043cd Remove unneeded libraries to link against
Now the kded doesn't compile everything, so it has less dependencies
2014-06-14 13:12:48 +02:00
Aleix Pol
846494f62a This wasn't meant to get in, according to Albert Vaca 2014-06-14 13:11:08 +02:00
Alexandr Akulich
384b6d8be0 Added headers installation.
Conflicts:
	libkdeconnect/CMakeLists.txt
2014-06-14 13:10:30 +02:00
Aleix Pol
e58145b20e Don't compile all kde connect in the kded
It's just launching a process.
2014-06-14 13:08:26 +02:00
Alexandr Akulich
f8fe1f3f6c kcm: Added DevicesModel declaration to move it's definition to implementation. 2014-06-14 13:06:12 +02:00
Alexandr Akulich
a6d4dd87be libkdeconnect: KDECONNECT_EXPORT turned to be import declaration outside of lib. 2014-06-14 13:05:50 +02:00
Alexandr Akulich
35757aef8f NotificationsModel: isAnyDimissable() marked as invokable method. 2014-06-14 13:05:40 +02:00
Alexandr Akulich
aeefc32c9b Added some more const declaration.
Conflicts:
	libkdeconnect/devicesmodel.cpp
	libkdeconnect/devicesmodel.h
	libkdeconnect/notificationsmodel.cpp
	libkdeconnect/notificationsmodel.h
2014-06-14 13:05:33 +02:00
Alexandr Akulich
8e761a7b7f DevicesModel: Updated StatusReachable value. 2014-06-14 13:02:09 +02:00
Alexandr Akulich
ce5bf39d7b libkdeconnect: CMake files reworked to follow packaging guilde recommendations. 2014-06-14 13:01:50 +02:00
Alexandr Akulich
f7e7327991 libkdeconnect: Implemented CMake package configuration files.
Conflicts:
	libkdeconnect/CMakeLists.txt
2014-06-14 13:01:13 +02:00
Albert Vaca
27483bc0c5 Inform other devices we don't trust them when they talk to us 2014-06-09 11:52:46 +02:00
Albert Vaca
78597637e7 Missing license file 2014-06-09 11:52:16 +02:00
Albert Vaca
11b86359fd Added a proper description to KAboutData 2014-06-09 10:31:25 +02:00
Antoni Bella Pérez
10d44d9b9c Fixed typo 2014-06-07 18:47:24 +02:00
Albert Vaca
e9a9d742d6 Fixed sftp plugin crashing when mounting
Removed sftp notificatons and some configuration options
Homogenized coding style
2014-06-07 18:34:48 +02:00
Stefan Werner
400cff1c9c PauseMusicPlugin now stops music when it can't pause (ie: streams) 2014-06-07 18:34:48 +02:00
Albert Vaca
6549da84be Incoming shared files can now be placed in device-dependent dirs. 2014-06-07 18:27:38 +02:00
Albert Vaca
e2e3785206 Trying to fix crashs at exit 2014-06-07 18:27:38 +02:00
Albert Vaca
5c66b891e2 Fixed bug with mixers not being correctly converted to dbus paths
BUG: 333709
2014-06-07 18:27:38 +02:00
Albert Vaca
0b98ec3cb0 Fixed a crash when no mixers or controls were abailable in KMix
BUG: 332153
2014-06-07 18:27:38 +02:00
l10n daemon script
4a28371412 SVN_SILENT made messages (.desktop file) 2014-06-07 04:18:43 +00:00
l10n daemon script
c641fd50c0 SVN_SILENT made messages (.desktop file) 2014-06-04 04:19:06 +00:00
l10n daemon script
ab3d38d677 SVN_SILENT made messages (.desktop file) 2014-05-31 04:21:12 +00:00
l10n daemon script
78efe7512c SVN_SILENT made messages (.desktop file) 2014-04-21 04:56:45 +00:00
l10n daemon script
fe7763026d SVN_SILENT made messages (.desktop file) 2014-04-20 04:38:36 +00:00
Àlex Fiestas
c8a9796093 Avoid doing qobject_cast on an already destroyed QObject
QObject::destroyed is emitted from the QObject destructor, because of
that the object that inherit from it (in this case DeviceLink) will not
exist anymore, hence we can't cast to it.

So we are saving the needed information in an QObject property so we
do not have to do any cast.
2014-04-15 20:14:22 +02:00
Albert Vaca
b366b1debc showPlasmoidBeShown -> shouldPlasmoidBeShown 2014-04-14 22:44:23 +02:00
Àlex Fiestas
cbd6809932 Rename pairingTimer to m_pairingTimeout 2014-04-14 21:57:48 +02:00
Àlex Fiestas
258739cd93 Fix compile
Double declared variable plus missing ;, sorry :/
2014-04-14 21:57:48 +02:00
Àlex Fiestas
0f734de3e9 Simplify socketlinereader by using Qt build in parser
This also speeds it a lot making it possible to pass long lines.

REVIEW:116645
2014-04-14 21:57:48 +02:00
Àlex Fiestas
4a74f413ae Accept all connections until none are available
When newConnection is called pendingConnections may have more than
one connectio, so we have to iterate and use all of them.
2014-04-14 21:57:48 +02:00
Àlex Fiestas
e4e4004912 Fix leak on connectError
We were not deleting the networkpacket not removing it from the map.
2014-04-14 21:57:48 +02:00
Àlex Fiestas
3735ca2cd1 Coding style and return early refactoring 2014-04-14 21:57:48 +02:00
Àlex Fiestas
e3e0eac779 Removed extra lines and trailing spaces 2014-04-14 21:57:48 +02:00
Àlex Fiestas
0029c62a2d Hide the plasmoid when no device is connected
Reviewed by albertvaka@gmail.com
2014-04-14 21:57:48 +02:00
Àlex Fiestas
2a235f6496 Add const in lanDeviceLink 2014-04-14 21:57:48 +02:00
Albert Vaca
60e8eb2a32 Removed commented code 2014-04-14 21:21:09 +02:00
Albert Vaca
1b559019ca Implemented migration from older versions of KDE Connect
That stored private keys in KConf instead of PEM files.
2014-04-14 21:08:41 +02:00
Albert Vaca
bcf6359dd1 Fixed pairing problems when kdeconnect crashed
This was caused by KConf not being saved to disk in this case
2014-04-14 21:08:13 +02:00
David Suárez
d6824ad8f8 Fixed unit test!
REVIEW: 117387
2014-04-12 23:07:40 +02:00
Albert Vaca
d7e9a42a7b Moved unit tests together 2014-04-12 23:04:35 +02:00
Albert Vaca
f1bd54a508 Daemon is a KUniqueApplication now, to avoid having more than one instance 2014-04-12 22:49:00 +02:00