mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kdecore: remove references to khotkeys
note the check if khotkeys is automatically started - it was a KDED module not started because of XDG autostart desktop file Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
23cc474596
commit
a09cf5455a
2 changed files with 4 additions and 12 deletions
|
@ -87,7 +87,6 @@
|
||||||
1212 kwin
|
1212 kwin
|
||||||
1215 ksysguard
|
1215 ksysguard
|
||||||
1216 kwin (client errors)
|
1216 kwin (client errors)
|
||||||
1217 khotkeys
|
|
||||||
1218 ksmserver
|
1218 ksmserver
|
||||||
1219 kglobalaccel
|
1219 kglobalaccel
|
||||||
1220 kio_remote
|
1220 kio_remote
|
||||||
|
|
|
@ -17,28 +17,23 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "kautostarttest.h"
|
#include "kautostarttest.h"
|
||||||
|
|
||||||
#include "kstandarddirs.h"
|
#include "kstandarddirs.h"
|
||||||
#include <kdebug.h>
|
#include "kdebug.h"
|
||||||
|
#include "kautostart.h"
|
||||||
#include <qtest_kde.h>
|
#include "qtest_kde.h"
|
||||||
|
|
||||||
#include "moc_kautostarttest.cpp"
|
#include "moc_kautostarttest.cpp"
|
||||||
|
|
||||||
#include <QtCore/QFile>
|
#include <QFile>
|
||||||
|
|
||||||
QTEST_KDEMAIN_CORE( KAutostartTest )
|
QTEST_KDEMAIN_CORE( KAutostartTest )
|
||||||
|
|
||||||
#include <kautostart.h>
|
|
||||||
|
|
||||||
void KAutostartTest::testStartDetection_data()
|
void KAutostartTest::testStartDetection_data()
|
||||||
{
|
{
|
||||||
QTest::addColumn<QString>("service");
|
QTest::addColumn<QString>("service");
|
||||||
QTest::addColumn<bool>("doesAutostart");
|
QTest::addColumn<bool>("doesAutostart");
|
||||||
if ( KAutostart::isServiceRegistered("plasma-desktop") )
|
if ( KAutostart::isServiceRegistered("plasma-desktop") )
|
||||||
QTest::newRow("plasma-desktop") << "plasma-desktop" << true;
|
QTest::newRow("plasma-desktop") << "plasma-desktop" << true;
|
||||||
if ( KAutostart::isServiceRegistered("khotkeys") )
|
|
||||||
QTest::newRow("khotkeys") << "khotkeys" << false;
|
|
||||||
QTest::newRow("does not exist") << "doesnotexist" << false;
|
QTest::newRow("does not exist") << "doesnotexist" << false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -80,8 +75,6 @@ void KAutostartTest::testStartphase_data()
|
||||||
QTest::newRow("plasma-desktop") << "plasma-desktop" << (int)KAutostart::BaseDesktop;
|
QTest::newRow("plasma-desktop") << "plasma-desktop" << (int)KAutostart::BaseDesktop;
|
||||||
if ( KAutostart::isServiceRegistered("klipper") )
|
if ( KAutostart::isServiceRegistered("klipper") )
|
||||||
QTest::newRow("klipper") << "klipper" << (int)KAutostart::Applications;
|
QTest::newRow("klipper") << "klipper" << (int)KAutostart::Applications;
|
||||||
if ( KAutostart::isServiceRegistered("khotkeys") )
|
|
||||||
QTest::newRow("khotkeys") << "ktip" << (int)KAutostart::Applications;
|
|
||||||
QTest::newRow("does not exist") << "doesnotexist"
|
QTest::newRow("does not exist") << "doesnotexist"
|
||||||
<< (int)KAutostart::Applications;
|
<< (int)KAutostart::Applications;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue