#include <dialogs.h>
Public Member Functions | |
TestimonyManager (const TestimonyMap &tmap, const StringVector &testimonyIds) | |
Constructor. | |
TestimonyMap | get_testimonies () const |
Get updated map of testimonies. | |
Private Member Functions | |
void | construct () |
void | on_add_button_clicked () |
void | on_edit_button_clicked () |
void | on_delete_button_clicked () |
void | on_selection_changed () |
Private Attributes | |
Gtk::Label * | m_TitleLabel |
Gtk::Label * | m_PreviewLabel |
Gtk::Button * | m_AddButton |
Gtk::Button * | m_EditButton |
Gtk::Button * | m_DeleteButton |
Gtk::ScrolledWindow * | m_SWindow |
Gtk::ListViewText * | m_ListView |
TestimonyMap | m_Testimonies |
StringVector | m_Ids |
TestimonyManager::TestimonyManager | ( | const TestimonyMap & | tmap, | |
const StringVector & | testimonyIds | |||
) |
Constructor.
tmap | Map of testimonies | |
testimonyIds | String vector of testimony internal IDs |
TestimonyMap TestimonyManager::get_testimonies | ( | ) | const [inline] |
Get updated map of testimonies.