File indexing completed on 2024-11-17 04:45:11
0001 /* 0002 SPDX-FileCopyrightText: 2008 Omat Holding B.V. <info@omat.nl> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <Akonadi/Attribute> 0010 0011 class UidNextAttribute : public Akonadi::Attribute 0012 { 0013 public: 0014 explicit UidNextAttribute(int uidnext = 0); 0015 void setUidNext(int uidnext); 0016 int uidNext() const; 0017 QByteArray type() const override; 0018 Attribute *clone() const override; 0019 QByteArray serialized() const override; 0020 void deserialize(const QByteArray &data) override; 0021 0022 private: 0023 int mUidNext; 0024 };