]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/FileDialog.C
rename LFUN enum values according to their command (as used in th minibuffer/bind...
[lyx.git] / src / frontends / qt4 / FileDialog.C
index 2bbe102a3e25210c9d159a543b90aa502d29cdb0..0b95afaab780445fc1d289131e71c020e7a4d6c5 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file qt2/FileDialog.C
+ * \file qt4/FileDialog.C
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
@@ -37,7 +37,7 @@
 #ifdef USE_NATIVE_FILEDIALOG
 #include <qapplication.h>
 #include "support/filetools.h"
-using lyx::support::MakeAbsPath;
+using lyx::support::makeAbsPath;
 #endif
 
 using lyx::support::FileFilterList;
@@ -79,7 +79,7 @@ FileDialog::Result const FileDialog::save(string const & path,
        result.first = FileDialog::Chosen;
 
 #ifdef USE_NATIVE_FILEDIALOG
-       string const startsWith = MakeAbsPath(suggested, path);
+       string const startsWith = makeAbsPath(suggested, path);
        result.second = fromqstr(
                Q3FileDialog::getSaveFileName(toqstr(startsWith),
                                             toqstr(filters.as_string()),
@@ -114,7 +114,7 @@ FileDialog::Result const FileDialog::open(string const & path,
        result.first = FileDialog::Chosen;
 
 #ifdef USE_NATIVE_FILEDIALOG
-       string const startsWith = MakeAbsPath(suggested, path);
+       string const startsWith = makeAbsPath(suggested, path);
        result.second = fromqstr(
                Q3FileDialog::getOpenFileName(toqstr(startsWith),
                                             toqstr(filters.as_string()),
@@ -146,7 +146,7 @@ FileDialog::Result const FileDialog::opendir(string const & path,
        result.first = FileDialog::Chosen;
 
 #ifdef USE_NATIVE_FILEDIALOG
-       string const startsWith = MakeAbsPath(suggested, path);
+       string const startsWith = makeAbsPath(suggested, path);
        result.second = fromqstr(
                Q3FileDialog::getExistingDirectory(toqstr(startsWith),
                                                  qApp->focusWidget() ? qApp->focusWidget() : qApp->mainWidget(),