From 298b040e26dd15e83ec47c5a0e014fb52590d11b Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Fri, 19 Jul 2019 03:11:36 +0200 Subject: [PATCH] Ref T659, deleted details dialog (not used) --- .../components/networkdetailsdialog.cpp | 45 ---------- .../components/networkdetailsdialog.h | 53 ----------- .../components/networkdetailsdialog.ui | 88 ------------------- 3 files changed, 186 deletions(-) delete mode 100644 src/blackgui/components/networkdetailsdialog.cpp delete mode 100644 src/blackgui/components/networkdetailsdialog.h delete mode 100644 src/blackgui/components/networkdetailsdialog.ui diff --git a/src/blackgui/components/networkdetailsdialog.cpp b/src/blackgui/components/networkdetailsdialog.cpp deleted file mode 100644 index 68cf27c61..000000000 --- a/src/blackgui/components/networkdetailsdialog.cpp +++ /dev/null @@ -1,45 +0,0 @@ -/* Copyright (C) 2019 - * swift project Community / Contributors - * - * This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level - * directory of this distribution. No part of swift project, including this file, may be copied, modified, propagated, - * or distributed except according to the terms contained in the LICENSE file. - */ - -#include "networkdetailsdialog.h" -#include "ui_networkdetailsdialog.h" - -using namespace BlackMisc::Network; -using namespace BlackMisc::Audio; -using namespace BlackCore; - -namespace BlackGui -{ - namespace Components - { - CNetworkDetailsDialog::CNetworkDetailsDialog(QWidget *parent) : - QDialog(parent), - ui(new Ui::CNetworkDetailsDialog) - { - ui->setupUi(this); - } - - CNetworkDetailsDialog::~CNetworkDetailsDialog() - { } - - CFsdSetup CNetworkDetailsDialog::getFsdSetup() const - { - return ui->comp_NetworkDetails->getFsdSetup(); - } - - CVoiceSetup CNetworkDetailsDialog::getVoiceSetup() const - { - return ui->comp_NetworkDetails->getVoiceSetup(); - } - - INetwork::LoginMode CNetworkDetailsDialog::getLoginMode() const - { - return ui->comp_NetworkDetails->getLoginMode(); - } - } // ns -} // ns diff --git a/src/blackgui/components/networkdetailsdialog.h b/src/blackgui/components/networkdetailsdialog.h deleted file mode 100644 index 3dc7aa41d..000000000 --- a/src/blackgui/components/networkdetailsdialog.h +++ /dev/null @@ -1,53 +0,0 @@ -/* Copyright (C) 2019 - * swift project Community / Contributors - * - * This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level - * directory of this distribution. No part of swift project, including this file, may be copied, modified, propagated, - * or distributed except according to the terms contained in the LICENSE file. - */ - -//! \file - -#ifndef BLACKGUI_COMPONENTS_NETWORKDETAILSDIALOG_H -#define BLACKGUI_COMPONENTS_NETWORKDETAILSDIALOG_H - -#include -#include - -#include "blackmisc/network/fsdsetup.h" -#include "blackmisc/audio/voicesetup.h" -#include "blackcore/network.h" - -namespace Ui { class CNetworkDetailsDialog; } -namespace BlackGui -{ - namespace Components - { - //! Network details as dialog - class CNetworkDetailsDialog : public QDialog - { - Q_OBJECT - - public: - //! Ctor - explicit CNetworkDetailsDialog(QWidget *parent = nullptr); - - //! Dtor - virtual ~CNetworkDetailsDialog() override; - - //! FSD setup - BlackMisc::Network::CFsdSetup getFsdSetup() const; - - //! Voice setup - BlackMisc::Audio::CVoiceSetup getVoiceSetup() const; - - //! Login mode - BlackCore::INetwork::LoginMode getLoginMode() const; - - private: - QScopedPointer ui; - }; - } // ns -} // ns - -#endif // guard diff --git a/src/blackgui/components/networkdetailsdialog.ui b/src/blackgui/components/networkdetailsdialog.ui deleted file mode 100644 index 3d4654156..000000000 --- a/src/blackgui/components/networkdetailsdialog.ui +++ /dev/null @@ -1,88 +0,0 @@ - - - CNetworkDetailsDialog - - - - 0 - 0 - 300 - 200 - - - - - 300 - 200 - - - - Network details - - - - - - QFrame::StyledPanel - - - QFrame::Raised - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - BlackGui::Components::CNetworkDetailsComponent - QFrame -
blackgui/components/networkdetailscomponent.h
- 1 -
-
- - - - bb_NetworkDetailsDialog - accepted() - CNetworkDetailsDialog - accept() - - - 248 - 254 - - - 157 - 274 - - - - - bb_NetworkDetailsDialog - rejected() - CNetworkDetailsDialog - reject() - - - 316 - 260 - - - 286 - 274 - - - - -