D19436: [kservice] compile without deprecated method

2019-03-02 Thread Laurent Montel
This revision was automatically updated to reflect the committed changes.
Closed by commit R309:45337a4c28c3: [kservice] compile without deprecated 
method (authored by mlaurent).

REPOSITORY
  R309 KService

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D19436?vs=53011=53018

REVISION DETAIL
  https://phabricator.kde.org/D19436

AFFECTED FILES
  CMakeLists.txt
  autotests/kmimeassociationstest.cpp
  autotests/ksycocathreadtest.cpp
  src/services/kservicetypeprofile.cpp
  src/sycoca/kbuildservicefactory.cpp
  src/sycoca/kbuildsycoca.cpp

To: mlaurent, dfaure
Cc: kde-frameworks-devel, michaelh, ngraham, bruns


D19436: [kservice] compile without deprecated method

2019-03-02 Thread David Faure
dfaure accepted this revision.
This revision is now accepted and ready to land.

REPOSITORY
  R309 KService

BRANCH
  compile_without_deprecated_method (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D19436

To: mlaurent, dfaure
Cc: kde-frameworks-devel, michaelh, ngraham, bruns


D19436: [kservice] compile without deprecated method

2019-03-02 Thread Laurent Montel
mlaurent updated this revision to Diff 53011.
mlaurent added a comment.


  Use toSecsSinceEpoch

REPOSITORY
  R309 KService

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D19436?vs=52878=53011

BRANCH
  compile_without_deprecated_method (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D19436

AFFECTED FILES
  CMakeLists.txt
  autotests/kmimeassociationstest.cpp
  autotests/ksycocathreadtest.cpp
  src/services/kservicetypeprofile.cpp
  src/sycoca/kbuildservicefactory.cpp
  src/sycoca/kbuildsycoca.cpp

To: mlaurent, dfaure
Cc: kde-frameworks-devel, michaelh, ngraham, bruns


D19436: [kservice] compile without deprecated method

2019-03-01 Thread David Faure
dfaure requested changes to this revision.
dfaure added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> ksycocathreadtest.cpp:306
>  now = QDateTime::currentDateTime();
> -if (now.toTime_t() == ctime.toTime_t())   // truncate milliseconds
> +if (now.toMSecsSinceEpoch() == ctime.toMSecsSinceEpoch())   // 
> truncate milliseconds
>  {

This doesn't truncate milliseconds anymore

You should port toTime_t to toSecsSinceEpoch (no 'M')

REPOSITORY
  R309 KService

REVISION DETAIL
  https://phabricator.kde.org/D19436

To: mlaurent, dfaure
Cc: kde-frameworks-devel, michaelh, ngraham, bruns


D19436: [kservice] compile without deprecated method

2019-02-28 Thread Laurent Montel
mlaurent created this revision.
mlaurent added a reviewer: dfaure.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
mlaurent requested review of this revision.

REVISION SUMMARY
  compile without deprecated method

TEST PLAN
  autotest ok

REPOSITORY
  R309 KService

BRANCH
  compile_without_deprecated_method (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D19436

AFFECTED FILES
  CMakeLists.txt
  autotests/kmimeassociationstest.cpp
  autotests/ksycocathreadtest.cpp
  src/services/kservicetypeprofile.cpp
  src/sycoca/kbuildservicefactory.cpp
  src/sycoca/kbuildsycoca.cpp

To: mlaurent, dfaure
Cc: kde-frameworks-devel, michaelh, ngraham, bruns