24 #ifndef KADDRESSBOOKTABLEVIEW_H 25 #define KADDRESSBOOKTABLEVIEW_H 32 #include <tqlistview.h> 35 #include <tqtabdialog.h> 36 #include <tqstringlist.h> 37 #include <tqvaluelist.h> 39 #include "kaddressbookview.h" 47 class ContactListViewItem; 48 class ContactListView; 50 namespace TDEABC { class AddressBook; } 62 friend class ContactListView; 69 const char *name = 0 ); 72 virtual void refresh( const TQString &uid = TQString() ); 73 virtual TQStringList selectedUids(); 74 virtual void setSelected( const TQString &uid = TQString(), bool selected = false ); 75 virtual void setFirstSelected( bool selected = true ); 76 virtual TDEABC::Field *sortField() const; 78 virtual void readConfig( TDEConfig *config ); 79 virtual void writeConfig( TDEConfig *config ); 80 virtual TQString type() const { return "Table"; } 86 virtual void reconstructListView(); 92 void addresseeSelected(); 98 void addresseeExecuted( TQListViewItem* ); 103 void rmbClicked( TDEListView*, TQListViewItem*, const TQPoint& ); 108 void updatePresence( const TQString &uid ); 111 TQVBoxLayout *mMainLayout; 112 ContactListView *mListView;
Base class for all views in kaddressbook.
virtual TQString type() const Return the type of the view: Icon, Table, etc.
This class is the table view for kaddressbook.
|