Cppcheck
Public Member Functions | Public Attributes | List of all members
Platforms Class Reference

List of checked platforms. More...

#include <platforms.h>

Inheritance diagram for Platforms:

Public Member Functions

 Platforms (QObject *parent=nullptr)
 
void add (const QString &title, Platform::Type platform)
 
int getCount () const
 
void init ()
 
PlatformDataget (Platform::Type platform)
 

Public Attributes

QList< PlatformDatamPlatforms
 

Detailed Description

List of checked platforms.

Definition at line 45 of file platforms.h.

Constructor & Destructor Documentation

◆ Platforms()

Platforms::Platforms ( QObject *  parent = nullptr)
explicit

Definition at line 21 of file platforms.cpp.

References init().

Member Function Documentation

◆ add()

void Platforms::add ( const QString &  title,
Platform::Type  platform 
)

Definition at line 27 of file platforms.cpp.

References PlatformData::mActMainWindow, mPlatforms, PlatformData::mTitle, and PlatformData::mType.

Referenced by init().

◆ get()

PlatformData & Platforms::get ( Platform::Type  platform)

Definition at line 51 of file platforms.cpp.

References mPlatforms.

Referenced by MainWindow::MainWindow(), and ProjectFileDialog::ProjectFileDialog().

◆ getCount()

int Platforms::getCount ( ) const

Definition at line 46 of file platforms.cpp.

References mPlatforms.

Referenced by MainWindow::MainWindow().

◆ init()

void Platforms::init ( )

Definition at line 36 of file platforms.cpp.

References add().

Referenced by Platforms().

Member Data Documentation

◆ mPlatforms

QList<PlatformData> Platforms::mPlatforms

Definition at line 55 of file platforms.h.

Referenced by add(), get(), getCount(), and MainWindow::MainWindow().


The documentation for this class was generated from the following files: