#pragma once #include #include #include #include class FriendSelectionDialog : public QDialog { public: static std::set selectFriends_PGP(QWidget *parent,const QString& caption,const QString& header_string, FriendSelectionWidget::Modus modus = FriendSelectionWidget::MODUS_MULTI, FriendSelectionWidget::ShowTypes = FriendSelectionWidget::SHOW_GROUP, const std::set& pre_selected_ids = std::set()) ; static std::set selectFriends_SSL(QWidget *parent,const QString& caption,const QString& header_string, FriendSelectionWidget::Modus modus = FriendSelectionWidget::MODUS_MULTI, FriendSelectionWidget::ShowTypes = FriendSelectionWidget::SHOW_GROUP | FriendSelectionWidget::SHOW_SSL, const std::set& pre_selected_ids = std::set()) ; static std::set selectFriends_GXS(QWidget *parent,const QString& caption,const QString& header_string, FriendSelectionWidget::Modus modus = FriendSelectionWidget::MODUS_MULTI, FriendSelectionWidget::ShowTypes = FriendSelectionWidget::SHOW_GROUP | FriendSelectionWidget::SHOW_GXS, const std::set& pre_selected_ids = std::set()) ; 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::set& pre_selected_ids) ; FriendSelectionWidget *friends_widget ; };