Logo Search packages:      
Sourcecode: gabber2 version File versions  Download package

Gabber::PrettyJID Class Reference

#include <GabberWidgets.hh>

List of all members.


Detailed Description

A pretty display for a JabberID in Gabber.
See also:
Gtk::EventBox

Definition at line 37 of file GabberWidgets.hh.


Public Types

enum  DisplayType {
  dtNick, dtNickRes, dtJID, dtJIDRes,
  dtNickJID, dtNickJIDRes
}

Public Member Functions

const Glib::ustring get_full_jid () const
const Glib::ustring get_jid () const
const Glib::ustring get_nickname () const
void hide_resource_select ()
bool is_on_roster ()
bool is_selecting_resource () const
 PrettyJID (const Glib::ustring &jid, const Glib::ustring &nickname="", DisplayType dt=dtJID, bool select_resource=false, bool select_jid=false)
void set_display_type (DisplayType dt)

Public Attributes

SigC::Signal0< void > changed

Protected Member Functions

void build_widget ()
bool is_displaying_jid () const
bool on_button_press_event (GdkEventButton *e)
void on_entJID_changed ()
void on_entResource_changed ()
void on_presence (const jabberoo::Presence &p, const jabberoo::Presence::Type prev)

Private Attributes

Gtk::Combo * _cboResource
Glib::ustring _default_jid
DisplayType _display_type
Gtk::Entry * _entJID
Gtk::HBox * _hboxPJ
Glib::ustring _jid
Gtk::Label * _lblPJ
Gtk::Label * _lblResource
Glib::ustring _nickname
bool _on_roster
Gtk::Image * _pixPJ
Glib::ustring _resource
bool _select_jid
bool _select_resource
Gtk::Tooltips _tips

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

Generated by  Doxygen 1.6.0   Back to index