30 #include <tdeabc/addressbook.h>
31 #include <tdeabc/field.h>
38 class StylePage : public TQWidget
44 StylePage( TDEABC::AddressBook *ab, TQWidget* parent = 0, const char* name = 0 );
51 void setPreview( const TQPixmap &pixmap );
56 void addStyleName( const TQString &name );
61 void clearStyleNames();
66 void setSortField( TDEABC::Field *field );
71 TDEABC::Field* sortField();
76 void setSortAscending( bool value = true );
88 void styleChanged( int index );
92 void initFieldCombo();
94 KComboBox *mFieldCombo;
95 KComboBox *mSortTypeCombo;
96 KComboBox *mStyleCombo;
99 TDEABC::AddressBook *mAddressBook;
100 TDEABC::Field::List mFields;
|