kitchensync
profiledialog.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef KSYNC_PROFILEDIALOG_H
00023 #define KSYNC_PROFILEDIALOG_H
00024
00025 #include "profile.h"
00026 #include "actionpartservice.h"
00027
00028 #include <kdialogbase.h>
00029
00030 class KListView;
00031 class QPushButton;
00032
00033 namespace KSync {
00034
00035 class ProfileDialog : public KDialogBase
00036 {
00037 Q_OBJECT
00038 public:
00039 ProfileDialog( const Profile::List &,
00040 const ActionPartService::List &availableParts );
00041 ~ProfileDialog();
00042 Profile::List profiles()const;
00043
00044 private slots:
00045 void slotRemove();
00046 void slotAdd();
00047 void slotEdit();
00048
00049 void slotSelectionChanged();
00050
00051 private:
00052 void initListView( const Profile::List & );
00053
00054 ActionPartService::List mAvailableParts;
00055 KListView *mProfileList;
00056 QPushButton *mEditButton;
00057 QPushButton *mRemoveButton;
00058 };
00059
00060 }
00061
00062 #endif
|