• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

messagelist

  • sources
  • kde-4.12
  • kdepim
  • messagelist
  • core
modelinvariantindex_p.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * Copyright 2008 Szymon Tomasz Stefanek <pragma@kvirc.net>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18  *
19  *******************************************************************************/
20 
21 #ifndef __MESSAGELIST_CORE_MODELINVARIANTINDEX_P_H__
22 #define __MESSAGELIST_CORE_MODELINVARIANTINDEX_P_H__
23 
24 #include "core/modelinvariantindex.h"
25 
26 namespace MessageList
27 {
28 
29 namespace Core
30 {
31 
32 class ModelInvariantIndex::Private
33 {
34 public:
35  int mModelIndexRow;
36  uint mRowMapperSerial;
37  ModelInvariantRowMapper * mRowMapper;
38 
39  int modelIndexRow() const
40  { return mModelIndexRow; };
41  uint rowMapperSerial() const
42  { return mRowMapperSerial; };
43  void setModelIndexRowAndRowMapperSerial( int modelIndexRow, uint rowMapperSerial )
44  { mModelIndexRow = modelIndexRow; mRowMapperSerial = rowMapperSerial; };
45  ModelInvariantRowMapper * rowMapper() const
46  { return mRowMapper; };
47  void setRowMapper( ModelInvariantRowMapper * mapper )
48  { mRowMapper = mapper; };
49 };
50 
51 } // namespace Core
52 
53 } // namespace MessageList
54 
55 
56 #endif
modelinvariantindex.h
MessageList::Core::ModelInvariantIndex::Private::mRowMapperSerial
uint mRowMapperSerial
The serial that was current in the RowMapper at the time the invariant index was emitted.
Definition: modelinvariantindex_p.h:36
MessageList::Core::ModelInvariantRowMapper
This class is an optimizing helper for dealing with large flat QAbstractItemModel objects...
Definition: modelinvariantrowmapper.h:93
MessageList::Core::ModelInvariantIndex::Private::mRowMapper
ModelInvariantRowMapper * mRowMapper
The mapper that this invariant index is attached to.
Definition: modelinvariantindex_p.h:37
MessageList::Core::ModelInvariantIndex::Private::rowMapper
ModelInvariantRowMapper * rowMapper() const
Definition: modelinvariantindex_p.h:45
MessageList::Core::ModelInvariantIndex::Private::modelIndexRow
int modelIndexRow() const
Definition: modelinvariantindex_p.h:39
MessageList::Core::ModelInvariantIndex::Private::mModelIndexRow
int mModelIndexRow
The row that this index referenced at the time it was emitted.
Definition: modelinvariantindex_p.h:35
MessageList::Core::ModelInvariantIndex::Private::rowMapperSerial
uint rowMapperSerial() const
Definition: modelinvariantindex_p.h:41
MessageList::Core::ModelInvariantIndex::Private
Definition: modelinvariantindex_p.h:32
MessageList::Core::ModelInvariantIndex::Private::setModelIndexRowAndRowMapperSerial
void setModelIndexRowAndRowMapperSerial(int modelIndexRow, uint rowMapperSerial)
Definition: modelinvariantindex_p.h:43
MessageList::Core::ModelInvariantIndex::Private::setRowMapper
void setRowMapper(ModelInvariantRowMapper *mapper)
Definition: modelinvariantindex_p.h:47
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:32 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

messagelist

Skip menu "messagelist"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal