Commit Graph

15 Commits

Author SHA1 Message Date
Martchus 975e86c895 Allow backend libraries to be used from other projects
So far the backend libraries' include paths were relative within this
repository. This means the header files could not be used at their
installed location.

This change replaces them with "<>" includes to fix that problem and adds
a new include directory so building everything at once still works.

With this change it should be easier to actually split some parts into
another repository if this one would become too big.
2021-01-25 19:48:11 +01:00
Martchus 64473df5ba Adapt to changes in c++utilities 2019-06-10 22:48:26 +02:00
Martchus a30853cfeb Apply cmake-format and clang-format 2019-05-04 22:10:37 +02:00
Martchus 4b54fc3a28 Reduce indentation in models 2019-02-16 01:06:08 +01:00
Martchus ea2e26aace Don't use newDirs/newDevs for endResetModel()
* These events might not be emitted in all error cases.
  So it would be wrong to rely on that.
* Reduces redundant code.
2018-12-25 02:33:57 +01:00
Martchus 1d75ee2656 Improve initialization of roleNames() 2018-11-03 21:47:30 +01:00
Martchus 5932c98b1d Use immediately invoked lambda to implement roleNames()
Because I can
2018-07-22 20:17:45 +02:00
Martchus eb527fd89a Fix downloads model
See https://github.com/Martchus/syncthingtray/issues/8
2017-11-12 18:55:57 +01:00
Martchus 789f024677 models: Use namespace std for std::size_t 2017-09-17 21:48:51 +02:00
Martchus d103ceaae1 Expose path to Qt Quick in SyncthingDownloadModel 2017-09-08 17:01:51 +02:00
Martchus b0c65cb032 Improve downloads model 2017-09-05 00:25:55 +02:00
Martchus c8b93fc472 Make models ready for use with Qt Quick
by adding roleNames()
2017-08-30 00:04:35 +02:00
Martchus 732a5fdd8d Apply clang-format 2017-05-01 03:34:43 +02:00
Martchus b5174735ad Add option for bright custom text colors 2016-11-02 21:05:32 +01:00
Martchus 6470038fc7 Refactor to allow sharing backend with other apps
Intended for creating command line tool and plasmoid
2016-09-30 23:58:45 +02:00