24 #ifndef CONTACTEDITORWIDGETMANAGER_H 25 #define CONTACTEDITORWIDGETMANAGER_H 29 #include "contacteditorwidget.h" 37 class ContactEditorWidgetManager : public TQObject 43 static ContactEditorWidgetManager * self(); 53 KAB::ContactEditorWidgetFactory *factory( int pos ) const; 56 ContactEditorWidgetManager(); 57 ~ContactEditorWidgetManager(); 62 TQValueList<KAB::ContactEditorWidgetFactory*> mFactories; 64 static ContactEditorWidgetManager *mSelf; 67 class ContactEditorTabPage : public TQWidget 73 ContactEditorTabPage( TQWidget *parent, const char *name = 0 ); 78 void addWidget( KAB::ContactEditorWidget *widget ); 83 void loadContact( TDEABC::Addressee *addr ); 89 void storeContact( TDEABC::Addressee *addr ); 96 void setReadOnly( bool readOnly ); 111 TQGridLayout *mLayout; 112 KAB::ContactEditorWidget::List mWidgets;
|