Marcus Müller
8e47ab59e5
internet services: consistently use 'override'
...
Signed-off-by: Marcus Müller <marcus_clementine@baseband.digital>
2023-09-17 12:43:13 +01:00
Jim Broadus
5ebd6d1e6b
internet/core: Move context_menu_ to base class
...
Every internet service class has a context_menu_ member. Moving this to
the base class will allow the consolidation of common menu functionality.
2021-03-18 11:16:14 +00:00
John Maguire
341dc7326f
Reformat all C++
2020-09-22 14:56:06 +01:00
Jim Broadus
ad882cc999
Add static IsTypeSupported methods to playlist item classes
2020-06-23 11:06:06 +01:00
Jim Broadus
76a24a0a28
Use DbPlaylistItem base class for Jamendo and Magnatune
...
Moving these from LibraryPlaylistItem removes local file specific
implementations of IsLocalLibraryItem and Reload. Returning true for
IsLocalLibraryItem caused ratings to be set on unrelated library songs.
2020-06-19 11:18:32 +01:00
Jim Broadus
a22af31e6e
Add a common LibraryBackend::Init method.
...
Most users of LibraryBackend pass empty strings for directory and subdirectory
tables, so add a second Init method that omits those.
2020-03-24 14:10:43 +00:00
Jim Broadus
6a9276ec0a
Fix LibraryModel async query crash.
...
A LibraryBackend may be deleted while an associated LibraryModel object is using
it. An example is an async query running while a connected device is removed.
To prevent this, use a share pointer for the LibraryBackend.
This fixes one case where LibraryBackend is used after deletion. However, the
raw pointer is still passed around in several other places. These should be
evaluated on a case-by-case basis to insure that circular depencencies aren't
introduced.
2020-01-14 21:47:31 -08:00
Jonas Kvinge
9519829d1f
Fix formatting
2019-11-10 00:31:37 +01:00
Jonas Kvinge
0da490a5e1
Replace QString::null with QString()
2019-11-09 23:45:28 +01:00
Chocobozzz
ff7026c9fe
Merge remote-tracking branch 'upstream/master' into qt5
2015-12-13 20:05:12 +01:00
narunlifescience
2603cf2088
use iconloader & cleanup previous remnants
...
update
2015-12-01 00:32:20 -06:00
narunlifescience
dd953fd86c
check custom icon location, then system theme & then fallback theme
...
icons added & replaced
2015-10-13 22:35:49 -05:00
Chocobozzz
8b226c2171
Update non optionnals sources to qt5
2015-04-11 23:24:07 +02:00
Krzysztof Sobiecki
a6322da196
Fix header copyright tags in internet/
2014-12-19 00:47:55 +01:00
Krzysztof Sobiecki
17c35e32e5
Fix header order in internet/
2014-12-19 00:40:30 +01:00
Krzysztof Sobiecki
23ee9170b6
Fix header guards in internet/
2014-12-18 23:54:21 +01:00
Krzysztof Sobiecki
fa9ea6ec5f
Fix compilation with moved files in internet/
2014-12-18 23:35:21 +01:00
Krzysztof Sobiecki
93a286a272
Move files around and make subdirectories inside src/internet, move src/podcasts to src/internet
2014-12-18 00:39:20 +01:00