[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesupport/soprano
From: Sebastian Trueg <sebastian () trueg ! de>
Date: 2009-11-25 17:49:48
Message-ID: 1259171388.555458.4981.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1054166 by trueg:
Added long as reserved keyword to onto2vocabularyclass to be able to generate pimo \
without changing it
M +1 -1 CMakeLists.txt
M +3 -1 tools/onto2vocabularyclass.cpp
--- trunk/kdesupport/soprano/CMakeLists.txt #1054165:1054166
@@ -7,7 +7,7 @@
################## Soprano version ################################
set(CMAKE_SOPRANO_VERSION_MAJOR 2)
set(CMAKE_SOPRANO_VERSION_MINOR 3)
-set(CMAKE_SOPRANO_VERSION_RELEASE 69)
+set(CMAKE_SOPRANO_VERSION_RELEASE 70)
set(CMAKE_SOPRANO_VERSION_STRING \
"${CMAKE_SOPRANO_VERSION_MAJOR}.${CMAKE_SOPRANO_VERSION_MINOR}.${CMAKE_SOPRANO_VERSION_RELEASE}")
--- trunk/kdesupport/soprano/tools/onto2vocabularyclass.cpp #1054165:1054166
@@ -148,7 +148,9 @@
{
Q_ASSERT( !name.isEmpty() );
// TODO: add more C++ keywords that are not usable as method names
- static const QStringList keywords = QStringList() << "class";
+ const QStringList keywords
+ = QStringList() << QLatin1String( "class" )
+ << QLatin1String( "long" );
if ( keywords.contains( name ) )
return className.toLower() + name.left( 1 ).toUpper() + name.mid( 1 );
return name;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic