featuredistributionlist.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef FEATUREDISTRIBUTIONLIST_H
00025 #define FEATUREDISTRIBUTIONLIST_H
00026
00027 #include <qcombobox.h>
00028 #include <qpushbutton.h>
00029
00030 #include <kabc/distributionlist.h>
00031
00032 #include "featuredistributionlistview.h"
00033
00034 class FeatureDistributionList : public QWidget
00035 {
00036 Q_OBJECT
00037
00038 public:
00039 FeatureDistributionList( KABC::AddressBook*, QWidget *parent = 0, const char* name = 0 );
00040 virtual ~FeatureDistributionList();
00041
00043 virtual void commit();
00044
00045 protected:
00047 void update();
00048
00051 void updateGUI();
00052
00054 KABC::AddressBook *mDoc;
00055
00057 KABC::DistributionListManager *mManager;
00058
00060 void showEvent(QShowEvent *);
00061
00063 void dropEvent(QDropEvent*);
00064
00065 public slots:
00067 void slotAddresseeSelectionChanged();
00068
00070 void slotDropped(QDropEvent*);
00071
00072 void slotListNew();
00073 void slotListRename();
00074 void slotListRemove();
00075 void slotEntryChangeEmail();
00076 void slotEntryRemove();
00077 void slotListSelected(int);
00078
00079 signals:
00080 void modified();
00081
00082 private:
00083 void initGUI();
00084
00085 QComboBox* mCbListSelect;
00086 QPushButton* mPbListRename;
00087 QPushButton* mPbListRemove;
00088 QPushButton* mPbChangeEmail;
00089 QPushButton* mPbEntryRemove;
00090 QPushButton* mPbListNew;
00091
00092 FeatureDistributionListView* mLvAddressees;
00093 };
00094
00095 #endif
This file is part of the documentation for kdelibs Version 3.1.4.