25 #ifndef KONTACT_PROFILEDIALOG_H 26 #define KONTACT_PROFILEDIALOG_H 28 #include <kdialogbase.h> 40 class ProfileDialog : public KDialogBase 46 explicit ProfileDialog( TQWidget* parent = 0, WFlags f = 0 ); 54 TQString selectedProfile() const; 55 void updateButtonState(); 64 void loadSelectedProfile(); 65 void saveToSelectedProfile(); 66 void deleteSelectedProfile(); 68 void exportSelectedProfile(); 70 void listSelectionChanged(); 71 void listItemRenamed( TQListViewItem* item, const TQString& text, int col ); 73 void profileAdded( const TQString& id ); 74 void profileRemoved( const TQString& id ); 75 void profileUpdated( const TQString& id ); 76 void profileLoaded( const TQString& id ); 80 TQPushButton* m_newProfileButton; 81 TQPushButton* m_deleteProfileButton; 82 TQPushButton* m_saveProfileButton; 83 TQPushButton* m_importProfileButton; 84 TQPushButton* m_exportProfileButton; 85 TQMap<TQListViewItem*, TQString> m_itemToProfile; 86 TQMap<TQString, TQListViewItem*> m_profileToItem; 91 #endif // KONTACT_PROFILEDIALOG_H
|