~ubuntu-branches/ubuntu/karmic/kdepim/karmic-backports

« back to all changes in this revision

Viewing changes to akonadi/akonadi_next/abstractitemmodel.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi, Alessandro Ghersi, Harald Sitter
  • Date: 2009-06-27 04:40:05 UTC
  • mfrom: (1.1.39 upstream)
  • Revision ID: james.westby@ubuntu.com-20090627044005-4y2vm9xz7rvmzi4p
Tags: 4:4.2.95svn20090701-0ubuntu1
[ Alessandro Ghersi ]
* New upstream release
  - Bump build-deps
* Remove akonadi-kde and libmaildir4 packages
  - remove akonadi-kde.install and libmaildir4.install
  - remove libmaildir4 from debian/rules
  - remove akonadi-kde and libmaildir4 from depends
  - remove akonadi-kde and libmaildir4 from installgen
* Update kdepim-dev.install
* Update kpilot.install
* Add akonadi-kde and libmaildir4 transitional packages

[ Harald Sitter ]
* KAddressbook replaces Kontact << 4.2.85 (LP: #378373)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    Copyright (c) 2009 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
#include "abstractitemmodel.h"
 
21
#include "abstractitemmodel_p.h"
 
22
 
 
23
AbstractItemModel::AbstractItemModel( QObject *parent )
 
24
  : QAbstractItemModel( parent ),
 
25
    d_ptr( new AbstractItemModelPrivate( this ) )
 
26
{
 
27
}
 
28
 
 
29
AbstractItemModel::~AbstractItemModel()
 
30
{
 
31
}
 
32
 
 
33
void AbstractItemModel::beginMoveRows( const QModelIndex &srcParent, int start, int end,
 
34
                                       const QModelIndex &destinationParent, int destinationStart )
 
35
{
 
36
  Q_D(AbstractItemModel);
 
37
  return d->beginMoveRows( srcParent, start, end, destinationParent, destinationStart );
 
38
}
 
39
 
 
40
void AbstractItemModel::endMoveRows()
 
41
{
 
42
  Q_D(AbstractItemModel);
 
43
  d->endMoveRows();
 
44
}
 
45
 
 
46
void AbstractItemModel::beginMoveColumns( const QModelIndex &srcParent, int start, int end,
 
47
                                          const QModelIndex &destinationParent, int destinationStart )
 
48
{
 
49
  Q_D(AbstractItemModel);
 
50
  return d->beginMoveColumns( srcParent, start, end, destinationParent, destinationStart );
 
51
}
 
52
 
 
53
void AbstractItemModel::endMoveColumns()
 
54
{
 
55
  Q_D(AbstractItemModel);
 
56
  d->endMoveColumns();
 
57
}
 
58
 
 
59
void AbstractItemModel::beginResetModel()
 
60
{
 
61
  Q_D(AbstractItemModel);
 
62
  d->beginResetModel();
 
63
}
 
64
 
 
65
void AbstractItemModel::endResetModel()
 
66
{
 
67
  Q_D(AbstractItemModel);
 
68
  d->endResetModel();
 
69
}
 
70
 
 
71
void AbstractItemModel::beginChangeChildOrder( const QModelIndex &index )
 
72
{
 
73
  Q_D(AbstractItemModel);
 
74
  d->beginChangeChildOrder( index );
 
75
}
 
76
 
 
77
void AbstractItemModel::endChangeChildOrder()
 
78
{
 
79
  Q_D(AbstractItemModel);
 
80
  d->endChangeChildOrder();
 
81
}
 
82
 
 
83
#include "abstractitemmodel.moc"