• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kaddressbook

advancedcustomfields.h

Go to the documentation of this file.
00001 /*
00002     This file is part of KAddressbook.
00003 
00004     Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
00005     Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
00006 
00007     This program is free software; you can redistribute it and/or modify
00008     it under the terms of the GNU General Public License as published by
00009     the Free Software Foundation; either version 2 of the License, or
00010     (at your option) any later version.
00011 
00012     This program is distributed in the hope that it will be useful,
00013     but WITHOUT ANY WARRANTY; without even the implied warranty of
00014     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00015     GNU General Public License for more details.
00016 
00017     You should have received a copy of the GNU General Public License
00018     along with this program; if not, write to the Free Software
00019     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00020 
00021     As a special exception, permission is given to link this program
00022     with any edition of Qt, and distribute the resulting executable,
00023     without including the source code for Qt in the source distribution.
00024 */
00025 
00026 #ifndef ADVANCEDCUSTOMFIELDS_H
00027 #define ADVANCEDCUSTOMFIELDS_H
00028 
00029 #include <klocale.h>
00030 
00031 
00032 #include <libkdepim/designerfields.h>
00033 
00034 #include "contacteditorwidget.h"
00035 
00036 class AdvancedCustomFields : public KAB::ContactEditorWidget
00037 {
00038   Q_OBJECT
00039 
00040   public:
00041     AdvancedCustomFields( const QString &uiFile, KABC::AddressBook *ab,
00042                           QWidget *parent );
00043 
00044     void loadContact( KABC::Addressee *addr );
00045     void storeContact( KABC::Addressee *addr );
00046     void setReadOnly( bool readOnly );
00047 
00048     QString pageIdentifier() const;
00049     QString pageTitle() const;
00050 
00051   private:
00052     void initGUI( const QString& );
00053 
00054     KPIM::DesignerFields *mFields;
00055 };
00056 
00057 #endif

kaddressbook

Skip menu "kaddressbook"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal