• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

kalarm/lib

Public Member Functions | List of all members
AutoQPointer< T > Class Template Reference

#include <autoqpointer.h>

Inheritance diagram for AutoQPointer< T >:
Inheritance graph
[legend]

Public Member Functions

 AutoQPointer ()
 
 AutoQPointer (T *p)
 
 AutoQPointer (const QPointer< T > &p)
 
 ~AutoQPointer ()
 
AutoQPointer< T > & operator= (const AutoQPointer< T > &p)
 
AutoQPointer< T > & operator= (T *p)
 
- Public Member Functions inherited from QPointer< T >
 QPointer ()
 
 QPointer (T *p)
 
 QPointer (const QPointer< T > &p)
 
 ~QPointer ()
 
T * data () const
 
bool isNull () const
 
 operator T * () const
 
T & operator* () const
 
T * operator-> () const
 
QPointer< T > & operator= (const QPointer< T > &p)
 
QPointer< T > & operator= (T *p)
 

Detailed Description

template<class T>
class AutoQPointer< T >

A QPointer which when destructed, deletes the object it points to.

Author
David Jarvie djarv.nosp@m.ie@k.nosp@m.de.or.nosp@m.g

Definition at line 33 of file autoqpointer.h.

Constructor & Destructor Documentation

template<class T>
AutoQPointer< T >::AutoQPointer ( )
inline

Definition at line 36 of file autoqpointer.h.

template<class T>
AutoQPointer< T >::AutoQPointer ( T *  p)
inline

Definition at line 37 of file autoqpointer.h.

template<class T>
AutoQPointer< T >::AutoQPointer ( const QPointer< T > &  p)
inline

Definition at line 38 of file autoqpointer.h.

template<class T>
AutoQPointer< T >::~AutoQPointer ( )
inline

Definition at line 39 of file autoqpointer.h.

Member Function Documentation

template<class T>
AutoQPointer<T>& AutoQPointer< T >::operator= ( const AutoQPointer< T > &  p)
inline

Definition at line 40 of file autoqpointer.h.

template<class T>
AutoQPointer<T>& AutoQPointer< T >::operator= ( T *  p)
inline

Definition at line 41 of file autoqpointer.h.


The documentation for this class was generated from the following file:
  • autoqpointer.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:35:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kalarm/lib

Skip menu "kalarm/lib"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal