KMail::FolderDiaQuotaTab Class Reference

#include <folderdiaquotatab.h>

Inheritance diagram for KMail::FolderDiaQuotaTab:
KMail::FolderDiaTab

Public Member Functions

 FolderDiaQuotaTab (KMFolderDialog *dlg, TQWidget *parent, const char *name=0)
 
virtual void load ()
 
virtual bool save ()
 
virtual AccepStatus accept ()
 
- Public Member Functions inherited from KMail::FolderDiaTab
 FolderDiaTab (TQWidget *parent=0, const char *name=0)
 

Static Public Member Functions

static bool supports (KMFolder *refFolder)
 

Additional Inherited Members

- Public Types inherited from KMail::FolderDiaTab
enum  AccepStatus { Accepted , Canceled , Delayed }
 
- Signals inherited from KMail::FolderDiaTab
void readyForAccept ()
 
void cancelAccept ()
 
void changed (bool)
 

Detailed Description

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

Definition at line 52 of file folderdiaquotatab.h.

Member Function Documentation

◆ accept()

KMail::FolderDiaTab::AccepStatus KMail::FolderDiaQuotaTab::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 TDEIO job).

Reimplemented from KMail::FolderDiaTab.

Definition at line 189 of file folderdiaquotatab.cpp.

◆ save()

bool KMail::FolderDiaQuotaTab::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 198 of file folderdiaquotatab.cpp.


The documentation for this class was generated from the following files: