]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormFiledialog.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormFiledialog.h
index 02228445080a2fe595dd62773b40a319a440ddbb..c670f3d05b9cfc2ce276bbfee3ba50559f23f727 100644 (file)
@@ -14,9 +14,6 @@
 #define FORMFILEDIALOG_H
 
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "LString.h"
 
@@ -55,7 +52,7 @@ class FD_filedialog;
 class FileDialog::Private : public boost::signals::trackable {
 public:
        ///
-       Private(Dialogs &);
+       Private();
        ///
        ~Private();
 
@@ -69,6 +66,10 @@ public:
                       string const & pszPath = string(),
                       string const & pszMask = string(),
                       string const & pszSuggested = string());
+       /// launches dialog and returns selected directory
+       string const SelectDir(string const & pszTitle = string(),
+                      string const & pszPath = string(),
+                      string const & pszSuggested = string());
        /// XForms objects callback (static)
        static void FileDlgCB(FL_OBJECT *, long);
        /// Callback for double click in list