Get rid of Q_{EMIT,SLOTS,SIGNALS}

This commit is contained in:
seatedscribe 2017-03-16 21:46:53 +01:00
parent 3fcf342fbc
commit 06bbd6e066
No known key found for this signature in database
GPG key ID: 274436320C4CD03B
8 changed files with 10 additions and 10 deletions

View file

@ -634,7 +634,7 @@ void DatabaseWidget::setCurrentWidget(QWidget* widget)
void DatabaseWidget::csvImportFinished(bool accepted)
{
if (!accepted) {
Q_EMIT closeRequest();
emit closeRequest();
}
else {
setCurrentWidget(m_mainWidget);

View file

@ -45,10 +45,10 @@ public:
~CsvImportWidget();
void load(const QString& filename, Database* const db);
Q_SIGNALS:
signals:
void editFinished(bool accepted);
private Q_SLOTS:
private slots:
void parse();
void comboChanged(int comboId);
void skippedChanged(int rows);

View file

@ -38,10 +38,10 @@ public:
~CsvImportWizard();
void load(const QString& filename, Database *database);
Q_SIGNALS:
signals:
void importFinished(bool accepted);
private Q_SLOTS:
private slots:
void keyFinished(bool accepted);
void parseFinished(bool accepted);

View file

@ -43,7 +43,7 @@ public:
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
QVariant headerData(int section, Qt::Orientation orientation, int role) const override;
public Q_SLOTS:
public slots:
void setSkippedRows(int skipped);
private: