00001 // 00002 // C++ Interface: types 00003 // 00004 // Description: 00005 // All specail types for KShowMail 00006 // 00007 // 00008 // Author: Ulrich Weigelt <ulrich.weigelt@gmx.de>, (C) 2007 00009 // 00010 // Copyright: See COPYING file that comes with this distribution 00011 // 00012 // 00013 00014 #ifndef TYPES_H 00015 #define TYPES_H 00016 00017 //Qt headers 00018 #include <qvaluelist.h> 00019 #include <qmap.h> 00020 00024 namespace Types 00025 { 00029 enum State_Type {idle, 00031 deleting, 00033 configure, 00037 executing, 00039 showing, 00041 refreshing 00042 }; 00043 00047 enum AccountState_Type 00048 { 00049 AccountIdle, 00051 AccountDeleting, 00053 AccountDownloading, 00055 AccountRefreshing 00056 }; 00057 00061 typedef QValueList<int> MailNumberList_Type; 00062 00068 typedef QMap<QString, bool> AccountTaskMap_Type; 00069 00070 00071 } 00072 00073 #endif