summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/tools.pri
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2011-01-17 13:35:58 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2011-01-26 15:51:14 (GMT)
commitf65b7aa11d18ab710bc2e6720d7a6dbc8f169c65 (patch)
tree149c04a2e6007555fbc5284658a5091ba26ba22f /src/corelib/tools/tools.pri
parent44d0d663d4972b2d8a0248e4ea3222a46942ff0e (diff)
downloadQt-f65b7aa11d18ab710bc2e6720d7a6dbc8f169c65.zip
Qt-f65b7aa11d18ab710bc2e6720d7a6dbc8f169c65.tar.gz
Qt-f65b7aa11d18ab710bc2e6720d7a6dbc8f169c65.tar.bz2
Add QScopedValueRollback tools class.
This template allows a value to be automatically rolled back to a previous state when the class goes out of scope. This can be used to maintain a valid state when an exception is thrown. Reviewed-by: mread Reviewed-by: joao
Diffstat (limited to 'src/corelib/tools/tools.pri')
-rw-r--r--src/corelib/tools/tools.pri7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/corelib/tools/tools.pri b/src/corelib/tools/tools.pri
index 03bb32d..9d564a1 100644
--- a/src/corelib/tools/tools.pri
+++ b/src/corelib/tools/tools.pri
@@ -29,6 +29,9 @@ HEADERS += \
tools/qrect.h \
tools/qregexp.h \
tools/qringbuffer_p.h \
+ tools/qscopedpointer.h \
+ tools/qscopedpointer_p.h \
+ tools/qscopedvaluerollback.h \
tools/qshareddata.h \
tools/qsharedpointer.h \
tools/qsharedpointer_impl.h \
@@ -45,9 +48,7 @@ HEADERS += \
tools/qelapsedtimer.h \
tools/qunicodetables_p.h \
tools/qvarlengtharray.h \
- tools/qvector.h \
- tools/qscopedpointer.h \
- tools/qscopedpointer_p.h
+ tools/qvector.h
SOURCES += \