summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qnamespace.h
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-05-25 20:47:06 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-05-27 08:30:53 (GMT)
commit0ea19cf01e2381969a8b8ce8cdaffe9ce873d3a9 (patch)
tree366d238fbd75b808de8aa7b701351f225a7e79dc /src/corelib/global/qnamespace.h
parent5e14efa547ffac5890b008ad23e9ff0bc634a3e1 (diff)
downloadQt-0ea19cf01e2381969a8b8ce8cdaffe9ce873d3a9.zip
Qt-0ea19cf01e2381969a8b8ce8cdaffe9ce873d3a9.tar.gz
Qt-0ea19cf01e2381969a8b8ce8cdaffe9ce873d3a9.tar.bz2
Add a flag that ensure that a connection is made only one
It is often desirable, when doing connection, to ensure that the same connection is only made once. This can be done with the Qt::UniqueConnection 'flag' Also documented the order the slot are called Reviewed-by: Brad
Diffstat (limited to 'src/corelib/global/qnamespace.h')
-rw-r--r--src/corelib/global/qnamespace.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h
index 3367581..9e53d89 100644
--- a/src/corelib/global/qnamespace.h
+++ b/src/corelib/global/qnamespace.h
@@ -1327,7 +1327,8 @@ public:
DirectConnection,
QueuedConnection,
AutoCompatConnection,
- BlockingQueuedConnection
+ BlockingQueuedConnection,
+ UniqueConnection = 0x80
};
enum ShortcutContext {