refs #454 #455 #458 Remove obsolete code

This commit is contained in:
Roland Winklmeier
2015-09-03 16:34:04 +00:00
committed by Mathew Sutcliffe
parent be7ac1aa74
commit 08a1de995a
32 changed files with 2 additions and 1848 deletions

View File

@@ -1,26 +0,0 @@
/* Copyright (C) 2013
* 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 and at http://www.swift-project.org/license.html. 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 "keyboardkeyview.h"
#include <QHeaderView>
using namespace BlackMisc;
using namespace BlackGui::Models;
namespace BlackGui
{
namespace Views
{
CKeyboardKeyView::CKeyboardKeyView(QWidget *parent) : CViewBase(parent)
{
this->standardInit(new CKeyboardKeyListModel(this));
this->setItemDelegate(new CKeyboardKeyItemDelegate(this)); // for editing
}
}
}

View File

@@ -1,34 +0,0 @@
/* Copyright (C) 2013
* 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 and at http://www.swift-project.org/license.html. 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.
*/
#ifndef BLACKGUI_KEYBOARDKEYVIEW_H
#define BLACKGUI_KEYBOARDKEYVIEW_H
//! \file
#include "blackgui/blackguiexport.h"
#include "viewbase.h"
#include "../models/keyboardkeylistmodel.h"
namespace BlackGui
{
namespace Views
{
//! Keyboard key view
class BLACKGUI_EXPORT CKeyboardKeyView : public CViewBase<Models::CKeyboardKeyListModel, BlackMisc::Settings::CSettingKeyboardHotkeyList, BlackMisc::Settings::CSettingKeyboardHotkey>
{
public:
//! Constructor
explicit CKeyboardKeyView(QWidget *parent = nullptr);
};
}
}
#endif // guard

View File

@@ -405,7 +405,5 @@ namespace BlackGui
template class CViewBase<BlackGui::Models::CAircraftModelListModel, BlackMisc::Simulation::CAircraftModelList, BlackMisc::Simulation::CAircraftModel>;
template class CViewBase<BlackGui::Models::CDistributorListModel, BlackMisc::Simulation::CDistributorList, BlackMisc::Simulation::CDistributor>;
template class CViewBase<BlackGui::Models::CKeyboardKeyListModel, BlackMisc::Settings::CSettingKeyboardHotkeyList, BlackMisc::Settings::CSettingKeyboardHotkey>;
} // namespace
} // namespace