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

messagelist

  • sources
  • kde-4.14
  • kdepim
  • messagelist
  • core
enums.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 
22 #ifndef __MESSAGELIST_CORE_ENUMS_H__
23 #define __MESSAGELIST_CORE_ENUMS_H__
24 
25 namespace MessageList
26 {
27 
28 namespace Core
29 {
30 
44  enum PreSelectionMode
45  {
46  PreSelectNone, //< no pre-selection at all
47  PreSelectLastSelected, //< pre-select the last message that was selected in this folder (default)
48  PreSelectFirstUnreadCentered, //< pre-select the first unread message and center it
49  PreSelectNewestCentered, //< pre-select the newest message, by date
50  PreSelectOldestCentered //< pre-select the oldest message, by date
51  };
52 
56  enum MessageTypeFilter
57  {
58  MessageTypeAny, //< Select any message
59  MessageTypeUnreadOnly //< Select only unread messages
60  };
61 
65  enum ExistingSelectionBehaviour
66  {
67  ClearExistingSelection, //< Clear the existing selection before selecting the new item
68  ExpandExistingSelection, //< Preserve the existing selection (grow only)
69  GrowOrShrinkExistingSelection //< Grow or shrink the existing selection depending on what item is actually being selected
70  };
71 
72 }
73 
74 }
75 
76 #endif
MessageList::Core::ClearExistingSelection
Definition: enums.h:67
MessageList::Core::MessageTypeAny
Definition: enums.h:58
MessageList::Core::GrowOrShrinkExistingSelection
Definition: enums.h:69
MessageList::Core::PreSelectFirstUnreadCentered
Definition: enums.h:48
MessageList::Core::PreSelectNewestCentered
Definition: enums.h:49
MessageList::Core::PreSelectOldestCentered
Definition: enums.h:50
MessageList::Core::PreSelectionMode
PreSelectionMode
Pre-selection is the action of automatically selecting a message just after the folder has finished l...
Definition: enums.h:44
MessageList::Core::MessageTypeUnreadOnly
Definition: enums.h:59
MessageList::Core::MessageTypeFilter
MessageTypeFilter
This enum is used in the view message selection functions (for instance View::nextMessageItem()).
Definition: enums.h:56
MessageList::Core::PreSelectNone
Definition: enums.h:46
MessageList::Core::ExpandExistingSelection
Definition: enums.h:68
MessageList::Core::PreSelectLastSelected
Definition: enums.h:47
MessageList::Core::ExistingSelectionBehaviour
ExistingSelectionBehaviour
This enum is used in the view message selection functions (for instance View::selectNextMessage()) ...
Definition: enums.h:65
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:01 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
  • pimprint

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