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:

View File

@ -39,7 +39,7 @@
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
<number>2</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">

View File

@ -77,7 +77,7 @@ public:
*/
void detect();
Q_SIGNALS:
signals:
/** Emitted in response to detect() when a device is found
*
* @slot is the slot number detected

View File

@ -32,7 +32,7 @@ class TestCsvParser : public QObject
public:
private Q_SLOTS:
private slots:
void init();
void cleanup();
void initTestCase();

View File

@ -26,7 +26,7 @@ class TestYubiKeyChalResp: public QObject
{
Q_OBJECT
private Q_SLOTS:
private slots:
void initTestCase();
void cleanupTestCase();