kmail
scalix.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00040 #ifndef SCALIX_H
00041 #define SCALIX_H
00042
00043 #include <tqstring.h>
00044
00045 #include "kmfoldertype.h"
00046
00047 class KMFolder;
00048 class KMFolderDir;
00049
00050 namespace Scalix {
00051
00056 class FolderAttributeParser
00057 {
00058 public:
00059 FolderAttributeParser( const TQString &attribute );
00060
00061 TQString folderClass() const;
00062 TQString folderName() const;
00063
00064 private:
00065 TQString mFolderClass;
00066 TQString mFolderName;
00067 };
00068
00069 class Utils
00070 {
00071 public:
00072 static KMFolder* findStandardResourceFolder( KMFolderDir* folderParentDir,
00073 KMail::FolderContentsType contentsType,
00074 const TQStringList &attributes );
00075
00076 static KMail::FolderContentsType scalixIdToContentsType( const TQString &name );
00077
00078 static TQString contentsTypeToScalixId( KMail::FolderContentsType type );
00079 };
00080
00081 }
00082
00083 #endif
|