~ubuntu-branches/ubuntu/quantal/kdepim/quantal

« back to all changes in this revision

Viewing changes to messagecore/attachmentfromurljob.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-15 14:17:51 UTC
  • mto: This revision was merged to the branch mainline in revision 193.
  • Revision ID: package-import@ubuntu.com-20111215141751-bmhdpiwl23wd9w26
Tags: upstream-4.7.90
ImportĀ upstreamĀ versionĀ 4.7.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include "messagecore_export.h"
24
24
 
25
 
#include "attachmentloadjob.h"
 
25
#include "attachmentfromurlbasejob.h"
26
26
 
27
 
#include <KDE/KUrl>
28
27
 
29
28
namespace MessageCore {
30
29
 
33
32
 *
34
33
 * @author Constantin Berzan <exit3219@gmail.com>
35
34
 */
36
 
class MESSAGECORE_EXPORT AttachmentFromUrlJob : public AttachmentLoadJob
 
35
class MESSAGECORE_EXPORT AttachmentFromUrlJob : public AttachmentFromUrlBaseJob
37
36
{
38
37
  Q_OBJECT
39
38
 
51
50
     */
52
51
    virtual ~AttachmentFromUrlJob();
53
52
 
54
 
    /**
55
 
     * Sets the @p url that will be loaded as attachment.
56
 
     */
57
 
    void setUrl( const KUrl &url );
58
 
 
59
 
    /**
60
 
     * Returns the url that will be loaded as attachment.
61
 
     */
62
 
    KUrl url() const;
63
 
 
64
 
    /**
65
 
     * Sets the maximum @p size the attachment is allowed to have.
66
 
     */
67
 
    void setMaximumAllowedSize( qint64 size );
68
 
 
69
 
    /**
70
 
     * Returns the maximum size the attachment is allowed to have.
71
 
     */
72
 
    qint64 maximumAllowedSize() const;
73
53
 
74
54
  protected Q_SLOTS:
75
55
    virtual void doStart();