Now is the time for all prospective GSoC mentors to gear up!

2018-02-13 Thread Valorie Zimmerman
Hello everyone, our application to become a part of Google Summer of Code has been accepted! So, if you are going to become a mentor, now is the time to: 1. Ensure you are subscribed to KDE-Soc-Mentor mail list [1]. 2. Write to kde-soc-men...@kde.org to be invited to the GSoC web app. This way we

Re: How to temporarily change KConfig-data for a unit test?

2018-02-13 Thread Michael Heidelbach
On 13.02.2018 20:38, Martin Flöser wrote: Am 2018-02-13 15:42, schrieb Aleix Pol: On Tue, Feb 13, 2018 at 1:14 PM, Michael Heidelbach wrote: Hi! Currently I'm working on baloo-widgets. For a unit test I need to temporarily change KConfig data. My approach would be like this: initTestCase()

Re: How to temporarily change KConfig-data for a unit test?

2018-02-13 Thread Martin Flöser
Am 2018-02-13 15:42, schrieb Aleix Pol: On Tue, Feb 13, 2018 at 1:14 PM, Michael Heidelbach wrote: Hi! Currently I'm working on baloo-widgets. For a unit test I need to temporarily change KConfig data. My approach would be like this: initTestCase() KConfig config("baloofileinformationrc

Re: How to temporarily change KConfig-data for a unit test?

2018-02-13 Thread Michael Heidelbach
On 13.02.2018 15:42, Aleix Pol wrote: On Tue, Feb 13, 2018 at 1:14 PM, Michael Heidelbach wrote: Hi! Currently I'm working on baloo-widgets. For a unit test I need to temporarily change KConfig data. My approach would be like this: initTestCase() KConfig config("baloofileinformationrc"

Re: How to temporarily change KConfig-data for a unit test?

2018-02-13 Thread Aleix Pol
On Tue, Feb 13, 2018 at 1:14 PM, Michael Heidelbach wrote: > Hi! > > Currently I'm working on baloo-widgets. For a unit test I need to > temporarily change KConfig data. > > My approach would be like this: > > initTestCase() > > KConfig config("baloofileinformationrc", KConfig::NoGlobals); >

How to temporarily change KConfig-data for a unit test?

2018-02-13 Thread Michael Heidelbach
Hi! Currently I'm working on baloo-widgets. For a unit test I need to temporarily change KConfig data. My approach would be like this: initTestCase()     KConfig config("baloofileinformationrc", KConfig::NoGlobals);     KConfigGroup settings = config.group("Show");         set everything to