kaddressbook Library API Documentation

addresseeeditordialog.h

00001 #ifndef ADDRESSEEEDITORDIALOG_H
00002 #define ADDRESSEEEDITORDIALOG_H
00003 
00004 /*                                                                      
00005     This file is part of KAddressBook.                                  
00006     Copyright (c) 2002 Mike Pilone <mpilone@slac.com>                   
00007                                                                         
00008     This program is free software; you can redistribute it and/or modify
00009     it under the terms of the GNU General Public License as published by
00010     the Free Software Foundation; either version 2 of the License, or   
00011     (at your option) any later version.                                 
00012                                                                         
00013     This program is distributed in the hope that it will be useful,     
00014     but WITHOUT ANY WARRANTY; without even the implied warranty of      
00015     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the        
00016     GNU General Public License for more details.                        
00017                                                                         
00018     You should have received a copy of the GNU General Public License   
00019     along with this program; if not, write to the Free Software         
00020     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.           
00021                                                                         
00022     As a special exception, permission is given to link this program    
00023     with any edition of Qt, and distribute the resulting executable,    
00024     without including the source code for Qt in the source distribution.
00025 */                                                                      
00026 
00027 #include <kdialogbase.h>
00028 
00029 #include <kabc/addressee.h>
00030 
00031 class QWidget;
00032 class AddresseeEditorWidget;
00033 
00034 class AddresseeEditorDialog : public KDialogBase
00035 {
00036   Q_OBJECT
00037   
00038   public:
00039     AddresseeEditorDialog(QWidget *parent, const char *name);
00040     ~AddresseeEditorDialog();
00041     
00042     void setAddressee(const KABC::Addressee &a);
00043     KABC::Addressee addressee();
00044     
00045     bool dirty();
00046     
00047   signals:
00048     void addresseeModified(const KABC::Addressee &a);
00049     void editorDestroyed( const QString & );
00050     
00051   protected slots:
00052     virtual void slotApply();
00053     virtual void slotOk();
00054     virtual void slotCancel();
00055     void widgetModified();
00056   
00057   private:
00058     AddresseeEditorWidget *mEditorWidget;
00059 };
00060 
00061 #endif
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sun Feb 15 11:40:36 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001