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

« back to all changes in this revision

Viewing changes to messagecomposer/composerviewbase.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:
77
77
{
78
78
  Q_OBJECT
79
79
public:
80
 
  explicit ComposerViewBase ( QObject* parent = 0 );
 
80
  explicit ComposerViewBase ( QObject* parent = 0, QWidget *parentGui = 0 );
81
81
  virtual ~ComposerViewBase();
82
82
 
83
83
  enum Confirmation { LetUserConfirm, NoConfirmationNeeded };
240
240
  void slotSaveMessage( KJob *job );
241
241
 
242
242
private:
243
 
  bool isHTMLMail( KMime::Content* root );
244
243
  /**
245
244
  * Searches the mime tree, where root is the root node, for embedded images,
246
245
  * extracts them froom the body and adds them to the editor.
268
267
  * Also appends the msgNum to the filename as a message can have a number of
269
268
  * KMime::Messages
270
269
  */
271
 
  void writeAutoSaveToDisk( KMime::Message::Ptr message );
 
270
  void writeAutoSaveToDisk( const KMime::Message::Ptr& message );
272
271
 
273
272
  /**
274
273
    * Returns the autosave interval in milliseconds (as needed for QTimer).