KDECore
Go to the documentation of this file.
22 #include <config-prefix.h>
34 Q_ASSERT(type != NULL);
38 if (strcmp(
"apps", type) == 0)
39 return share() + QLatin1String(
"applnk/");
42 if (strcmp(
"config", type) == 0)
43 return share() + QLatin1String(
"config/");
46 if (strcmp(
"kcfg", type) == 0)
47 return share() + QLatin1String(
"config.kcfg/");
48 if (strcmp(
"kdedir", type) == 0)
52 if (strcmp(
"data", type) == 0)
53 return share() + QLatin1String(
"apps/");
56 if (strcmp(
"exe", type) == 0)
57 return prefix() + QLatin1String(
"bin/");
60 if (strcmp(
"html", type) == 0)
61 return share() + QLatin1String(
"doc/HTML/");
64 if (strcmp(
"icon", type) == 0)
65 return share() + QLatin1String(
"icons/");
66 if (strcmp(
"include", type) == 0)
67 return prefix() + QLatin1String(
"include/");
70 if (strcmp(
"lib", type) == 0)
71 return prefix() + QLatin1String(
"lib" KDELIBSUFF
"/");
72 if (strcmp(
"libexec", type) == 0)
73 return prefix() + QLatin1String(
"lib" KDELIBSUFF
"/kde4/libexec/");
74 if (strcmp(
"locale", type) == 0)
75 return share() + QLatin1String(
"locale/");
78 if (strcmp(
"module", type) == 0)
80 if (strcmp(
"mime", type) == 0)
81 return share() + QLatin1String(
"mimelnk/");
84 if (strcmp(
"qtplugins", type) == 0)
88 if (strcmp(
"services", type) == 0)
89 return share() + QLatin1String(
"kde4/services/");
90 if (strcmp(
"servicetypes", type) == 0)
91 return share() + QLatin1String(
"kde4/servicetypes/");
92 if (strcmp(
"sound", type) == 0)
93 return share() + QLatin1String(
"sounds/");
96 if (strcmp(
"templates", type) == 0)
97 return share() + QLatin1String(
"templates/");
100 if (strcmp(
"wallpaper", type) == 0)
101 return share() + QLatin1String(
"wallpapers/");
104 if (strcmp(
"xdgconf-menu", type) == 0)
105 return share() + QLatin1String(
"xdg/menus/");
106 if (strcmp(
"xdgdata-apps", type) == 0)
107 return share() + QLatin1String(
"applications/kde4/");
108 if (strcmp(
"xdgdata-dirs", type) == 0)
109 return share() + QLatin1String(
"desktop-directories/");
static QString installPath(const char *type)
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:09 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.