kmail
kmfoldermgr.cpp File Reference
#include <sys/types.h>
#include <assert.h>
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.h>
#include <qdir.h>
#include <klocale.h>
#include <kmessagebox.h>
#include <kconfig.h>
#include <kdebug.h>
#include <kapplication.h>
#include "kmmainwin.h"
#include "kmfiltermgr.h"
#include "kmfoldermgr.h"
#include "folderstorage.h"
#include "kmfolder.h"
#include "kmfoldercachedimap.h"
#include "kmacctcachedimap.h"
#include "renamejob.h"
#include "copyfolderjob.h"
#include "kmfoldermgr.moc"
Include dependency graph for kmfoldermgr.cpp:
Go to the source code of this file.
Defines | |
#define | DO_FOR_ALL(function, folder_code) |
Define Documentation
#define DO_FOR_ALL | ( | function, | |||
folder_code | ) |
Value:
KMFolderNode* node; \ QPtrListIterator<KMFolderNode> it(*dir); \ for ( ; (node = it.current()); ) { \ ++it; \ if (node->isDir()) continue; \ KMFolder *folder = static_cast<KMFolder*>(node); \ folder_code \ KMFolderDir *child = folder->child(); \ if (child) \ function \ }
Definition at line 78 of file kmfoldermgr.cpp.