~ubuntu-branches/ubuntu/trusty/kdepimlibs/trusty

« back to all changes in this revision

Viewing changes to kioslave/mbox/stat.h

  • Committer: Package Import Robot
  • Author(s): Rohan Garg, Rohan Garg, Philip Muškovac
  • Date: 2013-11-23 17:36:44 UTC
  • mfrom: (1.1.102)
  • Revision ID: package-import@ubuntu.com-20131123173644-p5ow94192ezsny8g
Tags: 4:4.11.80-0ubuntu1
[ Rohan Garg ]
* New upstream beta release
  - Bump akonadi requirement to 1.10.45
  - Update install files
  - Update symbols

[ Philip Muškovac ]
* kdepimlibs-dev/-dbg breaks/replaces kdepim-runtime/-dbg (<< 4:4.11.80)

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
class Stat
35
35
{
36
36
public:
37
 
        /**
38
 
         * Empty constructor
39
 
         */
40
 
        Stat()  {}
41
 
 
42
 
        /**
43
 
         * Emtpy destructor
44
 
         */
45
 
        ~Stat() {}
46
 
 
47
 
        /**
48
 
         * This functions gives information with a given UrlInfo.
49
 
         * @param info The file information
50
 
         * @return The information of the file as destribed in UrlInfo.
51
 
         */
52
 
        static KIO::UDSEntry stat( const UrlInfo& info );
53
 
        /**
54
 
         * This function gives information with a given ReadMBox and UrlInfo.
55
 
         * Through this, it is possible to ask the stats of the next message,
56
 
         * without reopening the mbox-file.
57
 
         * @param mbox The ReadMBox instance, used to search the mbox-email in.
58
 
         * @param info The url information.
59
 
         * @return The requesteds information.
60
 
         */
61
 
        static KIO::UDSEntry stat( ReadMBox& mbox, const UrlInfo& info );
62
 
 
63
 
        /**
64
 
         * This function gets the stats of a given mbox-file in an UDSEntry.
65
 
         * @param info The location of the mbox-file.
66
 
         * @return A list of Atoms.
67
 
         */
68
 
        static KIO::UDSEntry statDirectory( const UrlInfo& info );
69
 
 
70
 
        /**
71
 
         * This function gets the stats of a geven mbox-message in a UDSEntry.
72
 
         * @param info The url of the mbox-message.
73
 
         * @return Information shipped in an UDSEntry.
74
 
         */
75
 
        static KIO::UDSEntry statMessage( const UrlInfo& info );
 
37
    /**
 
38
     * Empty constructor
 
39
     */
 
40
    Stat()  {}
 
41
 
 
42
    /**
 
43
     * Emtpy destructor
 
44
     */
 
45
    ~Stat() {}
 
46
 
 
47
    /**
 
48
     * This functions gives information with a given UrlInfo.
 
49
     * @param info The file information
 
50
     * @return The information of the file as destribed in UrlInfo.
 
51
     */
 
52
    static KIO::UDSEntry stat( const UrlInfo& info );
 
53
    /**
 
54
     * This function gives information with a given ReadMBox and UrlInfo.
 
55
     * Through this, it is possible to ask the stats of the next message,
 
56
     * without reopening the mbox-file.
 
57
     * @param mbox The ReadMBox instance, used to search the mbox-email in.
 
58
     * @param info The url information.
 
59
     * @return The requesteds information.
 
60
     */
 
61
    static KIO::UDSEntry stat( ReadMBox& mbox, const UrlInfo& info );
 
62
 
 
63
    /**
 
64
     * This function gets the stats of a given mbox-file in an UDSEntry.
 
65
     * @param info The location of the mbox-file.
 
66
     * @return A list of Atoms.
 
67
     */
 
68
    static KIO::UDSEntry statDirectory( const UrlInfo& info );
 
69
 
 
70
    /**
 
71
     * This function gets the stats of a geven mbox-message in a UDSEntry.
 
72
     * @param info The url of the mbox-message.
 
73
     * @return Information shipped in an UDSEntry.
 
74
     */
 
75
    static KIO::UDSEntry statMessage( const UrlInfo& info );
76
76
};
77
77
 
78
78
#endif