entityhiddenattribute.cpp

00001 /******************************************************************************
00002  *
00003  *  Copyright (c) 2009 Szymon Stefanek <s.stefanek at gmail dot com>
00004  *
00005  *  This library is free software; you can redistribute it and/or modify it
00006  *  under the terms of the GNU Library General Public License as published by
00007  *  the Free Software Foundation; either version 2 of the License, or (at your
00008  *  option) any later version.
00009  *
00010  *  This library is distributed in the hope that it will be useful, but WITHOUT
00011  *  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00012  *  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00013  *  License for more details.
00014  *
00015  *  You should have received a copy of the GNU Library General Public License
00016  *  along with this library; see the file COPYING.LIB.  If not, write to the
00017  *  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
00018  *  MA, 02110-1301, USA.
00019  *
00020  *****************************************************************************/
00021 
00022 #include "entityhiddenattribute.h"
00023 
00024 #include <QtCore/QByteArray>
00025 
00026 using namespace Akonadi;
00027 
00028 EntityHiddenAttribute::EntityHiddenAttribute()
00029   : d( 0 )
00030 {
00031 }
00032 
00033 EntityHiddenAttribute::~EntityHiddenAttribute()
00034 {
00035 }
00036 
00037 QByteArray Akonadi::EntityHiddenAttribute::type() const
00038 {
00039   return "HIDDEN";
00040 }
00041 
00042 EntityHiddenAttribute * EntityHiddenAttribute::clone() const
00043 {
00044   return new EntityHiddenAttribute();
00045 }
00046 
00047 QByteArray EntityHiddenAttribute::serialized() const
00048 {
00049   return QByteArray();
00050 }
00051 
00052 void EntityHiddenAttribute::deserialize( const QByteArray &data )
00053 {
00054   Q_ASSERT( data.isEmpty() );
00055   Q_UNUSED( data );
00056 }
KDE Home | KDE Accessibility Home | Description of Access Keys