00001
00002
00003 #ifndef _HILDON_LIBSMM_GET_PASSWORD_DIALOG_H
00004 #define _HILDON_LIBSMM_GET_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 _HildonGetPasswordDialog HildonGetPasswordDialog;
00035 typedef struct _HildonGetPasswordDialogClass HildonGetPasswordDialogClass;
00036 #endif
00037
00038
00039 namespace Hildon
00040 { class GetPasswordDialog_Class; }
00041 namespace Hildon
00042 {
00043
00049 class GetPasswordDialog : public Gtk::Dialog
00050 {
00051 public:
00052 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00053 typedef GetPasswordDialog CppObjectType;
00054 typedef GetPasswordDialog_Class CppClassType;
00055 typedef HildonGetPasswordDialog BaseObjectType;
00056 typedef HildonGetPasswordDialogClass BaseClassType;
00057 #endif
00058
00059 virtual ~GetPasswordDialog();
00060
00061 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00062
00063 private:
00064 friend class GetPasswordDialog_Class;
00065 static CppClassType getpassworddialog_class_;
00066
00067
00068 GetPasswordDialog(const GetPasswordDialog&);
00069 GetPasswordDialog& operator=(const GetPasswordDialog&);
00070
00071 protected:
00072 explicit GetPasswordDialog(const Glib::ConstructParams& construct_params);
00073 explicit GetPasswordDialog(HildonGetPasswordDialog* 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 HildonGetPasswordDialog* gobj() { return reinterpret_cast<HildonGetPasswordDialog*>(gobject_); }
00085
00087 const HildonGetPasswordDialog* gobj() const { return reinterpret_cast<HildonGetPasswordDialog*>(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 GetPasswordDialog(bool get_old_password_title);
00110 GetPasswordDialog(Gtk::Window& parent, bool get_old_password_title);
00111
00112
00113 explicit GetPasswordDialog(Gtk::Window& parent, const Glib::ustring& password, bool get_old_password_title);
00114
00115
00119 void set_domain(const Glib::ustring& domain);
00120
00126 void set_title(const Glib::ustring& new_title);
00127
00131 void set_caption(const Glib::ustring& new_caption);
00132
00138 void set_max_characters(int max_characters);
00139
00144 Glib::ustring get_password() const;
00145
00146 #ifdef GLIBMM_PROPERTIES_ENABLED
00147
00153 Glib::PropertyProxy<Glib::ustring> property_domain() ;
00154 #endif //#GLIBMM_PROPERTIES_ENABLED
00155
00156 #ifdef GLIBMM_PROPERTIES_ENABLED
00157
00163 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_domain() const;
00164 #endif //#GLIBMM_PROPERTIES_ENABLED
00165
00166 #ifdef GLIBMM_PROPERTIES_ENABLED
00167
00173 Glib::PropertyProxy<Glib::ustring> property_password() ;
00174 #endif //#GLIBMM_PROPERTIES_ENABLED
00175
00176 #ifdef GLIBMM_PROPERTIES_ENABLED
00177
00183 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_password() const;
00184 #endif //#GLIBMM_PROPERTIES_ENABLED
00185
00186 #ifdef GLIBMM_PROPERTIES_ENABLED
00187
00193 Glib::PropertyProxy<bool> property_numbers_only() ;
00194 #endif //#GLIBMM_PROPERTIES_ENABLED
00195
00196 #ifdef GLIBMM_PROPERTIES_ENABLED
00197
00203 Glib::PropertyProxy_ReadOnly<bool> property_numbers_only() const;
00204 #endif //#GLIBMM_PROPERTIES_ENABLED
00205
00206 #ifdef GLIBMM_PROPERTIES_ENABLED
00207
00213 Glib::PropertyProxy<Glib::ustring> property_caption_label() ;
00214 #endif //#GLIBMM_PROPERTIES_ENABLED
00215
00216 #ifdef GLIBMM_PROPERTIES_ENABLED
00217
00223 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_caption_label() const;
00224 #endif //#GLIBMM_PROPERTIES_ENABLED
00225
00226 #ifdef GLIBMM_PROPERTIES_ENABLED
00227
00233 Glib::PropertyProxy<int> property_max_characters() ;
00234 #endif //#GLIBMM_PROPERTIES_ENABLED
00235
00236 #ifdef GLIBMM_PROPERTIES_ENABLED
00237
00243 Glib::PropertyProxy_ReadOnly<int> property_max_characters() const;
00244 #endif //#GLIBMM_PROPERTIES_ENABLED
00245
00246
00247 };
00248
00249 }
00250
00251
00252 namespace Glib
00253 {
00259 Hildon::GetPasswordDialog* wrap(HildonGetPasswordDialog* object, bool take_copy = false);
00260 }
00261
00262
00263 #endif
00264