mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Get rid of Q_{EMIT,SLOTS,SIGNALS}
This commit is contained in:
parent
3fcf342fbc
commit
06bbd6e066
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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:
|
||||
|
@ -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">
|
||||
|
@ -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
|
||||
|
@ -32,7 +32,7 @@ class TestCsvParser : public QObject
|
||||
|
||||
public:
|
||||
|
||||
private Q_SLOTS:
|
||||
private slots:
|
||||
void init();
|
||||
void cleanup();
|
||||
void initTestCase();
|
||||
|
@ -26,7 +26,7 @@ class TestYubiKeyChalResp: public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
private Q_SLOTS:
|
||||
private slots:
|
||||
void initTestCase();
|
||||
void cleanupTestCase();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user