[Kde-bindings] KDE/kdebindings
Arno Rehn
kde at arnorehn.de
Sun May 25 12:55:43 UTC 2008
SVN commit 812332 by arnorehn:
* Added an akonadi smoke lib
CCMAIL: kde-bindings at kde.org
M +5 -0 kalyptus/kalyptusCxxToSmoke.pm
M +8 -2 smoke/CMakeLists.txt
A smoke/akonadi (directory)
A smoke/akonadi/CMakeLists.txt
A smoke/akonadi/akonadi_header_list
A smoke/akonadi/akonadi_smoke.h [License: UNKNOWN]
A smoke/akonadi/classlist
A smoke/akonadi/generate.pl.cmake
A smoke/akonadi/header_list
A smoke/akonadi/hint_header_list.pl
A smoke/akonadi/kde_header_list
--- trunk/KDE/kdebindings/kalyptus/kalyptusCxxToSmoke.pm #812331:812332
@@ -113,6 +113,9 @@
# but that one would need to be separated (builtins vs normal classes)
%typedeflist =
(
+ 'Akonadi::Collection::Id' => 'long',
+ 'Collection::Id' => 'long',
+ 'Akonadi::Entity::Id' => 'long',
'GLenum' => 'int',
'GLint' => 'int',
'GLuint' => 'uint',
@@ -638,6 +641,8 @@
# Resolve type in full, e.g. for QSessionManager::RestartHint
# (x_QSessionManager doesn't inherit QSessionManager)
$arg->{ArgType} = kalyptusDataDict::resolveType($arg->{ArgType}, $classNode, $rootnode);
+ # hack. I think there is a better place for this, but where? and how? kalyptusDataDict maybe?
+ $arg->{ArgType} = 'Akonadi::Collection::Id' if ($arg->{ArgType} eq 'Collection::Id');
# Only add the type if the class using it is not defined in another module.
# If the method is virtual, add the type anyway. A class in the current module might reimplement
--- trunk/KDE/kdebindings/smoke/CMakeLists.txt #812331:812332
@@ -5,9 +5,10 @@
OPTION(ENABLE_SMOKESOPRANO "build SmokeSoprano" ON)
OPTION(ENABLE_SMOKEPLASMA "build SmokePlasma" OFF)
OPTION(ENABLE_SMOKEKDE "build SmokeKDE" ON)
+OPTION(ENABLE_SMOKEAKONADI "build SmokeAkonadi" OFF)
set(SMOKE_ENABLED "no")
-if(ENABLE_SMOKE OR ENABLE_SMOKEQSCI OR ENABLE_SMOKEQWT OR ENABLE_SMOKESOPRANO OR ENABLE_SMOKEPLASMA OR ENABLE_SMOKEKDE)
+if(ENABLE_SMOKE OR ENABLE_SMOKEQSCI OR ENABLE_SMOKEQWT OR ENABLE_SMOKESOPRANO OR ENABLE_SMOKEPLASMA OR ENABLE_SMOKEKDE OR ENABLE_SMOKEAKONADI)
add_subdirectory(qt)
set(SMOKE_ENABLED "yes - Qt")
@@ -40,8 +41,13 @@
set(SMOKE_ENABLED "${SMOKE_ENABLED}, KDE")
endif(ENABLE_SMOKEKDE)
-endif(ENABLE_SMOKE OR ENABLE_SMOKEQSCI OR ENABLE_SMOKEQWT OR ENABLE_SMOKESOPRANO OR ENABLE_SMOKEPLASMA OR ENABLE_SMOKEKDE)
+ if(ENABLE_SMOKEAKONADI)
+ add_subdirectory(akonadi)
+ set(SMOKE_ENABLED "${SMOKE_ENABLED}, Akonadi")
+ endif(ENABLE_SMOKEAKONADI)
+endif(ENABLE_SMOKE OR ENABLE_SMOKEQSCI OR ENABLE_SMOKEQWT OR ENABLE_SMOKESOPRANO OR ENABLE_SMOKEPLASMA OR ENABLE_SMOKEKDE OR ENABLE_SMOKEAKONADI)
+
# for qtguess.pl
if (APPLE)
set(qt_test_threshold 15)
More information about the Kde-bindings
mailing list