[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/akonadi/resources/openchange
From: Tobias Koenig <tokoe () kde ! org>
Date: 2008-04-11 14:48:30
Message-ID: 1207925310.581967.4429.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 795834 by tokoe:
Removed Collection::Type property from public API and added helper class
M +0 -2 ocresource.cpp
--- trunk/KDE/kdepim/akonadi/resources/openchange/ocresource.cpp #795833:795834
@@ -184,7 +184,6 @@
uint64_t *fid = (uint64_t *)find_SPropValue_data(&rowset.aRow[index], PR_FID);
thisFolder.setRemoteId( QString::number( *fid ) );
thisFolder.setName( ( const char * ) find_SPropValue_data(&rowset.aRow[index], PR_DISPLAY_NAME) );
- thisFolder.setType( Collection::Folder );
QStringList folderMimeType;
if (*( (uint32_t *)find_SPropValue_data(&rowset.aRow[index], PR_FOLDER_CHILD_COUNT) ) > 0 ) {
// if it has children, needs this mimetype:
@@ -302,7 +301,6 @@
account.setParent( Collection::root() );
account.setRemoteId( m_profileName );
account.setName( QString( lpProps[0].value.lpszA ) + QString( " (OpenChange)" ) );
- account.setType( Collection::Resource );
QStringList mimeTypes;
mimeTypes << "inode/directory";
account.setContentMimeTypes( mimeTypes );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic