kmail
KMFolderTree Class Reference
#include <kmfoldertree.h>
Detailed Description
Definition at line 107 of file kmfoldertree.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
KMFolderTree::KMFolderTree | ( | KMMainWidget * | mainWidget, | |
QWidget * | parent = 0 , |
|||
const char * | name = 0 | |||
) |
Definition at line 356 of file kmfoldertree.cpp.
Member Function Documentation
void KMFolderTree::addDirectory | ( | KMFolderDir * | fdir, | |
KMFolderTreeItem * | parent | |||
) | [virtual] |
Recusively add folders in a folder directory to a listview item.
Definition at line 684 of file kmfoldertree.cpp.
bool KMFolderTree::checkUnreadFolder | ( | KMFolderTreeItem * | ftl, | |
bool | confirm | |||
) |
Check folder for unread messages (which isn't trash).
Definition at line 863 of file kmfoldertree.cpp.
void KMFolderTree::cleanupConfigFile | ( | ) |
Remove information about not existing folders from the config file.
Definition at line 1338 of file kmfoldertree.cpp.
void KMFolderTree::columnsChanged | ( | ) | [signal] |
unread/total/size column has changed
void KMFolderTree::connectSignals | ( | ) | [protected] |
void KMFolderTree::contentsDragEnterEvent | ( | QDragEnterEvent * | e | ) | [protected] |
void KMFolderTree::contentsDragLeaveEvent | ( | QDragLeaveEvent * | e | ) | [protected] |
Definition at line 1460 of file kmfoldertree.cpp.
void KMFolderTree::contentsDragMoveEvent | ( | QDragMoveEvent * | e | ) | [protected] |
Definition at line 1418 of file kmfoldertree.cpp.
void KMFolderTree::contentsDropEvent | ( | QDropEvent * | e | ) | [protected] |
void KMFolderTree::contentsMousePressEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 1177 of file kmfoldertree.cpp.
void KMFolderTree::contentsMouseReleaseEvent | ( | QMouseEvent * | me | ) | [protected, virtual] |
Definition at line 1184 of file kmfoldertree.cpp.
void KMFolderTree::copyFolder | ( | ) | [slot] |
void KMFolderTree::copySelectedToFolder | ( | int | menuId | ) | [protected, virtual, slot] |
void KMFolderTree::createFolderList | ( | QStringList * | str, | |
QValueList< QGuardedPtr< KMFolder > > * | folders, | |||
bool | localFolders = true , |
|||
bool | imapFolders = true , |
|||
bool | dimapFolders = true , |
|||
bool | searchFolders = false , |
|||
bool | includeNoContent = true , |
|||
bool | includeNoChildren = true | |||
) |
KMFolder * KMFolderTree::currentFolder | ( | ) | const |
Definition at line 954 of file kmfoldertree.cpp.
void KMFolderTree::cutFolder | ( | ) | [slot] |
void KMFolderTree::decCurrentFolder | ( | ) | [slot] |
void KMFolderTree::delayedUpdate | ( | ) | [slot] |
void KMFolderTree::doFolderListChanged | ( | ) | [protected, slot] |
called by the folder-manager when the list of folders changed
Definition at line 781 of file kmfoldertree.cpp.
void KMFolderTree::doFolderSelected | ( | QListViewItem * | qlvi, | |
bool | keepSelection = false | |||
) | [slot] |
QDragObject * KMFolderTree::dragObject | ( | ) | [protected, virtual] |
Definition at line 2043 of file kmfoldertree.cpp.
Definition at line 1718 of file kmfoldertree.cpp.
void KMFolderTree::folderSelected | ( | KMFolder * | ) | [signal] |
The selected folder has changed.
void KMFolderTree::folderSelectedUnread | ( | KMFolder * | ) | [signal] |
The selected folder has changed to go to an unread message.
void KMFolderTree::folderToPopupMenu | ( | MenuAction | action, | |
QObject * | receiver, | |||
KMMenuToFolder * | aMenuToFolder, | |||
QPopupMenu * | menu, | |||
QListViewItem * | start = 0 | |||
) |
Generate a popup menu that contains all folders that can have content.
Definition at line 1814 of file kmfoldertree.cpp.
void KMFolderTree::iconChanged | ( | KMFolderTreeItem * | ) | [signal] |
an icon of one of our folders changed
void KMFolderTree::incCurrentFolder | ( | ) | [slot] |
void KMFolderTree::moveOrCopyFolder | ( | QValueList< QGuardedPtr< KMFolder > > | sources, | |
KMFolder * | destination, | |||
bool | move = false | |||
) | [protected] |
void KMFolderTree::moveSelectedToFolder | ( | int | menuId | ) | [protected, virtual, slot] |
void KMFolderTree::nameChanged | ( | KMFolderTreeItem * | ) | [signal] |
the name of one of our folders changed
void KMFolderTree::nextUnreadFolder | ( | ) | [slot] |
void KMFolderTree::nextUnreadFolder | ( | bool | confirm | ) |
void KMFolderTree::openFolder | ( | ) | [protected, slot] |
void KMFolderTree::pasteFolder | ( | ) | [slot] |
Pastes a previously copied/cutted folder below the currently selected folder.
Definition at line 2077 of file kmfoldertree.cpp.
void KMFolderTree::prepareItem | ( | KMFolderTreeItem * | fti | ) | [protected] |
void KMFolderTree::prevUnreadFolder | ( | ) | [slot] |
void KMFolderTree::readConfig | ( | void | ) | [virtual] |
bool KMFolderTree::readIsListViewItemOpen | ( | KMFolderTreeItem * | fti | ) | [protected] |
Read/Save open/close state indicator for an item in folderTree list view.
Definition at line 1287 of file kmfoldertree.cpp.
void KMFolderTree::refresh | ( | ) | [protected, slot] |
Updates the folder tree (delayed), causing a "blink".
Definition at line 751 of file kmfoldertree.cpp.
void KMFolderTree::reload | ( | bool | openFolders = false |
) | [virtual] |
void KMFolderTree::resizeEvent | ( | QResizeEvent * | e | ) | [protected, virtual] |
Definition at line 1014 of file kmfoldertree.cpp.
void KMFolderTree::selectCurrentFolder | ( | ) | [slot] |
QValueList< QGuardedPtr< KMFolder > > KMFolderTree::selectedFolders | ( | ) |
Definition at line 963 of file kmfoldertree.cpp.
void KMFolderTree::showFolder | ( | KMFolder * | folder | ) |
void KMFolderTree::slotAccountRemoved | ( | KMAccount * | ) | [slot] |
Make sure the given account is not selected because it is gone.
Definition at line 787 of file kmfoldertree.cpp.
void KMFolderTree::slotCheckMail | ( | ) | [protected, slot] |
Fires a new-mail-check of the account that is accociated with currentItem.
Definition at line 1731 of file kmfoldertree.cpp.
void KMFolderTree::slotContextMenuRequested | ( | QListViewItem * | lvi, | |
const QPoint & | p | |||
) | [protected, slot] |
Definition at line 1026 of file kmfoldertree.cpp.
void KMFolderTree::slotFolderCollapsed | ( | QListViewItem * | item | ) | [protected, slot] |
Tell the folder to refresh the contents on the next expansion.
Definition at line 1574 of file kmfoldertree.cpp.
void KMFolderTree::slotFolderExpanded | ( | QListViewItem * | item | ) | [protected, slot] |
void KMFolderTree::slotFolderMoveOrCopyOperationFinished | ( | ) | [protected, slot] |
called, when a folder has been moved or copied, successfully or not
Definition at line 793 of file kmfoldertree.cpp.
void KMFolderTree::slotFolderRemoved | ( | KMFolder * | aFolder | ) | [protected, slot] |
void KMFolderTree::slotNewMessageToMailingList | ( | ) | [protected, slot] |
Definition at line 1745 of file kmfoldertree.cpp.
void KMFolderTree::slotRenameFolder | ( | QListViewItem * | item, | |
int | col, | |||
const QString & | text | |||
) | [protected, slot] |
Check if the new name is valid and confirm the new name.
Definition at line 1584 of file kmfoldertree.cpp.
void KMFolderTree::slotResetFolderList | ( | QListViewItem * | item = 0 , |
|
bool | startList = true | |||
) | [slot] |
Reset current folder and all childs If no item is given we take the current one If startListing is true a folder listing is started.
Definition at line 1785 of file kmfoldertree.cpp.
void KMFolderTree::slotToggleSizeColumn | ( | ) | [protected, slot] |
Definition at line 1710 of file kmfoldertree.cpp.
void KMFolderTree::slotToggleTotalColumn | ( | ) | [protected, slot] |
Definition at line 1703 of file kmfoldertree.cpp.
void KMFolderTree::slotToggleUnreadColumn | ( | ) | [protected, slot] |
void KMFolderTree::slotUpdateCountsDelayed | ( | KMFolder * | folder | ) | [protected, slot] |
void KMFolderTree::slotUpdateCountTimeout | ( | ) | [protected, slot] |
Definition at line 1626 of file kmfoldertree.cpp.
void KMFolderTree::slotUpdateOneCount | ( | ) | [protected, slot] |
Definition at line 661 of file kmfoldertree.cpp.
void KMFolderTree::toggleColumn | ( | int | column, | |
bool | openFolders = false | |||
) |
void KMFolderTree::updateCopyActions | ( | ) | [protected, slot] |
void KMFolderTree::updatePopup | ( | ) | const [virtual] |
Set the checked/unchecked state of the unread and total column in the popup correctly.
Definition at line 1642 of file kmfoldertree.cpp.
void KMFolderTree::updateUnreadAll | ( | ) | [protected, virtual] |
Updates the number of unread messages for all folders.
Definition at line 499 of file kmfoldertree.cpp.
void KMFolderTree::writeConfig | ( | void | ) |
void KMFolderTree::writeIsListViewItemOpen | ( | KMFolderTreeItem * | fti | ) | [protected] |
Definition at line 1313 of file kmfoldertree.cpp.
Member Data Documentation
QTimer KMFolderTree::autoopen_timer [protected] |
Definition at line 311 of file kmfoldertree.h.
QListViewItem* KMFolderTree::dropItem [protected] |
Definition at line 309 of file kmfoldertree.h.
KMFolderTreeItem* KMFolderTree::mLastItem [protected] |
Definition at line 310 of file kmfoldertree.h.
QTimer KMFolderTree::mUpdateTimer [protected] |
Definition at line 298 of file kmfoldertree.h.
QListViewItem* KMFolderTree::oldCurrent [protected] |
QListViewItem * KMFolderTree::oldSelected [protected] |
Definition at line 308 of file kmfoldertree.h.
The documentation for this class was generated from the following files: