diff --git a/plugins/gabble/gabble-account-ui-plugin.h b/plugins/gabble/gabble-account-ui-plugin.h index 63ac503..e6bf222 100644 --- a/plugins/gabble/gabble-account-ui-plugin.h +++ b/plugins/gabble/gabble-account-ui-plugin.h @@ -1,44 +1,44 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2009 Collabora Ltd. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_GABBLE_ACCOUNT_UI_PLUGIN_H #define KCMTELEPATHYACCOUNTS_PLUGIN_GABBLE_ACCOUNT_UI_PLUGIN_H #include #include class GabbleAccountUiPlugin : public AbstractAccountUiPlugin { Q_OBJECT public: GabbleAccountUiPlugin(QObject *parent, const QVariantList &); - virtual ~GabbleAccountUiPlugin(); + ~GabbleAccountUiPlugin() override; - virtual AbstractAccountUi* accountUi(const QString &connectionManager, const QString &protocol, const QString &serviceName) override; + AbstractAccountUi* accountUi(const QString &connectionManager, const QString &protocol, const QString &serviceName) override; private: Q_DISABLE_COPY(GabbleAccountUiPlugin) }; #endif // header guard diff --git a/plugins/gabble/gabble-account-ui.h b/plugins/gabble/gabble-account-ui.h index 775c4a3..3e3bb44 100644 --- a/plugins/gabble/gabble-account-ui.h +++ b/plugins/gabble/gabble-account-ui.h @@ -1,48 +1,48 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2009 Collabora Ltd. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_GABBLE_ACCOUNT_UI_H #define KCMTELEPATHYACCOUNTS_PLUGIN_GABBLE_ACCOUNT_UI_H #include class GabbleAccountUi : public AbstractAccountUi { Q_OBJECT public: explicit GabbleAccountUi(const QString &serviceName, QObject *parent = 0); - virtual ~GabbleAccountUi(); + ~GabbleAccountUi() override; - virtual AbstractAccountParametersWidget + AbstractAccountParametersWidget *mainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; - virtual bool hasAdvancedOptionsWidget() const override; - virtual AbstractAccountParametersWidget + bool hasAdvancedOptionsWidget() const override; + AbstractAccountParametersWidget *advancedOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; private: Q_DISABLE_COPY(GabbleAccountUi) QString m_serviceName; }; #endif // header guard diff --git a/plugins/gabble/main-options-widget-facebook.h b/plugins/gabble/main-options-widget-facebook.h index 4e15688..c9086ce 100644 --- a/plugins/gabble/main-options-widget-facebook.h +++ b/plugins/gabble/main-options-widget-facebook.h @@ -1,46 +1,46 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 David Edmundson * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_GABBLE_ACCOUNT_PARAMETERS_WIDGET_FACEBOOK_H #define KCMTELEPATHYACCOUNTS_PLUGIN_GABBLE_ACCOUNT_PARAMETERS_WIDGET_FACEBOOK_H #include "ui_main-options-widget-facebook.h" #include class MainOptionsWidgetFacebook : public AbstractAccountParametersWidget { Q_OBJECT Q_DISABLE_COPY(MainOptionsWidgetFacebook) public: explicit MainOptionsWidgetFacebook(ParameterEditModel *model, QWidget *parent = 0); - virtual ~MainOptionsWidgetFacebook(); + ~MainOptionsWidgetFacebook() override; - virtual void submit() override; - virtual bool validateParameterValues() override; - virtual QString defaultDisplayName() const override; + void submit() override; + bool validateParameterValues() override; + QString defaultDisplayName() const override; private: Ui::MainOptionsWidgetFacebook *m_ui; }; #endif // header guard diff --git a/plugins/gabble/main-options-widget-googletalk.h b/plugins/gabble/main-options-widget-googletalk.h index 6004548..9f3991c 100644 --- a/plugins/gabble/main-options-widget-googletalk.h +++ b/plugins/gabble/main-options-widget-googletalk.h @@ -1,45 +1,45 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 David Edmundson. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_GABBLE_ACCOUNT_PARAMETERS_WIDGET_GOOGLETALK_H #define KCMTELEPATHYACCOUNTS_PLUGIN_GABBLE_ACCOUNT_PARAMETERS_WIDGET_GOOGLETALK_H #include "ui_main-options-widget-googletalk.h" #include class MainOptionsWidgetGoogleTalk : public AbstractAccountParametersWidget { Q_OBJECT Q_DISABLE_COPY(MainOptionsWidgetGoogleTalk) public: explicit MainOptionsWidgetGoogleTalk(ParameterEditModel *model, QWidget *parent = 0); - virtual ~MainOptionsWidgetGoogleTalk(); + ~MainOptionsWidgetGoogleTalk() override; - virtual QString defaultDisplayName() const override; + QString defaultDisplayName() const override; private: Ui::MainOptionsWidgetGoogleTalk *m_ui; }; #endif // header guard diff --git a/plugins/gabble/main-options-widget-kde-talk.h b/plugins/gabble/main-options-widget-kde-talk.h index 5b9f090..9fe8769 100644 --- a/plugins/gabble/main-options-widget-kde-talk.h +++ b/plugins/gabble/main-options-widget-kde-talk.h @@ -1,51 +1,51 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2012 Daniele E. Domenichelli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_GABBLE_ACCOUNT_PARAMETERS_WIDGET_KDE_TALK_H #define KCMTELEPATHYACCOUNTS_PLUGIN_GABBLE_ACCOUNT_PARAMETERS_WIDGET_KDE_TALK_H #include namespace Ui { class MainOptionsWidgetKDETalk; } class MainOptionsWidgetKDETalk : public AbstractAccountParametersWidget { Q_OBJECT Q_DISABLE_COPY(MainOptionsWidgetKDETalk) public: explicit MainOptionsWidgetKDETalk(ParameterEditModel *model, QWidget *parent = 0); - virtual ~MainOptionsWidgetKDETalk(); + ~MainOptionsWidgetKDETalk() override; - virtual void submit() override; - virtual bool validateParameterValues() override; - virtual QString defaultDisplayName() const override; + void submit() override; + bool validateParameterValues() override; + QString defaultDisplayName() const override; private: Ui::MainOptionsWidgetKDETalk *m_ui; }; #endif // header guard diff --git a/plugins/gabble/main-options-widget-msn.h b/plugins/gabble/main-options-widget-msn.h index cfcc256..07c1b28 100644 --- a/plugins/gabble/main-options-widget-msn.h +++ b/plugins/gabble/main-options-widget-msn.h @@ -1,45 +1,45 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Daniele E. Domenichelli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_GABBLE_ACCOUNT_PARAMETERS_WIDGET_MSN_H #define KCMTELEPATHYACCOUNTS_PLUGIN_GABBLE_ACCOUNT_PARAMETERS_WIDGET_MSN_H #include "ui_main-options-widget-msn.h" #include class MainOptionsWidgetMSN : public AbstractAccountParametersWidget { Q_OBJECT Q_DISABLE_COPY(MainOptionsWidgetMSN) public: explicit MainOptionsWidgetMSN(ParameterEditModel *model, QWidget *parent = 0); - virtual ~MainOptionsWidgetMSN(); + ~MainOptionsWidgetMSN() override; - virtual void submit() override; - virtual bool validateParameterValues() override; - virtual QString defaultDisplayName() const override; + void submit() override; + bool validateParameterValues() override; + QString defaultDisplayName() const override; private: Ui::MainOptionsWidgetMSN *m_ui; }; #endif // KCMTELEPATHYACCOUNTS_PLUGIN_GABBLE_ACCOUNT_PARAMETERS_WIDGET_MSN_H diff --git a/plugins/gabble/main-options-widget.h b/plugins/gabble/main-options-widget.h index da73efe..1c5916a 100644 --- a/plugins/gabble/main-options-widget.h +++ b/plugins/gabble/main-options-widget.h @@ -1,43 +1,43 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2009 Collabora Ltd. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_GABBLE_ACCOUNT_PARAMETERS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_GABBLE_ACCOUNT_PARAMETERS_WIDGET_H #include "ui_main-options-widget.h" #include class MainOptionsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit MainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~MainOptionsWidget(); + ~MainOptionsWidget() override; - virtual QString defaultDisplayName() const override; + QString defaultDisplayName() const override; private: Q_DISABLE_COPY(MainOptionsWidget) Ui::MainOptionsWidget *m_ui; }; #endif // header guard diff --git a/plugins/gabble/proxy-settings-widget.h b/plugins/gabble/proxy-settings-widget.h index 1669055..eebfb56 100644 --- a/plugins/gabble/proxy-settings-widget.h +++ b/plugins/gabble/proxy-settings-widget.h @@ -1,44 +1,44 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2009 Collabora Ltd. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_GABBLE_PROXY_SETTINGS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_GABBLE_PROXY_SETTINGS_WIDGET_H #include "ui_proxy-settings-widget.h" #include class ProxySettingsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit ProxySettingsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~ProxySettingsWidget(); + ~ProxySettingsWidget() override; private: Q_DISABLE_COPY(ProxySettingsWidget) Ui::ProxySettingsWidget *m_ui; }; #endif // header guard diff --git a/plugins/gabble/server-settings-widget.h b/plugins/gabble/server-settings-widget.h index aa39844..a0c0220 100644 --- a/plugins/gabble/server-settings-widget.h +++ b/plugins/gabble/server-settings-widget.h @@ -1,44 +1,44 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2009 Collabora Ltd. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_GABBLE_SERVER_SETTINGS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_GABBLE_SERVER_SETTINGS_WIDGET_H #include "ui_server-settings-widget.h" #include class ServerSettingsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit ServerSettingsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~ServerSettingsWidget(); + ~ServerSettingsWidget() override; private: Q_DISABLE_COPY(ServerSettingsWidget) Ui::ServerSettingsWidget *m_ui; }; #endif // header guard diff --git a/plugins/haze/aim-main-options-widget.h b/plugins/haze/aim-main-options-widget.h index 314455a..0750b99 100644 --- a/plugins/haze/aim-main-options-widget.h +++ b/plugins/haze/aim-main-options-widget.h @@ -1,44 +1,44 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Lasath Fernando * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_AIM_ACCOUNT_PARAMETERS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_AIM_ACCOUNT_PARAMETERS_WIDGET_H #include "ui_aim-main-options-widget.h" #include class AimMainOptionsWidget : public AbstractAccountParametersWidget { Q_OBJECT Q_DISABLE_COPY(AimMainOptionsWidget) public: explicit AimMainOptionsWidget(ParameterEditModel* model, QWidget* parent = 0); - virtual ~AimMainOptionsWidget(); + ~AimMainOptionsWidget() override; - virtual QString defaultDisplayName() const override; + QString defaultDisplayName() const override; private: Ui::AimMainOptionsWidget *m_ui; }; #endif // KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_AIM_ACCOUNT_PARAMETERS_WIDGET_H diff --git a/plugins/haze/aim-server-settings-widget.h b/plugins/haze/aim-server-settings-widget.h index 73c65fa..3ad512a 100644 --- a/plugins/haze/aim-server-settings-widget.h +++ b/plugins/haze/aim-server-settings-widget.h @@ -1,43 +1,43 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Lasath Fernando * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_AIM_SERVER_SETTINGS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_AIM_SERVER_SETTINGS_WIDGET_H #include "ui_aim-server-settings-widget.h" #include class AimServerSettingsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit AimServerSettingsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~AimServerSettingsWidget(); + ~AimServerSettingsWidget() override; private: Q_DISABLE_COPY(AimServerSettingsWidget) Ui::AimServerSettingsWidget *m_ui; }; #endif // header guard diff --git a/plugins/haze/groupwise-advanced-settings-widget.h b/plugins/haze/groupwise-advanced-settings-widget.h index 0d5e875..062e54a 100644 --- a/plugins/haze/groupwise-advanced-settings-widget.h +++ b/plugins/haze/groupwise-advanced-settings-widget.h @@ -1,42 +1,42 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2013 Daniel Cohen * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_GROUPWISE_SERVER_SETTINGS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_GROUPWISE_SERVER_SETTINGS_WIDGET_H #include "ui_groupwise-advanced-settings-widget.h" #include class GroupWiseAdvancedSettingsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit GroupWiseAdvancedSettingsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~GroupWiseAdvancedSettingsWidget(); + ~GroupWiseAdvancedSettingsWidget() override; private: Q_DISABLE_COPY(GroupWiseAdvancedSettingsWidget) Ui::GroupWiseAdvancedSettingsWidget *m_ui; }; #endif // header guard diff --git a/plugins/haze/groupwise-main-options-widget.h b/plugins/haze/groupwise-main-options-widget.h index f6bf455..65a483e 100644 --- a/plugins/haze/groupwise-main-options-widget.h +++ b/plugins/haze/groupwise-main-options-widget.h @@ -1,41 +1,41 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2013 Daniel Cohen * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_GROUPWISE_ACCOUNT_PARAMETERS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_GROUPWISE_ACCOUNT_PARAMETERS_WIDGET_H #include "ui_groupwise-main-options-widget.h" #include class GroupWiseMainOptionsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit GroupWiseMainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~GroupWiseMainOptionsWidget(); + ~GroupWiseMainOptionsWidget() override; - virtual QString defaultDisplayName() const override; + QString defaultDisplayName() const override; private: Q_DISABLE_COPY(GroupWiseMainOptionsWidget) Ui::GroupWiseMainOptionsWidget *m_ui; }; #endif // header guard diff --git a/plugins/haze/haze-account-ui-plugin.h b/plugins/haze/haze-account-ui-plugin.h index ac8c4b4..8c447d1 100644 --- a/plugins/haze/haze-account-ui-plugin.h +++ b/plugins/haze/haze-account-ui-plugin.h @@ -1,43 +1,43 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Dominik Schmidt * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_ACCOUNT_UI_PLUGIN_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_ACCOUNT_UI_PLUGIN_H #include #include class HazeAccountUiPlugin : public AbstractAccountUiPlugin { Q_OBJECT public: HazeAccountUiPlugin(QObject *parent, const QVariantList &); - virtual ~HazeAccountUiPlugin(); + ~HazeAccountUiPlugin() override; - virtual AbstractAccountUi* accountUi(const QString &connectionManager, const QString &protocol, const QString &serviceName) override; + AbstractAccountUi* accountUi(const QString &connectionManager, const QString &protocol, const QString &serviceName) override; private: Q_DISABLE_COPY(HazeAccountUiPlugin) }; #endif // header guard diff --git a/plugins/haze/haze-aim-account.h b/plugins/haze/haze-aim-account.h index c235260..8e33841 100644 --- a/plugins/haze/haze-aim-account.h +++ b/plugins/haze/haze-aim-account.h @@ -1,46 +1,46 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Lasath Fernando * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_AIM_ACCOUNT_H #define KCMTELEPATHYACCOUNTS_PLUGIN_AIM_ACCOUNT_H #include class HazeAimAccount : public AbstractAccountUi { Q_OBJECT public: explicit HazeAimAccount(QObject *parent = 0); - virtual ~HazeAimAccount(); + ~HazeAimAccount() override; - virtual AbstractAccountParametersWidget + AbstractAccountParametersWidget *mainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; - virtual bool hasAdvancedOptionsWidget() const override; - virtual AbstractAccountParametersWidget + bool hasAdvancedOptionsWidget() const override; + AbstractAccountParametersWidget *advancedOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; private: Q_DISABLE_COPY(HazeAimAccount) }; #endif // header guard diff --git a/plugins/haze/haze-groupwise-account.h b/plugins/haze/haze-groupwise-account.h index 15400f5..61d2cad 100644 --- a/plugins/haze/haze-groupwise-account.h +++ b/plugins/haze/haze-groupwise-account.h @@ -1,46 +1,46 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2013 Daniel Cohen * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_GROUPWISE_ACCOUNT_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_GROUPWISE_ACCOUNT_H #include class HazeGroupWiseAccountUi : public AbstractAccountUi { Q_OBJECT public: explicit HazeGroupWiseAccountUi(QObject *parent = 0); - virtual ~HazeGroupWiseAccountUi(); + ~HazeGroupWiseAccountUi() override; - virtual AbstractAccountParametersWidget + AbstractAccountParametersWidget *mainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; - virtual bool hasAdvancedOptionsWidget() const override; - virtual AbstractAccountParametersWidget + bool hasAdvancedOptionsWidget() const override; + AbstractAccountParametersWidget *advancedOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; private: Q_DISABLE_COPY(HazeGroupWiseAccountUi) }; #endif // header guard diff --git a/plugins/haze/haze-icq-account.h b/plugins/haze/haze-icq-account.h index beeff58..62e3e93 100644 --- a/plugins/haze/haze-icq-account.h +++ b/plugins/haze/haze-icq-account.h @@ -1,46 +1,46 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Dominik Schmidt * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_ICQ_ACCOUNT_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_ICQ_ACCOUNT_H #include class HazeIcqAccountUi : public AbstractAccountUi { Q_OBJECT public: explicit HazeIcqAccountUi(QObject *parent = 0); - virtual ~HazeIcqAccountUi(); + ~HazeIcqAccountUi() override; - virtual AbstractAccountParametersWidget + AbstractAccountParametersWidget *mainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; - virtual bool hasAdvancedOptionsWidget() const override; - virtual AbstractAccountParametersWidget + bool hasAdvancedOptionsWidget() const override; + AbstractAccountParametersWidget *advancedOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; private: Q_DISABLE_COPY(HazeIcqAccountUi) }; #endif // header guard diff --git a/plugins/haze/haze-msn-account.h b/plugins/haze/haze-msn-account.h index f39de92..750cfd2 100644 --- a/plugins/haze/haze-msn-account.h +++ b/plugins/haze/haze-msn-account.h @@ -1,42 +1,42 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Francesco Nwokeka * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_MSN_ACCOUNT_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_MSN_ACCOUNT_H #include class HazeMsnAccountUi: public AbstractAccountUi { Q_OBJECT public: explicit HazeMsnAccountUi(QObject *parent = 0); - virtual ~HazeMsnAccountUi(); + ~HazeMsnAccountUi() override; // virtual AbstractAccountParametersWidget *advancedOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const; - virtual AbstractAccountParametersWidget *mainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; - virtual bool hasAdvancedOptionsWidget() const override; + AbstractAccountParametersWidget *mainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; + bool hasAdvancedOptionsWidget() const override; private: Q_DISABLE_COPY(HazeMsnAccountUi) }; #endif // KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_MSN_ACCOUNT_H diff --git a/plugins/haze/haze-myspaceim-account-ui.h b/plugins/haze/haze-myspaceim-account-ui.h index f126e3c..da7eb46 100644 --- a/plugins/haze/haze-myspaceim-account-ui.h +++ b/plugins/haze/haze-myspaceim-account-ui.h @@ -1,46 +1,46 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Florian Reinhard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_MYSPACEIM_ACCOUNT_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_MYSPACEIM_ACCOUNT_H #include class HazeMySpaceIMAccountUi : public AbstractAccountUi { Q_OBJECT public: explicit HazeMySpaceIMAccountUi(QObject *parent = 0); - virtual ~HazeMySpaceIMAccountUi(); + ~HazeMySpaceIMAccountUi() override; - virtual AbstractAccountParametersWidget + AbstractAccountParametersWidget *mainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; - virtual bool hasAdvancedOptionsWidget() const override; - virtual AbstractAccountParametersWidget + bool hasAdvancedOptionsWidget() const override; + AbstractAccountParametersWidget *advancedOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; private: Q_DISABLE_COPY(HazeMySpaceIMAccountUi) }; #endif // header guard diff --git a/plugins/haze/haze-sipe-account.h b/plugins/haze/haze-sipe-account.h index 188ce94..66e513a 100644 --- a/plugins/haze/haze-sipe-account.h +++ b/plugins/haze/haze-sipe-account.h @@ -1,46 +1,46 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2013 Maksim Melnikau * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_SIPE_ACCOUNT_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_SIPE_ACCOUNT_H #include class HazeSipeAccountUi : public AbstractAccountUi { Q_OBJECT public: explicit HazeSipeAccountUi(QObject *parent = 0); - virtual ~HazeSipeAccountUi(); + ~HazeSipeAccountUi() override; - virtual AbstractAccountParametersWidget + AbstractAccountParametersWidget *mainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; - virtual bool hasAdvancedOptionsWidget() const override; - virtual AbstractAccountParametersWidget + bool hasAdvancedOptionsWidget() const override; + AbstractAccountParametersWidget *advancedOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; private: Q_DISABLE_COPY(HazeSipeAccountUi) }; #endif // header guard diff --git a/plugins/haze/haze-skype-account-ui.h b/plugins/haze/haze-skype-account-ui.h index 0789f73..789b885 100644 --- a/plugins/haze/haze-skype-account-ui.h +++ b/plugins/haze/haze-skype-account-ui.h @@ -1,46 +1,46 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Florian Reinhard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_SKYPE_ACCOUNT_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_SKYPE_ACCOUNT_H #include class HazeSkypeAccountUi : public AbstractAccountUi { Q_OBJECT public: explicit HazeSkypeAccountUi(QObject *parent = 0); - virtual ~HazeSkypeAccountUi(); + ~HazeSkypeAccountUi() override; - virtual AbstractAccountParametersWidget + AbstractAccountParametersWidget *mainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; - virtual bool hasAdvancedOptionsWidget() const override; - virtual AbstractAccountParametersWidget + bool hasAdvancedOptionsWidget() const override; + AbstractAccountParametersWidget *advancedOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; private: Q_DISABLE_COPY(HazeSkypeAccountUi) }; #endif // header guard diff --git a/plugins/haze/haze-skypeweb-account.h b/plugins/haze/haze-skypeweb-account.h index eefe0c5..d15029c 100644 --- a/plugins/haze/haze-skypeweb-account.h +++ b/plugins/haze/haze-skypeweb-account.h @@ -1,43 +1,43 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2016 Björn Bidar * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_SKYPEWEB_ACCOUNT_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_SKYPEWEB_ACCOUNT_H #include class HazeSkypeWebAccountUi : public AbstractAccountUi { Q_OBJECT public: explicit HazeSkypeWebAccountUi(QObject *parent = 0); - virtual ~HazeSkypeWebAccountUi(); + ~HazeSkypeWebAccountUi() override; - virtual AbstractAccountParametersWidget + AbstractAccountParametersWidget *mainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; - virtual bool hasAdvancedOptionsWidget() const override; + bool hasAdvancedOptionsWidget() const override; private: Q_DISABLE_COPY(HazeSkypeWebAccountUi) }; #endif // header guard diff --git a/plugins/haze/haze-steam-account.h b/plugins/haze/haze-steam-account.h index ad81545..1559945 100644 --- a/plugins/haze/haze-steam-account.h +++ b/plugins/haze/haze-steam-account.h @@ -1,42 +1,42 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2013 Daniel Cohen * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_STEAM_ACCOUNT_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_STEAM_ACCOUNT_H #include class HazeSteamAccountUi : public AbstractAccountUi { Q_OBJECT public: explicit HazeSteamAccountUi(QObject *parent = 0); - virtual ~HazeSteamAccountUi(); + ~HazeSteamAccountUi() override; - virtual AbstractAccountParametersWidget + AbstractAccountParametersWidget *mainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; private: Q_DISABLE_COPY(HazeSteamAccountUi) }; #endif // header guard diff --git a/plugins/haze/haze-yahoo-account.h b/plugins/haze/haze-yahoo-account.h index 8c3d8ef..962a0b8 100644 --- a/plugins/haze/haze-yahoo-account.h +++ b/plugins/haze/haze-yahoo-account.h @@ -1,48 +1,48 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Lasath Fernando * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_YAHOO_ACCOUNT_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_YAHOO_ACCOUNT_H #include #include "yahoo-main-options-widget.h" class HazeYahooAccount : public AbstractAccountUi { Q_OBJECT public: explicit HazeYahooAccount(QObject *parent = 0); - virtual ~HazeYahooAccount(); + ~HazeYahooAccount() override; - virtual AbstractAccountParametersWidget + AbstractAccountParametersWidget *mainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; - virtual bool hasAdvancedOptionsWidget() const override; - virtual AbstractAccountParametersWidget + bool hasAdvancedOptionsWidget() const override; + AbstractAccountParametersWidget *advancedOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; private: Q_DISABLE_COPY(HazeYahooAccount) }; #endif // header guard diff --git a/plugins/haze/icq-main-options-widget.h b/plugins/haze/icq-main-options-widget.h index 79fd5c0..2dfa5d1 100644 --- a/plugins/haze/icq-main-options-widget.h +++ b/plugins/haze/icq-main-options-widget.h @@ -1,42 +1,42 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Dominik Schmidt * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_ICQ_ACCOUNT_PARAMETERS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_ICQ_ACCOUNT_PARAMETERS_WIDGET_H #include "ui_icq-main-options-widget.h" #include class IcqMainOptionsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit IcqMainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~IcqMainOptionsWidget(); + ~IcqMainOptionsWidget() override; - virtual QString defaultDisplayName() const override; + QString defaultDisplayName() const override; private: Q_DISABLE_COPY(IcqMainOptionsWidget) Ui::IcqMainOptionsWidget *m_ui; }; #endif // header guard diff --git a/plugins/haze/icq-server-settings-widget.h b/plugins/haze/icq-server-settings-widget.h index 22c49cb..585499b 100644 --- a/plugins/haze/icq-server-settings-widget.h +++ b/plugins/haze/icq-server-settings-widget.h @@ -1,45 +1,45 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Dominik Schmidt * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_ICQ_SERVER_SETTINGS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_ICQ_SERVER_SETTINGS_WIDGET_H #include "ui_icq-server-settings-widget.h" #include class IcqServerSettingsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit IcqServerSettingsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~IcqServerSettingsWidget(); + ~IcqServerSettingsWidget() override; - virtual void submit() override; + void submit() override; private: Q_DISABLE_COPY(IcqServerSettingsWidget) Ui::IcqServerSettingsWidget *m_ui; }; #endif // header guard diff --git a/plugins/haze/msn-main-options-widget.h b/plugins/haze/msn-main-options-widget.h index ac05020..daaba7c 100644 --- a/plugins/haze/msn-main-options-widget.h +++ b/plugins/haze/msn-main-options-widget.h @@ -1,43 +1,43 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Francesco Nwokeka * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_MSN_ACCOUNT_PARAMETERS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_MSN_ACCOUNT_PARAMETERS_WIDGET_H #include #include "ui_msn-main-options-widget.h" class MsnMainOptionsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit MsnMainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~MsnMainOptionsWidget(); + ~MsnMainOptionsWidget() override; - virtual QString defaultDisplayName() const override; + QString defaultDisplayName() const override; private: Q_DISABLE_COPY(MsnMainOptionsWidget) Ui::MsnMainOptionsWidget *m_ui; }; #endif // KCMTELEPATHYACCOUNTS_PLUGIN_MSN_ACCOUNT_PARAMETERS_WIDGET_H diff --git a/plugins/haze/myspaceim-advanced-settings-widget.h b/plugins/haze/myspaceim-advanced-settings-widget.h index 5a69a9e..ad395e7 100644 --- a/plugins/haze/myspaceim-advanced-settings-widget.h +++ b/plugins/haze/myspaceim-advanced-settings-widget.h @@ -1,42 +1,42 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Florian Reinhard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_MYSPACEIM_SERVER_SETTINGS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_MYSPACEIM_SERVER_SETTINGS_WIDGET_H #include "ui_myspaceim-advanced-settings-widget.h" #include class MySpaceIMAdvancedSettingsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit MySpaceIMAdvancedSettingsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~MySpaceIMAdvancedSettingsWidget(); + ~MySpaceIMAdvancedSettingsWidget() override; private: Q_DISABLE_COPY(MySpaceIMAdvancedSettingsWidget) Ui::MySpaceIMAdvancedSettingsWidget *m_ui; }; #endif // header guard diff --git a/plugins/haze/myspaceim-main-options-widget.h b/plugins/haze/myspaceim-main-options-widget.h index 1dedd07..a18e15d 100644 --- a/plugins/haze/myspaceim-main-options-widget.h +++ b/plugins/haze/myspaceim-main-options-widget.h @@ -1,41 +1,41 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Florian Reinhard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_MYSPACEIM_ACCOUNT_PARAMETERS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_MYSPACEIM_ACCOUNT_PARAMETERS_WIDGET_H #include "ui_myspaceim-main-options-widget.h" #include class MySpaceIMMainOptionsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit MySpaceIMMainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~MySpaceIMMainOptionsWidget(); + ~MySpaceIMMainOptionsWidget() override; - virtual QString defaultDisplayName() const override; + QString defaultDisplayName() const override; private: Q_DISABLE_COPY(MySpaceIMMainOptionsWidget) Ui::MySpaceIMMainOptionsWidget *m_ui; }; #endif // header guard diff --git a/plugins/haze/sipe-advanced-settings-widget.h b/plugins/haze/sipe-advanced-settings-widget.h index 1fe1556..69fd5d9 100644 --- a/plugins/haze/sipe-advanced-settings-widget.h +++ b/plugins/haze/sipe-advanced-settings-widget.h @@ -1,42 +1,42 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2013 Maksim Melnikau * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_SIPE_SERVER_SETTINGS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_SIPE_SERVER_SETTINGS_WIDGET_H #include "ui_sipe-advanced-settings-widget.h" #include class SipeAdvancedSettingsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit SipeAdvancedSettingsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~SipeAdvancedSettingsWidget(); + ~SipeAdvancedSettingsWidget() override; private: Q_DISABLE_COPY(SipeAdvancedSettingsWidget) Ui::SipeAdvancedSettingsWidget *m_ui; }; #endif // header guard diff --git a/plugins/haze/sipe-main-options-widget.h b/plugins/haze/sipe-main-options-widget.h index a633aa3..08d7dbd 100644 --- a/plugins/haze/sipe-main-options-widget.h +++ b/plugins/haze/sipe-main-options-widget.h @@ -1,41 +1,41 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2013 Maksim Melnikau * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_SIPE_ACCOUNT_PARAMETERS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_SIPE_ACCOUNT_PARAMETERS_WIDGET_H #include "ui_sipe-main-options-widget.h" #include class SipeMainOptionsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit SipeMainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~SipeMainOptionsWidget(); + ~SipeMainOptionsWidget() override; - virtual QString defaultDisplayName() const override; + QString defaultDisplayName() const override; private: Q_DISABLE_COPY(SipeMainOptionsWidget) Ui::SipeMainOptionsWidget *m_ui; }; #endif // header guard diff --git a/plugins/haze/skype-advanced-settings-widget.h b/plugins/haze/skype-advanced-settings-widget.h index 8d3cd19..8e9a0e4 100644 --- a/plugins/haze/skype-advanced-settings-widget.h +++ b/plugins/haze/skype-advanced-settings-widget.h @@ -1,42 +1,42 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Florian Reinhard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_SKYPE_SERVER_SETTINGS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_SKYPE_SERVER_SETTINGS_WIDGET_H #include "ui_skype-advanced-settings-widget.h" #include class SkypeAdvancedSettingsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit SkypeAdvancedSettingsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~SkypeAdvancedSettingsWidget(); + ~SkypeAdvancedSettingsWidget() override; private: Q_DISABLE_COPY(SkypeAdvancedSettingsWidget) Ui::SkypeAdvancedSettingsWidget *m_ui; }; #endif // header guard diff --git a/plugins/haze/skype-main-options-widget.h b/plugins/haze/skype-main-options-widget.h index 0ea32b2..04df160 100644 --- a/plugins/haze/skype-main-options-widget.h +++ b/plugins/haze/skype-main-options-widget.h @@ -1,40 +1,40 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Florian Reinhard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_SKYPE_ACCOUNT_PARAMETERS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_SKYPE_ACCOUNT_PARAMETERS_WIDGET_H #include "ui_skype-main-options-widget.h" #include class SkypeMainOptionsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit SkypeMainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~SkypeMainOptionsWidget(); + ~SkypeMainOptionsWidget() override; - virtual QString defaultDisplayName() const override; + QString defaultDisplayName() const override; Q_DISABLE_COPY(SkypeMainOptionsWidget) Ui::SkypeMainOptionsWidget *m_ui; }; #endif // header guard diff --git a/plugins/haze/skypeweb-options-widget.h b/plugins/haze/skypeweb-options-widget.h index 610dddb..69251ff 100644 --- a/plugins/haze/skypeweb-options-widget.h +++ b/plugins/haze/skypeweb-options-widget.h @@ -1,42 +1,42 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2016 Björn Bidar * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_SKYPEWEB_ACCOUNT_PARAMETERS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_SKYPEWEB_ACCOUNT_PARAMETERS_WIDGET_H #include "ui_skypeweb-options-widget.h" #include class SkypeWebOptionsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit SkypeWebOptionsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~SkypeWebOptionsWidget(); + ~SkypeWebOptionsWidget() override; - virtual QString defaultDisplayName() const override; + QString defaultDisplayName() const override; private: Q_DISABLE_COPY(SkypeWebOptionsWidget) Ui::SkypeWebOptionsWidget *m_ui; }; #endif // header guard diff --git a/plugins/haze/steam-main-options-widget.h b/plugins/haze/steam-main-options-widget.h index a877886..1bc945c 100644 --- a/plugins/haze/steam-main-options-widget.h +++ b/plugins/haze/steam-main-options-widget.h @@ -1,41 +1,41 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2013 Daniel Cohen * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_STEAM_ACCOUNT_PARAMETERS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_STEAM_ACCOUNT_PARAMETERS_WIDGET_H #include "ui_steam-main-options-widget.h" #include class SteamMainOptionsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit SteamMainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~SteamMainOptionsWidget(); + ~SteamMainOptionsWidget() override; - virtual QString defaultDisplayName() const override; + QString defaultDisplayName() const override; private: Q_DISABLE_COPY(SteamMainOptionsWidget) Ui::SteamMainOptionsWidget *m_ui; }; #endif // header guard diff --git a/plugins/haze/yahoo-main-options-widget.h b/plugins/haze/yahoo-main-options-widget.h index f9ab4c4..69dac6e 100644 --- a/plugins/haze/yahoo-main-options-widget.h +++ b/plugins/haze/yahoo-main-options-widget.h @@ -1,44 +1,44 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Lasath Fernando * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef HAZE_YAHOO_ACCOUNT_H #define HAZE_YAHOO_ACCOUNT_H #include "ui_yahoo-main-options-widget.h" #include class YahooMainOptionsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit YahooMainOptionsWidget(ParameterEditModel* model, QWidget* parent = 0); - virtual ~YahooMainOptionsWidget(); + ~YahooMainOptionsWidget() override; - virtual void submit() override; - virtual QString defaultDisplayName() const override; + void submit() override; + QString defaultDisplayName() const override; private: Q_DISABLE_COPY(YahooMainOptionsWidget) Ui::YahooMainOptionsWidget* m_ui; }; #endif // HAZE_YAHOO_ACCOUNT_H diff --git a/plugins/haze/yahoo-server-settings-widget.h b/plugins/haze/yahoo-server-settings-widget.h index 14f8075..ec1c940 100644 --- a/plugins/haze/yahoo-server-settings-widget.h +++ b/plugins/haze/yahoo-server-settings-widget.h @@ -1,43 +1,43 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Lasath Fernando * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_YAHOO_SERVER_SETTINGS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_HAZE_YAHOO_SERVER_SETTINGS_WIDGET_H #include "ui_yahoo-server-settings-widget.h" #include class YahooServerSettingsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit YahooServerSettingsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~YahooServerSettingsWidget(); + ~YahooServerSettingsWidget() override; private: Q_DISABLE_COPY(YahooServerSettingsWidget) Ui::YahooServerSettingsWidget *m_ui; }; #endif // header guard diff --git a/plugins/idle/advanced-options-widget.h b/plugins/idle/advanced-options-widget.h index 3f56205..a0183f1 100644 --- a/plugins/idle/advanced-options-widget.h +++ b/plugins/idle/advanced-options-widget.h @@ -1,44 +1,44 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Lasse Liehu * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_IDLE_ACCOUNT_ADVANCED_PARAMETERS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_IDLE_ACCOUNT_ADVANCED_PARAMETERS_WIDGET_H #include "ui_advanced-options-widget.h" #include class AdvancedOptionsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit AdvancedOptionsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~AdvancedOptionsWidget(); + ~AdvancedOptionsWidget() override; private: Q_DISABLE_COPY(AdvancedOptionsWidget) Ui::AdvancedOptionsWidget *m_ui; }; #endif // header guard diff --git a/plugins/idle/idle-account-ui-plugin.h b/plugins/idle/idle-account-ui-plugin.h index c314d10..ad2cc8c 100644 --- a/plugins/idle/idle-account-ui-plugin.h +++ b/plugins/idle/idle-account-ui-plugin.h @@ -1,44 +1,44 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Lasse Liehu * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_IDLE_ACCOUNT_UI_PLUGIN_H #define KCMTELEPATHYACCOUNTS_PLUGIN_IDLE_ACCOUNT_UI_PLUGIN_H #include #include class IdleAccountUiPlugin : public AbstractAccountUiPlugin { Q_OBJECT public: IdleAccountUiPlugin(QObject *parent, const QVariantList &); - virtual ~IdleAccountUiPlugin(); + ~IdleAccountUiPlugin() override; - virtual AbstractAccountUi* accountUi(const QString &connectionManager, const QString &protocol, const QString &serviceName) override; + AbstractAccountUi* accountUi(const QString &connectionManager, const QString &protocol, const QString &serviceName) override; private: Q_DISABLE_COPY(IdleAccountUiPlugin) }; #endif // header guard diff --git a/plugins/idle/idle-account-ui.h b/plugins/idle/idle-account-ui.h index 47bbc80..00b13c1 100644 --- a/plugins/idle/idle-account-ui.h +++ b/plugins/idle/idle-account-ui.h @@ -1,47 +1,47 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Lasse Liehu * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_IDLE_ACCOUNT_UI_H #define KCMTELEPATHYACCOUNTS_PLUGIN_IDLE_ACCOUNT_UI_H #include class IdleAccountUi : public AbstractAccountUi { Q_OBJECT public: explicit IdleAccountUi(QObject *parent = 0); - virtual ~IdleAccountUi(); + ~IdleAccountUi() override; - virtual AbstractAccountParametersWidget + AbstractAccountParametersWidget *mainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; - virtual bool hasAdvancedOptionsWidget() const override; - virtual AbstractAccountParametersWidget + bool hasAdvancedOptionsWidget() const override; + AbstractAccountParametersWidget *advancedOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; private: Q_DISABLE_COPY(IdleAccountUi) }; #endif // header guard diff --git a/plugins/idle/main-options-widget.h b/plugins/idle/main-options-widget.h index f383e9b..004bcc8 100644 --- a/plugins/idle/main-options-widget.h +++ b/plugins/idle/main-options-widget.h @@ -1,44 +1,44 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Lasse Liehu * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_IDLE_ACCOUNT_MAIN_PARAMETERS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_IDLE_ACCOUNT_MAIN_PARAMETERS_WIDGET_H #include "ui_main-options-widget.h" #include class MainOptionsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit MainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~MainOptionsWidget(); + ~MainOptionsWidget() override; - virtual QString defaultDisplayName() const override; + QString defaultDisplayName() const override; private: Q_DISABLE_COPY(MainOptionsWidget) Ui::MainOptionsWidget *m_ui; }; #endif // header guard diff --git a/plugins/kaccounts/kaccounts-ui-provider.h b/plugins/kaccounts/kaccounts-ui-provider.h index 0693905..16d8ad4 100644 --- a/plugins/kaccounts/kaccounts-ui-provider.h +++ b/plugins/kaccounts/kaccounts-ui-provider.h @@ -1,68 +1,68 @@ /* * Copyright 2014 Martin Klapetek * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of * the License or (at your option) version 3 or any later version * accepted by the membership of KDE e.V. (or its successor approved * by the membership of KDE e.V.), which shall act as a proxy * defined in Section 14 of version 3 of the license. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * */ #ifndef KACCOUNTSUIPROVIDER_H #define KACCOUNTSUIPROVIDER_H #include #include namespace Tp { class PendingOperation; } class KAccountsUiProvider : public KAccountsUiPlugin { Q_OBJECT Q_PLUGIN_METADATA(IID "org.kde.kaccounts.UiPlugin") Q_INTERFACES(KAccountsUiPlugin) public: KAccountsUiProvider(QObject *parent = 0); - virtual ~KAccountsUiProvider(); + ~KAccountsUiProvider() override; - virtual void init(KAccountsUiPlugin::UiType type) override; + void init(KAccountsUiPlugin::UiType type) override; - virtual void showNewAccountDialog() override; - virtual void showConfigureAccountDialog(const quint32 accountId) override; - virtual void setProviderName(const QString &providerName) override; - virtual QStringList supportedServicesForConfig() const override; + void showNewAccountDialog() override; + void showConfigureAccountDialog(const quint32 accountId) override; + void setProviderName(const QString &providerName) override; + QStringList supportedServicesForConfig() const override; Q_SIGNALS: void feedbackMessage(const QString &text, const QString &comment, KMessageWidget::MessageType); private Q_SLOTS: void onProfileManagerReady(Tp::PendingOperation*); void onConnectionManagerReady(Tp::PendingOperation*); void onCreateAccountDialogAccepted(); void onCreateAccountDialogRejected(); void onConfigureAccountDialogAccepted(); void onConfigureAccountDialogRejected(); void onConfigureAccountFinished(); void storePasswordInSso(const quint32 accountId, const QString &password); private: class Private; Private * const d; }; #endif // KACCOUNTSUIPROVIDER_H diff --git a/plugins/morse/main-options-widget.h b/plugins/morse/main-options-widget.h index f6d0198..424dc83 100644 --- a/plugins/morse/main-options-widget.h +++ b/plugins/morse/main-options-widget.h @@ -1,44 +1,44 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2014 David Edmundson * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_BUTTERFLY_ACCOUNT_PARAMETERS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_BUTTERFLY_ACCOUNT_PARAMETERS_WIDGET_H #include #include "ui_main-options-widget.h" class MainOptionsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit MainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~MainOptionsWidget(); + ~MainOptionsWidget() override; - virtual QString defaultDisplayName() const override; + QString defaultDisplayName() const override; private: Q_DISABLE_COPY(MainOptionsWidget) Ui::MainOptionsWidget *m_ui; }; #endif // header guard diff --git a/plugins/morse/morse-account-ui-plugin.h b/plugins/morse/morse-account-ui-plugin.h index 513960b..c978ba2 100644 --- a/plugins/morse/morse-account-ui-plugin.h +++ b/plugins/morse/morse-account-ui-plugin.h @@ -1,44 +1,44 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2014 David Edmundson * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_MORSE_ACCOUNT_UI_PLUGIN_H #define KCMTELEPATHYACCOUNTS_PLUGIN_MORSE_ACCOUNT_UI_PLUGIN_H #include #include class MorseAccountUiPlugin : public AbstractAccountUiPlugin { Q_OBJECT public: MorseAccountUiPlugin(QObject *parent, const QVariantList &); - virtual ~MorseAccountUiPlugin(); + ~MorseAccountUiPlugin() override; - virtual AbstractAccountUi* accountUi(const QString &connectionManager, const QString &protocol, const QString &serviceName) override; + AbstractAccountUi* accountUi(const QString &connectionManager, const QString &protocol, const QString &serviceName) override; private: Q_DISABLE_COPY(MorseAccountUiPlugin) }; #endif // header guard diff --git a/plugins/morse/telegram-account-ui.h b/plugins/morse/telegram-account-ui.h index be913b9..0f72521 100644 --- a/plugins/morse/telegram-account-ui.h +++ b/plugins/morse/telegram-account-ui.h @@ -1,42 +1,42 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2014 David Edmundson * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_BUTTERFLY_ACCOUNT_UI_H #define KCMTELEPATHYACCOUNTS_PLUGIN_BUTTERFLY_ACCOUNT_UI_H #include class TelegramAccountUi : public AbstractAccountUi { Q_OBJECT public: explicit TelegramAccountUi(QObject *parent = 0); - virtual ~TelegramAccountUi(); + ~TelegramAccountUi() override; - virtual AbstractAccountParametersWidget + AbstractAccountParametersWidget *mainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; private: Q_DISABLE_COPY(TelegramAccountUi) }; #endif // header guard diff --git a/plugins/salut/salut-account-ui-plugin.h b/plugins/salut/salut-account-ui-plugin.h index 58c286d..49dea3d 100644 --- a/plugins/salut/salut-account-ui-plugin.h +++ b/plugins/salut/salut-account-ui-plugin.h @@ -1,45 +1,45 @@ /* * This file is part of telepathy-accounts-kcm-plugins * * Copyright (C) 2011 Florian Reinhard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_SALUT_ACCOUNT_UI_PLUGIN_H #define KCMTELEPATHYACCOUNTS_PLUGIN_SALUT_ACCOUNT_UI_PLUGIN_H #include #include class SalutAccountUiPlugin : public AbstractAccountUiPlugin { Q_OBJECT public: SalutAccountUiPlugin(QObject *parent, const QVariantList &); - virtual ~SalutAccountUiPlugin(); + ~SalutAccountUiPlugin() override; - virtual AbstractAccountUi* accountUi(const QString &connectionManager, + AbstractAccountUi* accountUi(const QString &connectionManager, const QString &protocol, const QString &serviceName) override; private: Q_DISABLE_COPY(SalutAccountUiPlugin) }; #endif // header guard diff --git a/plugins/salut/salut-account-ui.h b/plugins/salut/salut-account-ui.h index e54edc4..9ae6a11 100644 --- a/plugins/salut/salut-account-ui.h +++ b/plugins/salut/salut-account-ui.h @@ -1,46 +1,46 @@ /* * This file is part of telepathy-accounts-kcm-plugins * * Copyright (C) 2011 Florian Reinhard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_SALUT_ACCOUNT_UI_H #define KCMTELEPATHYACCOUNTS_PLUGIN_SALUT_ACCOUNT_UI_H #include class SalutAccountUi : public AbstractAccountUi { Q_OBJECT public: explicit SalutAccountUi(QObject *parent = 0); - virtual ~SalutAccountUi(); + ~SalutAccountUi() override; - virtual AbstractAccountParametersWidget + AbstractAccountParametersWidget *mainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; - virtual bool hasAdvancedOptionsWidget() const override; - virtual AbstractAccountParametersWidget + bool hasAdvancedOptionsWidget() const override; + AbstractAccountParametersWidget *advancedOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; private: Q_DISABLE_COPY(SalutAccountUi) }; #endif // header guard diff --git a/plugins/salut/salut-advanced-options-widget.h b/plugins/salut/salut-advanced-options-widget.h index 56806ac..c206273 100644 --- a/plugins/salut/salut-advanced-options-widget.h +++ b/plugins/salut/salut-advanced-options-widget.h @@ -1,43 +1,43 @@ /* * This file is part of telepathy-accounts-kcm-plugins * * Copyright (C) 2011 Florian Reinhard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_SALUT_AO_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_SALUT_AO_WIDGET_H #include "ui_salut-advanced-options-widget.h" #include class SalutAdvancedOptionsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit SalutAdvancedOptionsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~SalutAdvancedOptionsWidget(); + ~SalutAdvancedOptionsWidget() override; private: Q_DISABLE_COPY(SalutAdvancedOptionsWidget) Ui::SalutAdvancedOptionsWidget *m_ui; }; #endif // header guard diff --git a/plugins/salut/salut-main-options-widget.h b/plugins/salut/salut-main-options-widget.h index 21221db..729a3e4 100644 --- a/plugins/salut/salut-main-options-widget.h +++ b/plugins/salut/salut-main-options-widget.h @@ -1,43 +1,43 @@ /* * This file is part of telepathy-accounts-kcm-plugins * * Copyright (C) 2011 Florian Reinhard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_SALUT_ACCOUNT_PARAMETERS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_SALUT_ACCOUNT_PARAMETERS_WIDGET_H #include "ui_salut-main-options-widget.h" #include class SalutMainOptionsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit SalutMainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~SalutMainOptionsWidget(); + ~SalutMainOptionsWidget() override; - virtual QString defaultDisplayName() const override; + QString defaultDisplayName() const override; private: Q_DISABLE_COPY(SalutMainOptionsWidget) Ui::SalutMainOptionsWidget *m_ui; }; #endif // header guard diff --git a/plugins/sipe/sipe-account-ui-plugin.h b/plugins/sipe/sipe-account-ui-plugin.h index 84969b8..2f1a93e 100644 --- a/plugins/sipe/sipe-account-ui-plugin.h +++ b/plugins/sipe/sipe-account-ui-plugin.h @@ -1,43 +1,43 @@ /* * This file is part of telepathy-accounts-kcm-plugins * * Copyright (C) 2013 Maksim Melnikau * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_SIPE_ACCOUNT_UI_PLUGIN_H #define KCMTELEPATHYACCOUNTS_PLUGIN_SIPE_ACCOUNT_UI_PLUGIN_H #include #include class SipeAccountUiPlugin : public AbstractAccountUiPlugin { Q_OBJECT public: SipeAccountUiPlugin(QObject *parent, const QVariantList &); - virtual ~SipeAccountUiPlugin(); + ~SipeAccountUiPlugin() override; - virtual AbstractAccountUi* accountUi(const QString &connectionManager, const QString &protocol, const QString &serviceName) override; + AbstractAccountUi* accountUi(const QString &connectionManager, const QString &protocol, const QString &serviceName) override; private: Q_DISABLE_COPY(SipeAccountUiPlugin) }; #endif // header guard diff --git a/plugins/sipe/sipe-account-ui.h b/plugins/sipe/sipe-account-ui.h index 00496b5..b7f7968 100644 --- a/plugins/sipe/sipe-account-ui.h +++ b/plugins/sipe/sipe-account-ui.h @@ -1,42 +1,42 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2013 Maksim Melnikau * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_SIPE_ACCOUNT_H #define KCMTELEPATHYACCOUNTS_PLUGIN_SIPE_ACCOUNT_H #include class SipeAccountUi : public AbstractAccountUi { Q_OBJECT public: explicit SipeAccountUi(QObject *parent = 0); - virtual ~SipeAccountUi(); + ~SipeAccountUi() override; - virtual AbstractAccountParametersWidget* mainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; - virtual bool hasAdvancedOptionsWidget() const override; - virtual AbstractAccountParametersWidget* advancedOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; + AbstractAccountParametersWidget* mainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; + bool hasAdvancedOptionsWidget() const override; + AbstractAccountParametersWidget* advancedOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; private: Q_DISABLE_COPY(SipeAccountUi) }; #endif // header guard diff --git a/plugins/sipe/sipe-advanced-options-widget.h b/plugins/sipe/sipe-advanced-options-widget.h index c0abcd3..9b6a82c 100644 --- a/plugins/sipe/sipe-advanced-options-widget.h +++ b/plugins/sipe/sipe-advanced-options-widget.h @@ -1,42 +1,42 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2013 Maksim Melnikau * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_SIPE_ADVANCED_OPTIONS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_SIPE_ADVANCED_OPTIONS_WIDGET_H #include "ui_sipe-advanced-options-widget.h" #include class SipeAdvancedOptionsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit SipeAdvancedOptionsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~SipeAdvancedOptionsWidget(); + ~SipeAdvancedOptionsWidget() override; private: Q_DISABLE_COPY(SipeAdvancedOptionsWidget) Ui::SipeAdvancedOptionsWidget *m_ui; }; #endif // header guard diff --git a/plugins/sipe/sipe-main-options-widget.h b/plugins/sipe/sipe-main-options-widget.h index 7bb9252..5c4a7dc 100644 --- a/plugins/sipe/sipe-main-options-widget.h +++ b/plugins/sipe/sipe-main-options-widget.h @@ -1,44 +1,44 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2013 Maksim Melnikau * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_SIPE_MAIN_OPTIONS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_SIPE_MAIN_OPTIONS_WIDGET_H #include "ui_sipe-main-options-widget.h" #include class SipeMainOptionsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit SipeMainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~SipeMainOptionsWidget(); + ~SipeMainOptionsWidget() override; - virtual QString defaultDisplayName() const override; - virtual void submit() override; + QString defaultDisplayName() const override; + void submit() override; private: Q_DISABLE_COPY(SipeMainOptionsWidget) Ui::SipeMainOptionsWidget *m_ui; }; #endif // header guard diff --git a/plugins/sunshine/sunshine-account-ui-plugin.h b/plugins/sunshine/sunshine-account-ui-plugin.h index 15eaeec..0ee318e 100644 --- a/plugins/sunshine/sunshine-account-ui-plugin.h +++ b/plugins/sunshine/sunshine-account-ui-plugin.h @@ -1,45 +1,45 @@ /* * This file is part of telepathy-accounts-kcm-plugins * * Copyright (C) 2011 Florian Reinhard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_SUNSHINE_ACCOUNT_UI_PLUGIN_H #define KCMTELEPATHYACCOUNTS_PLUGIN_SUNSHINE_ACCOUNT_UI_PLUGIN_H #include #include class SunshineAccountUiPlugin : public AbstractAccountUiPlugin { Q_OBJECT public: SunshineAccountUiPlugin(QObject *parent, const QVariantList &); - virtual ~SunshineAccountUiPlugin(); + ~SunshineAccountUiPlugin() override; - virtual AbstractAccountUi* accountUi(const QString &connectionManager, + AbstractAccountUi* accountUi(const QString &connectionManager, const QString &protocol, const QString &serviceName) override; private: Q_DISABLE_COPY(SunshineAccountUiPlugin) }; #endif // header guard diff --git a/plugins/sunshine/sunshine-account-ui.h b/plugins/sunshine/sunshine-account-ui.h index 1c7a3e3..bb1c428 100644 --- a/plugins/sunshine/sunshine-account-ui.h +++ b/plugins/sunshine/sunshine-account-ui.h @@ -1,46 +1,46 @@ /* * This file is part of telepathy-accounts-kcm-plugins * * Copyright (C) 2011 Florian Reinhard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_SUNSHINE_ACCOUNT_UI_H #define KCMTELEPATHYACCOUNTS_PLUGIN_SUNSHINE_ACCOUNT_UI_H #include class SunshineAccountUi : public AbstractAccountUi { Q_OBJECT public: explicit SunshineAccountUi(QObject *parent = 0); - virtual ~SunshineAccountUi(); + ~SunshineAccountUi() override; - virtual AbstractAccountParametersWidget + AbstractAccountParametersWidget *mainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; - virtual bool hasAdvancedOptionsWidget() const override; - virtual AbstractAccountParametersWidget + bool hasAdvancedOptionsWidget() const override; + AbstractAccountParametersWidget *advancedOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override; private: Q_DISABLE_COPY(SunshineAccountUi) }; #endif // header guard diff --git a/plugins/sunshine/sunshine-advanced-options-widget.h b/plugins/sunshine/sunshine-advanced-options-widget.h index a3fc666..eb562ba 100644 --- a/plugins/sunshine/sunshine-advanced-options-widget.h +++ b/plugins/sunshine/sunshine-advanced-options-widget.h @@ -1,43 +1,43 @@ /* * This file is part of telepathy-accounts-kcm-plugins * * Copyright (C) 2011 Florian Reinhard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_SUNSHINE_AO_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_SUNSHINE_AO_WIDGET_H #include "ui_sunshine-advanced-options-widget.h" #include class SunshineAdvancedOptionsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit SunshineAdvancedOptionsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~SunshineAdvancedOptionsWidget(); + ~SunshineAdvancedOptionsWidget() override; private: Q_DISABLE_COPY(SunshineAdvancedOptionsWidget) Ui::SunshineAdvancedOptionsWidget *m_ui; }; #endif // header guard diff --git a/plugins/sunshine/sunshine-main-options-widget.h b/plugins/sunshine/sunshine-main-options-widget.h index 1c32291..28f6737 100644 --- a/plugins/sunshine/sunshine-main-options-widget.h +++ b/plugins/sunshine/sunshine-main-options-widget.h @@ -1,43 +1,43 @@ /* * This file is part of telepathy-accounts-kcm-plugins * * Copyright (C) 2011 Florian Reinhard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_PLUGIN_SUNSHINE_ACCOUNT_PARAMETERS_WIDGET_H #define KCMTELEPATHYACCOUNTS_PLUGIN_SUNSHINE_ACCOUNT_PARAMETERS_WIDGET_H #include "ui_sunshine-main-options-widget.h" #include class SunshineMainOptionsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit SunshineMainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0); - virtual ~SunshineMainOptionsWidget(); + ~SunshineMainOptionsWidget() override; - virtual QString defaultDisplayName() const override; + QString defaultDisplayName() const override; private: Q_DISABLE_COPY(SunshineMainOptionsWidget) Ui::SunshineMainOptionsWidget *m_ui; }; #endif // header guard diff --git a/src/KCMTelepathyAccounts/abstract-account-parameters-widget.h b/src/KCMTelepathyAccounts/abstract-account-parameters-widget.h index 8fd4b41..06157b5 100644 --- a/src/KCMTelepathyAccounts/abstract-account-parameters-widget.h +++ b/src/KCMTelepathyAccounts/abstract-account-parameters-widget.h @@ -1,98 +1,98 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2009 Collabora Ltd. * Copyright (C) 2011 Dominik Schmidt * Copyright (C) 2011 Thomas Richard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef LIB_KCM_TELEPATHY_ACCOUNTS_ABSTRACT_ACCOUNT_PARAMETERS_WIDGET_H #define LIB_KCM_TELEPATHY_ACCOUNTS_ABSTRACT_ACCOUNT_PARAMETERS_WIDGET_H #include "kcm_telepathy_accounts_export.h" #include #include #include #include class ParameterEditModel; class ParameterEditModel; typedef QMap ParametersWidgetsMap; class KCM_TELEPATHY_ACCOUNTS_EXPORT AbstractAccountParametersWidget : public QWidget { Q_OBJECT public: explicit AbstractAccountParametersWidget(ParameterEditModel *parameterModel, QWidget *parent = 0); - virtual ~AbstractAccountParametersWidget(); + ~AbstractAccountParametersWidget() override; virtual QString errorMessage() const; void setErrorMessage(const QString &errorMsg); /** Makes sure the model is up to date. Subclasses which do not only use the 'handleParameter' interface should implement this. */ virtual void submit(); virtual bool validateParameterValues(); /** Returns the default display name. * This method should be re-implemented in the derived main widgets * \return The default display name, given the parameter currently set. */ virtual QString defaultDisplayName() const; protected: /** Map an input widget to a protocol parameter. The model will be kept up to date when the model changes. If the parameter is not in the model, then the input widget and associated labels will be hidden. \param parameterName The name of the parameter to map to. \param parameterType The expected type for the parameter. If this does not match, the input will be hidden. \param dataWidget The user interface widget (QLineEdit/QSpinBox etc) that should be mapped to the parameter. \param labelWidgets Any additional labels that should be hidden if the parameter does not exist. */ void handleParameter(const QString ¶meterName, QVariant::Type parameterType, QWidget *dataWidget, const QList &labelWidgets, const QByteArray &dataWidgetProperty = QByteArray()); void handleParameter(const QString ¶meterName, QVariant::Type parameterType, QWidget *dataWidget, QWidget *labelWidget = 0, const QByteArray &dataWidgetProperty = QByteArray()); /** Returns the model containing all the protocol parameters*/ ParameterEditModel *parameterModel() const; private: Q_DISABLE_COPY(AbstractAccountParametersWidget) class Private; Private * const d; }; #endif // header guard diff --git a/src/KCMTelepathyAccounts/abstract-account-ui-plugin.h b/src/KCMTelepathyAccounts/abstract-account-ui-plugin.h index 797077c..97c8f8a 100644 --- a/src/KCMTelepathyAccounts/abstract-account-ui-plugin.h +++ b/src/KCMTelepathyAccounts/abstract-account-ui-plugin.h @@ -1,56 +1,56 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2009 Collabora Ltd. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef LIB_KCM_TELEPATHY_ACCOUNTS_ABSTRACT_ACCOUNT_UI_PLUGIN_H #define LIB_KCM_TELEPATHY_ACCOUNTS_ABSTRACT_ACCOUNT_UI_PLUGIN_H #include "kcm_telepathy_accounts_export.h" #include #include #include class AbstractAccountUi; class KCM_TELEPATHY_ACCOUNTS_EXPORT AbstractAccountUiPlugin : public QObject { Q_OBJECT public: explicit AbstractAccountUiPlugin(QObject *parent = 0); - virtual ~AbstractAccountUiPlugin(); + ~AbstractAccountUiPlugin() override; virtual const QMap &providedProtocols() const; virtual AbstractAccountUi* accountUi(const QString &connectionManager, const QString &protocol, const QString &serviceName) = 0; protected: virtual void registerProvidedProtocol(const QString &connectionManager, const QString &protocol); private: Q_DISABLE_COPY(AbstractAccountUiPlugin) class Private; Private * const d; }; #endif // header guard diff --git a/src/KCMTelepathyAccounts/abstract-account-ui.h b/src/KCMTelepathyAccounts/abstract-account-ui.h index 7a5a198..15e1336 100644 --- a/src/KCMTelepathyAccounts/abstract-account-ui.h +++ b/src/KCMTelepathyAccounts/abstract-account-ui.h @@ -1,67 +1,67 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2009 Collabora Ltd. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef LIB_KCM_TELEPATHY_ACCOUNTS_ABSTRACT_ACCOUNT_UI_H #define LIB_KCM_TELEPATHY_ACCOUNTS_ABSTRACT_ACCOUNT_UI_H #include "kcm_telepathy_accounts_export.h" #include #include #include #include #include class AbstractAccountParametersWidget; class ParameterEditModel; class KCM_TELEPATHY_ACCOUNTS_EXPORT AbstractAccountUi : public QObject { Q_OBJECT public: explicit AbstractAccountUi(QObject *parent = 0); - virtual ~AbstractAccountUi(); + ~AbstractAccountUi() override; virtual const QMap &supportedParameters() const; virtual AbstractAccountParametersWidget *mainOptionsWidget(ParameterEditModel *parameterModel, QWidget *parent = 0) const = 0; virtual bool hasAdvancedOptionsWidget() const; virtual AbstractAccountParametersWidget *advancedOptionsWidget(ParameterEditModel *parameterModel, QWidget *parent = 0) const; protected: virtual void registerSupportedParameter(const QString &name, QVariant::Type type); private: Q_DISABLE_COPY(AbstractAccountUi) class Private; Private * const d; }; #endif // header guard diff --git a/src/KCMTelepathyAccounts/account-edit-widget.h b/src/KCMTelepathyAccounts/account-edit-widget.h index c56e455..734a9f4 100644 --- a/src/KCMTelepathyAccounts/account-edit-widget.h +++ b/src/KCMTelepathyAccounts/account-edit-widget.h @@ -1,84 +1,84 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2010 Collabora Ltd. * Copyright (C) 2011 Dominik Schmidt * Copyright (C) 2013 Daniele E. Domenichelli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCM_TELEPATHY_ACCOUNTS_ACCOUNT_EDIT_WIDGET_H #define KCM_TELEPATHY_ACCOUNTS_ACCOUNT_EDIT_WIDGET_H #include "kcm_telepathy_accounts_export.h" #include "parameter-edit-model.h" #include #include #include enum ConnectOnLoadType{ doConnectOnAdd, doNotConnectOnAdd }; class KCM_TELEPATHY_ACCOUNTS_EXPORT AccountEditWidget : public QWidget { Q_OBJECT public: explicit AccountEditWidget(const Tp::ProfilePtr &info, const QString &displayName, ParameterEditModel *parameterModel, ConnectOnLoadType connectOnAddFlag = doNotConnectOnAdd, QWidget *parent = 0); - virtual ~AccountEditWidget(); + ~AccountEditWidget() override; QString errorMessage() const; virtual bool validateParameterValues() const; bool connectOnAdd(); virtual QVariantMap parametersSet() const; virtual QStringList parametersUnset() const; QString defaultDisplayName() const; QString displayName() const; // returns true if display name has changed bool updateDisplayName(); protected: ParameterEditModel *parameterModel() const; private Q_SLOTS: void onAdvancedClicked(); Q_SIGNALS: void feedbackMessage(const QString &text, const QString &comment, KMessageWidget::MessageType); private: Q_DISABLE_COPY(AccountEditWidget) void loadWidgets(); class Private; Private * const d; }; #endif // header guard diff --git a/src/KCMTelepathyAccounts/feedback-widget.h b/src/KCMTelepathyAccounts/feedback-widget.h index daf1ded..9d793b8 100644 --- a/src/KCMTelepathyAccounts/feedback-widget.h +++ b/src/KCMTelepathyAccounts/feedback-widget.h @@ -1,47 +1,47 @@ /* * This file is part of telepathy-accounts-kcm and contains * code from Bluedevil * * Copyright (C) 2010 Rafael Fernández López * Copyright (C) 2010 UFO Coders * Copyright (C) 2011 Thomas Richard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef TELEPATHY_ACCOUNTS_KCM_FEEDBACK_WIDGET_H #define TELEPATHY_ACCOUNTS_KCM_FEEDBACK_WIDGET_H #include class QLabel; class QHBoxLayout; class QTimer; class FeedbackWidget : public KMessageWidget { Q_OBJECT Q_DISABLE_COPY(FeedbackWidget) public: FeedbackWidget(QWidget *parent = 0); - virtual ~FeedbackWidget(); + ~FeedbackWidget() override; public Q_SLOTS: void setMessage(const QString &text, const QString &comment, KMessageWidget::MessageType type); void setText(const QString &text, KMessageWidget::MessageType type); }; #endif diff --git a/src/KCMTelepathyAccounts/generic-advanced-options-widget.h b/src/KCMTelepathyAccounts/generic-advanced-options-widget.h index abb5964..a1ab986 100644 --- a/src/KCMTelepathyAccounts/generic-advanced-options-widget.h +++ b/src/KCMTelepathyAccounts/generic-advanced-options-widget.h @@ -1,53 +1,53 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Dominik Schmidt * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef KCMTELEPATHYACCOUNTS_GENERIC_ADVANCED_OPTIONS_WIDGET_H #define KCMTELEPATHYACCOUNTS_GENERIC_ADVANCED_OPTIONS_WIDGET_H #include "kcm_telepathy_accounts_export.h" #include "abstract-account-parameters-widget.h" class KCM_TELEPATHY_ACCOUNTS_EXPORT GenericAdvancedOptionsWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit GenericAdvancedOptionsWidget(ParameterEditModel* model, QWidget *parent = 0); - virtual ~GenericAdvancedOptionsWidget(); + ~GenericAdvancedOptionsWidget() override; - virtual bool validateParameterValues() override; + bool validateParameterValues() override; void setTabBarHidden(bool hidden); void submit() override; void addTab(AbstractAccountParametersWidget *tab, const QString &label); private: Q_DISABLE_COPY(GenericAdvancedOptionsWidget) class Private; Private * const d; }; #endif // header guard diff --git a/src/KCMTelepathyAccounts/parameter-edit-delegate.h b/src/KCMTelepathyAccounts/parameter-edit-delegate.h index 97e0d7b..a0387d6 100644 --- a/src/KCMTelepathyAccounts/parameter-edit-delegate.h +++ b/src/KCMTelepathyAccounts/parameter-edit-delegate.h @@ -1,56 +1,56 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2009 Collabora Ltd. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef TELEPATHY_ACCOUNTS_KCM_PARAMETER_EDIT_DELEGATE_H #define TELEPATHY_ACCOUNTS_KCM_PARAMETER_EDIT_DELEGATE_H #include class ParameterEditDelegate : public KWidgetItemDelegate { Q_OBJECT public: explicit ParameterEditDelegate(QAbstractItemView *itemView, QObject *parent = 0); - virtual ~ParameterEditDelegate(); + ~ParameterEditDelegate() override; - virtual void paint(QPainter *painter, + void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override; - virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override; + QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override; private Q_SLOTS: void onLineEditTextChanged(QString text); void onCheckBoxToggled(bool checked); void onSpinBoxValueChanged(int value); Q_SIGNALS: void dataChanged(const QModelIndex &index, const QVariant &value, int role); protected: - virtual QList createItemWidgets(const QModelIndex &index) const override; - virtual void updateItemWidgets(const QList widgets, + QList createItemWidgets(const QModelIndex &index) const override; + void updateItemWidgets(const QList widgets, const QStyleOptionViewItem &option, const QPersistentModelIndex &index) const override; }; #endif // Header guard diff --git a/src/KCMTelepathyAccounts/parameter-edit-model.h b/src/KCMTelepathyAccounts/parameter-edit-model.h index 730a2a8..bba50ec 100644 --- a/src/KCMTelepathyAccounts/parameter-edit-model.h +++ b/src/KCMTelepathyAccounts/parameter-edit-model.h @@ -1,93 +1,93 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2009 Collabora Ltd. * Copyright (C) 2011 Dominik Schmidt * Copyright (C) 2011 Thomas Richard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef LIB_KCM_TELEPATHY_ACCOUNTS_PARAMETER_EDIT_MODEL_H #define LIB_KCM_TELEPATHY_ACCOUNTS_PARAMETER_EDIT_MODEL_H #include "kcm_telepathy_accounts_export.h" #include #include #include #include class ParameterItem; class KCM_TELEPATHY_ACCOUNTS_EXPORT ParameterEditModel : public QAbstractListModel { Q_OBJECT Q_DISABLE_COPY(ParameterEditModel) public: enum Roles { NameRole = Qt::UserRole + 1, LocalizedNameRole, TypeRole, ValueRole, DefaultValueRole, SecretRole, RequiredRole, RequiredForRegistrationRole, ValidityRole, UserRole = Qt::UserRole + 42 }; explicit ParameterEditModel(QObject *parent = 0); - virtual ~ParameterEditModel(); + ~ParameterEditModel() override; - virtual int rowCount(const QModelIndex &index) const override; - virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; - virtual Qt::ItemFlags flags(const QModelIndex &index) const override; - virtual bool setData(const QModelIndex &index, const QVariant &value, int role) override; + int rowCount(const QModelIndex &index) const override; + QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; + Qt::ItemFlags flags(const QModelIndex &index) const override; + bool setData(const QModelIndex &index, const QVariant &value, int role) override; QModelIndex indexForParameter(const Tp::ProtocolParameter ¶meter) const; QModelIndex indexForParameter(const Tp::Profile::Parameter ¶meter) const; Tp::ProtocolParameter parameter(const QString ¶meterName) const; void addItem(const Tp::ProtocolParameter ¶meter, const Tp::Profile::Parameter &profileParameter, const QVariant &originalValue); void addItems(const Tp::ProtocolParameterList ¶meters, const Tp::Profile::ParameterList &profileParameters, const QVariantMap ¶meterValues = QVariantMap()); Tp::ProtocolParameterList parameters() const; /** Returns a map of the parameters values, keyed by parameter name in a format suitable for sending to Telepathy*/ QVariantMap parametersSet() const; /** Returns a list of the names of parameters which are handled by the model, but should not be saved in the user's settings*/ QStringList parametersUnset() const; bool validateParameterValues(); Q_SIGNALS: void feedbackMessage(const QString &text, const QString &comment, KMessageWidget::MessageType); private: QList m_items; /** Returns true if this parameter/value pair should be saved. False if it should be unset*/ bool parameterNeedsSaving(const Tp::ProtocolParameter ¶meter, const QVariant &value) const; }; #endif // header guard diff --git a/src/KCMTelepathyAccounts/parameter-edit-widget.h b/src/KCMTelepathyAccounts/parameter-edit-widget.h index 9aa869f..fdce50c 100644 --- a/src/KCMTelepathyAccounts/parameter-edit-widget.h +++ b/src/KCMTelepathyAccounts/parameter-edit-widget.h @@ -1,53 +1,53 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2009 Collabora Ltd. * Copyright (C) 2011 Dominik Schmidt * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef TELEPATHY_ACCOUNTS_KCM_PARAMETER_EDIT_WIDGET_H #define TELEPATHY_ACCOUNTS_KCM_PARAMETER_EDIT_WIDGET_H #include #include "kcm_telepathy_accounts_export.h" #include class KCM_TELEPATHY_ACCOUNTS_EXPORT ParameterEditWidget : public AbstractAccountParametersWidget { Q_OBJECT public: explicit ParameterEditWidget(ParameterEditModel *parameterModel, QWidget *parent = 0); - ~ParameterEditWidget(); + ~ParameterEditWidget() override; - virtual QString defaultDisplayName() const override; + QString defaultDisplayName() const override; private Q_SLOTS: void onDelegateDataChanged(const QModelIndex &index, const QVariant &value, int role); private: Q_DISABLE_COPY(ParameterEditWidget) class Private; Private * const d; }; #endif // Header guard diff --git a/src/KCMTelepathyAccounts/parameter-item.h b/src/KCMTelepathyAccounts/parameter-item.h index fd09762..3b081dc 100644 --- a/src/KCMTelepathyAccounts/parameter-item.h +++ b/src/KCMTelepathyAccounts/parameter-item.h @@ -1,71 +1,71 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2009 Collabora Ltd. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef LIB_KCM_TELEPATHY_ACCOUNTS_PARAMETER_ITEM_H #define LIB_KCM_TELEPATHY_ACCOUNTS_PARAMETER_ITEM_H #include #include #include #include #include class ParameterItem : public QObject { Q_OBJECT Q_DISABLE_COPY(ParameterItem) public: ParameterItem(const Tp::ProtocolParameter ¶meter, const Tp::Profile::Parameter &profileParameter, const QVariant &originalValue, QObject *parent = 0); - virtual ~ParameterItem(); + ~ParameterItem() override; QString name() const; QString localizedName() const; QVariant::Type type() const; QVariant value() const; bool isSecret() const; bool isRequired() const; bool isRequiredForRegistration() const; /** Returns true if the item is from a profile and should _not_ be changed*/ bool isMandatory() const; const Tp::ProtocolParameter parameter() const; const Tp::Profile::Parameter profileParameter() const; QValidator::State validity() const; void setValue(const QVariant &value); void setValidity(QValidator::State validity); private: Tp::ProtocolParameter m_parameter; Tp::Profile::Parameter m_profileParameter; const QVariant m_originalValue; QVariant m_currentValue; QString m_localizedName; QValidator::State m_validity; }; #endif // header guard diff --git a/src/KCMTelepathyAccounts/plugin-manager.h b/src/KCMTelepathyAccounts/plugin-manager.h index 1476d76..7d3246c 100644 --- a/src/KCMTelepathyAccounts/plugin-manager.h +++ b/src/KCMTelepathyAccounts/plugin-manager.h @@ -1,55 +1,55 @@ /* * This file is part of Kopete * * Copyright (C) 2009 Collabora Ltd. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef TELEPATHY_ACCOUNTS_KCM_PLUGIN_MANAGER_H #define TELEPATHY_ACCOUNTS_KCM_PLUGIN_MANAGER_H #include "kcm_telepathy_accounts_export.h" #include #include class AbstractAccountUi; class AbstractAccountUiPlugin; class KCM_TELEPATHY_ACCOUNTS_EXPORT PluginManager : public QObject { Q_OBJECT Q_DISABLE_COPY(PluginManager) public: static PluginManager *instance(); - virtual ~PluginManager(); + ~PluginManager() override; AbstractAccountUi *accountUiForProtocol(const QString &connectionManager, const QString &protocol, const QString &serviceName); private: explicit PluginManager(QObject *parent = 0); static PluginManager *s_self; void loadPlugins(); QList m_plugins; }; #endif // Header guard diff --git a/src/KCMTelepathyAccounts/profile-item.h b/src/KCMTelepathyAccounts/profile-item.h index e5999ef..15562f4 100644 --- a/src/KCMTelepathyAccounts/profile-item.h +++ b/src/KCMTelepathyAccounts/profile-item.h @@ -1,62 +1,62 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2009 Collabora Ltd. * Copyright (C) 2011 Thomas Richard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef TELEPATHY_ACCOUNTS_KCM_PROTOCOL_ITEM_H #define TELEPATHY_ACCOUNTS_KCM_PROTOCOL_ITEM_H #include "kcm_telepathy_accounts_export.h" #include #include #include class ProfileListModel; class KCM_TELEPATHY_ACCOUNTS_EXPORT ProfileItem : public QObject { Q_OBJECT Q_DISABLE_COPY(ProfileItem) public: explicit ProfileItem(const Tp::ProfilePtr &profile, QObject *parent); - virtual ~ProfileItem(); + ~ProfileItem() override; QString serviceName() const; QString name() const; QString localizedName() const; QString iconName() const; QString cmName() const; QString protocolName() const; Tp::ProfilePtr profile() const; const QIcon icon() const; private: void generateIcon(); Tp::ProfilePtr m_profile; QString m_localizedName; QIcon m_icon; }; #endif // header guard diff --git a/src/KCMTelepathyAccounts/profile-list-model.h b/src/KCMTelepathyAccounts/profile-list-model.h index 8662c48..a546b69 100644 --- a/src/KCMTelepathyAccounts/profile-list-model.h +++ b/src/KCMTelepathyAccounts/profile-list-model.h @@ -1,75 +1,75 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2009 Collabora Ltd. * Copyright (C) 2011 Thomas Richard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef LIB_KCM_TELEPATHY_ACCOUNTS_PROFILE_LIST_MODEL_H #define LIB_KCM_TELEPATHY_ACCOUNTS_PROFILE_LIST_MODEL_H #include "kcm_telepathy_accounts_export.h" #include #include namespace TelepathyQt { class PendingOperation; } class ProfileItem; class KCM_TELEPATHY_ACCOUNTS_EXPORT ProfileListModel : public QAbstractListModel { Q_OBJECT Q_DISABLE_COPY(ProfileListModel) public: enum Roles { ProfileProtocolNameRole = Qt::UserRole+1, ProfileCmNameRole = Qt::UserRole+2 }; explicit ProfileListModel(QObject *parent = 0); - virtual ~ProfileListModel(); + ~ProfileListModel() override; - virtual int rowCount(const QModelIndex &index) const override; - virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; + int rowCount(const QModelIndex &index) const override; + QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; ProfileItem *itemForIndex(const QModelIndex &index) const; ProfileItem *itemForService(const QString &serviceName) const; private Q_SLOTS: void onConnectionManagerNamesFetched(Tp::PendingOperation*); void onConnectionManagersLoaded(Tp::PendingOperation *op); void onProfileManagerReady(Tp::PendingOperation *op); private: bool hasNonFakeProfile(const Tp::ProfilePtr &profile, const QList &profiles) const; bool hasValidCM(const Tp::ProfilePtr &profile) const; void populateList(); Tp::ProfileManagerPtr m_profileManager; QList m_profileItems; QHash m_connectionManagers; }; #endif // header guard diff --git a/src/KCMTelepathyAccounts/profile-select-widget.h b/src/KCMTelepathyAccounts/profile-select-widget.h index 0a49b91..2528a2b 100644 --- a/src/KCMTelepathyAccounts/profile-select-widget.h +++ b/src/KCMTelepathyAccounts/profile-select-widget.h @@ -1,63 +1,63 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2009 Collabora Ltd. * Copyright (C) 2011 Thomas Richard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef TELEPATHY_ACCOUNTS_KCM_PROFILE_SELECT_WIDGET_H #define TELEPATHY_ACCOUNTS_KCM_PROFILE_SELECT_WIDGET_H #include "kcm_telepathy_accounts_export.h" #include "profile-list-model.h" #include namespace Tp { class PendingOperation; } class ProfileItem; class QItemSelection; class QModelIndex; class KCM_TELEPATHY_ACCOUNTS_EXPORT ProfileSelectWidget : public QWidget { Q_OBJECT public: explicit ProfileSelectWidget(ProfileListModel *sprofileListModel, QWidget *parent = 0, bool enableSalut = false); - ~ProfileSelectWidget(); + ~ProfileSelectWidget() override; ProfileItem *selectedProfile(); private Q_SLOTS: void onSelectionChanged(const QItemSelection &selected); Q_SIGNALS: void profileSelected(bool selected); void profileChosen(); private: class Private; Private * const d; }; #endif // Header guard diff --git a/src/KCMTelepathyAccounts/simple-profile-select-widget.h b/src/KCMTelepathyAccounts/simple-profile-select-widget.h index 05a8df0..f095ab2 100644 --- a/src/KCMTelepathyAccounts/simple-profile-select-widget.h +++ b/src/KCMTelepathyAccounts/simple-profile-select-widget.h @@ -1,62 +1,62 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Florian Reinhard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef TELEPATHY_ACCOUNTS_KCM_SIMPLE_PROFILE_SELECT_WIDGET_H #define TELEPATHY_ACCOUNTS_KCM_SIMPLE_PROFILE_SELECT_WIDGET_H #include "kcm_telepathy_accounts_export.h" #include "profile-list-model.h" #include namespace Tp { class PendingOperation; } class ProfileItem; class QItemSelection; class QModelIndex; class KCM_TELEPATHY_ACCOUNTS_EXPORT SimpleProfileSelectWidget : public QWidget { Q_OBJECT public: explicit SimpleProfileSelectWidget(ProfileListModel *profileListModel, QWidget *parent = 0); - ~SimpleProfileSelectWidget(); + ~SimpleProfileSelectWidget() override; ProfileItem *selectedProfile(); private Q_SLOTS: void onProfileClicked(QString profileName); Q_SIGNALS: void profileChosen(); void othersChosen(); private: class Private; Private * const d; }; #endif // Header guard diff --git a/src/KCMTelepathyAccounts/validated-line-edit.h b/src/KCMTelepathyAccounts/validated-line-edit.h index a06e33c..8b1773d 100644 --- a/src/KCMTelepathyAccounts/validated-line-edit.h +++ b/src/KCMTelepathyAccounts/validated-line-edit.h @@ -1,67 +1,67 @@ /* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2011 Thomas Richard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef VALIDATEDLINEEDIT_H #define VALIDATEDLINEEDIT_H #include #include class QLabel; class QHBoxLayout; class QToolButton; class ValidationIconWidget; class QAbstractItemModel; class QModelIndex; class Q_DECL_EXPORT ValidatedLineEdit : public QLineEdit { Q_OBJECT public: enum PredefinedValidator { NotEmptyValidator, EmailValidator, HostnameValidator, IPAddressValidator }; ValidatedLineEdit(QWidget *parent = 0); - virtual ~ValidatedLineEdit(); + ~ValidatedLineEdit() override; void setValidator(PredefinedValidator validator); void setValidator(const QString ®exp, const QString &errorMessage); QValidator::State validationState(); protected Q_SLOTS: void onTextChanged(const QString &text); protected: - virtual void resizeEvent(QResizeEvent *event) override; + void resizeEvent(QResizeEvent *event) override; void updateIcon(); void validate(); private: class Private; Private *d; }; #endif // VALIDATEDLINEEDIT_H