File indexing completed on 2024-12-22 04:45:40
0001 /* 0002 SPDX-FileCopyrightText: 2022-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "administratorsettingsdialog/settingswidgetbase.h" 0010 #include "libruqolawidgets_private_export.h" 0011 class QCheckBox; 0012 class QLineEdit; 0013 class QPlainTextEdit; 0014 class LIBRUQOLAWIDGETS_TESTS_EXPORT AnalyticsWidget : public SettingsWidgetBase 0015 { 0016 Q_OBJECT 0017 public: 0018 explicit AnalyticsWidget(RocketChatAccount *account, QWidget *parent = nullptr); 0019 ~AnalyticsWidget() override; 0020 0021 void initialize(const QMap<QString, QVariant> &mapSettings) override; 0022 0023 private: 0024 QCheckBox *const mMessages; 0025 QCheckBox *const mRooms; 0026 QCheckBox *const mUsers; 0027 QCheckBox *const mGoogleEnabled; 0028 QCheckBox *const mPiwikEnabled; 0029 QLineEdit *const mGoogleTrackingId; 0030 QLineEdit *const mPiwikUrl; 0031 QLineEdit *const mPiwikClientID; 0032 QCheckBox *const mPrependDomain; 0033 QCheckBox *const mAllSubdomains; 0034 QPlainTextEdit *const mAdditionalPiwikSites; 0035 QPlainTextEdit *const mHideOutgoingLinks; 0036 };