krita

kis_types.h

00001 /*
00002  *  Copyright (c) 2002 Patrick Julien <freak@codepimps.org>
00003  *
00004  *  This program is free software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU General Public License as published by
00006  *  the Free Software Foundation; either version 2 of the License, or
00007  *  (at your option) any later version.
00008  *
00009  *  This program is distributed in the hope that it will be useful,
00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *  GNU General Public License for more details.
00013  *
00014  *  You should have received a copy of the GNU General Public License
00015  *  along with this program; if not, write to the Free Software
00016  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00017  */
00018 #ifndef KISTYPES_H_
00019 #define KISTYPES_H_
00020 
00021 #include <qvaluevector.h>
00022 #include <qmap.h>
00023 #include <qpoint.h>
00024 
00025 #include <ksharedptr.h>
00026 
00027 #include "kis_shared_ptr_vector.h"
00028 
00037 class KisImage;
00038 typedef KSharedPtr<KisImage> KisImageSP;
00039 
00040 class KisPaintDevice;
00041 typedef KSharedPtr<KisPaintDevice> KisPaintDeviceSP;
00042 typedef KisSharedPtrVector<KisPaintDevice> vKisPaintDeviceSP;
00043 typedef vKisPaintDeviceSP::iterator vKisPaintDeviceSP_it;
00044 typedef vKisPaintDeviceSP::const_iterator vKisPaintDeviceSP_cit;
00045 
00046 class KisLayer;
00047 typedef KSharedPtr<KisLayer> KisLayerSP;
00048 typedef KisSharedPtrVector<KisLayer> vKisLayerSP;
00049 typedef vKisLayerSP::iterator vKisLayerSP_it;
00050 typedef vKisLayerSP::const_iterator vKisLayerSP_cit;
00051 
00052 class KisPartLayer;
00053 typedef KSharedPtr<KisPartLayer> KisPartLayerSP;
00054 
00055 class KisPaintLayer;
00056 typedef KSharedPtr<KisPaintLayer> KisPaintLayerSP;
00057 
00058 class KisAdjustmentLayer;
00059 typedef KSharedPtr<KisAdjustmentLayer> KisAdjustmentLayerSP;
00060 
00061 class KisGroupLayer;
00062 typedef KSharedPtr<KisGroupLayer> KisGroupLayerSP;
00063 
00064 class KisSelection;
00065 typedef KSharedPtr<KisSelection> KisSelectionSP;
00066 
00067 class KisBackground;
00068 typedef KSharedPtr<KisBackground> KisBackgroundSP;
00069 
00070 class KisSubstrate;
00071 typedef KSharedPtr<KisSubstrate> KisSubstrateSP;
00072 
00073 class KisHistogram;
00074 typedef KSharedPtr<KisHistogram> KisHistogramSP;
00075 
00076 class KisPaintOpFactory;
00077 typedef KSharedPtr<KisPaintOpFactory> KisPaintOpFactorySP;
00078 
00079 typedef QValueVector<QPoint> vKisSegments;
00080 
00081 //class KisGuide;
00082 //typedef KSharedPtr<KisGuide> KisGuideSP;
00083 
00084 class KisAlphaMask;
00085 typedef KSharedPtr<KisAlphaMask> KisAlphaMaskSP;
00086 
00087 class KisFilter;
00088 typedef KSharedPtr<KisFilter> KisFilterSP;
00089 
00090 #endif // KISTYPES_H_
KDE Home | KDE Accessibility Home | Description of Access Keys