Cppcheck
Functions
gui/main.cpp File Reference
#include "cppcheck.h"
#include "common.h"
#include "mainwindow.h"
#include "erroritem.h"
#include "translationhandler.h"
#include <iostream>
#include <algorithm>
#include <string>
#include <QApplication>
#include <QCoreApplication>
#include <QIcon>
#include <QSettings>
#include <QString>
#include <QStringList>
#include <QVariant>

Go to the source code of this file.

Functions

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

Function Documentation

◆ CheckArgs()

static bool CheckArgs ( const QStringList &  args)
static

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

References ShowUsage(), and ShowVersion().

Referenced by main().

◆ main()

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

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

References CheckArgs(), and SETTINGS_LANGUAGE.

◆ ShowUsage()

static void ShowUsage ( )
static

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

Referenced by CheckArgs().

◆ ShowVersion()

static void ShowVersion ( )
static

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

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

Referenced by CheckArgs().