00001
00002
00003 #ifndef _HILDON_LIBSMM_SET_PASSWORD_DIALOG_H
00004 #define _HILDON_LIBSMM_SET_PASSWORD_DIALOG_H
00005
00006
00007 #include <glibmm.h>
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #include <gtkmm/dialog.h>
00031
00032
00033 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00034 typedef struct _HildonSetPasswordDialog HildonSetPasswordDialog;
00035 typedef struct _HildonSetPasswordDialogClass HildonSetPasswordDialogClass;
00036 #endif
00037
00038
00039 namespace Hildon
00040 { class SetPasswordDialog_Class; }
00041 namespace Hildon
00042 {
00043
00049 class SetPasswordDialog : public Gtk::Dialog
00050 {
00051 public:
00052 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00053 typedef SetPasswordDialog CppObjectType;
00054 typedef SetPasswordDialog_Class CppClassType;
00055 typedef HildonSetPasswordDialog BaseObjectType;
00056 typedef HildonSetPasswordDialogClass BaseClassType;
00057 #endif
00058
00059 virtual ~SetPasswordDialog();
00060
00061 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00062
00063 private:
00064 friend class SetPasswordDialog_Class;
00065 static CppClassType setpassworddialog_class_;
00066
00067
00068 SetPasswordDialog(const SetPasswordDialog&);
00069 SetPasswordDialog& operator=(const SetPasswordDialog&);
00070
00071 protected:
00072 explicit SetPasswordDialog(const Glib::ConstructParams& construct_params);
00073 explicit SetPasswordDialog(HildonSetPasswordDialog* castitem);
00074
00075 #endif
00076
00077 public:
00078 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00079 static GType get_type() G_GNUC_CONST;
00080 static GType get_base_type() G_GNUC_CONST;
00081 #endif
00082
00084 HildonSetPasswordDialog* gobj() { return reinterpret_cast<HildonSetPasswordDialog*>(gobject_); }
00085
00087 const HildonSetPasswordDialog* gobj() const { return reinterpret_cast<HildonSetPasswordDialog*>(gobject_); }
00088
00089
00090 public:
00091
00092 #ifdef GLIBMM_VFUNCS_ENABLED
00093 #endif //GLIBMM_VFUNCS_ENABLED
00094
00095 protected:
00096
00097 #ifdef GLIBMM_VFUNCS_ENABLED
00098 #endif //GLIBMM_VFUNCS_ENABLED
00099
00100
00101 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00102 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00103
00104
00105 private:
00106
00107
00108 public:
00109 SetPasswordDialog(bool modify_protection);
00110 SetPasswordDialog(Gtk::Window& parent, bool modify_protection);
00111
00112
00113 SetPasswordDialog(const Glib::ustring& password, bool modify_protection);
00114 SetPasswordDialog(Gtk::Window& parent, const Glib::ustring& password, bool modify_protection);
00115
00116
00122 Glib::ustring get_password() const;
00123
00128 bool get_protected() const;
00129
00130
00134 void set_domain(const Glib::ustring& domain);
00135
00136 #ifdef GLIBMM_PROPERTIES_ENABLED
00137
00143 Glib::PropertyProxy<Glib::ustring> property_domain() ;
00144 #endif //#GLIBMM_PROPERTIES_ENABLED
00145
00146 #ifdef GLIBMM_PROPERTIES_ENABLED
00147
00153 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_domain() const;
00154 #endif //#GLIBMM_PROPERTIES_ENABLED
00155
00156 #ifdef GLIBMM_PROPERTIES_ENABLED
00157
00163 Glib::PropertyProxy_ReadOnly<bool> property_modify_protection() const;
00164 #endif //#GLIBMM_PROPERTIES_ENABLED
00165
00166
00167 #ifdef GLIBMM_PROPERTIES_ENABLED
00168
00174 Glib::PropertyProxy<Glib::ustring> property_password() ;
00175 #endif //#GLIBMM_PROPERTIES_ENABLED
00176
00177 #ifdef GLIBMM_PROPERTIES_ENABLED
00178
00184 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_password() const;
00185 #endif //#GLIBMM_PROPERTIES_ENABLED
00186
00187
00188 };
00189
00190 }
00191
00192
00193 namespace Glib
00194 {
00200 Hildon::SetPasswordDialog* wrap(HildonSetPasswordDialog* object, bool take_copy = false);
00201 }
00202
00203
00204 #endif
00205