X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fnetworkconfig.h;fp=src%2Fcommon%2Fnetworkconfig.h;h=72b3d5f0f7100687c4f8ab64e15626066bb583ea;hp=d1d10b965efd0443fe92bad3c20d7cb698f1ec89;hb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;hpb=30b159cb876a9495de42e9a3e70ca050516f0805 diff --git a/src/common/networkconfig.h b/src/common/networkconfig.h index d1d10b96..72b3d5f0 100644 --- a/src/common/networkconfig.h +++ b/src/common/networkconfig.h @@ -38,8 +38,8 @@ class COMMON_EXPORT NetworkConfig : public SyncableObject Q_PROPERTY(int autoWhoDelay READ autoWhoDelay WRITE setAutoWhoDelay) Q_PROPERTY(bool standardCtcp READ standardCtcp WRITE setStandardCtcp) -public : - NetworkConfig(const QString &objectName = "GlobalNetworkConfig", QObject *parent = nullptr); +public: + NetworkConfig(const QString& objectName = "GlobalNetworkConfig", QObject* parent = nullptr); public slots: inline bool pingTimeoutEnabled() const { return _pingTimeoutEnabled; } @@ -72,25 +72,24 @@ public slots: inline bool standardCtcp() const { return _standardCtcp; } void setStandardCtcp(bool); - virtual inline void requestSetStandardCtcp(bool b) { REQUEST(ARG(b)) } + virtual inline void requestSetStandardCtcp(bool b){REQUEST(ARG(b))} -signals: - void pingTimeoutEnabledSet(bool); + signals : void pingTimeoutEnabledSet(bool); void pingIntervalSet(int); -// void maxPingCountSet(int); + // void maxPingCountSet(int); void autoWhoEnabledSet(bool); void autoWhoIntervalSet(int); -// void autoWhoNickLimitSet(int); + // void autoWhoNickLimitSet(int); void autoWhoDelaySet(int); void standardCtcpSet(bool); -// void setPingTimeoutEnabledRequested(bool); -// void setPingIntervalRequested(int); -// void setMaxPingCountRequested(int); -// void setAutoWhoEnabledRequested(bool); -// void setAutoWhoIntervalRequested(int); -// void setAutoWhoNickLimitRequested(int); -// void setAutoWhoDelayRequested(int); + // void setPingTimeoutEnabledRequested(bool); + // void setPingIntervalRequested(int); + // void setMaxPingCountRequested(int); + // void setAutoWhoEnabledRequested(bool); + // void setAutoWhoIntervalRequested(int); + // void setAutoWhoNickLimitRequested(int); + // void setAutoWhoDelayRequested(int); private: bool _pingTimeoutEnabled{true};