Alexander Lohnau
319696c445
Remove version and website metadata for plugins
...
The plugin version doesn't matter, because all plugins are shipped as
part of kdeconnect and not separately.
The website was also set inconsistently, some pointed to a custom blog,
the KDE homepage or a broken link. If we want to make announcements more
visible, we should have a link in a more central place.
2023-07-22 19:12:33 +02:00
Alexander Lohnau
4ca8f98b7d
Remove obsolete ServiceTypes definitions
...
Task: https://phabricator.kde.org/T14483
2023-07-22 19:12:33 +02:00
Alexander Lohnau
f066946a84
Remove unused categories from metadata
2023-07-22 19:12:32 +02:00
Alexander Lohnau
f3998e4b5f
Fix windows build issues
...
- Add dummy args param to QProcess::startDetached
- Remove logging category from inline snippet. This was removed due to
being unused in non-windows builds.
2023-07-22 19:12:28 +02:00
Alexander Lohnau
ac3d439a2a
Clean up unneeded version checks
...
With the min. version bumped, those can be safely removed
2023-07-22 16:17:24 +02:00
Alexander Lohnau
1ee75463e0
Get rid of QOverload/static_cast for overloaded signals
...
By exclusing deprecated API in the KF5 build, the deprecated signal no
longer cause an ambiguity
2023-07-22 16:17:24 +02:00
Alexander Lohnau
e97af9dc15
Provide default implementation for KdeConnectPlugin::connected
...
In most plugins, we just provided a dummy implementation
2023-07-22 16:06:21 +02:00
Alexander Lohnau
7b15a5eab7
Fix warnings about old style QML connections
2023-07-22 16:03:24 +02:00
Alexander Lohnau
0b99c3a637
Remove unneeded destructors from plugins
...
We already have a destructor from the baseclass and don't need to clean
up any resources in the affected plugins
2023-07-22 16:01:21 +02:00
Albert Vaca Cintora
32abeb8ed0
Fix typo causing us to intersect with the wrong set
2023-07-22 15:21:26 +02:00
Albert Vaca Cintora
a33eb46d9b
Fix crash due to begin and end belonging to different iterators
2023-07-22 15:13:34 +02:00
Alexander Lohnau
d8d9d62ac1
Remove unused, download missing licenses
...
`reuse lint` doesn't complain about missing or unused licenses with this change.
2023-07-22 14:22:59 +02:00
l10n daemon script
b7c84d3398
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"
2023-07-22 01:45:05 +00:00
l10n daemon script
0fdc5d4879
GIT_SILENT Sync po/docbooks with svn
2023-07-21 02:03:19 +00:00
l10n daemon script
2b67cefe39
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"
2023-07-21 01:47:33 +00:00
Albert Vaca Cintora
c3a2665477
Do not call first() on a temporary list
2023-07-20 23:36:05 +02:00
Albert Vaca Cintora
6c1b81a384
Use nullptr instead of 0
2023-07-20 18:26:24 +02:00
Albert Vaca Cintora
382ace9c69
Remove check for Qt > 5.14 when minimum is 5.15
2023-07-20 18:23:45 +02:00
Albert Vaca Cintora
8c97e56f23
Remove duplicated target_link_libraries
2023-07-20 18:23:14 +02:00
Albert Vaca Cintora
0e2d2af402
Bump KDE compiler settings to latest
...
This already uses C++17 and C99, so no need to set it manually
2023-07-20 15:47:27 +00:00
Nicolas Fella
d1d3e47eab
Enable PIC for static lib
...
Otherwise it doesn't link
2023-07-20 16:17:56 +02:00
Alexander Lohnau
e9063d168d
LanLinkProvider: Restore previous network change behavior
2023-07-20 13:32:17 +03:00
Alexander Lohnau
8ea717b363
Make PulseAudioQt required dependency when WITH_PULSEAUDIO option is set
2023-07-20 13:32:17 +03:00
Alexander Lohnau
b8c6e529ba
Port QMultiMedia usage for Qt6
2023-07-20 13:32:17 +03:00
Alexander Lohnau
5456f726af
Do not use empty QStringLiteral macro
...
QString is recommended instead
2023-07-20 13:32:16 +03:00
Alexander Lohnau
1dadbd47b2
lanlinkprovider: Load backend explicitly to avoid nullptr warning
...
This is needed to make it work properly with Qt6 at runtime
2023-07-20 13:32:16 +03:00
Alexander Lohnau
f57d59e605
Fix runtime issues with Qt6
...
To have the code bits reusable, they are defined as cmake variables.
In order to make the relative paths work and avoid touching every line
from the QRC, the resulting file is put into the source dir.
2023-07-20 13:32:07 +03:00
Alexander Lohnau
131ed9a079
Port away from deprecated signal param injection
2023-07-20 11:16:04 +03:00
Alexander Lohnau
5b5265f7a8
Port away from deprecated QtNetwork classes
2023-07-20 11:16:04 +03:00
Alexander Lohnau
b3163d8725
dbushelper: Use QRegularExpression instead of QRegExp
...
The pattern does not contain any wildcard specific text
2023-07-20 11:16:04 +03:00
Alexander Lohnau
042adebd0a
Port to updeprecated KJob::processedAmountChanged signal
2023-07-20 11:16:04 +03:00
Alexander Lohnau
3effb006f3
interfaces: Build lib in Qt6 STATIC
...
Otherwise, the Q_OBJECT stuff is not properly exported and will result in linker errors
2023-07-20 11:16:04 +03:00
Alexander Lohnau
f759877336
smsapp/conversationlistmodel: Port to QRegularExpression
...
In Qt5, setFilterFixedString does not change the filterRegularExpression property.
Meaning we need to keep it in the Qt5 build
2023-07-20 11:16:04 +03:00
Alexander Lohnau
5a87000e3b
daemon/kdeconnectd: Use QOverload with undeprecated signal
...
This will work in both KF5 and KF6
2023-07-20 11:16:04 +03:00
Alexander Lohnau
d50055ddb4
plugins/runcommand: Fix messed up layouting of KCM
2023-07-20 11:15:56 +03:00
Alexander Lohnau
77f44ce943
Port away from deprecated QList::toSet and QSet::toList
2023-07-20 11:15:50 +03:00
Alexander Lohnau
07187fc03a
urlhandler: Explicitly link against KConfigWidgets
...
In KF6, the KIO dependencies no longer pull it in
2023-07-20 11:15:50 +03:00
Alexander Lohnau
afaac2d1b0
Use undeprecated ECM install variable
2023-07-20 11:15:50 +03:00
Alexander Lohnau
52b6d57942
Qt6 build fixes in plugins and KCM
2023-07-20 11:15:46 +03:00
Alexander Lohnau
b4b4837b14
Remove qRegisterMetaTypeStreamOperators call for Qt6 builds
2023-07-20 11:15:46 +03:00
Alexander Lohnau
4e7764f328
Adjust includes/linking for QX11Extras
2023-07-20 11:15:46 +03:00
Alexander Lohnau
a5560dafe6
presenterplugin: Only call setClearBeforeRendering in Qt5
...
As documented in https://doc.qt.io/qt-6/quick-changes-qt6.html , this
should not be needed 1in Qt6 and was consequently removed.
2023-07-20 11:15:46 +03:00
Alexander Lohnau
a9292f651f
Port deprecated KPluginLoader usage
2023-07-20 11:15:46 +03:00
Alexander Lohnau
c5bfc4a5b0
Allow building against Qt6/KF6
2023-07-20 11:15:41 +03:00
l10n daemon script
afad4b335e
GIT_SILENT Sync po/docbooks with svn
2023-07-20 01:58:31 +00:00
l10n daemon script
03fe04010c
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"
2023-07-20 01:43:59 +00:00
Albert Vaca Cintora
495e3019e4
Reduce number of optional dependencies
...
Change some optional dependencies from being optional to being mandatory
or being mandatory but behind on-by-default cmake flags. Eg: instead of
only compiling Wayland support if we find the appropriate libraries, we
always require the libraries unless the user specifies WITH_WAYLAND=OFF.
Optional libraries are hard to discover by packagers (since they don't
see an error once we add them) and create lots of possible build flavors
with a different features that can confuse users.
2023-07-19 17:08:03 +00:00
l10n daemon script
c96559372b
GIT_SILENT Sync po/docbooks with svn
2023-07-19 02:36:19 +00:00
l10n daemon script
a57680bb0b
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"
2023-07-19 01:49:03 +00:00
Albert Vaca Cintora
22be63ae9e
Remove compatibility with Qt < 5.15
...
In theory we support Qt 5.6 (because of SailfishOS) but in practice we are not checking that in the CI so probably we broke the compatibility long ago. Also, I don't think anyone is using this code in SailfishOS, so we can greatly simplify the code by requiring Qt 5.15 or later.
2023-07-18 20:13:27 +00:00