1
/* ============================================================
3
* This file is a part of digiKam project
4
* http://www.digikam.org
7
* Description : DBActionType which wrappes other data types
9
* Copyright (C) 2009-2010 by Holger Foerster <hamsi2k at freenet dot de>
11
* This program is free software; you can redistribute it
12
* and/or modify it under the terms of the GNU General
13
* Public License as published by the Free Software Foundation;
14
* either version 2, or (at your option)
17
* This program is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
* GNU General Public License for more details.
22
* ============================================================ */
26
#include "dbactiontype.h"
31
DBActionType::DBActionType()
35
DBActionType::DBActionType(const DBActionType &actionType)
37
m_isValue = actionType.m_isValue;
38
m_ActionValue = actionType.m_ActionValue;
40
DBActionType::~DBActionType()
42
m_ActionValue.~QVariant();
45
QVariant DBActionType::getActionValue()
49
void DBActionType::setActionValue(QVariant actionValue)
51
m_ActionValue = actionValue;
53
bool DBActionType::isValue() const
57
void DBActionType::setValue(bool isValue)
62
} // namespace Digikam