Konsole
Konsole::PopStackOnExit< T > Class Template Reference
PopStackOnExit is a utility to remove all values from a QStack which are added during the lifetime of a PopStackOnExit instance. More...
#include <SessionManager.h>
Public Member Functions | |
PopStackOnExit (QStack< T > &stack) | |
~PopStackOnExit () |
Detailed Description
template<class T>
class Konsole::PopStackOnExit< T >
PopStackOnExit is a utility to remove all values from a QStack which are added during the lifetime of a PopStackOnExit instance.
When a PopStackOnExit instance is destroyed, elements are removed from the stack until the stack count is reduced the value when the PopStackOnExit instance was created.
Definition at line 372 of file SessionManager.h.
Constructor & Destructor Documentation
template<class T >
Konsole::PopStackOnExit< T >::PopStackOnExit | ( | QStack< T > & | stack | ) | [inline] |
Definition at line 375 of file SessionManager.h.
template<class T >
Konsole::PopStackOnExit< T >::~PopStackOnExit | ( | ) | [inline] |
Definition at line 376 of file SessionManager.h.
The documentation for this class was generated from the following file: