Logo Search packages:      
Sourcecode: pan version File versions

pan::PostUI Class Reference
[GUI]

#include <post-ui.h>

Inheritance diagram for pan::PostUI:

pan::Progress::Listener

List of all members.


Detailed Description

Dialog for posting new messages Pan's GTK GUI.

Definition at line 39 of file post-ui.h.


Public Member Functions

void apply_profile ()
void close_window ()
void manage_editors ()
void manage_profiles ()
void open_draft ()
GtkWidget * root ()
void rot13_selection ()
void save_draft ()
void send_now ()
void set_charset (const StringView &)
void set_editor_command (const StringView &)
void set_spellcheck_enabled (bool)
void spawn_editor ()
void wrap_body ()

Static Public Member Functions

static PostUIcreate_window (GtkWindow *, Data &, Queue &, GroupServer &, Profiles &, GMimeMessage *, Prefs &, GroupPrefs &)

Protected Member Functions

 PostUI (GtkWindow *, Data &, Queue &, GroupServer &, Profiles &, GMimeMessage *, Prefs &, GroupPrefs &)

Private Types

enum  Mode { DRAFTING, POSTING }
typedef std::map< std::string,
std::string > 
str2str_t

Private Member Functions

void add_actions (GtkWidget *box)
void add_charset_list ()
void add_editor_list ()
void add_editors_to_menu ()
void apply_profile_to_body ()
void apply_profile_to_headers ()
void charset_selected_cb (const char *charset)
bool check_charset ()
bool check_message (const Quark &server, GMimeMessage *)
void done_sending_message (GMimeMessage *, bool)
void maybe_mail_message (GMimeMessage *)
bool maybe_post_message (GMimeMessage *)
GMimeMessage * new_message_from_ui (Mode mode)
virtual void on_progress_error (Progress &, const StringView &)
virtual void on_progress_finished (Progress &, int status)
virtual void on_progress_pulse (Progress &)
virtual void on_progress_status (Progress &, const StringView &)
virtual void on_progress_step (Progress &, int percentage)
void populate_from_message (GMimeMessage *)
void set_message (GMimeMessage *)
void update_profile_combobox ()
void update_widgetry ()

Static Private Member Functions

static void charset_selected_cb_static (GtkRadioAction *, GtkRadioAction *, gpointer)
static void group_entry_changed_cb (GtkEditable *, gpointer)
static gboolean group_entry_changed_idle (gpointer)

Private Attributes

GtkActionGroup * _agroup
GtkTextBuffer * _body_buf
GtkWidget * _body_view
std::string _charset
Data_data
std::set< unsigned int > _editor_ui_ids
GtkWidget * _from_combo
unsigned long _group_entry_changed_id
unsigned int _group_entry_changed_idle_tag
GroupPrefs & _group_prefs
GtkWidget * _groups_entry
GroupServer_gs
GtkTextBuffer * _headers_buf
str2str_t _hidden_headers
GMimeMessage * _message
GtkWidget * _post_dialog
TaskPost_post_task
Prefs_prefs
str2str_t _profile_headers
Profiles_profiles
Queue_queue
GtkWidget * _root
std::string _signature
GtkWidget * _subject_entry
TextMassager _tm
GtkWidget * _to_entry
GtkUIManager * _uim
std::string _unchanged_body

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index