Commit ed338933 authored by Laurent Montel's avatar Laurent Montel 😁

Reindent a little. Make more easy to read

parent 7c5f81f0
......@@ -7,7 +7,7 @@ modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License or (at your option) version 3 or any later version
accepted by the membership of KDE e.V. (or its successor approved
by the membership of KDE e.V.), which shall act as a proxy
by the membership of KDE e.V.), which shall act as a proxy
defined in Section 14 of version 3 of the license.
This program is distributed in the hope that it will be useful,
......@@ -49,7 +49,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <QPointer>
#include <QMimeDatabase>
// static
QStringList ClipCreationDialog::getExtensions()
{
......@@ -67,7 +66,7 @@ QStringList ClipCreationDialog::getExtensions()
QMimeDatabase db;
QStringList allExtensions;
foreach(const QString & mimeType, mimeTypes) {
foreach (const QString &mimeType, mimeTypes) {
QMimeType mime = db.mimeTypeForName(mimeType);
if (mime.isValid()) {
allExtensions.append(mime.globPatterns());
......@@ -175,16 +174,16 @@ void ClipCreationDialog::createQTextClip(KdenliveDoc *doc, const QStringList &gr
prod.setAttribute(QStringLiteral("type"), (int) QText);
uint id = bin->getFreeClipId();
prod.setAttribute(QStringLiteral("id"), QString::number(id));
prod.setAttribute(QStringLiteral("in"), QStringLiteral("0"));
prod.setAttribute(QStringLiteral("out"), doc->timecode().getFrameCount(dia_ui.duration->text()));
QMap <QString, QString> properties;
properties.insert(QStringLiteral("kdenlive:clipname"), dia_ui.name->text());
if (!groupInfo.isEmpty()) {
properties.insert(QStringLiteral("kdenlive:folderid"), groupInfo.at(0));
}
properties.insert(QStringLiteral("mlt_service"), QStringLiteral("qtext"));
properties.insert(QStringLiteral("out"), QString::number(doc->timecode().getFrameCount(dia_ui.duration->text())));
properties.insert(QStringLiteral("length"), dia_ui.duration->text());
......@@ -292,7 +291,6 @@ void ClipCreationDialog::createTitleClip(KdenliveDoc *doc, const QStringList &gr
delete dia_ui;
}
void ClipCreationDialog::createTitleTemplateClip(KdenliveDoc *doc, const QStringList &groupInfo, Bin *bin)
{
......@@ -332,7 +330,9 @@ void ClipCreationDialog::createTitleTemplateClip(KdenliveDoc *doc, const QString
}
txtfile.close();
if (duration == 0) duration = doc->getFramePos(KdenliveSettings::title_duration());
if (duration == 0) {
duration = doc->getFramePos(KdenliveSettings::title_duration());
}
prod.setAttribute(QStringLiteral("duration"), duration - 1);
prod.setAttribute(QStringLiteral("out"), duration - 1);
......@@ -358,7 +358,7 @@ void ClipCreationDialog::addXmlProperties(QDomElement &producer, QMap <QString,
void ClipCreationDialog::createClipsCommand(KdenliveDoc *doc, const QList<QUrl> &urls, const QStringList &groupInfo, Bin *bin, const QMap <QString, QString> &data)
{
QUndoCommand *addClips = new QUndoCommand();
//TODO: check files on removable volume
/*listRemovableVolumes();
foreach(const QUrl &file, urls) {
......@@ -393,10 +393,8 @@ void ClipCreationDialog::createClipsCommand(KdenliveDoc *doc, const QList<QUrl>
continue;
}
}*/
//TODO check folders
//TODO check folders
/*QList < QList<QUrl> > foldersList;
QMimeDatabase db;
foreach(const QUrl & file, list) {
......@@ -417,7 +415,7 @@ void ClipCreationDialog::createClipsCommand(KdenliveDoc *doc, const QList<QUrl>
}
}*/
foreach(const QUrl &file, urls) {
foreach (const QUrl &file, urls) {
QDomDocument xml;
QDomElement prod = xml.createElement(QStringLiteral("producer"));
xml.appendChild(prod);
......@@ -441,7 +439,9 @@ void ClipCreationDialog::createClipsCommand(KdenliveDoc *doc, const QList<QUrl>
prod.setAttribute(QStringLiteral("type"), (int) Image);
prod.setAttribute(QStringLiteral("in"), 0);
prod.setAttribute(QStringLiteral("out"), doc->getFramePos(KdenliveSettings::image_duration()) - 1);
if (KdenliveSettings::autoimagetransparency()) properties.insert(QStringLiteral("kdenlive:transparency"), QStringLiteral("1"));
if (KdenliveSettings::autoimagetransparency()) {
properties.insert(QStringLiteral("kdenlive:transparency"), QStringLiteral("1"));
}
} else if (type.inherits(QStringLiteral("application/x-kdenlivetitle"))) {
// opening a title file
QDomDocument txtdoc(QStringLiteral("titledocument"));
......@@ -451,10 +451,10 @@ void ClipCreationDialog::createClipsCommand(KdenliveDoc *doc, const QList<QUrl>
prod.setAttribute(QStringLiteral("type"), (int) Text);
// extract embeded images
QDomNodeList items = txtdoc.elementsByTagName(QStringLiteral("content"));
for (int i = 0; i < items.count() ; ++i) {
for (int i = 0; i < items.count(); ++i) {
QDomElement content = items.item(i).toElement();
if (content.hasAttribute(QStringLiteral("base64"))) {
QString titlesFolder = doc->projectDataFolder()+ QStringLiteral("/titles/");
QString titlesFolder = doc->projectDataFolder() + QStringLiteral("/titles/");
QString path = TitleDocument::extractBase64Image(titlesFolder, content.attribute(QStringLiteral("base64")));
if (!path.isEmpty()) {
content.setAttribute(QStringLiteral("url"), path);
......@@ -469,8 +469,9 @@ void ClipCreationDialog::createClipsCommand(KdenliveDoc *doc, const QList<QUrl>
} else if (txtdoc.documentElement().hasAttribute(QStringLiteral("out"))) {
duration = txtdoc.documentElement().attribute(QStringLiteral("out")).toInt();
}
if (duration <= 0)
if (duration <= 0) {
duration = doc->getFramePos(KdenliveSettings::title_duration()) - 1;
}
prod.setAttribute(QStringLiteral("duration"), duration);
prod.setAttribute(QStringLiteral("out"), duration);
txtdoc.documentElement().setAttribute(QStringLiteral("duration"), duration);
......@@ -546,7 +547,7 @@ void ClipCreationDialog::createClipsCommand(KdenliveDoc *doc, const QStringList
// import as sequence if we found more than one image in the sequence
QStringList list;
QString pattern = SlideshowClip::selectedPath(url, false, QString(), &list);
qCDebug(KDENLIVE_LOG)<<" / // IMPORT PATTERN: "<<pattern<<" COUNT: "<<list.count();
qCDebug(KDENLIVE_LOG) << " / // IMPORT PATTERN: " << pattern << " COUNT: " << list.count();
int count = list.count();
if (count > 1) {
delete fileWidget;
......
......@@ -7,7 +7,7 @@ modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License or (at your option) version 3 or any later version
accepted by the membership of KDE e.V. (or its successor approved
by the membership of KDE e.V.), which shall act as a proxy
by the membership of KDE e.V.), which shall act as a proxy
defined in Section 14 of version 3 of the license.
This program is distributed in the hope that it will be useful,
......@@ -19,11 +19,9 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef CLIPCREATIONDIALOG_H
#define CLIPCREATIONDIALOG_H
#include "definitions.h"
class KdenliveDoc;
......@@ -33,26 +31,25 @@ class ProjectClip;
/**
* @namespace ClipCreationDialog
* @brief This namespace contains a list of static methods displaying widgets
* @brief This namespace contains a list of static methods displaying widgets
* allowing creation of all clip types.
*/
namespace ClipCreationDialog
{
QStringList getExtensions();
void createColorClip(KdenliveDoc *doc, const QStringList &groupInfo, Bin *bin);
void createQTextClip(KdenliveDoc *doc, const QStringList &groupInfo, Bin *bin, ProjectClip *clip = Q_NULLPTR);
void createClipFromXml(KdenliveDoc *doc, QDomElement xml, const QStringList &groupInfo, Bin *bin);
void createSlideshowClip(KdenliveDoc *doc, const QStringList &groupInfo, Bin *bin);
void createTitleClip(KdenliveDoc *doc, const QStringList &groupInfo, const QString &templatePath, Bin *bin);
void createTitleTemplateClip(KdenliveDoc *doc, const QStringList &groupInfo, Bin *bin);
void createClipsCommand(KdenliveDoc *doc, const QList<QUrl> &urls, const QStringList &groupInfo, Bin *bin, const QMap <QString, QString> &data = QMap <QString, QString>());
void createClipsCommand(Bin *bin, const QDomElement &producer, const QString &id, QUndoCommand *command);
void createClipsCommand(KdenliveDoc *doc, const QStringList &groupInfo, Bin *bin);
void addXmlProperties(QDomElement &producer, QMap <QString, QString> &properties);
QStringList getExtensions();
void createColorClip(KdenliveDoc *doc, const QStringList &groupInfo, Bin *bin);
void createQTextClip(KdenliveDoc *doc, const QStringList &groupInfo, Bin *bin, ProjectClip *clip = Q_NULLPTR);
void createClipFromXml(KdenliveDoc *doc, QDomElement xml, const QStringList &groupInfo, Bin *bin);
void createSlideshowClip(KdenliveDoc *doc, const QStringList &groupInfo, Bin *bin);
void createTitleClip(KdenliveDoc *doc, const QStringList &groupInfo, const QString &templatePath, Bin *bin);
void createTitleTemplateClip(KdenliveDoc *doc, const QStringList &groupInfo, Bin *bin);
void createClipsCommand(KdenliveDoc *doc, const QList<QUrl> &urls, const QStringList &groupInfo, Bin *bin, const QMap <QString, QString> &data = QMap <QString, QString>());
void createClipsCommand(Bin *bin, const QDomElement &producer, const QString &id, QUndoCommand *command);
void createClipsCommand(KdenliveDoc *doc, const QStringList &groupInfo, Bin *bin);
void addXmlProperties(QDomElement &producer, QMap <QString, QString> &properties);
};
#endif
......@@ -28,7 +28,7 @@
#include <QPlainTextEdit>
#include <QStandardPaths>
EncodingProfilesDialog::EncodingProfilesDialog(int profileType, QWidget * parent) :
EncodingProfilesDialog::EncodingProfilesDialog(int profileType, QWidget *parent) :
QDialog(parent),
m_configGroup(Q_NULLPTR)
{
......@@ -98,24 +98,27 @@ void EncodingProfilesDialog::slotLoadProfiles()
}
profile_list->blockSignals(false);
profile_list->setCurrentRow(0);
button_delete->setEnabled(profile_list->count() > 0);
button_edit->setEnabled(profile_list->count() > 0);
const bool multiProfile(profile_list->count() > 0);
button_delete->setEnabled(multiProfile);
button_edit->setEnabled(multiProfile);
}
void EncodingProfilesDialog::slotShowParams()
{
profile_parameters->clear();
QListWidgetItem *item = profile_list->currentItem();
if (!item)
if (!item) {
return;
}
profile_parameters->setPlainText(item->data(Qt::UserRole).toString().section(';', 0, 0));
}
void EncodingProfilesDialog::slotDeleteProfile()
{
QListWidgetItem *item = profile_list->currentItem();
if (!item)
if (!item) {
return;
}
QString profile = item->text();
m_configGroup->deleteEntry(profile);
slotLoadProfiles();
......@@ -187,5 +190,3 @@ void EncodingProfilesDialog::slotEditProfile()
delete d;
}
......@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef ENCODINGPROFILESDIALOG_H
#define ENCODINGPROFILESDIALOG_H
......@@ -31,7 +30,7 @@ class EncodingProfilesDialog : public QDialog, Ui::ManageEncodingProfile_UI
Q_OBJECT
public:
explicit EncodingProfilesDialog(int profileType, QWidget * parent = Q_NULLPTR);
explicit EncodingProfilesDialog(int profileType, QWidget *parent = Q_NULLPTR);
~EncodingProfilesDialog();
private slots:
......@@ -46,6 +45,5 @@ private:
KConfigGroup *m_configGroup;
};
#endif
This diff is collapsed.
......@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef KDENLIVESETTINGSDIALOG_H
#define KDENLIVESETTINGSDIALOG_H
......@@ -41,7 +40,7 @@ class KdenliveSettingsDialog : public KConfigDialog
Q_OBJECT
public:
KdenliveSettingsDialog(const QMap<QString, QString>& mappable_actions, bool gpuAllowed, QWidget * parent = Q_NULLPTR);
KdenliveSettingsDialog(const QMap<QString, QString> &mappable_actions, bool gpuAllowed, QWidget *parent = Q_NULLPTR);
~KdenliveSettingsDialog();
void showPage(int page, int option);
void checkProfile();
......@@ -106,7 +105,7 @@ private:
bool m_modified;
bool m_shuttleModified;
QMap<QString, QString> m_mappable_actions;
QVector<KComboBox*> m_shuttle_buttons;
QVector<KComboBox *> m_shuttle_buttons;
void initDevices();
void loadTranscodeProfiles();
void saveTranscodeProfiles();
......@@ -127,6 +126,5 @@ signals:
void checkTabPosition();
};
#endif
This diff is collapsed.
......@@ -17,11 +17,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef PROFILESDIALOG_H
#define PROFILESDIALOG_H
#include "definitions.h"
#include "ui_profiledialog_ui.h"
#include <mlt++/Mlt.h>
......@@ -33,12 +31,12 @@ class ProfilesDialog : public QDialog
Q_OBJECT
public:
explicit ProfilesDialog(const QString &profileDescription = QString(), QWidget * parent = Q_NULLPTR);
explicit ProfilesDialog(const QString &profileDescription = QString(), QWidget *parent = Q_NULLPTR);
/** @brief Using this constructor, the dialog only allows editing one profile. */
explicit ProfilesDialog(const QString &profilePath, bool, QWidget * parent = Q_NULLPTR);
explicit ProfilesDialog(const QString &profilePath, bool, QWidget *parent = Q_NULLPTR);
void fillList(const QString &selectedProfile = QString());
static QMap< QString, QString > getSettingsFromFile(const QString& path);
static QMap< QString, QString > getSettingsFromFile(const QString &path);
/** @brief Create profile from xml in MLT project file */
static MltVideoProfile getVideoProfileFromXml(const QDomElement &element);
static MltVideoProfile getVideoProfile(const QString &name);
......@@ -109,6 +107,5 @@ private:
bool askForSave();
};
#endif
This diff is collapsed.
......@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef RENDERWIDGET_H
#define RENDERWIDGET_H
......@@ -33,7 +32,6 @@
class QDomElement;
class QKeyEvent;
// RenderViewDelegate is used to draw the progress bars.
class RenderViewDelegate : public QStyledItemDelegate
{
......@@ -42,7 +40,8 @@ public:
explicit RenderViewDelegate(QWidget *parent) : QStyledItemDelegate(parent) {}
void paint(QPainter *painter, const QStyleOptionViewItem &option,
const QModelIndex &index) const Q_DECL_OVERRIDE {
const QModelIndex &index) const Q_DECL_OVERRIDE
{
if (index.column() == 1) {
painter->save();
QStyleOptionViewItem opt(option);
......@@ -58,11 +57,11 @@ public:
int mid = (int)((r1.height() / 2));
r1.setBottom(r1.y() + mid);
QRect bounding;
painter->drawText(r1, Qt::AlignLeft | Qt::AlignTop ,index.data().toString(), &bounding);
painter->drawText(r1, Qt::AlignLeft | Qt::AlignTop, index.data().toString(), &bounding);
r1.moveTop(r1.bottom() - textMargin);
font.setBold(false);
painter->setFont(font);
painter->drawText(r1, Qt::AlignLeft | Qt::AlignTop , index.data(Qt::UserRole).toString());
painter->drawText(r1, Qt::AlignLeft | Qt::AlignTop, index.data(Qt::UserRole).toString());
int progress = index.data(Qt::UserRole + 3).toInt();
if (progress > 0 && progress < 100) {
// draw progress bar
......@@ -83,18 +82,19 @@ public:
} else {
r1.setBottom(opt.rect.bottom());
r1.setTop(r1.bottom() - mid);
painter->drawText(r1, Qt::AlignLeft | Qt::AlignBottom , index.data(Qt::UserRole + 5).toString());
painter->drawText(r1, Qt::AlignLeft | Qt::AlignBottom, index.data(Qt::UserRole + 5).toString());
}
painter->restore();
} else QStyledItemDelegate::paint(painter, option, index);
} else {
QStyledItemDelegate::paint(painter, option, index);
}
}
};
class RenderJobItem: public QTreeWidgetItem
{
public:
explicit RenderJobItem(QTreeWidget * parent, const QStringList & strings, int type = QTreeWidgetItem::Type);
explicit RenderJobItem(QTreeWidget *parent, const QStringList &strings, int type = QTreeWidgetItem::Type);
void setStatus(int status);
int status() const;
void setMetadata(const QString &data);
......@@ -111,16 +111,16 @@ class RenderWidget : public QDialog
Q_OBJECT
public:
explicit RenderWidget(const QString &projectfolder, bool enableProxy, const MltVideoProfile &profile, QWidget * parent = Q_NULLPTR);
explicit RenderWidget(const QString &projectfolder, bool enableProxy, const MltVideoProfile &profile, QWidget *parent = Q_NULLPTR);
virtual ~RenderWidget();
void setGuides(const QMap<double, QString> &guidesData, double duration);
void focusFirstVisibleItem(const QString &profile = QString());
void setProfile(const MltVideoProfile& profile);
void setProfile(const MltVideoProfile &profile);
void setRenderJob(const QString &dest, int progress = 0);
void setRenderStatus(const QString &dest, int status, const QString &error);
void setDocumentPath(const QString &path);
void reloadProfiles();
void setRenderProfile(const QMap <QString, QString>& props);
void setRenderProfile(const QMap <QString, QString> &props);
int waitingJobsCount() const;
QString getFreeScriptName(const QUrl &projectName = QUrl(), const QString &prefix = QString());
bool startWaitingRenderJobs();
......@@ -139,7 +139,7 @@ public:
ProfileError = 1,
ProxyWarning = 2
};
/** @brief Display warning message in render widget. */
void errorMessage(RenderError type, const QString &message);
......@@ -149,9 +149,9 @@ protected:
public slots:
void slotExport(bool scriptExport, int zoneIn, int zoneOut,
const QMap <QString, QString> &metadata,
const QList<QString> &playlistPaths, const QList<QString> &trackNames,
const QString &scriptPath, bool exportAudio);
const QMap <QString, QString> &metadata,
const QList<QString> &playlistPaths, const QList<QString> &trackNames,
const QString &scriptPath, bool exportAudio);
void slotAbortCurrentJob();
void slotPrepareExport(bool scriptExport = false, const QString &scriptPath = QString());
......@@ -232,6 +232,5 @@ signals:
void shutdown();
};
#endif
......@@ -7,7 +7,7 @@ modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License or (at your option) version 3 or any later version
accepted by the membership of KDE e.V. (or its successor approved
by the membership of KDE e.V.), which shall act as a proxy
by the membership of KDE e.V.), which shall act as a proxy
defined in Section 14 of version 3 of the license.
This program is distributed in the hope that it will be useful,
......@@ -29,7 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <QDir>
#include <QStandardPaths>
TitleTemplateDialog::TitleTemplateDialog(const QString &folder, QWidget * parent) :
TitleTemplateDialog::TitleTemplateDialog(const QString &folder, QWidget *parent) :
QDialog(parent)
{
m_view.setupUi(this);
......@@ -41,25 +41,26 @@ TitleTemplateDialog::TitleTemplateDialog(const QString &folder, QWidget * parent
// Project templates
QDir dir(path);
QStringList templateFiles = dir.entryList(filter, QDir::Files);
foreach(const QString & fname, templateFiles) {
foreach (const QString &fname, templateFiles) {
m_view.template_list->comboBox()->addItem(fname, dir.absoluteFilePath(fname));
}
// System templates
QStringList titleTemplates = QStandardPaths::locateAll(QStandardPaths::DataLocation, QStringLiteral("titles/"), QStandardPaths::LocateDirectory);
foreach(const QString & folderpath, titleTemplates) {
foreach (const QString &folderpath, titleTemplates) {
QDir folder(folderpath);
QStringList filesnames = folder.entryList(filter, QDir::Files);
foreach(const QString & fname, filesnames) {
foreach (const QString &fname, filesnames) {
m_view.template_list->comboBox()->addItem(fname, folder.absoluteFilePath(fname));
}
}
if (!templateFiles.isEmpty())
if (!templateFiles.isEmpty()) {
m_view.buttonBox->button(QDialogButtonBox::Ok)->setFocus();
}
QStringList mimeTypeFilters;
mimeTypeFilters <<QStringLiteral("application/x-kdenlivetitle");
mimeTypeFilters << QStringLiteral("application/x-kdenlivetitle");
m_view.template_list->setFilter(mimeTypeFilters.join(' '));
connect(m_view.template_list->comboBox(), SIGNAL(currentIndexChanged(int)), this, SLOT(updatePreview()));
updatePreview();
......@@ -68,7 +69,9 @@ TitleTemplateDialog::TitleTemplateDialog(const QString &folder, QWidget * parent
QString TitleTemplateDialog::selectedTemplate() const
{
QString textTemplate = m_view.template_list->comboBox()->itemData(m_view.template_list->comboBox()->currentIndex()).toString();
if (textTemplate.isEmpty()) textTemplate = m_view.template_list->comboBox()->currentText();
if (textTemplate.isEmpty()) {
textTemplate = m_view.template_list->comboBox()->currentText();
}
return textTemplate;
}
......@@ -80,7 +83,9 @@ QString TitleTemplateDialog::selectedText() const
void TitleTemplateDialog::updatePreview()
{
QString textTemplate = m_view.template_list->comboBox()->itemData(m_view.template_list->comboBox()->currentIndex()).toString();
if (textTemplate.isEmpty()) textTemplate = m_view.template_list->comboBox()->currentText();
if (textTemplate.isEmpty()) {
textTemplate = m_view.template_list->comboBox()->currentText();
}
QPixmap pix = KThumb::getImage(QUrl::fromLocalFile(textTemplate), m_view.preview->width());
m_view.preview->setPixmap(pix);
}
......@@ -7,7 +7,7 @@ modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License or (at your option) version 3 or any later version
accepted by the membership of KDE e.V. (or its successor approved
by the membership of KDE e.V.), which shall act as a proxy
by the membership of KDE e.V.), which shall act as a proxy
defined in Section 14 of version 3 of the license.
This program is distributed in the hope that it will be useful,
......@@ -24,13 +24,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "ui_templateclip_ui.h"
class TitleTemplateDialog : public QDialog
{
Q_OBJECT
public:
explicit TitleTemplateDialog(const QString &folder, QWidget * parent = Q_NULLPTR);
explicit TitleTemplateDialog(const QString &folder, QWidget *parent = Q_NULLPTR);
QString selectedTemplate() const;
QString selectedText() const;
......
This diff is collapsed.
......@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef WIZARD_H
#define WIZARD_H
......@@ -25,7 +24,6 @@
#include <QVBoxLayout>
#include <QWizardPage>
#include "ui_wizardstandard_ui.h"
#include "ui_wizardextra_ui.h"
#include "ui_wizardcheck_ui.h"
......@@ -47,7 +45,7 @@ class Wizard : public QWizard
{
Q_OBJECT
public:
explicit Wizard(bool autoClose, QWidget * parent = Q_NULLPTR);
explicit Wizard(bool autoClose, QWidget *parent = Q_NULLPTR);
void installExtraMimes(const QString &baseName, const QStringList &globs);
void runUpdateMimeDatabase();
void adjustSettings();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment