27 #include <tdeabc/sound.h>
29 #include "contacteditorwidget.h"
36 class SoundWidget : public KAB::ContactEditorWidget
42 SoundWidget( TDEABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
45 void loadContact( TDEABC::Addressee *addr );
46 void storeContact( TDEABC::Addressee *addr );
47 void setReadOnly( bool readOnly );
53 void urlChanged( const TQString& );
56 KURLRequester *mSoundUrl;
58 TQCheckBox *mUseSoundUrl;
59 TQPushButton *mPlayButton;
65 class SoundWidgetFactory : public KAB::ContactEditorWidgetFactory
68 KAB::ContactEditorWidget *createWidget( TDEABC::AddressBook *ab, TQWidget *parent, const char *name )
70 return new SoundWidget( ab, parent, name );
73 TQString pageIdentifier() const { return "misc"; }
|