SymbolEditor  1.3.0
 All Classes Files Functions Variables Enumerations Enumerator Friends Pages
Main.cpp File Reference
#include <KAboutData>
#include <KApplication>
#include <KCmdLineArgs>
#include "MainWindow.h"
Include dependency graph for Main.cpp:

Go to the source code of this file.

Functions

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

Detailed Description

Implement the main function that is the first function to be called when the application starts. Initialises the application and creates the MainWindow. Calls exec on the KApplication to begin the event loop.

Definition in file Main.cpp.

Function Documentation

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

The main function creates an instance of a KAboutData object and populates it with any information necessary for the application.

A KCmdLineArgs object is created to manage any arguments passed on the command line. At this time these are not used.

A KApplication object is created to manage the application and a new MainWindow is created and shown on the desktop.

The KApplication instance is then executed which begins the event loop allowing user interaction.

Definition at line 78 of file Main.cpp.