swift
main.cpp
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2013 swift Project Community / Contributors
2 // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3 
6 
7 #include <QApplication>
8 
10 #include "gui/guiapplication.h"
11 #include "misc/directoryutils.h"
12 
13 using namespace swift::misc;
14 using namespace swift::gui;
15 
17 int main(int argc, char *argv[])
18 {
19  CGuiApplication::highDpiScreenSupport();
20  QApplication qa(argc, argv);
21  CGuiApplication a("samplehotkey", swift::misc::CApplicationInfo::Sample, QPixmap());
23  w.show();
24  return a.exec();
25 }
int exec()
Finishes initialization and executes the event loop.
GUI application, a specialized version of swift::core::CApplication for GUI applications.
GUI related classes.
Free functions in swift::misc.
int main(int argc, char *argv[])
main
Definition: main.cpp:20