SynchroTime
Functions
main.cpp File Reference

The file contains main functions main() More...

#include "mainwindow.h"
#include <QApplication>
#include <QTranslator>
#include <QLocale>
#include <QLibraryInfo>
#include <QtPlugin>
Include dependency graph for main.cpp:

Functions

int main (int argc, char *argv[])
 main function of SynchroTimeApp More...
 

Detailed Description

The file contains main functions main()

The main function executes the Qt application instance in a event loop, sets it up with the specified parameters, and installs a Qt Translator and GUI MainWindow.

Function Documentation

int main ( int  argc,
char *  argv[] 
)

main function of SynchroTimeApp

In this function, an instance of a Qt-GUI application app is executed in a event loop and set up with the parameters entered.

Parameters
[in]argcthe number of parameter.
[in]argvthe command line options.
Returns
value of the function QApplication::exec() Enters the main event loop and waits until exit() is called. Returns the value that was set to exit() (which is 0 if exit() is called via quit()).