LibrePCB Developers Documentation
Repository Class Referencefinal

The Repository class provides access to a LibrePCB API server. More...

#include <repository.h>

Inherits QObject.

+ Collaboration diagram for Repository:

Signals

void libraryListReceived (const QJsonArray &libs)
 
void errorWhileFetchingLibraryList (const QString &errorMsg)
 

Public Member Functions

 Repository ()=delete
 
 Repository (const Repository &other)=delete
 
 Repository (const QUrl &url) noexcept
 
 ~Repository () noexcept
 
const QUrl & getUrl () const noexcept
 
void requestLibraryList () const noexcept
 
Repositoryoperator= (const Repository &rhs)=delete
 

Private Member Functions

void requestLibraryList (const QUrl &url) const noexcept
 
void requestedDataReceived (const QByteArray &data) noexcept
 

Private Attributes

QUrl mUrl
 

Detailed Description

The Repository class provides access to a LibrePCB API server.

Constructor & Destructor Documentation

◆ Repository() [1/3]

Repository ( )
delete

◆ Repository() [2/3]

Repository ( const Repository other)
delete

◆ Repository() [3/3]

Repository ( const QUrl &  url)
explicitnoexcept

◆ ~Repository()

~Repository ( )
noexcept

Member Function Documentation

◆ getUrl()

const QUrl& getUrl ( ) const
inlinenoexcept
+ Here is the call graph for this function:

◆ requestLibraryList() [1/2]

void requestLibraryList ( ) const
noexcept
+ Here is the caller graph for this function:

◆ operator=()

Repository& operator= ( const Repository rhs)
delete
+ Here is the caller graph for this function:

◆ libraryListReceived

void libraryListReceived ( const QJsonArray &  libs)
signal
+ Here is the caller graph for this function:

◆ errorWhileFetchingLibraryList

void errorWhileFetchingLibraryList ( const QString &  errorMsg)
signal
+ Here is the caller graph for this function:

◆ requestLibraryList() [2/2]

void requestLibraryList ( const QUrl &  url) const
privatenoexcept
+ Here is the call graph for this function:

◆ requestedDataReceived()

void requestedDataReceived ( const QByteArray &  data)
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ mUrl

QUrl mUrl
private

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