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  QApplication qa(argc, argv);
20  CGuiApplication a("samplehotkey", swift::misc::CApplicationInfo::Sample, QPixmap());
22  w.show();
23  return a.exec();
24 }
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.
void show()
int main(int argc, char *argv[])
main
Definition: main.cpp:20