Commit graph

33 commits

Author SHA1 Message Date
Weixuan Xiao
5fadeabce8 Optimization for executable path and resource path on macOS 2019-07-30 13:46:18 +00:00
Aleix Pol
c17972881b sms: Added opening kdeconnect-sms on the plasmoid and indicator
Add a menu entry on the kdeconnect-indicator within devices' submenu that opens kdeconnect-sms.
Also add it in the plasmoid in the device delegate.
2019-07-21 18:30:41 +02:00
Weixuan Xiao
5e827917a5 Close kdeconnectd from kdeconnect-cli with DBus 2019-07-20 09:17:03 +00:00
Piyush Aggarwal
875eba8e07 fix new indicator icon 2019-07-19 10:26:19 +00:00
Weixuan Xiao
df2ca7f25f Private DBus set launchctl env to fake a session bus 2019-07-09 19:42:08 +00:00
Piyush Aggarwal
ed5e9301c4 add quit option 2019-07-09 18:34:52 +00:00
Weixuan Xiao
6672e3eef5 Fix system tray icon on macOS 2019-06-18 20:51:13 +00:00
Weixuan Xiao
4f4b6c309f Allow to use private DBus 2019-06-18 01:21:31 +00:00
Nicolas Fella
e601755644 Force usage of QStringLiteral and port remaining offenders 2019-06-10 14:40:28 +00:00
Weixuan Xiao
86b82677a1 Allow kdeconnectd auto launch from kdeconnect-indicator on macOS 2019-06-09 21:36:42 +00:00
Weixuan Xiao
5431073844 Add wrapper for macos dbus connection 2019-06-09 15:28:49 +00:00
Albert Vaca Cintora
b776617646 Added new indicator icons for dark and clear backgrounds
Default to dark because it's more common (Windows, Gnome) but we need to
implement a way to chose automatically between the dark and clear icon
(and this is gonna be platform-specific).

Note that dashes in names have a special meaning when loading icons. The
new icon file names are ugly for this reason.
2019-06-08 13:07:01 +02:00
Nicolas Fella
3b8fedea1a Replace http GNU urls with https 2019-03-23 17:29:26 +01:00
Nicolas Fella
7e39c5df8f [indicator] Remove stray includes 2019-03-11 18:48:25 +01:00
Nicolas Fella
63a353550c Add icons to indicator
Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D17407
2018-12-07 17:32:03 +01: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
Aleix Pol
ecd4f81840 Don't block the process while showing the dialog
Otherwise it's not possible to interact with the system tray while the
dialog is open.
2017-05-25 00:16:05 +02:00
Aleix Pol
3e794dd4c7 Fix name 2017-05-24 23:25:18 +02:00
Albert Vaca
e3c4592577 Doesn't seem to like starting a process in the callback 2017-05-24 23:22:30 +02:00
Albert Vaca
9f95d8c4d3 Launch daemon with indicator on Windows
Since Dbus activation doesn't work on Windows
2017-05-24 22:57:36 +02:00
Albert Vaca
58f9045bfa Don't allow more than one indicator 2017-05-24 22:57:36 +02:00
Albert Astals Cid
f01f751708 Use a KCMultiDialog instead of calling kcmshell directly
Reviewed by Aleix
2017-05-24 19:59:04 +02:00
Aleix Pol
32002e3c46 Use KStatusNotifierItem on the indicator
Seems to work a bit better than QSystemTrayIcon
2017-03-27 20:44:36 +02:00
Albert Vaca
636a4507cc Actually, just set the tooltip to the icon
The tooltip within the menus behaved weird, and didn't add any info.
2017-02-28 22:08:40 +01:00
Albert Astals Cid
c2739f94f1 Do not create a new menu on every refreshMenu call
Seems to work better under Unity

Reviewed by Aleix Pol
2017-01-31 00:53:26 +01:00
Aleix Pol
b416c18916 Make sure that the menu is initialized upon start.
Otherwise it won't be initialized until some devices are added.
2017-01-27 00:54:57 +01:00
Aleix Pol
80a12e506a Let the indicator accept and reject pairings 2017-01-25 01:19:44 +01:00
Aleix Pol
e83c707ad2 Recreate the menu when devices change
Instead of trying to be overly smart.
Qt wasn't updating the StatusNotifier properly anyway, this makes the
whole thing work.
2017-01-11 17:19:17 +01:00
Aleix Pol
7960cb2ca7 Have a tooltip with the number of connected devices 2016-11-23 19:45:35 +01:00
Aleix Pol
7b87af16df Properly iterate over devices 2016-11-23 19:45:35 +01:00
Aleix Pol
6aa41a6ab9 Display a configure entry on the menu 2016-11-23 19:45:35 +01:00
Aleix Pol
afa299266e Only display connected devices 2016-11-23 19:45:35 +01:00
Aleix Pol
b67b0e6c2c First approach to a tool that sits on the system tray
Hopefully will better integrate in all platforms
2016-11-23 19:45:35 +01:00