Commit graph

329 commits

Author SHA1 Message Date
Albert Vaca
84bba9429f Merge branch 'master' into 1.x
# Conflicts:
#	core/backends/lan/downloadjob.cpp
#	core/backends/lan/downloadjob.h
#	core/filetransferjob.cpp
#	core/filetransferjob.h
#	plugins/notifications/sendreplydialog.cpp
#	plugins/notifications/sendreplydialog.h
#	plugins/telephony/sendsmsdialog.cpp
#	plugins/telephony/sendsmsdialog.h
2017-09-03 22:05:54 +02:00
Jean Vincent
72535ecf48 Make member variable names, & placement and * placement more coherent
Summary:
Change all member variables to the form m_fooBar because it is the preferred form in Qt (it was half and half between this and mFooBar, and a minority didn't have anything).
Place all references and pointers on the side of the type since it is the majority.

Basically:
 - mFoo -> m_foo
 - foo -> m_foo (if it is a member variable)
 - Type &ref -> Type& ref
 - Type *ptr -> Type* ptr

Reviewers: #kde_connect, nicolasfella, albertvaka

Reviewed By: #kde_connect, nicolasfella, albertvaka

Subscribers: albertvaka, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D7312
2017-09-03 21:45:08 +02:00
Nicolas Fella
5d4821fb9c Only show notification title in plasmoid if different to app name
Summary: Like we do for the notifications in the plugin already. Passing the title and text separately to the plasmoid could be useful later as well.

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D7457
2017-08-22 18:18:34 +02:00
l10n daemon script
dadcc76841 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-08-06 06:02:06 +02:00
l10n daemon script
0356908fc8 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-08-06 04:42:32 +02:00
Nicolas Fella
3c3b5b0391 Gave plasmoid some love
Summary:
Make the plasmoid content transparent
Include battery info in header
Only show remotekeyboard input if available
Make header always centered

before:
{F3820966}

after:
{F3820965}

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: jeanv, albertvaka, apol, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D6943
2017-08-02 01:57:01 +02:00
Nicolas Fella
66e5eefe20 Gave plasmoid some love
Summary:
Make the plasmoid content transparent
Include battery info in header
Only show remotekeyboard input if available
Make header always centered

before:
{F3820966}

after:
{F3820965}

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: jeanv, albertvaka, apol, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D6943
2017-07-27 17:15:07 +02:00
Albert Vaca
ef0e80c91f Merge branch 'master' into 1.x
# Conflicts:
#	indicator/org.kde.kdeconnect.nonplasma.desktop
#	org.kde.kdeconnect.kcm.appdata.xml
#	plugins/runcommand/kdeconnect_runcommand.json
#	urlhandler/org.kde.kdeconnect.telhandler.desktop
2017-07-24 16:49:06 +02:00
Jean Vincent
c864267f04 Replace Q_FOREACH with C++11 range-for
Summary:
The use of Q_FOREACH is advised against (https://doc.qt.io/qt-5/qtglobal.html#Q_FOREACH) since Qt 5.7 and will eventually be removed from Qt.

I replaced all occurrences with the range-for loop introduced in C++11 (except for the one in daemon.cpp in deviceIdByName which might have a bug / typo in it).

I added const to the container or casted it with qAsConst when appropriate to avoid unnecessary copies.

(This is my first submission. I did all the unit tests, and they all passed but I don't know how to show it here.)

Reviewers: #kde_connect, nicolasfella, apol

Reviewed By: #kde_connect, nicolasfella, apol

Subscribers: albertvaka, apol, nicolasfella

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D6724
2017-07-21 09:57:19 +02:00
l10n daemon script
cc43a72884 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-07-14 05:43:50 +02:00
Fabian Vogt
0667c6556f Merge branch '1.x' 2017-07-12 11:37:41 +02:00
Fabian Vogt
5641d818dc Treat device names as plaintext, not rich text
Summary:
Notifications, QML Text and QLabel accept a HTML subset,
which does not make sense for device names.

BUG: 382243

Test Plan:
Sent a pair request and accepted it, device name
now shown as plain text everywhere.

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: #kde_connect

Differential Revision: https://phabricator.kde.org/D6640
2017-07-12 11:33:21 +02:00
l10n daemon script
ef1bee54e0 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-06-20 05:46:09 +02:00
l10n daemon script
36269e6506 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-06-20 04:26:54 +02:00
Julian Wolff
8aaa18848e show icon and reply toolbutton in plasmoid
Summary:
Show an icon for each notification which has an icon.

	Show a toolbutton which can be used to reply to notifications which offer a quick reply.

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: albertvaka

Maniphest Tasks: T4674, T4658

Differential Revision: https://phabricator.kde.org/D6058
2017-06-01 16:17:45 +02:00
l10n daemon script
5fda0b61e6 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-05-27 05:29:51 +02:00
l10n daemon script
0d217c58e1 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-05-27 04:22:53 +02:00
Kai Uwe Broulik
e9af490553 Merge branch '1.x' 2017-02-07 22:03:15 +01:00
Kai Uwe Broulik
54d43cebcb [Applet] Make "no device available" heading consistent with other applets
Also ensure that it wraps instead of overflowing in case the text gets too long on translated system.

Differential Revision: https://phabricator.kde.org/D4478
2017-02-07 22:02:38 +01:00
Holger Kaelberer
30cffbd96e Add remotekeyboard plugin
BUG: 370919
REVIEW: 129727
2017-01-23 09:08:27 +01:00
Aleix Pol
a164983b6f Revert "kdeconnect-kde: Add remotekeyboard plugin"
This reverts commit 040ad7357b.

Sorry, didn't mean to push that myself ^^'
2017-01-11 17:20:22 +01:00
Holger Kaelberer
040ad7357b kdeconnect-kde: Add remotekeyboard plugin
Allow to inject keypress events to remote peers (most notably Android devices)

Notes / open issues / possible improvements:

- For the json-payload I used the syntax of the key-events as sent by mousepad-plugin with the addition of a "sendAck"-flag. If "sendAck" is set to true the remote peer should echo a key-event if it could be handled, thus allowing the local client to find out whether the key was accepted. For performance reasons, it's allowed to send multi-char strings in the "key" property (performs much better if you send a whole string via "echo '...' |  kdeconnect-cli ..." e.g.)

- kdeconnect-cli: For now takes a string and transforms it into single key-events for visible characters only. In a first implementation I used a kbhit() helper that used termios.h to catch and relay keypresses interactively (including some special-events), which was not optimal. A better approch might be to use linux input-api directly. Would this be an option regarding cross-platform compatibility or can I assume to develop for Linux only? Being a command-line guy, I'd really like to have a fully featured kdeconnect-cli interface ;-)

- Factor out the Qt::Key-to-internal keymap to some core-helper because it corresponds to the mapping in the mousepad-plugin?

- The plasmoid is not perfect as it is: A single line containing a non-echoing TextField (i.e. it eats all the KeyPress events), and only ack-ed keypress-packets from the peer device are injected if they contain visible keys. Advantage: the user sees whether his key-presses are accepted by the peer device. Disadvantage: The echoed text does not correspond 1:1 to what is shown on the peer's display, user might be confused when typing without success. I played around with different variations each of which with its proper shortcomings:
1. An echoing Textfield for typing: Has the advantage that the user can directly see what he is typing, which makes interaction in the typing field easier, BUT messes up interaction if the Editor on the peer is changed silently and does not notify the user if his keypresses are not handled by the peer.
2. A non-echoing TextField for typing PLUS a readonly one for printing visible echoed keys. Disadvantage: same as for the previous one and uses more space on the plasmoid.
Comments? Ideas?

REVIEW: 129727
BUG: 370919
2017-01-10 21:12:42 +01:00
l10n daemon script
fd64a8bcc7 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-01-06 05:54:14 +01:00
Raymond Wooninck
0023a3297d Remove depreciated Servicetypes from metadata.desktop 2016-12-22 16:10:55 +01:00
l10n daemon script
e6a7df25aa SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-12-20 12:45:03 +01:00
Albert Vaca
6a2a0b1c76 Merge branch '1.x'
# Conflicts:
#	plugins/mpriscontrol/mpriscontrolplugin.cpp
#	plugins/sendnotifications/kdeconnect_sendnotifications.json
2016-11-26 16:40:24 +01:00
Albert Vaca
60331ccbf1 Clazy says all this QStringLiteral and QLatin1String were missing/wrong 2016-11-26 16:21:29 +01:00
Albert Vaca
a1340c8042 Fixed old style connects with clazy 2016-11-26 15:14:19 +01:00
Albert Vaca
1a1f94fd94 Fixed old style connects with clazy 2016-11-26 15:12:38 +01:00
l10n daemon script
b4e008847a SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-11-25 04:58:17 +01:00
Albert Vaca
33b5e556e6 Merge branch '1.x' 2016-11-24 15:12:06 +01:00
l10n daemon script
73c6e1a306 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-11-24 05:29:38 +01:00
Aleix Pol
e9c835f477 Prefer properties to functions 2016-11-23 19:45:35 +01:00
l10n daemon script
f0eb32c350 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-10-19 09:02:51 +00:00
l10n daemon script
3be06839a8 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-10-11 13:08:45 +00:00
Aleix Pol
eb31c1e152 Make it possible to toggle full notification contents by clicking on it
REVIEW: 129087
2016-10-04 01:12:04 +02:00
l10n daemon script
ec0ca3976d SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-09-29 12:27:06 +00:00
Kai Uwe Broulik
6f7c419baa Merge branch '1.x' 2016-09-10 22:53:37 +02:00
Albert Vaca
dd40598a62 Fixed plasmoid not closing when clicked again
BUG: 364473
2016-09-06 10:53:19 +02:00
Albert Vaca
faaf60c8f4 Changed 'ring my phone' icon as a question mark was confusing 2016-09-06 10:53:19 +02:00
l10n daemon script
2664b99864 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-08-30 10:03:14 +00:00
Albert Vaca
5ad007a981 Merge branch '1.x' 2016-08-29 20:46:48 +02:00
Aleix Pol
d9e7f308c2 Show the announcedName in the qml app
Makes it possible to display it and modify it
Introduces a DBusProperty component that can be used if we don't want
to go through the QtDBus property generation hell.
2016-08-21 19:38:15 +02:00
Aleix Pol
b69247b4e5 Don't force the creation of a DeviceInterface for every pluginchecker
Create one per device and share it
2016-08-21 18:57:27 +02:00
Aleix Pol
a96818113d Simplify the PluginChecker
Make the connection property readonly
Alias the device into another property
2016-08-21 13:08:36 +02:00
l10n daemon script
1e574d18e3 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-08-19 09:28:59 +00:00
l10n daemon script
ae766f5839 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-08-04 12:30:52 +00:00
l10n daemon script
60c3bf9b90 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-06-22 16:33:04 +00:00
Aleix Pol
596e4484f4 Clean up use of virtual and override keywords
Only use virtual when actually virtual, to override just use override.
2016-06-20 19:22:29 +02:00
Aleix Pol
d8c20399e4 pedantic 2016-06-15 23:49:51 +02:00
Aleix Pol
f1f0b85d3e Verbose errors 2016-06-12 22:26:32 +02:00
Aleix Pol
9a370da97b Use async dbus calls for checking plugin availability 2016-06-12 22:26:23 +02:00
Aleix Pol
b73f3d5a8a Move the PluginChecker to the kdeconnect qml plugin 2016-06-12 22:24:35 +02:00
Albert Vaca
59f69856d6 Fixed warning 2016-05-31 20:10:00 +02:00
Albert Vaca
932d8db6bc Changed name and action icon for find my phone plugin, plus added tooltip.
Trying to make it more discoverable and less misleading (could look like
a gps-based tool).
2016-05-25 11:51:48 -06:00
David Kahles
8d7dad3604 Introduce QML component to check for plugin availability
Remove those checks from three different places and put them into a reusable
component, which can be used for different plugins.

REVIEW: 127583
2016-04-07 16:39:26 +02:00
l10n daemon script
f6724de704 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-02-14 09:18:22 +00:00
l10n daemon script
5eb9a54bcc SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-02-05 09:16:28 +00:00
l10n daemon script
2b9217fab3 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-01-17 10:49:15 +00:00
l10n daemon script
f9f7f2bbcb SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-01-16 10:23:35 +00:00
l10n daemon script
fc2bd97e69 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-11-17 12:54:36 +00:00
l10n daemon script
0145c837db SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-11-11 10:30:30 +00:00
l10n daemon script
e424bcec1a SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-11-04 17:00:05 +00:00
l10n daemon script
633952b638 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-10-27 12:30:00 +00:00
l10n daemon script
dda5ec5385 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-10-26 03:37:32 +00:00
l10n daemon script
4239b0525b SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-10-25 03:57:27 +00:00
l10n daemon script
9f291d9ef7 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-10-02 10:15:24 +00:00
Harald Sitter
66743cf11f do not runtime require Qt 5.5 for no good reason
Layouts 1.2 appeared in Qt 5.5 [1] and introduced new fooMargin properties
[2]. We do however not use margins here, so we do not actually need
Layouts 1.2. Drop back down to Layouts 1.1 to be more compatible with
mainstream distros.

[1] http://doc.qt.io/qt-5.4/qtquick-layouts-qmlmodule.html
[2] http://doc.qt.io/qt-5.5/qml-qtquick-layouts-layout.html#bottomMargin-attached-prop

REVIEW: 125388
2015-09-25 11:04:24 +02:00
l10n daemon script
d33800a748 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-09-17 11:59:25 +00:00
Aleix Pol
a8a8080248 Prevent detaching temporary objects
For more info see:
https://blogs.kde.org/2015/05/13/simple-qt-container-optimization-you-should-do-your-code
2015-09-12 09:53:05 +02:00
Aleix Pol
4730022810 Pass arguments as const-reference 2015-09-12 09:45:59 +02:00
David Edmundson
4a8303f846 Add button to find phone from plasmoid 2015-09-11 22:48:45 +02:00
David Edmundson
9985a59608 Find my phone plugin
Add a plugin that sends a package to ring an alarm on a phone

Also adjusts plasmoid to have a button to invoke this.
2015-09-11 21:12:12 +02:00
l10n daemon script
5795e27191 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-09-10 11:33:23 +00:00
l10n daemon script
af97d4476c SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-09-08 12:50:45 +00:00
Aleix Pol
d58f6314fe run Clang Modernize
Minus the auto change
2015-09-08 10:47:37 +02:00
Boris Egorov
1924173df2 Fix various krazy2 warnings
Fix following krazy2 warning types:
[explicit], [endswithnewline], [doublequote_chars], [includes], [normalize],
[postfixop], [spelling]

See http://ebn.kde.org/krazy/reports/playground/base/kdeconnect-kde/index.html
for details.

SLOT/SIGNAL normalization done with Qt normalize utility:
https://github.com/qtproject/qtrepotools/tree/master/util/normalize

REVIEW: 124857
2015-08-21 22:38:54 +06:00
Aleix Pol
be2a3252c2 Make it possible to lock the screen from KDE Connect
Connects to freedesktop ScreenSaver interface and un/locks it upon request.

REVIEW: 124170
2015-07-22 03:37:34 +02:00
Aleix Pol
058f7c7c90 Implement the touchpad forwarding into kcapp
This way the computer's cursor can be controlled from the device. Keyboard
is not yet implemented.
2015-07-22 03:21:28 +02:00
Aleix Pol
3583faf789 Fix, the enum values were renamed 2015-06-24 20:57:17 +02:00
Aleix Pol
5c79e8a7a6 Implement an MPRIS client plugin
Makes it possible to control remote MPRIS instances.

REVIEW: 124100
2015-06-18 04:01:01 +02:00
Aleix Pol
a83bf73a4d Move the DevicesSortProxyModel to interfaces/
This way it can be used by other parts of the project. It belongs with the
DevicesModel.

REVIEW: 124067
2015-06-11 16:09:27 +02:00
Aleix Pol
a51283b62b Re-use the uri instead of creating new ones just because
As Albert suggested
2015-04-15 13:01:33 +02:00
Aleix Pol
05491442e6 Make it possible to fetch the device from the DevicesModel from QML
Uses the row as the argument instead of the QModelIndex.
Defines the Device type so it can be used from QML.

REVIEW: 123361
2015-04-15 13:00:23 +02:00
l10n daemon script
8349588c77 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-04-06 09:54:12 +00:00
l10n daemon script
92cd693566 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-03-29 09:58:52 +00:00
l10n daemon script
08eaaf11e1 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-03-25 09:09:47 +00: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
Aleix Pol
21ab5a4f81 Merge branch 'master' into frameworks
Mostly kDebug -> qCDebug
Also some KCmdLineArgs -> QCommandLineParser

Conflicts:
	cli/kdeconnect-cli.cpp
	core/CMakeLists.txt
	core/backends/lan/lanlinkprovider.cpp
	core/daemon.cpp
	core/pluginloader.cpp
	interfaces/CMakeLists.txt
	kio/kiokdeconnect.cpp
	plugins/mousepad/CMakeLists.txt
	plugins/mousepad/mousepadplugin.h
	plugins/mpriscontrol/mpriscontrolplugin.cpp
	plugins/sftp/sftpplugin.cpp
2014-11-04 19:12:29 +01:00
l10n daemon script
3b192ea18e SVN_SILENT made messages (.desktop file) 2014-11-02 04:01:28 +00:00
Lukáš Tinkl
994057af0e fix the Configure action
display the kdeconnect kcm
2014-09-10 10:19:44 +02:00
Lukáš Tinkl
743f7548e0 i18n fixes 2014-09-08 03:09:18 +02:00
Elias Probst
79edcf5685
Visual streamlining of plasmoid.
Adapt the 'No paired devices available' message's style to the style
used by plasma-workspace plasmoids.

REVIEW: 120031
2014-09-02 08:13:26 +02:00
Aleix Pol
28097e84e4 Fix qml warnings 2014-09-01 17:49:18 +02:00
Elias Probst
16f2251019 Streamline internal naming (kdeconnect → org.kde.kdeconnect)
- correct PluginName in metadata
- correct plasmoid installation directory
- correct appName in aboutData
- remove trailing whitespace.

REVIEW: 119937
2014-08-26 01:37:35 +02:00
Elias Probst
5ee8f9e5a2 Protect org.kde.kdeconnect against external module registration
Fixes this message on plasmashell startup:
Module 'org.kde.kdeconnect' does not contain a module identifier
directive - it cannot be protected from external registrations.

REVIEW: 119923
2014-08-24 17:53:10 +02:00
Aleix Pol
e41ca57045 Improve look&feel of kdeconnect plasmoid
Provide a good initial size
Use compact representation when on a panel, full when on the desktop (this
prevented the icon to show on the system tray).

Reviewed by Albert Vaca
2014-08-01 12:04:44 +02:00
Martin Gräßlin
0f334d053f Fix Plasmoid porting errors
Some types changed causing the Plasmoid to end in reference errors.

REVIEW: 119149
2014-07-06 19:33:07 +02:00
Albert Vaca
a303b73238 Merge branch 'master' into frameworks
Conflicts:
	cli/kdeconnect-cli.cpp
	core/CMakeLists.txt
	plasmoid/package/contents/ui/FullRepresentation.qml
	plugins/ping/pingplugin.cpp
2014-07-01 23:59:38 +02:00
Albert Vaca
cd8864fd92 Trying to fix a warning in the plasmoid: "root not defined" 2014-07-01 01:26:08 +02:00
Albert Vaca
d72ebc4cf7 Workaround to make devices be correctly filtered again.
Flags in QML are not working correctly (as they are in Qt5), so we will
use integer values for the flags for now.
2014-07-01 01:26:07 +02:00
Aleix Pol
e227c61cf8 Expose flags so that the plasmoid doesn't need to use magic numbers 2014-06-27 16:09:01 +02:00
Albert Vaca
5379bba551 Fixed displayFilter in plasmoid that not was updated when we changed the enum 2014-06-27 16:05:49 +02:00
Aleix Pol
e1813b16f3 Port plasmoid 2014-06-27 15:29:53 +02:00
l10n daemon script
7bbf49cc61 SVN_SILENT made messages (.desktop file) 2014-06-21 04:25:08 +00:00
Aleix Pol
16aaa9f77c Merge branch 'master' into frameworks 2014-06-21 02:06:50 +02:00
Aleix Pol
cb23fc1691 Change plasmoid name capitalization
It looks better when we display it to the end-user, which happens quite
easily in Plasma Next.
2014-06-21 02:04:28 +02:00
Aleix Pol
3e74a97304 Port plasmoid to Plasma Next 2014-06-18 02:35:48 +02:00
Aleix Pol
a1a560c469 First approach to a KF5 port of KDE Connect
Ported using KDELibs4Support, for a smaller delta, so we can keep
developing on master until we decide not to.

At the moment, it builds and installs but tests don't pass because
of a QCA2 initialization problem I didn't manage to debug yet.

CCMAIL: kdeconnect@kde.org
2014-06-16 20:02:07 +02:00
Aleix Pol
7a0557f482 cmake fixes
Use the new directory structure when installing generated files.
Remove unneeded add_dependencies calls.
2014-06-14 16:56:41 +02:00
Rohan Garg
83c882cbdd Fix build 2014-06-14 16:50:54 +02:00
Aleix Pol
b88897847b Reorganize sources
We broke kded into core and kded, core contains the library with the backends
and plugins.
Also we renamed libkdeconnect to interfaces.
2014-06-14 15:22:40 +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
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
Albert Vaca
b366b1debc showPlasmoidBeShown -> shouldPlasmoidBeShown 2014-04-14 22:44:23 +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
l10n daemon script
51429b9ebe SVN_SILENT made messages (.desktop file) 2014-03-29 04:57:06 +00:00
l10n daemon script
13970fed8b SVN_SILENT made messages (.desktop file) 2014-03-26 04:43:05 +00:00
l10n daemon script
b6475a8d37 SVN_SILENT made messages (.desktop file) 2014-03-24 04:36:04 +00:00
l10n daemon script
bd89104599 SVN_SILENT made messages (.desktop file) 2014-03-19 07:06:09 +00:00
l10n daemon script
b3bfb41f29 SVN_SILENT made messages (.desktop file) 2014-03-10 04:46:57 +00:00
Lukáš Tinkl
39c72cb4b2 i18n fixes 2014-02-28 18:50:06 +01:00
Àlex Fiestas
34bee764e8 Use i18n properly using arguments rather than replaces
i18n accepts extra arguments to properly perform the
replacements of %1 by the proper value, we have to use that
instead of calling .arg in the resulting QString so i18n can
do some magic for us.
2014-02-28 17:36:03 +01:00
Albert Vaca
29719ccce5 New icon by Malcer <malcer@gmx.com> 2014-02-19 21:10:41 +01:00
Albert Vaca
182da7bfc5 Browse button on plasmoid only visible if sftp plugin enabled 2014-02-19 16:28:17 +01:00
Albert Vaca
c6354f194f Changed "Browse" text to an icon 2014-02-19 14:26:19 +01:00
l10n daemon script
0ec9ea1706 SVN_SILENT made messages (.desktop file) 2014-02-19 05:17:04 +00:00
Samoilenko Yuri
35f3f68037 unmount state removed from palsmoid 2014-02-16 10:55:15 +04:00
Burkhard Lück
d37a2259ff fix broken message extraction, so ui/rc files any more 2014-02-14 17:44:12 +01:00
Albert Vaca
372ea8839b Added missing i18n() calls to plasmoid 2014-02-14 17:11:41 +01:00
Albert Vaca
245ee18089 Fixed "unknown host" problem in sftp plugin 2014-02-14 15:37:14 +01:00
Albert Vaca
6b94e7faf8 Merge branch 'qmlsftp'
Conflicts:
	kded/daemon.cpp
2014-02-14 13:07:52 +01:00
Samoilenko Yuri
fb8fa53f8d some fixes 2014-02-06 19:25:50 +04:00
Samoilenko Yuri
1ce8750093 simple bugfixes 2014-02-06 19:25:47 +04:00
Samoilenko Yuri
22718a0bd9 DeclarativePlugin::BatteryInterface removed
Due to bug occured in QML property access(when object derived from QDBusAbstract interface) C++
part of BatteryPlugin in plasmoid rewritten in pure QML.
BatteryPluginDBusInterface fixed to avoid this bug.

Bug occuring when QML try to access any property of any object derived from
QDBusAvstractInterface - QML engine crashes.
2014-02-06 00:37:55 +04:00
Samoilenko Yuri
499b8b00b7 some fixes 2014-02-06 00:36:51 +04:00
Samoilenko Yuri
9b3382d2b8 Sftp qml module polished 2014-02-05 23:26:54 +04:00
Samoilenko Yuri
a72547096f browse button moved to separate class 2014-02-03 21:06:47 +04:00
l10n daemon script
a64d6cd215 SVN_SILENT made messages (.desktop file) 2014-02-01 04:09:05 +00:00
Samoilenko Yuri
776543409d button works 2014-01-31 14:06:21 +04:00
Samoilenko Yuri
881450146f wow - almost work, but some tricks... 2014-01-30 20:39:11 +04:00
Samoilenko Yuri
a54dd853ff play continues... 2014-01-30 20:25:22 +04:00
Samoilenko Yuri
9ce35fbd4d qml in qt4 - ugly shit... Some experiments 2014-01-29 09:17:06 +04:00
Samoilenko Yuri
42b927bcab hard experiments.. 2014-01-29 02:22:59 +04:00
Samoilenko Yuri
55c1221223 almost work... 2014-01-28 21:22:09 +04:00
Lukáš Tinkl
5a8d7bbf45 the catalog name must follow the plasma_applet_<name> pattern
otherwise it's just wasting the translators' time... sigh
2014-01-28 02:07:10 +01:00
Samoilenko Yuri
1d8ea764b1 dealing with DBus from QML 2014-01-28 00:39:24 +04:00
Samoilenko Yuri
a9ed55b644 first steps in QML 2014-01-27 20:52:29 +04:00
Albert Vaca
3f06183b6a Remove plasmoid's empty config.ui 2013-12-05 14:30:04 +01:00
Albert Vaca
1eb1ffdef2 Remove X-Plasma-DefaultSize= property in applet metadata files 2013-12-05 14:29:37 +01:00
Albert Vaca
00632aaa6a A better implementation to do the same as the previous commit 2013-12-02 19:13:55 +01:00
Albert Vaca
c248a16b67 Plasmoid: Changed IconWidget -> SvgItem to enable themes to change the icon 2013-12-02 19:00:10 +01:00
l10n daemon script
e9a4e939ef SVN_SILENT made messages (.desktop file) 2013-11-25 04:11:57 +00:00
Albert Vaca
553a6c518e Plasmoid now displays the devices' battery
BUG: 326883
2013-11-15 17:58:24 +01:00
l10n daemon script
7e270bbc80 SVN_SILENT made messages (.desktop file) 2013-11-11 04:03:02 +00:00
l10n daemon script
714867d01d SVN_SILENT made messages (.desktop file) 2013-11-02 03:45:01 +00:00
l10n daemon script
b27651e2e6 SVN_SILENT made messages (.desktop file) 2013-10-14 04:20:28 +00:00
l10n daemon script
5119d17d6d SVN_SILENT made messages (.desktop file) 2013-10-11 04:30:46 +00:00
l10n daemon script
eb346a6d61 SVN_SILENT made messages (.desktop file) 2013-10-07 04:10:17 +00:00
l10n daemon script
7c9bda8d59 SVN_SILENT made messages (.desktop file) 2013-10-01 04:24:39 +00:00
Albert Vaca
ddad10016e Merge branch 'filetransfer-debug' 2013-10-01 03:20:29 +02:00
l10n daemon script
f7bf963efe SVN_SILENT made messages (.desktop file) 2013-09-27 04:29:59 +00:00
l10n daemon script
28f00e0371 SVN_SILENT made messages (.desktop file) 2013-09-20 16:02:43 +02:00
l10n daemon script
40c6ed7388 SVN_SILENT made messages (.desktop file) 2013-09-20 16:02:11 +02:00
l10n daemon script
a344022202 SVN_SILENT made messages (.desktop file) 2013-09-19 04:15:35 +00:00
l10n daemon script
874ac43dab SVN_SILENT made messages (.desktop file) 2013-09-15 04:17:17 +00:00
l10n daemon script
cc8261b849 SVN_SILENT made messages (.desktop file) 2013-09-14 04:02:16 +00:00
Albert Vaca
faf2b61f1d Plasmoid settings show kcm 2013-09-10 15:37:35 +02:00
Albert Vaca
87e949e3a3 Changed plasmoid description
Old text was a stub :P
2013-09-10 15:36:25 +02:00
Albert Vaca
bb825fed8d Prettifying plasmoid
Text is no longer over the dismiss button but wrapped in two lines
2013-09-10 15:36:25 +02:00
Albert Vaca
14b35e05d3 Plasmoid settings show kcm 2013-09-09 18:24:32 +02:00
Albert Vaca
a9113e9604 Changed plasmoid description
Old text was a stub :P
2013-09-06 21:14:20 +02:00
Albert Vaca
8390a62de6 Prettifying plasmoid
Text is no longer over the dismiss button but wrapped in two lines
2013-09-06 21:12:14 +02:00
Albert Vaca
0ff5600ce2 i18n 2013-09-04 21:19:02 +02:00
Albert Vaca
0f2ec417ce Made "no devices" message more explicit 2013-08-29 14:02:39 +02:00
Albert Vaca
802bb26a2c Fixed Q_ASSERT in model.
+ small change to the dimsiss buttons of the plasmoid
2013-08-28 19:33:46 +02:00
Albert Vaca
8d40335182 First working implementation of notifications plasmoid
Some fixes to libkdeconnect models
Added slot connected() to plugins
2013-08-22 03:21:08 +02:00
Albert Vaca
60b3c3c1d4 Base source borrowed from device-notifier 2013-08-21 18:28:11 +02:00