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

Remove Q_SLOTS keyword

parent b6e820cc
......@@ -115,7 +115,6 @@ public:
Private()
: mButtonSize(16, 16)
, mIcon(QIcon::fromTheme(QStringLiteral("list-remove")))
, mItemView(nullptr)
{
}
......
......@@ -43,11 +43,9 @@ public:
Q_SIGNALS:
void completed(QWidget *widget);
private Q_SLOTS:
private:
void completed(const QModelIndex &index);
void slotTextEdited();
private:
bool mIsReference;
Item mItem;
};
......@@ -71,11 +69,9 @@ public:
bool editorEvent(QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index) override;
private Q_SLOTS:
private:
void completed(QWidget *widget);
void setFirstColumnAsCurrent();
private:
class Private;
Private *const d;
};
......
......@@ -35,13 +35,12 @@ class TextBrowser : public QTextBrowser
Q_OBJECT
public:
explicit TextBrowser(QWidget *parent = nullptr);
private Q_SLOTS:
void slotCopyData();
protected:
#ifndef QT_NO_CONTEXTMENU
void contextMenuEvent(QContextMenuEvent *event) override;
#endif
private:
void slotCopyData();
QVariant mDataToCopy;
};
}
......
......@@ -43,12 +43,10 @@ public:
protected:
QWidget *createWidget(QWidget *) override;
private Q_SLOTS:
private:
void slotAddWidget(MailWidget *w);
void slotRemoveWidget(MailWidget *w);
void slotPreferredChanged(MailWidget *w);
private:
void reconnectWidget(MailWidget *w);
void updateAddRemoveButton();
};
......
......@@ -49,11 +49,10 @@ Q_SIGNALS:
void removeWidget(MessagingWidget *);
void preferredChanged(MessagingWidget *);
private Q_SLOTS:
private:
void slotAddMessaging();
void slotRemoveMessaging();
void slotPreferredChanged();
private:
PreferredLineEditWidget *mMessagingEdit = nullptr;
QToolButton *mAddButton = nullptr;
QToolButton *mRemoveButton = nullptr;
......
......@@ -44,11 +44,10 @@ public:
protected:
QWidget *createWidget(QWidget *) override;
private Q_SLOTS:
private:
void slotAddWidget(MessagingWidget *w);
void slotRemoveWidget(MessagingWidget *w);
void slotPreferredChanged(MessagingWidget *w);
private:
void reconnectWidget(MessagingWidget *w);
void updateAddRemoveButton();
};
......
......@@ -58,11 +58,9 @@ public:
KContacts::PhoneNumber::Type type() const;
void resetToDefault();
private Q_SLOTS:
private:
void selected(int);
void otherSelected();
private:
void update();
KContacts::PhoneNumber::Type mType;
int mLastSelected;
......
......@@ -50,12 +50,10 @@ Q_SIGNALS:
void removeWidget(PhoneWidget *);
void preferredChanged(PhoneWidget *);
private Q_SLOTS:
private:
void slotAddPhone();
void slotRemovePhone();
void slotPreferredChanged();
private:
PreferredLineEditWidget *mPhoneNumberEdit = nullptr;
QToolButton *mAddButton = nullptr;
QToolButton *mRemoveButton = nullptr;
......
......@@ -44,12 +44,10 @@ public:
protected:
QWidget *createWidget(QWidget *) override;
private Q_SLOTS:
private:
void slotAddWidget(PhoneWidget *w);
void slotRemoveWidget(PhoneWidget *w);
void slotPreferredChanged(PhoneWidget *w);
private:
void reconnectWidget(PhoneWidget *w);
void updateAddRemoveButton();
};
......
......@@ -42,12 +42,10 @@ public:
protected:
QWidget *createWidget(QWidget *) override;
private Q_SLOTS:
private:
void slotAddWidget(WebWidget *w);
void slotRemoveWidget(WebWidget *w);
void slotPreferredChanged(WebWidget *w);
private:
void reconnectWidget(WebWidget *w);
void updateAddRemoveButton();
};
......
......@@ -44,7 +44,7 @@ Q_SIGNALS:
protected:
void contextMenuEvent(QContextMenuEvent *event) override;
private Q_SLOTS:
private:
void emitSignal();
};
......@@ -67,12 +67,10 @@ public:
void setReadOnly(bool readOnly);
private Q_SLOTS:
private:
void dateSelected(const QDate &date);
void resetDate();
void updateView();
private:
DateView *mView = nullptr;
QToolButton *mSelectButton = nullptr;
QToolButton *mClearButton = nullptr;
......
......@@ -40,10 +40,8 @@ public:
Q_SIGNALS:
void preferredChanged(QWidget *w);
private Q_SLOTS:
void slotPreferredStatusChanged();
private:
void slotPreferredStatusChanged();
void updatePreferredIcon();
bool mPreferred;
QIcon mIconEnabled;
......
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