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:
Ivailo Monev 2023-08-30 00:08:53 +03:00
parent 23cc474596
commit a09cf5455a
2 changed files with 4 additions and 12 deletions

View file

@ -87,7 +87,6 @@
1212 kwin
1215 ksysguard
1216 kwin (client errors)
1217 khotkeys
1218 ksmserver
1219 kglobalaccel
1220 kio_remote

View file

@ -17,28 +17,23 @@
*/
#include "kautostarttest.h"
#include "kstandarddirs.h"
#include <kdebug.h>
#include <qtest_kde.h>
#include "kdebug.h"
#include "kautostart.h"
#include "qtest_kde.h"
#include "moc_kautostarttest.cpp"
#include <QtCore/QFile>
#include <QFile>
QTEST_KDEMAIN_CORE( KAutostartTest )
#include <kautostart.h>
void KAutostartTest::testStartDetection_data()
{
QTest::addColumn<QString>("service");
QTest::addColumn<bool>("doesAutostart");
if ( KAutostart::isServiceRegistered("plasma-desktop") )
QTest::newRow("plasma-desktop") << "plasma-desktop" << true;
if ( KAutostart::isServiceRegistered("khotkeys") )
QTest::newRow("khotkeys") << "khotkeys" << 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;
if ( KAutostart::isServiceRegistered("klipper") )
QTest::newRow("klipper") << "klipper" << (int)KAutostart::Applications;
if ( KAutostart::isServiceRegistered("khotkeys") )
QTest::newRow("khotkeys") << "ktip" << (int)KAutostart::Applications;
QTest::newRow("does not exist") << "doesnotexist"
<< (int)KAutostart::Applications;
}