24 #ifndef FREEBUSYWIDGET_H
25 #define FREEBUSYWIDGET_H
27 #include <kurlrequester.h>
29 #include "contacteditorwidget.h"
31 class FreeBusyWidget : public KAB::ContactEditorWidget
37 FreeBusyWidget( TDEABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
40 void loadContact( TDEABC::Addressee *addr );
41 void storeContact( TDEABC::Addressee *addr );
43 void setReadOnly( bool readOnly );
51 class FreeBusyWidgetFactory : public KAB::ContactEditorWidgetFactory
54 KAB::ContactEditorWidget *createWidget( TDEABC::AddressBook *ab, TQWidget *parent, const char *name )
56 return new FreeBusyWidget( ab, parent, name );
59 TQString pageIdentifier() const { return "misc"; }
|