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

mailcommon

  • MailCommon
  • FolderSelectionDialog
Public Types | Public Member Functions | Protected Member Functions | List of all members
MailCommon::FolderSelectionDialog Class Reference

#include <folderselectiondialog.h>

Inheritance diagram for MailCommon::FolderSelectionDialog:
Inheritance graph
[legend]

Public Types

enum  SelectionFolderOption {
  None = 0, EnableCheck = 1, ShowUnreadCount = 2, HideVirtualFolder = 4,
  NotAllowToCreateNewFolder = 8, HideOutboxFolder = 16, NotUseGlobalSettings = 64
}
 

Public Member Functions

 FolderSelectionDialog (QWidget *parent, FolderSelectionDialog::SelectionFolderOptions options)
 
 ~FolderSelectionDialog ()
 
Akonadi::Collection selectedCollection () const
 
Akonadi::Collection::List selectedCollections () const
 
QAbstractItemView::SelectionMode selectionMode () const
 
void setSelectedCollection (const Akonadi::Collection &collection)
 
void setSelectionMode (QAbstractItemView::SelectionMode mode)
 

Protected Member Functions

bool canCreateCollection (Akonadi::Collection &parentCol)
 
void focusTreeView ()
 
void hideEvent (QHideEvent *)
 
void readConfig ()
 
void showEvent (QShowEvent *)
 
void writeConfig ()
 

Detailed Description

A dialog that lets the user select a folder.

TODO: Move most of this to Akonadi::CollectionDialog

Definition at line 38 of file folderselectiondialog.h.

Member Enumeration Documentation

enum MailCommon::FolderSelectionDialog::SelectionFolderOption
Enumerator
None 
EnableCheck 
ShowUnreadCount 
HideVirtualFolder 
NotAllowToCreateNewFolder 
HideOutboxFolder 
NotUseGlobalSettings 

Definition at line 43 of file folderselectiondialog.h.

Constructor & Destructor Documentation

MailCommon::FolderSelectionDialog::FolderSelectionDialog ( QWidget *  parent,
FolderSelectionDialog::SelectionFolderOptions  options 
)

Definition at line 56 of file folderselectiondialog.cpp.

MailCommon::FolderSelectionDialog::~FolderSelectionDialog ( )

Definition at line 134 of file folderselectiondialog.cpp.

Member Function Documentation

bool MailCommon::FolderSelectionDialog::canCreateCollection ( Akonadi::Collection &  parentCol)
protected

Definition at line 181 of file folderselectiondialog.cpp.

void MailCommon::FolderSelectionDialog::focusTreeView ( )
protected

Definition at line 160 of file folderselectiondialog.cpp.

void MailCommon::FolderSelectionDialog::hideEvent ( QHideEvent *  )
protected

Definition at line 299 of file folderselectiondialog.cpp.

void MailCommon::FolderSelectionDialog::readConfig ( )
protected

Definition at line 269 of file folderselectiondialog.cpp.

Akonadi::Collection MailCommon::FolderSelectionDialog::selectedCollection ( ) const

Definition at line 252 of file folderselectiondialog.cpp.

Akonadi::Collection::List MailCommon::FolderSelectionDialog::selectedCollections ( ) const

Definition at line 262 of file folderselectiondialog.cpp.

QAbstractItemView::SelectionMode MailCommon::FolderSelectionDialog::selectionMode ( ) const

Definition at line 247 of file folderselectiondialog.cpp.

void MailCommon::FolderSelectionDialog::setSelectedCollection ( const Akonadi::Collection &  collection)

Definition at line 257 of file folderselectiondialog.cpp.

void MailCommon::FolderSelectionDialog::setSelectionMode ( QAbstractItemView::SelectionMode  mode)

Definition at line 242 of file folderselectiondialog.cpp.

void MailCommon::FolderSelectionDialog::showEvent ( QShowEvent *  event)
protected

Definition at line 166 of file folderselectiondialog.cpp.

void MailCommon::FolderSelectionDialog::writeConfig ( )
protected

Definition at line 286 of file folderselectiondialog.cpp.


The documentation for this class was generated from the following files:
  • folderselectiondialog.h
  • folderselectiondialog.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

mailcommon

Skip menu "mailcommon"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

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