Skip to content

Instantly share code, notes, and snippets.

@karanluthra karanluthra/static-cw
Last active Aug 29, 2015

Embed
What would you like to do?
New Static API for ComposeWidget instantiation
static ComposeWidget *createBlank(MainWindow *mainWindow, QSettings *settings, MSA::MSAFactory *msaFactory);
static ComposeWidget *createDraft(MainWindow *mainWindow, QSettings *settings, MSA::MSAFactory *msaFactory, const QString &path);
static ComposeWidget *createFromUrl(MainWindow *mainWindow, QSettings *settings, MSA::MSAFactory *msaFactory, const QUrl &url);
static ComposeWidget *createReply(MainWindow *mainWindow, QSettings *settings, MSA::MSAFactory *msaFactory, const Composer::ReplyMode &mode, const QModelIndex &replyingToMessage, const QList<QPair<Composer::RecipientKind, QString> > &recipients, const QString &subject, const QString &body, const QList<QByteArray> &inReplyTo, const QList<QByteArray> &references);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.