Cppcheck
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
gui/main.cpp File Reference
#include <QApplication>
#include <QCoreApplication>
#include <QTextCodec>
#include <QMetaType>
#include <QStringList>
#include <QSettings>
#include <iostream>
#include "cppcheck.h"
#include "common.h"
#include "mainwindow.h"
#include "erroritem.h"
#include "aboutdialog.h"
#include "translationhandler.h"

Go to the source code of this file.

Functions

void ShowUsage ()
 
void ShowVersion ()
 
bool CheckArgs (const QStringList &args, QSettings *const settings)
 
int main (int argc, char *argv[])
 

Function Documentation

bool CheckArgs ( const QStringList &  args,
QSettings *const  settings 
)

Definition at line 76 of file gui/main.cpp.

References ShowUsage(), and ShowVersion().

Referenced by main().

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

Definition at line 95 of file gui/main.cpp.

Referenced by CheckArgs().

void ShowVersion ( )

Definition at line 120 of file gui/main.cpp.

References CppCheck::extraVersion(), and CppCheck::version().

Referenced by CheckArgs().