Commit e8883e2e authored by Laurent Montel's avatar Laurent Montel
Browse files

Not necessary to use Q_SLOTS here

parent 8ff1326e
Pipeline #224896 passed with stage
in 6 minutes and 23 seconds
......@@ -67,10 +67,8 @@ protected:
void resizeEvent(QResizeEvent *) override;
bool eventFilter(QObject *, QEvent *event) override;
private Q_SLOTS:
void slotAnimFinished();
private:
void slotAnimFinished();
QPointer<QWidget> mContent;
QPointer<QPropertyAnimation> mAnim;
bool mSlidingOut = false;
......
......@@ -34,9 +34,6 @@ public:
Q_REQUIRED_RESULT QString searchText() const;
private Q_SLOTS:
void slotAutoSearch(const QString &str);
Q_SIGNALS:
void findNext();
void findPrev();
......@@ -46,6 +43,7 @@ Q_SIGNALS:
void searchStringEmpty(bool);
private:
void slotAutoSearch(const QString &str);
void slotRegularExpressionChanged(bool b);
QLineEdit *const mSearch;
QAction *mCaseSensitiveAct = nullptr;
......
......@@ -38,11 +38,9 @@ protected:
public Q_SLOTS:
void slotBlockCountChanged(int numberBlockCount);
private Q_SLOTS:
private:
void slotCloseBar();
void slotGoToLine();
private:
std::unique_ptr<TextGoToLineWidgetPrivate> const d;
};
}
......@@ -66,7 +66,8 @@ public Q_SLOTS:
void slotCheckSpelling();
void slotSpeakText();
void slotZoomReset();
private Q_SLOTS:
private:
void slotUndoableClear();
void slotSpellCheckerMisspelling(const QString &text, int pos);
void slotSpellCheckerCorrected(const QString &, int, const QString &);
......
......@@ -38,13 +38,12 @@ public:
void setSpellCheckingConfigFileName(const QString &_fileName);
Q_REQUIRED_RESULT bool isEmpty() const;
private Q_SLOTS:
private:
void slotFind();
void slotReplace();
void slotHideFindBar();
private:
void init(PlainTextEditor *customEditor = nullptr);
std::unique_ptr<PlainTextEditorWidgetPrivate> const d;
};
......
Supports Markdown
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