mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-17 21:34:10 -05:00
Added default Email Client Button to Web Mail Page
This commit is contained in:
parent
b501d91f21
commit
b717d601f4
@ -110,6 +110,8 @@ ConnectFriendWizard::ConnectFriendWizard(QWidget *parent) :
|
|||||||
connect(ui->outlookButton, SIGNAL(clicked()), this, SLOT(inviteOutlook()));
|
connect(ui->outlookButton, SIGNAL(clicked()), this, SLOT(inviteOutlook()));
|
||||||
connect(ui->aolButton, SIGNAL(clicked()), this, SLOT(inviteAol()));
|
connect(ui->aolButton, SIGNAL(clicked()), this, SLOT(inviteAol()));
|
||||||
connect(ui->yandexButton, SIGNAL(clicked()), this, SLOT(inviteYandex()));
|
connect(ui->yandexButton, SIGNAL(clicked()), this, SLOT(inviteYandex()));
|
||||||
|
connect(ui->emailButton, SIGNAL(clicked()), this, SLOT(runEmailClient2()));
|
||||||
|
|
||||||
|
|
||||||
subject = tr("RetroShare Invitation");
|
subject = tr("RetroShare Invitation");
|
||||||
body = GetStartedDialog::GetInviteText();
|
body = GetStartedDialog::GetInviteText();
|
||||||
@ -1256,3 +1258,8 @@ void ConnectFriendWizard::inviteYandex()
|
|||||||
{
|
{
|
||||||
QDesktopServices::openUrl(QUrl("https://mail.yandex.com/neo2/#compose/subject=" + subject + "&body=" + body, QUrl::TolerantMode));
|
QDesktopServices::openUrl(QUrl("https://mail.yandex.com/neo2/#compose/subject=" + subject + "&body=" + body, QUrl::TolerantMode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ConnectFriendWizard::runEmailClient2()
|
||||||
|
{
|
||||||
|
sendMail("", subject, body );
|
||||||
|
}
|
||||||
|
@ -62,6 +62,7 @@ private slots:
|
|||||||
void toggleSignatureState(bool doUpdate = true);
|
void toggleSignatureState(bool doUpdate = true);
|
||||||
void toggleFormatState(bool doUpdate = true);
|
void toggleFormatState(bool doUpdate = true);
|
||||||
void runEmailClient();
|
void runEmailClient();
|
||||||
|
void runEmailClient2();
|
||||||
void showHelpUserCert();
|
void showHelpUserCert();
|
||||||
void copyCert();
|
void copyCert();
|
||||||
void pasteCert();
|
void pasteCert();
|
||||||
|
@ -652,6 +652,23 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="emailButton">
|
||||||
|
<property name="text">
|
||||||
|
<string>Email</string>
|
||||||
|
</property>
|
||||||
|
<property name="icon">
|
||||||
|
<iconset resource="../icons.qrc">
|
||||||
|
<normaloff>:/icons/mail_128.png</normaloff>:/icons/mail_128.png</iconset>
|
||||||
|
</property>
|
||||||
|
<property name="iconSize">
|
||||||
|
<size>
|
||||||
|
<width>32</width>
|
||||||
|
<height>32</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<spacer name="horizontalSpacer">
|
<spacer name="horizontalSpacer">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user