kmail Library API Documentation

KMail::FolderDiaACLTab Class Reference

"Access Control" tab in the folder dialog Internal class, only used by KMFolderDialog More...

#include <folderdiaacltab.h>

Inheritance diagram for KMail::FolderDiaACLTab:

Inheritance graph
[legend]
Collaboration diagram for KMail::FolderDiaACLTab:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FolderDiaACLTab (KMFolderDialog *dlg, QWidget *parent, const char *name=0)
virtual void load ()
virtual bool save ()
virtual AcceptStatus accept ()

Static Public Member Functions

bool supports (KMFolder *refFolder)

Detailed Description

"Access Control" tab in the folder dialog Internal class, only used by KMFolderDialog

Definition at line 85 of file folderdiaacltab.h.


Member Function Documentation

bool KMail::FolderDiaACLTab::save  )  [virtual]
 

Unlike ConfigModuleTab, we return a bool from save.

This allows to cancel closing on error. When called from the Apply button, the return value is ignored

Returns:
whether save succeeded

Implements KMail::FolderDiaTab.

Definition at line 631 of file folderdiaacltab.cpp.

References KMail::ACLListEntry::changed, QValueVector::end(), KMFolderDialog::folder(), KMFolderDialog::isNewFolder(), KMFolderDialog::parentFolder(), and KMFolder::storage().

Referenced by accept().

KMail::FolderDiaTab::AcceptStatus KMail::FolderDiaACLTab::accept  )  [virtual]
 

Called when clicking OK.

If a module returns Delayed, the closing is cancelled for now, and the module can close the dialog later on (i.e. after an async operation like a KIO job).

Reimplemented from KMail::FolderDiaTab.

Definition at line 618 of file folderdiaacltab.cpp.

References save().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kmail Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 22:44:40 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003