Skip to content

Instantly share code, notes, and snippets.

@karanluthra
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karanluthra/37c3f65e229761002958 to your computer and use it in GitHub Desktop.
Save karanluthra/37c3f65e229761002958 to your computer and use it in GitHub Desktop.
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