projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make sys includes POSIX-compliant
[quassel.git]
/
src
/
common
/
networkconfig.cpp
diff --git
a/src/common/networkconfig.cpp
b/src/common/networkconfig.cpp
index
4c60d3a
..
066988f
100644
(file)
--- a/
src/common/networkconfig.cpp
+++ b/
src/common/networkconfig.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
2
by the Quassel Project *
+ * Copyright (C) 2005-201
3
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-29,7
+29,8
@@
NetworkConfig::NetworkConfig(const QString &objectName, QObject *parent)
_autoWhoEnabled(true),
_autoWhoInterval(90),
_autoWhoNickLimit(200),
_autoWhoEnabled(true),
_autoWhoInterval(90),
_autoWhoNickLimit(200),
- _autoWhoDelay(5)
+ _autoWhoDelay(5),
+ _standardCtcp(false)
{
}
{
}
@@
-107,3
+108,14
@@
void NetworkConfig::setAutoWhoDelay(int delay)
SYNC(ARG(delay))
emit autoWhoDelaySet(delay);
}
SYNC(ARG(delay))
emit autoWhoDelaySet(delay);
}
+
+
+void NetworkConfig::setStandardCtcp(bool enabled)
+{
+ if (_standardCtcp == enabled)
+ return;
+
+ _standardCtcp = enabled;
+ SYNC(ARG(enabled))
+ emit standardCtcpSet(enabled);
+}