~ubuntu-branches/ubuntu/oneiric/kdepim/oneiric-updates

« back to all changes in this revision

Viewing changes to akonadi/akonadi_next/collectionchildorderattribute.h

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2011-06-28 19:33:24 UTC
  • mfrom: (0.2.13) (0.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20110628193324-8yvjs8sdv9rdoo6c
Tags: 4:4.7.0-0ubuntu1
* New upstream release
  - update install files
  - add missing kdepim-doc package to control file
  - Fix Vcs lines
  - kontact breaks/replaces korganizer << 4:4.6.80
  - tighten the dependency of kdepim-dev on libkdepim4 to fix lintian error

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
Copyright (c) 2008 Stephen Kelly <steveire@gmail.com>
3
 
 
4
 
This library is free software; you can redistribute it and/or modify it
5
 
under the terms of the GNU Library General Public License as published by
6
 
the Free Software Foundation; either version 2 of the License, or (at your
7
 
option) any later version.
8
 
 
9
 
This library is distributed in the hope that it will be useful, but WITHOUT
10
 
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
 
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
12
 
License for more details.
13
 
 
14
 
You should have received a copy of the GNU Library General Public License
15
 
along with this library; see the file COPYING.LIB.  If not, write to the
16
 
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17
 
02110-1301, USA.
18
 
*/
19
 
 
20
 
#ifndef AKONADI_COLLECTIONCHILDORDERATTRIBUTE_H
21
 
#define AKONADI_COLLECTIONCHILDORDERATTRIBUTE_H
22
 
 
23
 
#include "akonadi_next_export.h"
24
 
#include <akonadi/attribute.h>
25
 
 
26
 
// #include <QStringList>
27
 
 
28
 
class QStringList;
29
 
 
30
 
namespace AkonadiFuture
31
 
{
32
 
 
33
 
/**
34
 
* Holds an ordered list of remoteIds for child collections and items in a model.
35
 
* @since 4.3
36
 
*/
37
 
class AKONADI_NEXT_EXPORT CollectionChildOrderAttribute : public Akonadi::Attribute
38
 
{
39
 
public:
40
 
  /**
41
 
  * Creates a new attribute.
42
 
  */
43
 
  CollectionChildOrderAttribute();
44
 
 
45
 
  /**
46
 
  * Destructor.
47
 
  */
48
 
  ~CollectionChildOrderAttribute();
49
 
 
50
 
  void setOrderList( QStringList l );
51
 
 
52
 
  QStringList orderList();
53
 
 
54
 
  /* reimpl */
55
 
  QByteArray type() const;
56
 
  CollectionChildOrderAttribute* clone() const;
57
 
  QByteArray serialized() const;
58
 
  void deserialize( const QByteArray &data );
59
 
 
60
 
private:
61
 
  //@cond PRIVATE
62
 
  class Private;
63
 
  Private* const d;
64
 
  //@endcond
65
 
};
66
 
 
67
 
}
68
 
 
69
 
#endif