summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_unix-signal-handlers.cpp
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@nokia.com>2011-10-19 08:55:43 (GMT)
committerJerome Pasion <jerome.pasion@nokia.com>2011-10-19 08:55:43 (GMT)
commitc6ae57e89021d44bbce71d3dd21ee1b833b9d0e2 (patch)
treed99496ae00c9e9cddb5df85b372065a2c44135cb /doc/src/snippets/code/doc_src_unix-signal-handlers.cpp
parentf90c18e09e8b2e275230080cb51656e3f8a31fba (diff)
parent8051a73be276995adfc4508a0cb5ad6451e8ab45 (diff)
downloadQt-c6ae57e89021d44bbce71d3dd21ee1b833b9d0e2.zip
Qt-c6ae57e89021d44bbce71d3dd21ee1b833b9d0e2.tar.gz
Qt-c6ae57e89021d44bbce71d3dd21ee1b833b9d0e2.tar.bz2
Merge branch '4.8' of scm.dev.nokia.troll.no:qt/qt
Diffstat (limited to 'doc/src/snippets/code/doc_src_unix-signal-handlers.cpp')
-rw-r--r--doc/src/snippets/code/doc_src_unix-signal-handlers.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/snippets/code/doc_src_unix-signal-handlers.cpp b/doc/src/snippets/code/doc_src_unix-signal-handlers.cpp
index fd5f386..a5f3ed1 100644
--- a/doc/src/snippets/code/doc_src_unix-signal-handlers.cpp
+++ b/doc/src/snippets/code/doc_src_unix-signal-handlers.cpp
@@ -44,7 +44,7 @@ class MyDaemon : public QObject
Q_OBJECT
public:
- MyDaemon(QObject *parent = 0, const char *name = 0);
+ MyDaemon(QObject *parent = 0);
~MyDaemon();
// Unix signal handlers.
@@ -67,8 +67,8 @@ class MyDaemon : public QObject
//! [1]
-MyDaemon::MyDaemon(QObject *parent, const char *name)
- : QObject(parent,name)
+MyDaemon::MyDaemon(QObject *parent)
+ : QObject(parent)
{
if (::socketpair(AF_UNIX, SOCK_STREAM, 0, sighupFd))
qFatal("Couldn't create HUP socketpair");