diff -r 885c2596c964 -r 5d007b20cfd0 qtmobileextensions/src/settingsmanager/xqcentralrepositorysearchcriteria.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qtmobileextensions/src/settingsmanager/xqcentralrepositorysearchcriteria.h Tue Aug 31 16:02:37 2010 +0300 @@ -0,0 +1,50 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published by +* the Free Software Foundation, version 2.1 of the License. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU Lesser General Public License for more details. +* +* You should have received a copy of the GNU Lesser General Public License +* along with this program. If not, +* see "http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html/". +* +* Description: +* +*/ + +#ifndef XQCENTRALREPOSITORYSEARCHCRITERIA_H +#define XQCENTRALREPOSITORYSEARCHCRITERIA_H + +#include +#include "settingsmanager_global.h" + +class XQSETTINGSMANAGER_EXPORT XQCentralRepositorySearchCriteria +{ +public: + XQCentralRepositorySearchCriteria(long int repositoryUid, + unsigned long int partialKey = 0, unsigned long int bitMask = 0); + ~XQCentralRepositorySearchCriteria(); + void setValueCriteria(const QVariant& value, bool negativeCriteria = false); + + long int repositoryUid() const; + unsigned long int partialKey() const; + unsigned long int bitMask() const; + const QVariant& value() const; + bool negativeCriteria() const; + +private: + long int m_repositoryUid; + unsigned long int m_partialKey; + unsigned long int m_bitMask; + QVariant m_value; + bool m_negativeCriteria; +}; + +#endif //XQCENTRALREPOSITORYSEARCHCRITERIA_H