X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcore%2Fcorenetworkconfig.h;h=4b08a5813f698ecf706ae4a8e68e59a6d02f98fe;hb=39328183a6a87c6eb10a9dbbffcd5d65bf154a1f;hp=6c78c47986f80052cc734b288ec2c26cfaa21b51;hpb=694f9bfbf7f1af19108461c7e00d133e55082bce;p=quassel.git diff --git a/src/core/corenetworkconfig.h b/src/core/corenetworkconfig.h index 6c78c479..4b08a581 100644 --- a/src/core/corenetworkconfig.h +++ b/src/core/corenetworkconfig.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-09 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,11 +15,10 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef CORENETWORKCONFIG_H_ -#define CORENETWORKCONFIG_H_ +#pragma once #include "networkconfig.h" @@ -27,14 +26,11 @@ class CoreSession; class CoreNetworkConfig : public NetworkConfig { - SYNCABLE_OBJECT - Q_OBJECT + Q_OBJECT public: CoreNetworkConfig(const QString &objectName, CoreSession *parent); - inline virtual const QMetaObject *syncMetaObject() const { return &NetworkConfig::staticMetaObject; } - void save(); public slots: @@ -45,7 +41,5 @@ public slots: virtual inline void requestSetAutoWhoInterval(int interval) { setAutoWhoInterval(interval); } virtual inline void requestSetAutoWhoNickLimit(int nickLimit) { setAutoWhoNickLimit(nickLimit); } virtual inline void requestSetAutoWhoDelay(int delay) { setAutoWhoDelay(delay); } + virtual inline void requestSetStandardCtcp(bool enabled) { setStandardCtcp(enabled); } }; - - -#endif