Commit b357e2c6 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

not necessary to use slot here

parent 775d1046
Pipeline #198089 passed with stage
in 7 minutes and 8 seconds
......@@ -60,10 +60,8 @@ public Q_SLOTS:
void showArchiveDialog();
void showFilterEditDialog(QList<KCalendarCore::CalFilter *> *filters);
private Q_SLOTS:
void slotHelp();
private:
void slotHelp();
void createCategoryEditor();
class DialogManagerVisitor;
class EditorDialogVisitor;
......
......@@ -22,7 +22,7 @@ public:
explicit ManageShowCollectionProperties(AkonadiCollectionView *collectionView, QObject *parent = nullptr);
~ManageShowCollectionProperties() override;
public Q_SLOTS:
public:
void showCollectionProperties();
private:
......
......@@ -28,19 +28,14 @@ protected:
void usrWriteConfig() override;
void usrReadConfig() override;
private Q_SLOTS:
private:
void useSystemColorToggle(bool useSystemColor);
protected Q_SLOTS:
void updateCategories();
void setCategoryColor();
void updateCategoryColor();
void updateResources();
void setResourceColor();
void updateResourceColor();
private:
QComboBox *mCategoryCombo = nullptr;
KColorButton *mCategoryButton = nullptr;
QHash<QString, QColor> mCategoryDict;
......
......@@ -20,9 +20,7 @@ public:
protected:
void usrWriteConfig() override;
protected Q_SLOTS:
void toggleEmailSettings(bool on);
private:
void toggleEmailSettings(bool on);
QWidget *mUserEmailSettings = nullptr;
};
......@@ -28,11 +28,11 @@ public:
protected Q_SLOTS:
void usrWriteConfig() override;
void usrReadConfig() override;
private:
void configureClicked(QAction *action);
void selectionChanged();
void positioningChanged();
private:
QTreeWidget *const mTreeWidget;
QLabel *const mDescription;
QGroupBox *const mPositioningGroupBox;
......
......@@ -28,9 +28,8 @@ protected:
void usrWriteConfig() override;
void setCombo(KComboBox *combo, const QString &text, const QStringList *tags = nullptr);
private:
void setCombo(KComboBox *combo, const QString &text, const QStringList *tags = nullptr);
QStringList tzonenames;
KPIM::KCheckComboBox *mHolidayCheckCombo = nullptr;
QSpinBox *mReminderTimeSpin = nullptr;
......
......@@ -25,12 +25,10 @@ public:
Quickview(const Akonadi::Collection &col);
~Quickview() override;
private Q_SLOTS:
private:
void onTodayClicked();
void onNextClicked();
void onPreviousClicked();
private:
void readConfig();
void writeConfig();
......
......@@ -36,11 +36,9 @@ Q_SIGNALS:
protected:
QToolButton *createNavigationButton(const QString &icon, const QString &toolTip, const QString &whatsThis);
private Q_SLOTS:
private:
void selectMonthFromMenu();
void selectYearFromMenu();
private:
QDate mDate;
QToolButton *mPrevYear = nullptr;
......
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