mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-03 11:00:14 -05:00
add webmail invite option to homepage dropmenu
This commit is contained in:
parent
76ab91f258
commit
cb960a358d
@ -61,7 +61,10 @@ HomePage::HomePage(QWidget *parent) :
|
||||
|
||||
QAction *SendAction = new QAction(QIcon(),tr("Send via Email"), this);
|
||||
connect(SendAction, SIGNAL(triggered()), this, SLOT(runEmailClient()));
|
||||
|
||||
|
||||
QAction *WebMailAction = new QAction(QIcon(),tr("Invite via WebMail"), this);
|
||||
connect(WebMailAction, SIGNAL(triggered()), this, SLOT(webMail()));
|
||||
|
||||
QAction *RecAction = new QAction(QIcon(),tr("Recommend friends to each others"), this);
|
||||
connect(RecAction, SIGNAL(triggered()), this, SLOT(recommendFriends()));
|
||||
|
||||
@ -69,6 +72,7 @@ HomePage::HomePage(QWidget *parent) :
|
||||
menu->addAction(CopyAction);
|
||||
menu->addAction(SaveAction);
|
||||
menu->addAction(SendAction);
|
||||
menu->addAction(WebMailAction);
|
||||
menu->addAction(RecAction);
|
||||
|
||||
ui->shareButton->setMenu(menu);
|
||||
@ -175,6 +179,14 @@ void HomePage::addFriend()
|
||||
connwiz.exec ();
|
||||
}
|
||||
|
||||
void HomePage::webMail()
|
||||
{
|
||||
ConnectFriendWizard connwiz (this);
|
||||
|
||||
connwiz.setStartId(ConnectFriendWizard::Page_WebMail);
|
||||
connwiz.exec ();
|
||||
}
|
||||
|
||||
void HomePage::runStartWizard()
|
||||
{
|
||||
QuickStartWizard(this).exec();
|
||||
|
@ -53,6 +53,7 @@ private slots:
|
||||
void copyCert();
|
||||
void saveCert();
|
||||
void addFriend();
|
||||
void webMail();
|
||||
void runStartWizard() ;
|
||||
void openWebHelp() ;
|
||||
void recommendFriends();
|
||||
|
Loading…
x
Reference in New Issue
Block a user