Changed a few occurances of QFileDialog to E5FileDialog.

Wed, 10 Oct 2012 20:15:42 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 10 Oct 2012 20:15:42 +0200
changeset 2132
8f013b041e8a
parent 2131
e79d0610347a
child 2133
8e20a87f9809

Changed a few occurances of QFileDialog to E5FileDialog.

Helpviewer/Bookmarks/BookmarksImportDialog.py file | annotate | diff | comparison | revisions
Helpviewer/Sync/SyncDirectorySettingsPage.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsMercurial/HgExportDialog.py file | annotate | diff | comparison | revisions
--- a/Helpviewer/Bookmarks/BookmarksImportDialog.py	Tue Oct 09 19:59:01 2012 +0200
+++ b/Helpviewer/Bookmarks/BookmarksImportDialog.py	Wed Oct 10 20:15:42 2012 +0200
@@ -10,7 +10,7 @@
 import os
 
 from PyQt4.QtCore import pyqtSlot, Qt, QSize
-from PyQt4.QtGui import QDialog, QListWidgetItem, QFileDialog
+from PyQt4.QtGui import QDialog, QListWidgetItem
 
 from E5Gui import E5FileDialog, E5MessageBox
 
@@ -86,7 +86,7 @@
                 self,
                 self.trUtf8("Choose Directory ..."),
                 self.__sourceDir,
-                QFileDialog.Options(QFileDialog.Option(0)))
+                E5FileDialog.Options(E5FileDialog.Option(0)))
         else:
             if Globals.isMacPlatform():
                 filter = "*{0}".format(os.path.splitext(self.__sourceFile)[1])
--- a/Helpviewer/Sync/SyncDirectorySettingsPage.py	Tue Oct 09 19:59:01 2012 +0200
+++ b/Helpviewer/Sync/SyncDirectorySettingsPage.py	Wed Oct 10 20:15:42 2012 +0200
@@ -8,7 +8,7 @@
 """
 
 from PyQt4.QtCore import pyqtSlot
-from PyQt4.QtGui import QWizardPage, QFileDialog
+from PyQt4.QtGui import QWizardPage
 
 from E5Gui import E5FileDialog
 
@@ -66,7 +66,7 @@
             self,
             self.trUtf8("Shared Directory"),
             self.directoryEdit.text(),
-            QFileDialog.Options(QFileDialog.Option(0)))
+            E5FileDialog.Options(E5FileDialog.Option(0)))
         
         if directory:
             self.directoryEdit.setText(Utilities.toNativeSeparators(directory))
--- a/Plugins/VcsPlugins/vcsMercurial/HgExportDialog.py	Tue Oct 09 19:59:01 2012 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/HgExportDialog.py	Wed Oct 10 20:15:42 2012 +0200
@@ -10,7 +10,7 @@
 import os
 
 from PyQt4.QtCore import pyqtSlot, QDir
-from PyQt4.QtGui import QDialog, QDialogButtonBox, QFileDialog
+from PyQt4.QtGui import QDialog, QDialogButtonBox
 
 from E5Gui import E5FileDialog
 from E5Gui.E5Completers import E5DirCompleter
@@ -74,7 +74,7 @@
             self,
             self.trUtf8("Export Patches"),
             self.directoryEdit.text(),
-            QFileDialog.Options(QFileDialog.Option(0)))
+            E5FileDialog.Options(E5FileDialog.Option(0)))
         
         if dn:
             self.directoryEdit.setText(Utilities.toNativeSeparators(dn))

eric ide

mercurial