~bobo-324/dekko/customScheme

« back to all changes in this revision

Viewing changes to src/3rdParty/trojita/UiUtils/PartWidgetFactory.h

  • Committer: Dan Chapman
  • Date: 2014-11-07 19:41:38 UTC
  • mfrom: (148.1.15 removeQtWebkit)
  • Revision ID: dpniel@ubuntu.com-20141107194138-n95ozzhrcu2rg5ib
Finally webkit has been nuked from dekko!! Thanks for your work on this boren

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
        PART_IGNORE_CLICKTHROUGH = 1 << 1, /**< @short Ignore any heuristics which lead to wrapping in an LoadablePartWidget with a clickthrough */
16
16
        PART_IGNORE_LOAD_ON_SHOW = 1 << 2, /**< @short Ignore wrapping in a LoadablePartWidget set up to load on first show event */
17
17
        PART_IS_HIDDEN = 1 << 3, /**< @short Request wrapping this part in a LoadablePartWidget */
18
 
        PART_PREFER_PLAINTEXT_OVER_HTML = 1 << 4 /**< @short The user's preferences indicate that a text/plain part shall be shown instead of a text/html if available */
 
18
        PART_PREFER_PLAINTEXT_OVER_HTML = 1 << 4, /**< @short The user's preferences indicate that a text/plain part shall be shown instead of a text/html if available */
 
19
        PART_DONT_REGISTER_AS_SECTION = 1 << 5
19
20
    } PartLoadingFlag;
20
21
    /** @short Which of these options shall be propagated to child widgets when embedding them, and which shall be filtered? */
21
22
    enum {
58
59
                                 const QModelIndex &partIndex,
59
60
                                 const int recursionDepth, const PartLoadingOptions options);
60
61
    QObject *newSimplePartWidget(QObject *parent, Imap::Network::MsgPartNetAccessManager *manager,
61
 
                                 const QModelIndex &partIndex, QObject *messageView);
 
62
                                 const QModelIndex &partIndex, QObject *messageView, bool dontRegisterAsSection);
62
63
 
63
64
private:
64
65
    Imap::Network::MsgPartNetAccessManager *m_manager;