[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kdecore
From: Olivier Goffart <ogoffart () tiscalinet ! be>
Date: 2005-01-08 13:34:51
Message-ID: 20050108133451.57AE91CDDE () office ! kde ! org
[Download RAW message or body]
CVS commit by ogoffart:
Emoticons will be placed in $KDEHOME/share/emoticons So any application (Kopete, \
Konversation, KMail, ...) may use them
M +16 -12 kstandarddirs.cpp 1.193
M +2 -1 kstandarddirs.h 1.122
--- kdelibs/kdecore/kstandarddirs.cpp #1.192:1.193
@@ -101,5 +101,5 @@ static const char* const types[] = {"htm
"module", "qtplugins",
"xdgdata-apps", "xdgdata-dirs", "xdgconf-menu",
- "kcfg", 0 };
+ "kcfg", "emoticons", 0 };
static int tokenize( QStringList& token, const QString& str,
@@ -1062,4 +1062,8 @@ QString KStandardDirs::kde_default(const
if (!strcmp(type, "kcfg"))
return "share/config.kcfg";
+ if (!strcmp(type, "emoticons"))
+ return "share/emoticons";
+
+
qFatal("unknown resource type %s", type);
return QString::null;
--- kdelibs/kdecore/kstandarddirs.h #1.121:1.122
@@ -91,4 +91,5 @@ class KStandardDirsPrivate;
* @li tmp - Temporary files (specific for both current host and current user)
* @li socket - UNIX Sockets (specific for both current host and current user)
+ * @li emoticons - Emoticons themes (Since KDE 3.4)
*
* A type that is added by the class KApplication if you use it, is
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic