]> cloud.milkyroute.net Git - dolphin.git/commitdiff
SVN_SILENT make it compile (Dlg->Dialog)
authorHolger Freyther <holger+kde@freyther.de>
Tue, 2 Jan 2007 09:16:36 +0000 (09:16 +0000)
committerHolger Freyther <holger+kde@freyther.de>
Tue, 2 Jan 2007 09:16:36 +0000 (09:16 +0000)
svn path=/trunk/playground/utils/dolphin/; revision=618826

src/dolphinmainwindow.cpp
src/dolphinview.cpp

index 9fdfa2517469242cc9c9f7b36c213b638925d9c8..15d9b02f1665084f6f1c72f2667ba89d93642496 100644 (file)
@@ -39,7 +39,7 @@
 #include <kaction.h>
 #include <kstandardaction.h>
 #include <kmenu.h>
-#include <kio/renamedlg.h>
+#include <kio/renamedialog.h>
 #include <kinputdialog.h>
 #include <kshell.h>
 #include <kdesktopfile.h>
@@ -379,7 +379,7 @@ void DolphinMainWindow::createFolder()
 
 
     if (baseUrl.isLocalFile() && QFileInfo(baseUrl.path(KUrl::AddTrailingSlash) + name).exists()) {
-        name = KIO::RenameDlg::suggestName(baseUrl, i18n("New Folder"));
+        name = KIO::RenameDialog::suggestName(baseUrl, i18n("New Folder"));
     }
 
     bool ok = false;
@@ -484,7 +484,7 @@ void DolphinMainWindow::createFile()
     const bool fileExists = viewUrl.isLocalFile() &&
                             QFileInfo(viewUrl.path(KUrl::AddTrailingSlash) + KIO::encodeFileName(name)).exists();
     if (fileExists) {
-        name = KIO::RenameDlg::suggestName(viewUrl, name);
+        name = KIO::RenameDialog::suggestName(viewUrl, name);
     }
 
     // let the user change the suggested file name
index 8fb16d1d5b66ba500d2c434cde56835bd17434be..4d6a9ed68c9d854028a2b22391640a98fbf3451b 100644 (file)
@@ -31,7 +31,7 @@
 #include <kurl.h>
 #include <klocale.h>
 #include <kio/netaccess.h>
-#include <kio/renamedlg.h>
+#include <kio/renamedialog.h>
 #include <kmimetyperesolver.h>
 #include <assert.h>
 
@@ -547,11 +547,11 @@ void DolphinView::rename(const KUrl& source, const QString& newName)
     if (destExists) {
         // the destination already exists, hence ask the user
         // how to proceed...
-        KIO::RenameDlg renameDialog(this,
-                                    i18n("File Already Exists"),
-                                    source.path(),
-                                    dest.path(),
-                                    KIO::M_OVERWRITE);
+        KIO::RenameDialog renameDialog(this,
+                                       i18n("File Already Exists"),
+                                       source.path(),
+                                       dest.path(),
+                                       KIO::M_OVERWRITE);
         switch (renameDialog.exec()) {
             case KIO::R_OVERWRITE:
                 // the destination should be overwritten