24 #ifndef NAMEEDITDIALOG_H
25 #define NAMEEDITDIALOG_H
27 #include <kdialogbase.h>
28 #include <tdeabc/addressee.h>
30 #include "addresseeconfig.h"
46 enum FormattedNameType
57 bool readOnly, TQWidget *parent, const char *name = 0 );
60 TQString familyName() const;
61 TQString givenName() const;
62 TQString prefix() const;
63 TQString suffix() const;
64 TQString additionalName() const;
65 TQString customFormattedName() const;
66 int formattedNameType() const;
70 static TQString formattedName( const TDEABC::Addressee &addr, int type );
76 void parseBoxChanged( bool );
77 void formattedNameTypeChanged();
78 void formattedNameChanged( const TQString& );
79 void typeChanged( int );
84 KComboBox *mSuffixCombo;
85 KComboBox *mPrefixCombo;
86 KComboBox *mFormattedNameCombo;
87 KLineEdit *mFamilyNameEdit;
88 KLineEdit *mGivenNameEdit;
89 KLineEdit *mAdditionalNameEdit;
90 KLineEdit *mFormattedNameEdit;
91 TQCheckBox *mParseBox;
93 AddresseeConfig mAddresseeConfig;
94 TDEABC::Addressee mAddressee;
95 TQString mCustomFormattedName;
Editor dialog for name details, like given name, family name etc.
|