file-chooser-dialog.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _HILDON_FMMM_FILE_CHOOSER_DIALOG_H
00004 #define _HILDON_FMMM_FILE_CHOOSER_DIALOG_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* $Id: date-editor.hg,v 1.10 2005/02/15 10:52:44 murrayc Exp $ */
00010 
00011 /* grid.h
00012  *
00013  * Copyright (C) 1998-2005 The gtkmm Development Team
00014  *
00015  * This library is free software; you can redistribute it and/or
00016  * modify it under the terms of the GNU Library General Public
00017  * License as published by the Free Software Foundation; either
00018  * version 2 of the License, or (at your option) any later version.
00019  *
00020  * This library is distributed in the hope that it will be useful,
00021  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00022  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00023  * Library General Public License for more details.
00024  *
00025  * You should have received a copy of the GNU Library General Public
00026  * License along with this library; if not, write to the Free
00027  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00028  */
00029 
00030 #include <gtkmm/dialog.h>
00031 #include <gtkmm/filechooser.h>
00032 #include <hildon-fmmm/file-system-model.h>
00033 
00034 
00035 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00036 typedef struct _HildonFileChooserDialog HildonFileChooserDialog;
00037 typedef struct _HildonFileChooserDialogClass HildonFileChooserDialogClass;
00038 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00039 
00040 
00041 namespace Hildon
00042 { class FileChooserDialog_Class; } // namespace Hildon
00043 namespace Hildon
00044 {
00045 
00051 class FileChooserDialog 
00052   : public Gtk::Dialog,
00053     public Gtk::FileChooser
00054 {
00055   public:
00056 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00057   typedef FileChooserDialog CppObjectType;
00058   typedef FileChooserDialog_Class CppClassType;
00059   typedef HildonFileChooserDialog BaseObjectType;
00060   typedef HildonFileChooserDialogClass BaseClassType;
00061 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00062 
00063   virtual ~FileChooserDialog();
00064 
00065 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00066 
00067 private:
00068   friend class FileChooserDialog_Class;
00069   static CppClassType filechooserdialog_class_;
00070 
00071   // noncopyable
00072   FileChooserDialog(const FileChooserDialog&);
00073   FileChooserDialog& operator=(const FileChooserDialog&);
00074 
00075 protected:
00076   explicit FileChooserDialog(const Glib::ConstructParams& construct_params);
00077   explicit FileChooserDialog(HildonFileChooserDialog* castitem);
00078 
00079 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00080 
00081 public:
00082 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00083   static GType get_type()      G_GNUC_CONST;
00084   static GType get_base_type() G_GNUC_CONST;
00085 #endif
00086 
00088   HildonFileChooserDialog*       gobj()       { return reinterpret_cast<HildonFileChooserDialog*>(gobject_); }
00089 
00091   const HildonFileChooserDialog* gobj() const { return reinterpret_cast<HildonFileChooserDialog*>(gobject_); }
00092 
00093 
00094 public:
00095   //C++ methods used to invoke GTK+ virtual functions:
00096 #ifdef GLIBMM_VFUNCS_ENABLED
00097 #endif //GLIBMM_VFUNCS_ENABLED
00098 
00099 protected:
00100   //GTK+ Virtual Functions (override these to change behaviour):
00101 #ifdef GLIBMM_VFUNCS_ENABLED
00102 #endif //GLIBMM_VFUNCS_ENABLED
00103 
00104   //Default Signal Handlers::
00105 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00106 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00107 
00108 
00109 private:
00110 
00111   
00112 public:
00113   explicit FileChooserDialog(Gtk::FileChooserAction action);
00114   explicit FileChooserDialog(Gtk::Window& parent, Gtk::FileChooserAction action);
00115   
00116 
00117   //TODO:
00118   /* GtkWidget *hildon_file_chooser_dialog_new_with_properties(GtkWindow *
00119                                                           parent,
00120                                                           const Glib::ustring& 
00121                                                           first_property,
00122                                                           ...);
00123   */
00124 
00125 
00130   void set_safe_folder(const Glib::ustring& local_path);
00131   
00135   void set_safe_folder_uri(const Glib::ustring& uri);
00136   
00140   Glib::ustring get_safe_folder() const;
00141   
00145   Glib::ustring get_safe_folder_uri() const;
00146 
00147   #ifdef GLIBMM_PROPERTIES_ENABLED
00148 
00154   Glib::PropertyProxy<Glib::ustring> property_empty_text() ;
00155 #endif //#GLIBMM_PROPERTIES_ENABLED
00156 
00157 #ifdef GLIBMM_PROPERTIES_ENABLED
00158 
00164   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_empty_text() const;
00165 #endif //#GLIBMM_PROPERTIES_ENABLED
00166 
00167   #ifdef GLIBMM_PROPERTIES_ENABLED
00168 
00174   Glib::PropertyProxy_ReadOnly< Glib::RefPtr<FileSystemModel> > property_file_system_model() const;
00175 #endif //#GLIBMM_PROPERTIES_ENABLED
00176 
00177 
00178   #ifdef GLIBMM_PROPERTIES_ENABLED
00179 
00185   Glib::PropertyProxy<bool> property_show_folder_button() ;
00186 #endif //#GLIBMM_PROPERTIES_ENABLED
00187 
00188 #ifdef GLIBMM_PROPERTIES_ENABLED
00189 
00195   Glib::PropertyProxy_ReadOnly<bool> property_show_folder_button() const;
00196 #endif //#GLIBMM_PROPERTIES_ENABLED
00197 
00198   #ifdef GLIBMM_PROPERTIES_ENABLED
00199 
00205   Glib::PropertyProxy<bool> property_show_location() ;
00206 #endif //#GLIBMM_PROPERTIES_ENABLED
00207 
00208 #ifdef GLIBMM_PROPERTIES_ENABLED
00209 
00215   Glib::PropertyProxy_ReadOnly<bool> property_show_location() const;
00216 #endif //#GLIBMM_PROPERTIES_ENABLED
00217 
00218   #ifdef GLIBMM_PROPERTIES_ENABLED
00219 
00225   Glib::PropertyProxy<bool> property_autonaming() ;
00226 #endif //#GLIBMM_PROPERTIES_ENABLED
00227 
00228 #ifdef GLIBMM_PROPERTIES_ENABLED
00229 
00235   Glib::PropertyProxy_ReadOnly<bool> property_autonaming() const;
00236 #endif //#GLIBMM_PROPERTIES_ENABLED
00237 
00238   #ifdef GLIBMM_PROPERTIES_ENABLED
00239 
00245   Glib::PropertyProxy<Glib::ustring> property_open_button_text() ;
00246 #endif //#GLIBMM_PROPERTIES_ENABLED
00247 
00248 #ifdef GLIBMM_PROPERTIES_ENABLED
00249 
00255   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_open_button_text() const;
00256 #endif //#GLIBMM_PROPERTIES_ENABLED
00257 
00258   #ifdef GLIBMM_PROPERTIES_ENABLED
00259 
00265   Glib::PropertyProxy<Glib::ustring> property_save_multiple() ;
00266 #endif //#GLIBMM_PROPERTIES_ENABLED
00267 
00268 #ifdef GLIBMM_PROPERTIES_ENABLED
00269 
00275   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_save_multiple() const;
00276 #endif //#GLIBMM_PROPERTIES_ENABLED
00277 
00278   #ifdef GLIBMM_PROPERTIES_ENABLED
00279 
00285   Glib::PropertyProxy<int> property_max_name_length() ;
00286 #endif //#GLIBMM_PROPERTIES_ENABLED
00287 
00288 #ifdef GLIBMM_PROPERTIES_ENABLED
00289 
00295   Glib::PropertyProxy_ReadOnly<int> property_max_name_length() const;
00296 #endif //#GLIBMM_PROPERTIES_ENABLED
00297 
00298   #ifdef GLIBMM_PROPERTIES_ENABLED
00299 
00305   Glib::PropertyProxy<int> property_max_full_path_length() ;
00306 #endif //#GLIBMM_PROPERTIES_ENABLED
00307 
00308 #ifdef GLIBMM_PROPERTIES_ENABLED
00309 
00315   Glib::PropertyProxy_ReadOnly<int> property_max_full_path_length() const;
00316 #endif //#GLIBMM_PROPERTIES_ENABLED
00317 
00318 
00319 };
00320 
00321 } // namespace Hildon
00322 
00323 
00324 namespace Glib
00325 {
00331   Hildon::FileChooserDialog* wrap(HildonFileChooserDialog* object, bool take_copy = false);
00332 } //namespace Glib
00333 
00334 
00335 #endif /* _HILDON_FMMM_FILE_CHOOSER_DIALOG_H */
00336 

Generated on Wed Nov 8 17:18:56 2006 for hildon-fmmm by  doxygen 1.4.6