nameeditdialog.h
00001 #ifndef NAMEEDITDIALOG_H
00002 #define NAMEEDITDIALOG_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #include <kdialogbase.h>
00027 #include <kabc/addressee.h>
00028
00029 #include "addresseeconfig.h"
00030
00031 class QCheckBox;
00032
00033 class KLineEdit;
00034 class KComboBox;
00035
00039 class NameEditDialog : public KDialogBase
00040 {
00041 Q_OBJECT
00042
00043 public:
00044 NameEditDialog( const KABC::Addressee &addr, QWidget *parent, const char *name = 0);
00045 ~NameEditDialog();
00046
00047 QString familyName() const;
00048 QString givenName() const;
00049 QString prefix() const;
00050 QString suffix() const;
00051 QString additionalName() const;
00052
00053 bool changed() const;
00054
00055 protected slots:
00056 void parseBoxChanged(bool);
00057 void modified();
00058
00059 private:
00060 KComboBox *mSuffixCombo;
00061 KComboBox *mPrefixCombo;
00062 KLineEdit *mFamilyNameEdit;
00063 KLineEdit *mGivenNameEdit;
00064 KLineEdit *mAdditionalNameEdit;
00065 QCheckBox *mParseBox;
00066
00067 AddresseeConfig mAddresseeConfig;
00068 bool mChanged;
00069 };
00070
00071 #endif
This file is part of the documentation for kdelibs Version 3.1.5.