Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Public Member Functions | Private Attributes
ItemState< C > Class Template Reference

#include <undostate.h>

List of all members.

Public Member Functions

 ItemState (const QString &name, const QString &description=0, QPixmap *pixmap=0)
 ~ItemState ()
void setItem (const C &c)
getItem () const

Private Attributes

item_

Detailed Description

template<class C>
class ItemState< C >

Definition at line 281 of file undostate.h.


Constructor & Destructor Documentation

template<class C>
ItemState< C >::ItemState ( const QString &  name,
const QString &  description = 0,
QPixmap *  pixmap = 0 
) [inline]

Definition at line 284 of file undostate.h.

       : SimpleState(name, description, pixmap) {}
template<class C>
ItemState< C >::~ItemState ( ) [inline]

Definition at line 286 of file undostate.h.

{}

Member Function Documentation

template<class C>
C ItemState< C >::getItem ( ) const [inline]

Definition at line 288 of file undostate.h.

{ return item_; }
template<class C>
void ItemState< C >::setItem ( const C &  c) [inline]

Definition at line 287 of file undostate.h.

{ item_ = c; }

Member Data Documentation

template<class C>
C ItemState< C >::item_ [private]

Definition at line 290 of file undostate.h.


The documentation for this class was generated from the following file: