mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-22 15:51:29 -04:00

- added key removal method in OpenPGP-SDK - improved FriendSelectionDialog/Widget to enable select all/none keys, and show non friend keys - added safe key removal method in PGPHandler. Removed keys from other locations will not cause errors. - added backup system to public keyring, impossibility to remove public parts of owned secret keys, etc. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6382 b45a01b8-16f6-495d-af2f-9b41ad6348cc
22 lines
1 KiB
C++
22 lines
1 KiB
C++
#pragma once
|
|
|
|
#include <QDialog>
|
|
#include <gui/common/FriendSelectionWidget.h>
|
|
|
|
class FriendSelectionDialog : public QDialog
|
|
{
|
|
public:
|
|
static std::list<std::string> selectFriends(QWidget *parent,const QString& caption,const QString& header_string,
|
|
FriendSelectionWidget::Modus modus = FriendSelectionWidget::MODUS_MULTI,
|
|
FriendSelectionWidget::ShowTypes = FriendSelectionWidget::SHOW_GROUP | FriendSelectionWidget::SHOW_SSL,
|
|
FriendSelectionWidget::IdType pre_selected_id_type = FriendSelectionWidget::IDTYPE_SSL,
|
|
const std::list<std::string>& pre_selected_ids = std::list<std::string>()) ;
|
|
private:
|
|
virtual ~FriendSelectionDialog() ;
|
|
FriendSelectionDialog(QWidget *parent,const QString& header_string,FriendSelectionWidget::Modus modus,FriendSelectionWidget::ShowTypes show_type,
|
|
FriendSelectionWidget::IdType pre_selected_id_type,
|
|
const std::list<std::string>& pre_selected_ids) ;
|
|
|
|
FriendSelectionWidget *friends_widget ;
|
|
};
|
|
|