Files
pilotclient/samples/hotkey/main.cpp
2024-11-11 15:11:39 +01:00

26 lines
714 B
C++

// SPDX-FileCopyrightText: Copyright (C) 2013 swift Project Community / Contributors
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
//! \file
//! \ingroup samplehotkey
#include "misc/directoryutils.h"
#include "blackgui/components/settingshotkeycomponent.h"
#include "blackgui/guiapplication.h"
#include <QApplication>
using namespace swift::misc;
using namespace BlackGui;
//! main
int main(int argc, char *argv[])
{
CGuiApplication::highDpiScreenSupport();
QApplication qa(argc, argv);
CGuiApplication a("samplehotkey", swift::misc::CApplicationInfo::Sample, QPixmap());
BlackGui::Components::CSettingsHotkeyComponent w;
w.show();
return a.exec();
}