00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #include "plugin.h"
00022
00023 using namespace KABC;
00024
00025 class Plugin::Private
00026 {
00027 public:
00028 QString mType;
00029 QString mNameLabel;
00030 QString mDescriptionLabel;
00031 };
00032
00033 Plugin::Plugin()
00034 : d( new Private )
00035 {
00036 }
00037
00038 Plugin::~Plugin()
00039 {
00040 delete d;
00041 }
00042
00043 void Plugin::setType( const QString &type )
00044 {
00045 d->mType = type;
00046 }
00047
00048 QString Plugin::type() const
00049 {
00050 return d->mType;
00051 }
00052
00053 void Plugin::setNameLabel( const QString &label )
00054 {
00055 d->mNameLabel = label;
00056 }
00057
00058 QString Plugin::nameLabel() const
00059 {
00060 return d->mNameLabel;
00061 }
00062
00063 void Plugin::setDescriptionLabel( const QString &label )
00064 {
00065 d->mDescriptionLabel = label;
00066 }
00067
00068 QString Plugin::descriptionLabel() const
00069 {
00070 return d->mDescriptionLabel;
00071 }