[Kde-games-devel] Kde logo for using in about menu
Albert Astals Cid
kde-games-devel@mail.kde.org
Wed, 12 Feb 2003 19:45:29 +0100
How do i show the KDE logo in my menu?
I'm doing this
QPixmap *kde_pixmap=3D new QPixmap("/usr/share/icons/kde.xpm");
KPopupMenu *pm_help =3D new KPopupMenu(this);
pm_help -> insertItem(*icon(), i18n("&About KTic-Tac-Toe"), this,=20
SLOT(about()));
pm_help -> insertItem(*kde_pixmap, i18n("About &KDE"), this,=20
SLOT(about_kde()));
But i don't think every distribution has kde.xpm in that path.=20
Is there a better way of doing it?
Thanks