[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: KTrader not finding
From: Pupeno <pupeno () kde ! org>
Date: 2003-10-10 6:57:57
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello, I have a .desktop file that contains this:
[Desktop Entry]
Encoding=UTF-8
Name=ScoreReadingTrainer
Comment=Score Reading Trainer
Type=Service
ServiceTypes=KParts/ReadOnlyPart,KParts/ReadWritePart,MusicLearningSuite/Part
X-KDE-Library=libScoreReadingTrainer
and is installed in /usr/kde/3.1/share/services (Gentoo), when I try to search
for it with KTrader with the following line:
KTrader::self()->query("MusicLearningSuite/Part");
I got nothing but a warning:
kio (KMimeType): WARNING: KServiceType::offers : servicetype
MusicLearningSuite/Part not found
Any idea what might be going on (the source code can be seen here
http://savannah.nongnu.org/cgi-bin/viewcvs/mls/MusicLearningSuite/) ?
I tried changing the line to look for Browser/Viewer (or something like that)
and it worked ok.
Thanks.
- --
Pupeno: pupeno@kde.org
http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/hlh3Lr8z5XzmSDQRAgMlAJ0RdaTJosdWpBqKq8XXjwt6hkziDACg0GKu
C+qpaYaXn5Ik2+Y70UWsx3w=
=ISHN
-----END PGP SIGNATURE-----
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic