mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-08 18:58:29 -05: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)
|
void DatabaseWidget::csvImportFinished(bool accepted)
|
||||||
{
|
{
|
||||||
if (!accepted) {
|
if (!accepted) {
|
||||||
Q_EMIT closeRequest();
|
emit closeRequest();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
setCurrentWidget(m_mainWidget);
|
setCurrentWidget(m_mainWidget);
|
||||||
|
@ -45,10 +45,10 @@ public:
|
|||||||
~CsvImportWidget();
|
~CsvImportWidget();
|
||||||
void load(const QString& filename, Database* const db);
|
void load(const QString& filename, Database* const db);
|
||||||
|
|
||||||
Q_SIGNALS:
|
signals:
|
||||||
void editFinished(bool accepted);
|
void editFinished(bool accepted);
|
||||||
|
|
||||||
private Q_SLOTS:
|
private slots:
|
||||||
void parse();
|
void parse();
|
||||||
void comboChanged(int comboId);
|
void comboChanged(int comboId);
|
||||||
void skippedChanged(int rows);
|
void skippedChanged(int rows);
|
||||||
|
@ -38,10 +38,10 @@ public:
|
|||||||
~CsvImportWizard();
|
~CsvImportWizard();
|
||||||
void load(const QString& filename, Database *database);
|
void load(const QString& filename, Database *database);
|
||||||
|
|
||||||
Q_SIGNALS:
|
signals:
|
||||||
void importFinished(bool accepted);
|
void importFinished(bool accepted);
|
||||||
|
|
||||||
private Q_SLOTS:
|
private slots:
|
||||||
void keyFinished(bool accepted);
|
void keyFinished(bool accepted);
|
||||||
void parseFinished(bool accepted);
|
void parseFinished(bool accepted);
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ public:
|
|||||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
||||||
QVariant headerData(int section, Qt::Orientation orientation, int role) const override;
|
QVariant headerData(int section, Qt::Orientation orientation, int role) const override;
|
||||||
|
|
||||||
public Q_SLOTS:
|
public slots:
|
||||||
void setSkippedRows(int skipped);
|
void setSkippedRows(int skipped);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QTabWidget" name="tabWidget">
|
<widget class="QTabWidget" name="tabWidget">
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>0</number>
|
<number>2</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tab">
|
<widget class="QWidget" name="tab">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
|
@ -77,7 +77,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
void detect();
|
void detect();
|
||||||
|
|
||||||
Q_SIGNALS:
|
signals:
|
||||||
/** Emitted in response to detect() when a device is found
|
/** Emitted in response to detect() when a device is found
|
||||||
*
|
*
|
||||||
* @slot is the slot number detected
|
* @slot is the slot number detected
|
||||||
|
@ -32,7 +32,7 @@ class TestCsvParser : public QObject
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
private Q_SLOTS:
|
private slots:
|
||||||
void init();
|
void init();
|
||||||
void cleanup();
|
void cleanup();
|
||||||
void initTestCase();
|
void initTestCase();
|
||||||
|
@ -26,7 +26,7 @@ class TestYubiKeyChalResp: public QObject
|
|||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
private Q_SLOTS:
|
private slots:
|
||||||
void initTestCase();
|
void initTestCase();
|
||||||
void cleanupTestCase();
|
void cleanupTestCase();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user