X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcorenetworkconfig.h;h=4b08a5813f698ecf706ae4a8e68e59a6d02f98fe;hp=8d758294ac737fc158ca739e26bd3a851bbb568d;hb=3e63cb8a6e83765069a45101b86ae9e21dcc57ad;hpb=00e1a9c29e792ba4d65dba21b7ba04131bcb13bc diff --git a/src/core/corenetworkconfig.h b/src/core/corenetworkconfig.h index 8d758294..4b08a581 100644 --- a/src/core/corenetworkconfig.h +++ b/src/core/corenetworkconfig.h @@ -18,8 +18,7 @@ * 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: @@ -47,6 +43,3 @@ public slots: virtual inline void requestSetAutoWhoDelay(int delay) { setAutoWhoDelay(delay); } virtual inline void requestSetStandardCtcp(bool enabled) { setStandardCtcp(enabled); } }; - - -#endif