ldifvcardcreator.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
#ifndef VCARD_LDIFCREATOR_H
00022
#define VCARD_LDIFCREATOR_H
00023
00024
#include <qpixmap.h>
00025
#include <kio/thumbcreator.h>
00026
00027
class KPixmapSplitter;
00028
00029
class VCard_LDIFCreator :
public ThumbCreator
00030 {
00031
public:
00032 VCard_LDIFCreator();
00033
virtual ~VCard_LDIFCreator();
00034
virtual bool create(
const QString &path,
int width,
int height,
QImage &img);
00035
virtual Flags flags() const;
00036
00037 private:
00038 KPixmapSplitter *mSplitter;
00039
QPixmap mPixmap;
00040
00041
QString name;
00042
QString text;
00043
bool readContents( const
QString &path );
00044
int xborder, yborder;
00045
QSize pixmapSize;
00046
bool createImageSmall();
00047
bool createImageBig();
00048 };
00049
00050 #endif
This file is part of the documentation for kaddressbook Library Version 3.3.0.