// // C++ Interface: types // // Description: // All specail types for KShowMail // // // Author: Ulrich Weigelt , (C) 2007 // // Copyright: See COPYING file that comes with this distribution // // #ifndef TYPES_H #define TYPES_H //TQt headers #include #include #include #include using namespace std; /** * All special types for KShowMail. */ namespace Types { /** * State of the application during running time. */ enum State_Type {idle, /** MailNumberList_Type; /** * Map to notice which accounts need to get an order to do a task. * The Key is the account name and the data a boolean. * TRUE means the task was ordered, FALSE the task was ended. */ typedef TQMap AccountTaskMap_Type; /** * Actions returned by filters. */ enum FilterAction_Type { FActPass, /** MailToDownloadMap_Type; /** * Contains all values of a filter criteria. */ struct FilterCriteria_Type { int source; /** FilterCriteriaList_Type; } #endif