contacteditorwidget.cpp
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
#include "contacteditorwidget.h"
00025
00026
using namespace KAB;
00027
00028 ContactEditorWidget::ContactEditorWidget( KABC::AddressBook *ab,
00029
QWidget *parent,
const char *name )
00030 :
QWidget( parent, name ), mAddressBook( ab ), mModified( false )
00031 {
00032 }
00033
00034 ContactEditorWidget::~ContactEditorWidget()
00035 {
00036 }
00037
00038 KABC::AddressBook *ContactEditorWidget::addressBook()
const
00039
{
00040
return mAddressBook;
00041 }
00042
00043
bool ContactEditorWidget::modified()
const
00044
{
00045
return mModified;
00046 }
00047
00048
void ContactEditorWidget::setModified()
00049 {
00050 setModified(
true );
00051 }
00052
00053
void ContactEditorWidget::setModified(
bool modified )
00054 {
00055 mModified = modified;
00056
if ( modified )
00057 emit changed();
00058 }
00059
00060
#include "contacteditorwidget.moc"
This file is part of the documentation for kaddressbook Library Version 3.3.0.