mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-03 04:15:37 -04:00
[libcalamaresui] Apply coding style
This commit is contained in:
parent
8af17fafe1
commit
0e71957b74
14 changed files with 15 additions and 15 deletions
|
@ -98,7 +98,7 @@ ProcessJobModule::ProcessJobModule()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ProcessJobModule::~ProcessJobModule() {}
|
ProcessJobModule::~ProcessJobModule() { }
|
||||||
|
|
||||||
|
|
||||||
} // namespace Calamares
|
} // namespace Calamares
|
||||||
|
|
|
@ -80,7 +80,7 @@ PythonJobModule::PythonJobModule()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
PythonJobModule::~PythonJobModule() {}
|
PythonJobModule::~PythonJobModule() { }
|
||||||
|
|
||||||
|
|
||||||
} // namespace Calamares
|
} // namespace Calamares
|
||||||
|
|
|
@ -188,6 +188,6 @@ PythonQtViewModule::PythonQtViewModule()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
PythonQtViewModule::~PythonQtViewModule() {}
|
PythonQtViewModule::~PythonQtViewModule() { }
|
||||||
|
|
||||||
} // namespace Calamares
|
} // namespace Calamares
|
||||||
|
|
|
@ -40,7 +40,7 @@ ImageRegistry::instance()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ImageRegistry::ImageRegistry() {}
|
ImageRegistry::ImageRegistry() { }
|
||||||
|
|
||||||
|
|
||||||
QIcon
|
QIcon
|
||||||
|
|
|
@ -71,14 +71,14 @@ addExpansions( QmlSearch method, QStringList& candidates, const QStringList& nam
|
||||||
std::transform( names.constBegin(),
|
std::transform( names.constBegin(),
|
||||||
names.constEnd(),
|
names.constEnd(),
|
||||||
std::back_inserter( candidates ),
|
std::back_inserter( candidates ),
|
||||||
[&]( const QString& s ) { return s.isEmpty() ? QString() : bPath.arg( brandDir, s ); } );
|
[ & ]( const QString& s ) { return s.isEmpty() ? QString() : bPath.arg( brandDir, s ); } );
|
||||||
}
|
}
|
||||||
if ( ( method == QmlSearch::Both ) || ( method == QmlSearch::QrcOnly ) )
|
if ( ( method == QmlSearch::Both ) || ( method == QmlSearch::QrcOnly ) )
|
||||||
{
|
{
|
||||||
std::transform( names.constBegin(),
|
std::transform( names.constBegin(),
|
||||||
names.constEnd(),
|
names.constEnd(),
|
||||||
std::back_inserter( candidates ),
|
std::back_inserter( candidates ),
|
||||||
[&]( const QString& s ) { return s.isEmpty() ? QString() : qrPath.arg( s ); } );
|
[ & ]( const QString& s ) { return s.isEmpty() ? QString() : qrPath.arg( s ); } );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,7 @@ BlankViewStep::BlankViewStep( const QString& title,
|
||||||
m_widget->setLayout( layout );
|
m_widget->setLayout( layout );
|
||||||
}
|
}
|
||||||
|
|
||||||
BlankViewStep::~BlankViewStep() {}
|
BlankViewStep::~BlankViewStep() { }
|
||||||
|
|
||||||
QString
|
QString
|
||||||
BlankViewStep::prettyName() const
|
BlankViewStep::prettyName() const
|
||||||
|
|
|
@ -40,7 +40,7 @@ class GlobalStorage : public QObject
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit GlobalStorage( Calamares::GlobalStorage* gs );
|
explicit GlobalStorage( Calamares::GlobalStorage* gs );
|
||||||
virtual ~GlobalStorage() {}
|
virtual ~GlobalStorage() { }
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
bool contains( const QString& key ) const;
|
bool contains( const QString& key ) const;
|
||||||
|
|
|
@ -44,7 +44,7 @@ class PythonQtJob : public Calamares::Job
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
virtual ~PythonQtJob() {}
|
virtual ~PythonQtJob() { }
|
||||||
|
|
||||||
QString prettyName() const override;
|
QString prettyName() const override;
|
||||||
QString prettyDescription() const override;
|
QString prettyDescription() const override;
|
||||||
|
|
|
@ -33,7 +33,7 @@ class Utils : public QObject
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit Utils( QObject* parent = nullptr );
|
explicit Utils( QObject* parent = nullptr );
|
||||||
virtual ~Utils() {}
|
virtual ~Utils() { }
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void debug( const QString& s ) const;
|
void debug( const QString& s ) const;
|
||||||
|
|
|
@ -88,7 +88,7 @@ QmlViewStep::QmlViewStep( QObject* parent )
|
||||||
// QML Loading starts when the configuration for the module is set.
|
// QML Loading starts when the configuration for the module is set.
|
||||||
}
|
}
|
||||||
|
|
||||||
QmlViewStep::~QmlViewStep() {}
|
QmlViewStep::~QmlViewStep() { }
|
||||||
|
|
||||||
QString
|
QString
|
||||||
QmlViewStep::prettyName() const
|
QmlViewStep::prettyName() const
|
||||||
|
|
|
@ -28,7 +28,7 @@ ViewStep::ViewStep( QObject* parent )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ViewStep::~ViewStep() {}
|
ViewStep::~ViewStep() { }
|
||||||
|
|
||||||
|
|
||||||
QString
|
QString
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
#ifndef VIEWSTEP_H
|
#ifndef VIEWSTEP_H
|
||||||
#define VIEWSTEP_H
|
#define VIEWSTEP_H
|
||||||
|
|
||||||
#include "Job.h"
|
|
||||||
#include "DllMacro.h"
|
#include "DllMacro.h"
|
||||||
|
#include "Job.h"
|
||||||
|
|
||||||
#include "modulesystem/InstanceKey.h"
|
#include "modulesystem/InstanceKey.h"
|
||||||
#include "modulesystem/Requirement.h"
|
#include "modulesystem/Requirement.h"
|
||||||
|
|
|
@ -33,7 +33,7 @@ ClickableLabel::ClickableLabel( const QString& text, QWidget* parent )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ClickableLabel::~ClickableLabel() {}
|
ClickableLabel::~ClickableLabel() { }
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -26,7 +26,7 @@ FixedAspectRatioLabel::FixedAspectRatioLabel( QWidget* parent )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
FixedAspectRatioLabel::~FixedAspectRatioLabel() {}
|
FixedAspectRatioLabel::~FixedAspectRatioLabel() { }
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue